Class ChartAreaCursorCollection
ChartAreaCursorCollection is a collection for ChartInteractiveCursor objects.
Implements
Inherited Members
Namespace: Syncfusion.Windows.Forms.Chart
Assembly: Syncfusion.Chart.Base.dll
Syntax
public sealed class ChartAreaCursorCollection : ChartBaseList, IList, ICollection, IEnumerable
Constructors
ChartAreaCursorCollection()
Initializes a new instance of the ChartInteractiveCursor class.
Declaration
public ChartAreaCursorCollection()
Properties
Item[Int32]
Looks up the collection and returns the interactive cursor at the specified index.
Declaration
public ChartInteractiveCursor this[int index] { get; }
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | index |
Property Value
Type |
---|
ChartInteractiveCursor |
Methods
Add(ChartInteractiveCursor)
Adds the specified cursor to this collection.
Declaration
public void Add(ChartInteractiveCursor cursor)
Parameters
Type | Name | Description |
---|---|---|
ChartInteractiveCursor | cursor | An instance of the cursor that is to be added. |
IndexOf(ChartInteractiveCursor)
Looks up the collection and returns the index value of the specified cursor if it is present.
Declaration
public int IndexOf(ChartInteractiveCursor cursor)
Parameters
Type | Name | Description |
---|---|---|
ChartInteractiveCursor | cursor | Cursor to look for. |
Returns
Type | Description |
---|---|
System.Int32 | The index value of the cursor if the look up was successful; -1 otherwise. |
Insert(Int32, ChartInteractiveCursor)
Inserts the specified cursor at the specified index.
Declaration
public void Insert(int index, ChartInteractiveCursor cursor)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | index | Index value where the cursor is to be inserted. |
ChartInteractiveCursor | cursor | An instance of the cursor that is to be inserted. |
Remove(ChartInteractiveCursor)
Removes the specified cursor from this collection.
Declaration
public void Remove(ChartInteractiveCursor cursor)
Parameters
Type | Name | Description |
---|---|---|
ChartInteractiveCursor | cursor | Cursor that is to be removed. |