Xamarin.Android

Upgrade Guide User Guide Demos Support Forums Download
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class NodeCollection - Xamarin.Android API Reference | Syncfusion

    Show / Hide Table of Contents

    Class NodeCollection

    Represents a collection of node.

    Inheritance
    System.Object
    NodeCollection
    Namespace: Syncfusion.SfDiagram.Android
    Assembly: Syncfusion.SfDiagram.Android.dll
    Syntax
    public class NodeCollection : Object

    Constructors

    NodeCollection(SfDiagram)

    Initializes a new instance of the NodeCollection class.

    Declaration
    public NodeCollection(SfDiagram diagram)
    Parameters
    Type Name Description
    SfDiagram diagram

    Diagram instance to which the nodes need to be added.

    Properties

    Count

    Gets returns the number of nodes in this collection.

    Declaration
    public int Count { get; }
    Property Value
    Type Description
    System.Int32

    Item[Int32]

    Gets the Node at the specified index.

    Declaration
    public Node this[int index] { get; }
    Parameters
    Type Name Description
    System.Int32 index

    The index.

    Property Value
    Type Description
    Node

    returns value.

    Methods

    Add(Node)

    Add the specified node into this collection.

    Declaration
    public void Add(Node node)
    Parameters
    Type Name Description
    Node node

    Node to be added.

    Clear()

    Clear all the nodes from this collection.

    Declaration
    public void Clear()

    GetEnumerator()

    Gets the IEnumerator collection of Node.

    Declaration
    public IEnumerator<Node> GetEnumerator()
    Returns
    Type Description
    System.Collections.Generic.IEnumerator<Node>

    returns nodes value.

    IndexOf(Node)

    Returns the index of the specified node in the collection.

    Declaration
    public int IndexOf(Node node)
    Parameters
    Type Name Description
    Node node

    Node to be searched.

    Returns
    Type Description
    System.Int32

    returns index of nodes.

    Insert(Int32, Node)

    Insert the specified node at the specified index.

    Declaration
    public void Insert(int index, Node node)
    Parameters
    Type Name Description
    System.Int32 index

    Index where the node to be inserted.

    Node node

    Node to be inserted.

    Remove(Node)

    Remove the specified node from the collection.

    Declaration
    public void Remove(Node node)
    Parameters
    Type Name Description
    Node node

    Node to be removed.

    RemoveAt(Int32)

    Remove the node at the specified index from the collection.

    Declaration
    public void RemoveAt(int index)
    Parameters
    Type Name Description
    System.Int32 index

    Index of the node to be removed.

    Back to top Generated by DocFX
    Copyright © 2001 - 2021 Syncfusion Inc. All Rights Reserved