Class SymbolCollection
Represents a symbol collection.
Inheritance
System.Object
SymbolCollection
Namespace: Syncfusion.SfDiagram.Android
Assembly: Syncfusion.SfDiagram.Android.dll
Syntax
public class SymbolCollection : Object
Constructors
SymbolCollection()
Declaration
public SymbolCollection()
Properties
Count
Gets the number of symbol in the collection.
Declaration
public int Count { get; }
Property Value
Type | Description |
---|---|
System.Int32 | Gets the symbolcollection count. |
Item[Int32]
Gets the symbol object at the specified index.
Declaration
public object this[int index] { get; }
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | index | Index of symbol. |
Property Value
Type | Description |
---|---|
System.Object | returns value. |
Methods
Add(Object)
Add the specified symbol into the collection.
Declaration
public void Add(object symbol)
Parameters
Type | Name | Description |
---|---|---|
System.Object | symbol | Symbol to be added. |
Clear()
Clear the symbols from this collection.
Declaration
public void Clear()
GetEnumerator()
Gets the IEnumerator collection of Symbol.
Declaration
public IEnumerator<object> GetEnumerator()
Returns
Type | Description |
---|---|
System.Collections.Generic.IEnumerator<System.Object> | It returns the IEnumerator collection of Symbol. |
IndexOf(Object)
Returns the index of the specified symbol in the collection.
Declaration
public int IndexOf(object symbol)
Parameters
Type | Name | Description |
---|---|---|
System.Object | symbol | Symbol to be searched. |
Returns
Type | Description |
---|---|
System.Int32 | It returns the Index of the specified symbol. |
Remove(Object)
Remove the specified symbol from the collection.
Declaration
public void Remove(object symbol)
Parameters
Type | Name | Description |
---|---|---|
System.Object | symbol | Symbol to be removed. |
RemoveAt(Int32)
Remove the specified symbol at the specified index.
Declaration
public void RemoveAt(int index)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | index | Index of the node to be removed. |