WinForms

Code Examples Upgrade Guide User Guide Demos Support Forums Download
  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class ColorUIAdvGroupsCollection

    Show / Hide Table of Contents

    Class ColorUIAdvGroupsCollection

    Represents a group collection of colors for the ColorPickerUIAdv.

    Inheritance
    System.Object
    System.Collections.CollectionBase
    ColorUIAdvGroupsCollection
    Implements
    System.Collections.IList
    System.Collections.ICollection
    System.Collections.IEnumerable
    Inherited Members
    System.Collections.CollectionBase.Clear()
    System.Collections.CollectionBase.RemoveAt(System.Int32)
    System.Collections.CollectionBase.System.Collections.ICollection.CopyTo(System.Array, System.Int32)
    System.Collections.CollectionBase.System.Collections.IList.get_Item(System.Int32)
    System.Collections.CollectionBase.System.Collections.IList.set_Item(System.Int32, System.Object)
    System.Collections.CollectionBase.System.Collections.IList.Contains(System.Object)
    System.Collections.CollectionBase.System.Collections.IList.Add(System.Object)
    System.Collections.CollectionBase.System.Collections.IList.Remove(System.Object)
    System.Collections.CollectionBase.System.Collections.IList.IndexOf(System.Object)
    System.Collections.CollectionBase.System.Collections.IList.Insert(System.Int32, System.Object)
    System.Collections.CollectionBase.GetEnumerator()
    System.Collections.CollectionBase.OnSet(System.Int32, System.Object, System.Object)
    System.Collections.CollectionBase.OnRemove(System.Int32, System.Object)
    System.Collections.CollectionBase.OnValidate(System.Object)
    System.Collections.CollectionBase.OnSetComplete(System.Int32, System.Object, System.Object)
    System.Collections.CollectionBase.OnClearComplete()
    System.Collections.CollectionBase.OnRemoveComplete(System.Int32, System.Object)
    System.Collections.CollectionBase.InnerList
    System.Collections.CollectionBase.List
    System.Collections.CollectionBase.Capacity
    System.Collections.CollectionBase.Count
    System.Collections.CollectionBase.System.Collections.IList.IsReadOnly
    System.Collections.CollectionBase.System.Collections.IList.IsFixedSize
    System.Collections.CollectionBase.System.Collections.ICollection.IsSynchronized
    System.Collections.CollectionBase.System.Collections.ICollection.SyncRoot
    System.Collections.CollectionBase.System.Collections.IList.Item[System.Int32]
    System.Object.ToString()
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    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
    System.Collections.CollectionBase.OnClear()

    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
    System.Collections.CollectionBase.OnInsert(System.Int32, System.Object)

    OnInsertComplete(Int32, Object)

    Declaration
    protected override void OnInsertComplete(int index, object value)
    Parameters
    Type Name Description
    System.Int32 index
    System.Object value
    Overrides
    System.Collections.CollectionBase.OnInsertComplete(System.Int32, System.Object)

    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 Description
    System.EventHandler

    Implements

    System.Collections.IList
    System.Collections.ICollection
    System.Collections.IEnumerable

    Extension Methods

    EnumerableExtensions.GetElementType(IEnumerable)
    EnumerableExtensions.GetItemPropertyInfo(IEnumerable)
    FunctionalExtensions.ForEach<T>(IEnumerable, Action<T>)
    FunctionalExtensions.ToList<T>(IEnumerable)
    FunctionalExtensions.MoveTo(IList, Int32, Int32)
    QueryableExtensions.OfQueryable(IEnumerable)
    QueryableExtensions.OfQueryable(IEnumerable, Type)
    QueryableExtensions.GroupByMany<TElement>(IEnumerable, Type, List<Func<TElement, Object>>)
    QueryableExtensions.GroupByMany(IEnumerable, Type, Func<String, Expression>, String[])
    QueryableExtensions.GroupByMany(IEnumerable, Type, List<SortDescriptor>, Dictionary<String, IComparer<Object>>, Func<String, Expression>, String[])
    QueryableExtensions.GroupByMany(IEnumerable, Type, List<SortDescriptor>, Func<String, Expression>, String[])
    Back to top Generated by DocFX
    Copyright © 2001 - 2023 Syncfusion Inc. All Rights Reserved