Class GridStyleInfoCustomPropertiesCollection
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.Grid
Assembly: Syncfusion.Grid.Windows.dll
Syntax
public class GridStyleInfoCustomPropertiesCollection : ICollection, IEnumerable
Properties
Count
Gets the number of objects in this collection.
Declaration
public int Count { get; }
Property Value
Type |
---|
System.Int32 |
Methods
Add(GridStyleInfoCustomProperties)
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(GridStyleInfoCustomProperties value)
Parameters
Type | Name | Description |
---|---|---|
GridStyleInfoCustomProperties | value | A GridStyleInfoCustomProperties with custom properties. |
CopyTo(GridStyleInfoCustomProperties[], Int32)
Copies the GridStyleInfoCustomPropertiesCollection elements to a one-dimensional System.Array at the specified index.
Declaration
public void CopyTo(GridStyleInfoCustomProperties[] array, int index)
Parameters
Type | Name | Description |
---|---|---|
GridStyleInfoCustomProperties[] | array | The one-dimensional System.Array that is the destination of the object's from 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 array at which copying begins. |
ICollection.IsSynchronized
Gets a value indicating whether access to the System.Collections.ICollection is synchronized (thread safe).
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. |