ClassDataViewChangingEventArgs
Definition
Namespace:Telerik.WinControls.UI
Assembly:Telerik.WinControls.GridView.dll
Syntax:
public class DataViewChangingEventArgs : CancelEventArgs
Inheritance: objectEventArgsCancelEventArgsDataViewChangingEventArgs
Inherited Members
Constructors
DataViewChangingEventArgs(ViewChangedAction)
Initializes a new instance of the NotifyCollectionChangedEventArgs class that describes a Reset change.
Declaration
public DataViewChangingEventArgs(ViewChangedAction action)
Parameters
action
The action that caused the event. This must be set to Reset.
DataViewChangingEventArgs(ViewChangedAction, IList)
Initializes a new instance of the NotifyCollectionChangedEventArgs class that describes a multi-item change.
Declaration
public DataViewChangingEventArgs(ViewChangedAction action, IList changedItems)
Parameters
action
changedItems
DataViewChangingEventArgs(ViewChangedAction, IList, IList)
Initializes a new instance of the NotifyCollectionChangedEventArgs class that describes a multi-item Replace change.
Declaration
public DataViewChangingEventArgs(ViewChangedAction action, IList newItems, IList oldItems)
Parameters
action
newItems
oldItems
DataViewChangingEventArgs(ViewChangedAction, IList, IList, int)
Initializes a new instance of the NotifyCollectionChangedEventArgs class that describes a multi-item Replace change.
Declaration
public DataViewChangingEventArgs(ViewChangedAction action, IList newItems, IList oldItems, int startingIndex)
Parameters
action
newItems
oldItems
startingIndex
DataViewChangingEventArgs(ViewChangedAction, IList, int)
Initializes a new instance of the NotifyCollectionChangedEventArgs class that describes a multi-item change or a reset change.
Declaration
public DataViewChangingEventArgs(ViewChangedAction action, IList changedItems, int startingIndex)
Parameters
action
changedItems
startingIndex
DataViewChangingEventArgs(ViewChangedAction, IList, int, int)
Initializes a new instance of the NotifyCollectionChangedEventArgs class that describes a multi-item Move change.
Declaration
public DataViewChangingEventArgs(ViewChangedAction action, IList changedItems, int index, int oldIndex)
Parameters
action
changedItems
index
oldIndex
DataViewChangingEventArgs(ViewChangedAction, object)
Initializes a new instance of the NotifyCollectionChangedEventArgs class that describes a one-item change.
Declaration
public DataViewChangingEventArgs(ViewChangedAction action, object changedItem)
Parameters
action
changedItem
DataViewChangingEventArgs(ViewChangedAction, object, int)
Initializes a new instance of the NotifyCollectionChangedEventArgs class that describes a one-item change.
Declaration
public DataViewChangingEventArgs(ViewChangedAction action, object changedItem, int index)
Parameters
action
changedItem
index
DataViewChangingEventArgs(ViewChangedAction, object, int, int)
Initializes a new instance of the NotifyCollectionChangedEventArgs class that describes a multi-item Move change.
Declaration
public DataViewChangingEventArgs(ViewChangedAction action, object changedItem, int index, int oldIndex)
Parameters
action
changedItem
index
oldIndex
DataViewChangingEventArgs(ViewChangedAction, object, object)
Initializes a new instance of the NotifyCollectionChangedEventArgs class that describes a one-item Replace change.
Declaration
public DataViewChangingEventArgs(ViewChangedAction action, object newItem, object oldItem)
Parameters
action
newItem
oldItem
DataViewChangingEventArgs(ViewChangedAction, object, object, int)
Initializes a new instance of the NotifyCollectionChangedEventArgs class that describes a one-item Replace change.
Declaration
public DataViewChangingEventArgs(ViewChangedAction action, object newItem, object oldItem, int index)
Parameters
action
newItem
oldItem
index
Properties
Action
Provides data for the ViewChanged event.
Declaration
public ViewChangedAction Action { get; }
Property Value
NewItems
Gets the list of new items involved in the change.
NewStartingIndex
Gets the index at which the change occurred.
OldItems
Gets the list of items affected by a Replace, Remove, or Move action.
OldStartingIndex
Gets the index at which a Move, Remove, ore Replace action occurred.