Class GridViewSortDescriptorCollection
Inheritance
Inherited Members
Namespace: Telerik.WinControls.UI
Assembly: Telerik.WinControls.GridView.dll
Syntax
public class GridViewSortDescriptorCollection : SortDescriptorCollection, IList<SortDescriptor>, ICollection<SortDescriptor>, IList, ICollection, IReadOnlyList<SortDescriptor>, IReadOnlyCollection<SortDescriptor>, IEnumerable<SortDescriptor>, IEnumerable, INotifyCollectionChanged, INotifyPropertyChanged, INotifyCollectionChanging
Constructors
GridViewSortDescriptorCollection(GridViewTemplate)
Initializes a new instance of the GridViewSortDescriptorCollection class.
Declaration
public GridViewSortDescriptorCollection(GridViewTemplate owner)
Parameters
GridViewTemplate
owner
The owner. |
Methods
ClearItems()
Clears the items.
Declaration
protected override void ClearItems()
Overrides
InsertItem(Int32, SortDescriptor)
Inserts the item.
Declaration
protected override void InsertItem(int index, SortDescriptor item)
Parameters
System.Int32
index
The index. |
SortDescriptor
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, SortDescriptor)
Sets the item.
Declaration
protected override void SetItem(int index, SortDescriptor item)
Parameters
System.Int32
index
The index. |
SortDescriptor
item
The item. |
Overrides
Events
CollectionChanging
Declaration
public event NotifyCollectionChangingEventHandler CollectionChanging
Event Type
NotifyCollectionChangingEventHandler
|