Class ChartTitlesList
Collection of ChartTitle instances.
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 ChartTitlesList : ChartBaseList, IList, ICollection, IEnumerable
Constructors
ChartTitlesList()
Initializes a new instance of the ChartTitlesList class.
Declaration
public ChartTitlesList()
Properties
Item[Int32]
Gets or sets the ChartTitle at the specified index.
Declaration
public ChartTitle this[int index] { get; set; }
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | index |
Property Value
Type |
---|
ChartTitle |
Item[String]
Gets ChartTitle by the name.
Declaration
public ChartTitle this[string name] { get; }
Parameters
Type | Name | Description |
---|---|---|
System.String | name | Name of ChartTitle. |
Property Value
Type |
---|
ChartTitle |
Methods
Add(ChartTitle)
Adds the specified title to collection.
Declaration
public int Add(ChartTitle value)
Parameters
Type | Name | Description |
---|---|---|
ChartTitle | value | The title to add. |
Returns
Type | Description |
---|---|
System.Int32 | Index of the added title. |
Contains(ChartTitle)
Determines whether collection contains the specified title.
Declaration
public bool Contains(ChartTitle value)
Parameters
Type | Name | Description |
---|---|---|
ChartTitle | value | The title to check. |
Returns
Type | Description |
---|---|
System.Boolean |
|
IndexOf(ChartTitle)
Gets index of specified title.
Declaration
public int IndexOf(ChartTitle value)
Parameters
Type | Name | Description |
---|---|---|
ChartTitle | value | The title to get index. |
Returns
Type | Description |
---|---|
System.Int32 | Index of the ChartTitle. |
Insert(Int32, ChartTitle)
Inserts ChartTitle at specified index.
Declaration
public void Insert(int index, ChartTitle value)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | index | The index. |
ChartTitle | value | The ChartTitle to insert. |
Remove(ChartTitle)
Removes the specified title from collection.
Declaration
public void Remove(ChartTitle value)
Parameters
Type | Name | Description |
---|---|---|
ChartTitle | value | The title to remove. |
Validate(Object)
Validates the specified obj.
Declaration
protected override bool Validate(object obj)
Parameters
Type | Name | Description |
---|---|---|
System.Object | obj | The obj. |
Returns
Type | Description |
---|---|
System.Boolean | Returns true if the list contains this element otherwise false. |
Overrides
Syncfusion.Windows.Forms.Chart.ChartBaseList.Validate(System.Object)
Implements
System.Collections.IList
System.Collections.ICollection
System.Collections.IEnumerable