Class ColorUIAdvGroupsCollection
Represents a group collection of colors for the ColorPickerUIAdv.
Inheritance
Implements
Inherited Members
Namespace: Syncfusion.Windows.Forms.Tools
Assembly: Syncfusion.Tools.Windows.dll
Syntax
public class ColorUIAdvGroupsCollection : CollectionBase, IList, ICollection, IEnumerable
Constructors
ColorUIAdvGroupsCollection(ColorPickerUIAdv)
Initialize a new instance of the ColorUIAdvGroupsCollection class.
Declaration
public ColorUIAdvGroupsCollection(ColorPickerUIAdv control)
Parameters
Type | Name | Description |
---|---|---|
ColorPickerUIAdv | control | An instance of the control. |
Properties
Item[Int32]
Gets or sets the index value.
Declaration
public ColorUIAdvGroup this[int index] { get; set; }
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | index | The index value of color cell. |
Property Value
Type | Description |
---|---|
ColorUIAdvGroup | The index value. |
Methods
Add(ColorUIAdvGroup)
Adds the color groups to the ColorUIAdvGroupsCollection.
Declaration
public void Add(ColorUIAdvGroup group)
Parameters
Type | Name | Description |
---|---|---|
ColorUIAdvGroup | group | An instance of the ColorUIAdvGroup. |
Contains(ColorUIAdvGroup)
Check whether group presents in ColorUIAdvGroupsCollection.
Declaration
public bool Contains(ColorUIAdvGroup group)
Parameters
Type | Name | Description |
---|---|---|
ColorUIAdvGroup | group | An instance of the ColorUIAdvGroup. |
Returns
Type | Description |
---|---|
System.Boolean | The group is present in to the collection or not. |
IndexOf(ColorUIAdvGroup)
Check for the index value of the group in ColorUIAdvGroupsCollection.
Declaration
public int IndexOf(ColorUIAdvGroup group)
Parameters
Type | Name | Description |
---|---|---|
ColorUIAdvGroup | group | An instance of ColorUIAdvGroup. |
Returns
Type | Description |
---|---|
System.Int32 | The index of the color group. |
Insert(Int32, ColorUIAdvGroup)
Insert the color groups with specified index range of ColorUIAdvGroupsCollection.
Declaration
public void Insert(int index, ColorUIAdvGroup group)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | index | The index value. |
ColorUIAdvGroup | group | The color group value. |
OnClear()
Declaration
protected override void OnClear()
Overrides
OnCollectionChanged()
Declaration
protected void OnCollectionChanged()
OnInsert(Int32, Object)
Declaration
protected override void OnInsert(int index, object value)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | index | |
System.Object | value |
Overrides
OnInsertComplete(Int32, Object)
Declaration
protected override void OnInsertComplete(int index, object value)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | index | |
System.Object | value |
Overrides
Remove(ColorUIAdvGroup)
Removes the color groups from ColorUIAdvGroupsCollection.
Declaration
public void Remove(ColorUIAdvGroup group)
Parameters
Type | Name | Description |
---|---|---|
ColorUIAdvGroup | group | An instance of the ColorUIAdvGroup. |
Events
CollectionChanged
Occurs when the collections are changed event.
Declaration
public event EventHandler CollectionChanged
Event Type
Type |
---|
System.EventHandler |