Class ColorUIControl.ColorCollection
Design the ColorUIControl property values into ColorUIControl.ColorCollection class.
Inheritance
System.Object
ColorUIControl.ColorCollection
Implements
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
Assembly: Syncfusion.Shared.Base.dll
Syntax
public class ColorCollection : ICollection, IEnumerable
Properties
Count
Gets a count value.
Declaration
public int Count { get; }
Property Value
Type |
---|
System.Int32 |
IsSynchronized
Gets a value indicating whether access to the System.Collections.ICollection is synchronized.
Declaration
public bool IsSynchronized { get; }
Property Value
Type |
---|
System.Boolean |
Item[Int32]
Gets or sets the color value of index.
Declaration
public Color this[int index] { get; set; }
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | index |
Property Value
Type |
---|
System.Drawing.Color |
SyncRoot
Gets an object that can be used to synchronize access to the System.Collections.ICollection.
Declaration
public object SyncRoot { get; }
Property Value
Type |
---|
System.Object |
Methods
CopyTo(Array, Int32)
Copies the element of the System.Collections.ICollection to an System.Array, starting at a particular System.Array index.
Declaration
public void CopyTo(Array array, int index)
Parameters
Type | Name | Description |
---|---|---|
System.Array | array | |
System.Int32 | index |
GetEnumerator()
Returns the enumerator that iterates through the item collection.
Declaration
public IEnumerator GetEnumerator()
Returns
Type |
---|
System.Collections.IEnumerator |
Implements
System.Collections.ICollection
System.Collections.IEnumerable