Class ChartAxisGroupingLabelCollection
Collection of custom ChartAxisGroupingLabel. ChartValueType
Inheritance
Implements
Inherited Members
Namespace: Syncfusion.Windows.Forms.Chart
Assembly: Syncfusion.Chart.Base.dll
Syntax
public class ChartAxisGroupingLabelCollection : CollectionBase, IList, ICollection, IEnumerable, IChartAxisGroupingLabelModel
Constructors
ChartAxisGroupingLabelCollection()
To prevent collection construction without ChartAxis reference.
Declaration
public ChartAxisGroupingLabelCollection()
Properties
Item[Int32]
Returns the axis Grouping Label at the specified index value.
Declaration
public ChartAxisGroupingLabel this[int index] { get; }
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | index |
Property Value
Type |
---|
ChartAxisGroupingLabel |
Methods
Add(ChartAxisGroupingLabel)
Adds the specified Grouping Label to this collection.
Declaration
public void Add(ChartAxisGroupingLabel label)
Parameters
Type | Name | Description |
---|---|---|
ChartAxisGroupingLabel | label | An instance of the Grouping Label that is to be to add. |
GetGroupingLabelAt(Int32)
Gets the Grouping Label at the specified index.
Declaration
public ChartAxisGroupingLabel GetGroupingLabelAt(int index)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | index | The index value to look for. |
Returns
Type | Description |
---|---|
ChartAxisGroupingLabel | The ChartAxis Grouping Label at the specified index. |
IndexOf(ChartAxisGroupingLabel)
Looks up this collection and returns the index value of the specified Grouping Label.
Declaration
public int IndexOf(ChartAxisGroupingLabel label)
Parameters
Type | Name | Description |
---|---|---|
ChartAxisGroupingLabel | label | Grouping Label to look for in this collection. |
Returns
Type | Description |
---|---|
System.Int32 | The index value of the Grouping Label if the look up is successful; -1 otherwise. |
Insert(Int32, ChartAxisGroupingLabel)
Inserts the specified Grouping Label at the specified index.
Declaration
public void Insert(int index, ChartAxisGroupingLabel label)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | index | Index value where the Grouping Label that is to be inserted. |
ChartAxisGroupingLabel | label | An instance of the Grouping Label that is to be added. |
Remove(ChartAxisGroupingLabel)
Removes the specified Grouping Label from this collection.
Declaration
public void Remove(ChartAxisGroupingLabel label)
Parameters
Type | Name | Description |
---|---|---|
ChartAxisGroupingLabel | label | Grouping Label that is to be removed. |
Events
Changed
Event that is raised when a custom axis Grouping Label is changed.
Declaration
public event EventHandler Changed
Event Type
Type |
---|
System.EventHandler |