Class GridViewGroupDescriptorCollection
Represents a collection that stores the group descriptors.
Inheritance
Inherited Members
Namespace: Telerik.WinControls.UI
Assembly: Telerik.WinControls.GridView.dll
Syntax
public class GridViewGroupDescriptorCollection : GroupDescriptorCollection, IList<GroupDescriptor>, ICollection<GroupDescriptor>, IList, ICollection, IReadOnlyList<GroupDescriptor>, IReadOnlyCollection<GroupDescriptor>, IEnumerable<GroupDescriptor>, IEnumerable, INotifyCollectionChanged, INotifyPropertyChanged, INotifyCollectionChanging
Constructors
GridViewGroupDescriptorCollection(GridViewTemplate)
Initializes a new instance of the GridViewGroupDescriptorCollection class.
Declaration
public GridViewGroupDescriptorCollection(GridViewTemplate owner)
Parameters
GridViewTemplate
owner
The owner. |
Methods
ClearItems()
Clears the items.
Declaration
protected override void ClearItems()
Overrides
InsertItem(Int32, GroupDescriptor)
Inserts the item.
Declaration
protected override void InsertItem(int index, GroupDescriptor item)
Parameters
System.Int32
index
The index. |
GroupDescriptor
item
The item. |
Overrides
MoveItem(Int32, Int32)
Moves the item.
Declaration
protected override void MoveItem(int oldIndex, int newIndex)
Parameters
System.Int32
oldIndex
The old index. |
System.Int32
newIndex
The new index. |
Overrides
OnCollectionChanged(NotifyCollectionChangedEventArgs)
Raises the CollectionChanged event.
Declaration
protected override void OnCollectionChanged(NotifyCollectionChangedEventArgs args)
Parameters
NotifyCollectionChangedEventArgs
args
The NotifyCollectionChangedEventArgs instance containing the event data. |
Overrides
OnCollectionChanging(NotifyCollectionChangingEventArgs)
Raises the CollectionChanging event.
Declaration
protected virtual void OnCollectionChanging(NotifyCollectionChangingEventArgs args)
Parameters
NotifyCollectionChangingEventArgs
args
The NotifyCollectionChangingEventArgs instance containing the event data. |
RemoveItem(Int32)
Removes the element at the specified index of the System.Collections.ObjectModel.Collection<T>.
Declaration
protected override void RemoveItem(int index)
Parameters
System.Int32
index
The zero-based index of the element to remove. |
Overrides
Exceptions
System.ArgumentOutOfRangeException
|
SetItem(Int32, GroupDescriptor)
Sets the item.
Declaration
protected override void SetItem(int index, GroupDescriptor item)
Parameters
System.Int32
index
The index. |
GroupDescriptor
item
The item. |
Overrides
Events
CollectionChanging
Declaration
public event NotifyCollectionChangingEventHandler CollectionChanging
Event Type
NotifyCollectionChangingEventHandler
|