Class
GridViewGroupDescriptorCollection

Represents a collection that stores the group descriptors.

Definition

Namespace:Telerik.WinControls.UI

Assembly:Telerik.WinControls.GridView.dll

Syntax:

cs-api-definition
public class GridViewGroupDescriptorCollection : GroupDescriptorCollection, IList, ICollection, IEnumerable, INotifyCollectionChanged, INotifyPropertyChanged, INotifyCollectionChanging

Inheritance: objectCollection<GroupDescriptor>NotifyCollection<GroupDescriptor>GroupDescriptorCollectionGridViewGroupDescriptorCollection

Derived Classes: GridGroupByExpressionCollection

Implements: ICollectionIEnumerableIListINotifyCollectionChangedINotifyCollectionChangingINotifyPropertyChanged

Inherited Members GroupDescriptorCollection.Add(string, ListSortDirection)GroupDescriptorCollection.Remove(string)GroupDescriptorCollection.Contains(string, bool)GroupDescriptorCollection.GetCompareOpations(bool)GroupDescriptorCollection.Contains(string)GroupDescriptorCollection.FindAllAssociatedSortDescriptors(string)GroupDescriptorCollection.FindAllAssociatedSortDescriptors(string, bool)GroupDescriptorCollection.UseCaseSensitiveFieldNamesGroupDescriptorCollection.ExpressionNotifyCollection<GroupDescriptor>.EmptyNotifyCollection<GroupDescriptor>.Move(int, int)NotifyCollection<GroupDescriptor>.AddRange(params GroupDescriptor[])NotifyCollection<GroupDescriptor>.AddRange(IEnumerable<GroupDescriptor>)NotifyCollection<GroupDescriptor>.BeginUpdate()NotifyCollection<GroupDescriptor>.EndUpdate()NotifyCollection<GroupDescriptor>.EndUpdate(bool)NotifyCollection<GroupDescriptor>.DeferRefresh()NotifyCollection<GroupDescriptor>.CreateEventArguments(NotifyCollectionChangedAction)NotifyCollection<GroupDescriptor>.CreateEventArguments(NotifyCollectionChangedAction, object, int)NotifyCollection<GroupDescriptor>.CreateEventArguments(NotifyCollectionChangedAction, object, object, int)NotifyCollection<GroupDescriptor>.OnPropertyChanged(PropertyChangedEventArgs)NotifyCollection<GroupDescriptor>.OnPropertyChanged(string)NotifyCollection<GroupDescriptor>.VersionNotifyCollection<GroupDescriptor>.SuspendedNotifyCollection<GroupDescriptor>.CollectionChangedNotifyCollection<GroupDescriptor>.PropertyChangedCollection<GroupDescriptor>.Add(GroupDescriptor)Collection<GroupDescriptor>.Clear()Collection<GroupDescriptor>.CopyTo(GroupDescriptor[], int)Collection<GroupDescriptor>.Contains(GroupDescriptor)Collection<GroupDescriptor>.GetEnumerator()Collection<GroupDescriptor>.IndexOf(GroupDescriptor)Collection<GroupDescriptor>.Insert(int, GroupDescriptor)Collection<GroupDescriptor>.Remove(GroupDescriptor)Collection<GroupDescriptor>.RemoveAt(int)Collection<GroupDescriptor>.CountCollection<GroupDescriptor>.ItemsCollection<GroupDescriptor>.this[int]

Constructors

GridViewGroupDescriptorCollection(GridViewTemplate)

Initializes a new instance of the GridViewGroupDescriptorCollection class.

Declaration

cs-api-definition
public GridViewGroupDescriptorCollection(GridViewTemplate owner)

Parameters

owner

GridViewTemplate

The owner.

Methods

ClearItems()

Clears the items.

Declaration

cs-api-definition
protected override void ClearItems()

Overrides GroupDescriptorCollection.ClearItems()

InsertItem(int, GroupDescriptor)

Inserts the item.

Declaration

cs-api-definition
protected override void InsertItem(int index, GroupDescriptor item)

Parameters

index

int

The index.

item

GroupDescriptor

The item.

Overrides GroupDescriptorCollection.InsertItem(int, GroupDescriptor)

MoveItem(int, int)

Moves the item.

Declaration

cs-api-definition
protected override void MoveItem(int oldIndex, int newIndex)

Parameters

oldIndex

int

The old index.

newIndex

int

The new index.

Overrides NotifyCollection<GroupDescriptor>.MoveItem(int, int)

OnCollectionChanged(NotifyCollectionChangedEventArgs)

Raises the event.

Declaration

cs-api-definition
protected override void OnCollectionChanged(NotifyCollectionChangedEventArgs args)

Parameters

args

NotifyCollectionChangedEventArgs

The NotifyCollectionChangedEventArgs instance containing the event data.

Overrides NotifyCollection<GroupDescriptor>.OnCollectionChanged(NotifyCollectionChangedEventArgs)

OnCollectionChanging(NotifyCollectionChangingEventArgs)

Raises the event.

Declaration

cs-api-definition
protected virtual void OnCollectionChanging(NotifyCollectionChangingEventArgs args)

Parameters

args

NotifyCollectionChangingEventArgs

The NotifyCollectionChangingEventArgs instance containing the event data.

RemoveItem(int)

Removes the element at the specified index of the Collection<T>.

Declaration

cs-api-definition
protected override void RemoveItem(int index)

Parameters

index

int

The zero-based index of the element to remove.

Exceptions

ArgumentOutOfRangeException

index is less than zero.-or-index is equal to or greater than Count.

Overrides GroupDescriptorCollection.RemoveItem(int)

SetItem(int, GroupDescriptor)

Sets the item.

Declaration

cs-api-definition
protected override void SetItem(int index, GroupDescriptor item)

Parameters

index

int

The index.

item

GroupDescriptor

The item.

Overrides GroupDescriptorCollection.SetItem(int, GroupDescriptor)

Events

CollectionChanging

Occurs before the collection changes.

Declaration

cs-api-definition
public event NotifyCollectionChangingEventHandler CollectionChanging

Event Value

NotifyCollectionChangingEventHandler

Implements INotifyCollectionChanging.CollectionChanging