ClassGridViewCollectionChangingEventArgs
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
GridViewCollectionChangingEventArgs(GridViewTemplate, NotifyCollectionChangedAction, IList, IList, int, int, PropertyChangingEventArgsEx)
Initializes a new instance of the GridViewCollectionChangingEventArgs class.
Declaration
public GridViewCollectionChangingEventArgs(GridViewTemplate template, NotifyCollectionChangedAction action, IList newItems, IList oldItems, int newStartingIndex, int oldStartingIndex, PropertyChangingEventArgsEx propertyArgs)
Parameters
template
The GridViewTemplate
action
The NotifyCollectionChangedAction
newItems
The new items list
oldItems
The old items list
newStartingIndex
The new items starting index
oldStartingIndex
The old items starting index
propertyArgs
The property changing arguments
GridViewCollectionChangingEventArgs(GridViewTemplate, NotifyCollectionChangedAction, object, int, int)
Initializes a new instance of the GridViewCollectionChangingEventArgs class.
Declaration
public GridViewCollectionChangingEventArgs(GridViewTemplate template, NotifyCollectionChangedAction action, object changedItem, int index, int oldIndex)
Parameters
template
The GridViewTemplate
action
The NotifyCollectionChangedAction
changedItem
The changed item
index
The index
oldIndex
The old index
GridViewCollectionChangingEventArgs(GridViewTemplate, NotifyCollectionChangedAction, object, object, int, PropertyChangingEventArgsEx)
Initializes a new instance of the GridViewCollectionChangingEventArgs class.
Declaration
public GridViewCollectionChangingEventArgs(GridViewTemplate template, NotifyCollectionChangedAction action, object newItem, object oldItem, int index, PropertyChangingEventArgsEx propertyArgs)
Parameters
template
The GridViewTemplate
action
The NotifyCollectionChangedAction
newItem
The new item
oldItem
The old item
index
The new index
propertyArgs
The property changing arguments
Properties
GridViewTemplate
Gets the GridViewTemplate
Declaration
public GridViewTemplate GridViewTemplate { get; }
Property Value
NewValue
Gets the new value.
OldValue
Gets the old value.
PropertyName
Gets the name of the property.
Declaration
public string PropertyName { get; }
Property Value
The name of the property.