Provides data for the GridViewCollectionChanged event
Definition
Namespace:Telerik.WinControls.UI
Assembly:Telerik.WinControls.GridView.dll
Syntax:
public class GridViewCollectionChangedEventArgs : NotifyCollectionChangedEventArgs
Inheritance: objectEventArgsNotifyCollectionChangedEventArgsGridViewCollectionChangedEventArgs
Inherited Members
Constructors
Initializes a new instance of the GridViewCollectionChangedEventArgs class.
public GridViewCollectionChangedEventArgs(GridViewTemplate template, NotifyCollectionChangedAction action, IList newItems, IList oldItems, int newStartingIndex, int oldStartingIndex, string propertyName)
The template that owns the changed collection.
actionNotifyCollectionChangedActionThe collection change action.
newItemsIListThe new or moved items, including replacements, associated with the change.
oldItemsIListThe old or moved items, including items replaced by the change.
newStartingIndexintThe starting index of the new items.
oldStartingIndexintThe starting index of the old items.
propertyNamestringThe changed property name for an item-property notification.
Initializes a new instance of the GridViewCollectionChangedEventArgs class.
public GridViewCollectionChangedEventArgs(GridViewTemplate template, NotifyCollectionChangedAction action, object changedItem, int index, int oldIndex)
The template that owns the changed collection.
actionNotifyCollectionChangedActionThe collection change action.
changedItemobjectThe item affected by the change.
indexintThe index associated with the change.
oldIndexintThe previous index when an item is moved.
Initializes a new instance of the GridViewCollectionChangedEventArgs class.
public GridViewCollectionChangedEventArgs(GridViewTemplate template, NotifyCollectionChangedAction action, object newItem, object oldItem, int index, string propertyName)
The template that owns the changed item.
actionNotifyCollectionChangedActionThe collection change action.
newItemobjectThe new or current item associated with the change.
oldItemobjectThe old item associated with the change, when available.
indexintThe index of the changed item.
propertyNamestringThe changed property name for an item-property notification.
Properties
Gets the GridViewTemplate where the event was fired.
public GridViewTemplate GridViewTemplate { get; }