Class ChartStyleInfoCustomPropertiesCollection
Implements a collection of custom property objects that have at least one initialized value. The primary purpose of this collection is to support design-time code serialization of custom properties.
Inheritance
Implements
Inherited Members
Namespace: Syncfusion.Windows.Forms.Chart
Assembly: Syncfusion.Chart.Base.dll
Syntax
public class ChartStyleInfoCustomPropertiesCollection : ICollection, IEnumerable
Properties
Count
Gets the number of objects in this collection.
Declaration
public int Count { get; }
Property Value
Type |
---|
System.Int32 |
Methods
Add(ChartStyleInfoCustomProperties)
Copies the initialized properties of the specified custom property to the parent style object and attaches the custom property object with the parent style object.
Declaration
public void Add(ChartStyleInfoCustomProperties value)
Parameters
Type | Name | Description |
---|---|---|
ChartStyleInfoCustomProperties | value | A ChartStyleInfoCustomProperties with custom properties. |
CopyTo(ChartStyleInfoCustomProperties[], Int32)
Copies the ChartStyleInfoCustomPropertiesCollection elements to a one-dimensional System.Array at the specified index.
Declaration
public void CopyTo(ChartStyleInfoCustomProperties[] array, int index)
Parameters
Type | Name | Description |
---|---|---|
ChartStyleInfoCustomProperties[] | array | The one-dimensional System.Array which is the destination of the objects from the instance. The System.Array must have zero-based indexing. |
System.Int32 | index | The zero-based index in |
Explicit Interface Implementations
ICollection.CopyTo(Array, Int32)
Copies the elements of the System.Collections.ICollection to an System.Array, starting at a particular System.Array index.
Declaration
void ICollection.CopyTo(Array array, int index)
Parameters
Type | Name | Description |
---|---|---|
System.Array | array | The one-dimensional System.Array that is the destination of the elements copied from System.Collections.ICollection. The System.Array must have zero-based indexing. |
System.Int32 | index | The zero-based index in |
Exceptions
Type | Condition |
---|---|
System.ArgumentNullException |
|
System.ArgumentOutOfRangeException |
|
System.ArgumentException |
|
System.ArgumentException | The type of the source System.Collections.ICollection cannot be cast automatically to the type of the destination |
ICollection.IsSynchronized
Declaration
bool ICollection.IsSynchronized { get; }
Returns
Type |
---|
System.Boolean |
ICollection.SyncRoot
Gets an object that can be used to synchronize access to the System.Collections.ICollection.
Declaration
object ICollection.SyncRoot { get; }
Returns
Type |
---|
System.Object |
IEnumerable.GetEnumerator()
Returns an enumerator that iterates through a collection.
Declaration
IEnumerator IEnumerable.GetEnumerator()
Returns
Type | Description |
---|---|
System.Collections.IEnumerator | An System.Collections.IEnumerator object that can be used to iterate through the collection. |