WinForms

Code Examples Upgrade Guide User Guide Demos Support Forums Download
  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class GroupBar.GroupBarItemCollection

    Show / Hide Table of Contents

    Class GroupBar.GroupBarItemCollection

    The collection of GroupBarItem objects in the GroupBar control.

    Inheritance
    System.Object
    System.Collections.CollectionBase
    GroupBar.GroupBarItemCollection
    Implements
    System.Collections.IList
    System.Collections.ICollection
    System.Collections.IEnumerable
    Inherited Members
    System.Collections.CollectionBase.Clear()
    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.OnClear()
    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.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.Shared.Base.dll
    Syntax
    public class GroupBarItemCollection : CollectionBase, IList, ICollection, IEnumerable
    Remarks

    Each group in the GroupBar is an instance of the GroupBarItem type and the collection of these groups is represented by an instance of the GroupBarItemCollection class. GroupBarItems may be added or removed using the IList and ICollection interface methods implemented by the GroupBarItemCollection. GroupBarItems

    Constructors

    GroupBarItemCollection(GroupBar)

    Creates an instance of the GroupBarItemCollection class.

    Declaration
    public GroupBarItemCollection(GroupBar groupbar)
    Parameters
    Type Name Description
    GroupBar groupbar

    The GroupBar control that contains this collection.

    Fields

    bLockUpdate

    Declaration
    protected bool bLockUpdate
    Field Value
    Type Description
    System.Boolean

    groupBarHost

    Declaration
    protected GroupBar groupBarHost
    Field Value
    Type Description
    GroupBar

    Properties

    Item[Int32]

    Gets / sets a GroupBarItem in the collection.

    Declaration
    public GroupBarItem this[int index] { get; set; }
    Parameters
    Type Name Description
    System.Int32 index

    The zero-based index of the GroupBarItem to get / set.

    Property Value
    Type Description
    GroupBarItem

    Methods

    Add(GroupBarItem)

    Adds the GroupBarItem to the collection.

    Declaration
    public int Add(GroupBarItem item)
    Parameters
    Type Name Description
    GroupBarItem item

    The GroupBarItem to be added.

    Returns
    Type Description
    System.Int32

    The index of the new item within the collection.

    AddRange(GroupBarItem[])

    Adds an array of GroupBarItems to the GroupBar control's GroupBarItems collection.

    Declaration
    public void AddRange(GroupBarItem[] items)
    Parameters
    Type Name Description
    GroupBarItem[] items

    An array of GroupBarItem objects.

    Contains(GroupBarItem)

    Indicates whether the specified GroupBarItem is present in the collection.

    Declaration
    public bool Contains(GroupBarItem item)
    Parameters
    Type Name Description
    GroupBarItem item

    The GroupBarItem to locate in the collection.

    Returns
    Type Description
    System.Boolean

    True if the item is present; False otherwise.

    CopyTo(GroupBarItem[], Int32)

    Declaration
    public void CopyTo(GroupBarItem[] array, int index)
    Parameters
    Type Name Description
    GroupBarItem[] array
    System.Int32 index

    IndexOf(GroupBarItem)

    Returns the zero-based index of the GroupBarItem in the collection.

    Declaration
    public int IndexOf(GroupBarItem item)
    Parameters
    Type Name Description
    GroupBarItem item

    The GroupBarItem to locate in the collection.

    Returns
    Type Description
    System.Int32

    The zero-based index of the item; -1 if the item is not present.

    Insert(Int32, GroupBarItem)

    Inserts the GroupBarItem into the collection at the specified index.

    Declaration
    public void Insert(int index, GroupBarItem item)
    Parameters
    Type Name Description
    System.Int32 index

    The zero-based index at which the item is to be inserted.

    GroupBarItem item

    The GroupBarItem to be inserted.

    OnClearComplete()

    Declaration
    protected override void OnClearComplete()
    Overrides
    System.Collections.CollectionBase.OnClearComplete()

    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(GroupBarItem)

    Removes the GroupBarItem from the collection.

    Declaration
    public void Remove(GroupBarItem item)
    Parameters
    Type Name Description
    GroupBarItem item

    The GroupBarItem to be removed.

    RemoveAt(Int32)

    Removes the GroupBarItem specified by the index parameter.

    Declaration
    public void RemoveAt(int index)
    Parameters
    Type Name Description
    System.Int32 index

    A zero-based index specifying the GroupBarItem to be removed.

    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