menu

Xamarin.Android

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

    Show / Hide Table of Contents

    Class ConnectorCollection

    Represents a connector collection.

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

    Constructors

    ConnectorCollection(SfDiagram)

    Initializes a new instance of the ConnectorCollection class.

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

    diagram value.

    Properties

    Count

    Gets the number of connectors in this collection.

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

    Item[Int32]

    Gets the connector at the specified index.

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

    Index of the connector.

    Property Value
    Type Description
    Connector

    returns value.

    Methods

    Add(Connector)

    Add the specified connector to this collection.

    Declaration
    public void Add(Connector connector)
    Parameters
    Type Name Description
    Connector connector

    Connector to be added.

    Clear()

    Clear this connector collection.

    Declaration
    public void Clear()

    GetEnumerator()

    Gets the IEnumerator collection of connector class.

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

    Gets the IEnumerator collection.

    IndexOf(Connector)

    Gets the index value of the specified connector.

    Declaration
    public int IndexOf(Connector connector)
    Parameters
    Type Name Description
    Connector connector

    Connector to be searched.

    Returns
    Type Description
    System.Int32

    The Index value.

    Insert(Int32, Connector)

    Insert the specified connector at the specified index.

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

    the Index.

    Connector connector

    Connector to be inserted.

    Remove(Connector)

    Remove the specified connector from the collection.

    Declaration
    public void Remove(Connector connector)
    Parameters
    Type Name Description
    Connector connector

    Connector to be removed.

    RemoveAt(Int32)

    Removes connector at specified index.

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

    Index from where the connector to be removed.

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