Provides data for the GridViewCollectionChanging event
Definition
Namespace:Telerik.WinControls.UI
Assembly:Telerik.WinControls.GridView.dll
Syntax:
public class GridViewCollectionChangingEventArgs : NotifyCollectionChangingEventArgs
Inheritance: objectEventArgsCancelEventArgsNotifyCollectionChangingEventArgsGridViewCollectionChangingEventArgs
Inherited Members
Constructors
Initializes a new instance of the GridViewCollectionChangingEventArgs class.
public GridViewCollectionChangingEventArgs(GridViewTemplate template, NotifyCollectionChangedAction action, IList newItems, IList oldItems, int newStartingIndex, int oldStartingIndex, PropertyChangingEventArgsEx propertyArgs)
The GridViewTemplate
actionNotifyCollectionChangedActionThe NotifyCollectionChangedAction
newItemsIListThe new items list
oldItemsIListThe old items list
newStartingIndexintThe new items starting index
oldStartingIndexintThe old items starting index
propertyArgsPropertyChangingEventArgsExThe property changing arguments
Initializes a new instance of the GridViewCollectionChangingEventArgs class.
public GridViewCollectionChangingEventArgs(GridViewTemplate template, NotifyCollectionChangedAction action, object changedItem, int index, int oldIndex)
The GridViewTemplate
actionNotifyCollectionChangedActionThe NotifyCollectionChangedAction
changedItemobjectThe changed item
indexintThe index
oldIndexintThe old index
Initializes a new instance of the GridViewCollectionChangingEventArgs class.
public GridViewCollectionChangingEventArgs(GridViewTemplate template, NotifyCollectionChangedAction action, object newItem, object oldItem, int index, PropertyChangingEventArgsEx propertyArgs)
The GridViewTemplate
actionNotifyCollectionChangedActionThe NotifyCollectionChangedAction
newItemobjectThe new item
oldItemobjectThe old item
indexintThe new index
propertyArgsPropertyChangingEventArgsExThe property changing arguments
Properties
Gets the GridViewTemplate
public GridViewTemplate GridViewTemplate { get; }
Gets the name of the property.
public string PropertyName { get; }
The name of the property.