ClassGridViewSortDescriptorCollection
Definition
Namespace:Telerik.WinControls.UI
Assembly:Telerik.WinControls.GridView.dll
Syntax:
public class GridViewSortDescriptorCollection : SortDescriptorCollection, IList, ICollection, IEnumerable, INotifyCollectionChanged, INotifyPropertyChanged, INotifyCollectionChanging
Inheritance: objectCollection<SortDescriptor>NotifyCollection<SortDescriptor>SortDescriptorCollectionGridViewSortDescriptorCollection
Derived Classes:
Implements:
Inherited Members
Constructors
GridViewSortDescriptorCollection(GridViewTemplate)
Initializes a new instance of the GridViewSortDescriptorCollection class.
Declaration
public GridViewSortDescriptorCollection(GridViewTemplate owner)
Parameters
owner
The owner.
Methods
ClearItems()
Clears the items.
Declaration
protected override void ClearItems()
Overrides
InsertItem(int, SortDescriptor)
Inserts the item.
Declaration
protected override void InsertItem(int index, SortDescriptor item)
Parameters
index
The index.
item
The item.
Overrides
MoveItem(int, int)
Moves the item.
OnCollectionChanged(NotifyCollectionChangedEventArgs)
Raises the event.
Declaration
protected override void OnCollectionChanged(NotifyCollectionChangedEventArgs args)
Parameters
args
NotifyCollectionChangedEventArgs
The NotifyCollectionChangedEventArgs instance containing the event data.
Overrides
OnCollectionChanging(NotifyCollectionChangingEventArgs)
Raises the event.
Declaration
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
protected override void RemoveItem(int index)
Parameters
index
The zero-based index of the element to remove.
Exceptions
index is less than zero.-or-index is equal
to or greater than Count.
Overrides
SetItem(int, SortDescriptor)
Sets the item.
Declaration
protected override void SetItem(int index, SortDescriptor item)
Parameters
index
The index.
item
The item.
Overrides
Events
CollectionChanging
Occurs before the collection changes.
Declaration
public event NotifyCollectionChangingEventHandler CollectionChanging
Event Value
Implements