Class ChartToolBarItemCollection
Specifies the collection of ChartToolBarItemBase objects.
Implements
System.Collections.IList
System.Collections.ICollection
System.Collections.IEnumerable
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Syncfusion.Windows.Forms.Chart
Assembly: Syncfusion.Chart.Windows.dll
Syntax
public class ChartToolBarItemCollection : ChartBaseList, IList, ICollection, IEnumerable
Constructors
ChartToolBarItemCollection()
Initializes a new instance of the ChartToolBarItemCollection class.
Declaration
public ChartToolBarItemCollection()
Properties
Item[Int32]
Gets or sets the ChartToolBarItem at the specified index.
Declaration
public ChartToolBarItemBase this[int index] { get; set; }
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | index |
Property Value
Type | Description |
---|---|
ChartToolBarItemBase | The ChartToolBarItemCollection indexer. |
Methods
Add(ChartToolBarItemBase)
Adds the specified value.
Declaration
public int Add(ChartToolBarItemBase value)
Parameters
Type | Name | Description |
---|---|---|
ChartToolBarItemBase | value | The value. |
Returns
Type | Description |
---|---|
System.Int32 | The position into which the new element was inserted. |
Contains(ChartToolBarItemBase)
Determines whether collection contains the specified value.
Declaration
public bool Contains(ChartToolBarItemBase value)
Parameters
Type | Name | Description |
---|---|---|
ChartToolBarItemBase | value | The value. |
Returns
Type | Description |
---|---|
System.Boolean |
|
IndexOf(ChartToolBarItemBase)
Gets indexes the of item.
Declaration
public int IndexOf(ChartToolBarItemBase value)
Parameters
Type | Name | Description |
---|---|---|
ChartToolBarItemBase | value | The value. |
Returns
Type | Description |
---|---|
System.Int32 | The index of value if found in the list; otherwise, -1. |
Insert(Int32, ChartToolBarItemBase)
Inserts item by the specified index.
Declaration
public void Insert(int index, ChartToolBarItemBase value)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | index | The index. |
ChartToolBarItemBase | value | The value. |
Remove(ChartToolBarItemBase)
Removes the specified value.
Declaration
public void Remove(ChartToolBarItemBase value)
Parameters
Type | Name | Description |
---|---|---|
ChartToolBarItemBase | value | The value. |
Implements
System.Collections.IList
System.Collections.ICollection
System.Collections.IEnumerable