ClassDataViewChangedEventArgs
Definition
Namespace:Telerik.WinControls.UI
Assembly:Telerik.WinControls.GridView.dll
Syntax:
public class DataViewChangedEventArgs : EventArgs
Inheritance: objectEventArgsDataViewChangedEventArgs
Inherited Members
Constructors
DataViewChangedEventArgs(ViewChangedAction)
Initializes a new instance of the NotifyCollectionChangedEventArgs class that describes a Reset change.
Declaration
public DataViewChangedEventArgs(ViewChangedAction action)
Parameters
action
The action that caused the event. This must be set to Reset.
DataViewChangedEventArgs(ViewChangedAction, IList)
Initializes a new instance of the NotifyCollectionChangedEventArgs class that describes a multi-item change.
Declaration
public DataViewChangedEventArgs(ViewChangedAction action, IList changedItems)
Parameters
action
changedItems
DataViewChangedEventArgs(ViewChangedAction, IList, IList)
Initializes a new instance of the NotifyCollectionChangedEventArgs class that describes a multi-item Replace change.
Declaration
public DataViewChangedEventArgs(ViewChangedAction action, IList newItems, IList oldItems)
Parameters
action
newItems
oldItems
DataViewChangedEventArgs(ViewChangedAction, IList, IList, int)
Initializes a new instance of the NotifyCollectionChangedEventArgs class that describes a multi-item Replace change.
Declaration
public DataViewChangedEventArgs(ViewChangedAction action, IList newItems, IList oldItems, int startingIndex)
Parameters
action
newItems
oldItems
startingIndex
DataViewChangedEventArgs(ViewChangedAction, IList, IList, int, string)
Initializes a new instance of the NotifyCollectionChangedEventArgs class that describes a one-item Replace change.
Declaration
public DataViewChangedEventArgs(ViewChangedAction action, IList newItems, IList oldItems, int startingIndex, string propertyName)
Parameters
action
newItems
oldItems
startingIndex
propertyName
DataViewChangedEventArgs(ViewChangedAction, IList, int)
Initializes a new instance of the NotifyCollectionChangedEventArgs class that describes a multi-item change or a reset change.
Declaration
public DataViewChangedEventArgs(ViewChangedAction action, IList changedItems, int startingIndex)
Parameters
action
changedItems
startingIndex
DataViewChangedEventArgs(ViewChangedAction, IList, int, int)
Initializes a new instance of the NotifyCollectionChangedEventArgs class that describes a multi-item Move change.
Declaration
public DataViewChangedEventArgs(ViewChangedAction action, IList changedItems, int index, int oldIndex)
Parameters
action
changedItems
index
oldIndex
DataViewChangedEventArgs(ViewChangedAction, object)
Initializes a new instance of the NotifyCollectionChangedEventArgs class that describes a one-item change.
Declaration
public DataViewChangedEventArgs(ViewChangedAction action, object changedItem)
Parameters
action
changedItem
DataViewChangedEventArgs(ViewChangedAction, object, int)
Initializes a new instance of the NotifyCollectionChangedEventArgs class that describes a one-item change.
Declaration
public DataViewChangedEventArgs(ViewChangedAction action, object changedItem, int index)
Parameters
action
changedItem
index
DataViewChangedEventArgs(ViewChangedAction, object, int, int)
Initializes a new instance of the NotifyCollectionChangedEventArgs class that describes a multi-item Move change.
Declaration
public DataViewChangedEventArgs(ViewChangedAction action, object changedItem, int index, int oldIndex)
Parameters
action
changedItem
index
oldIndex
DataViewChangedEventArgs(ViewChangedAction, object, object)
Initializes a new instance of the NotifyCollectionChangedEventArgs class that describes a one-item Replace change.
Declaration
public DataViewChangedEventArgs(ViewChangedAction action, object newItem, object oldItem)
Parameters
action
newItem
oldItem
DataViewChangedEventArgs(ViewChangedAction, object, object, int)
Initializes a new instance of the NotifyCollectionChangedEventArgs class that describes a one-item Replace change.
Declaration
public DataViewChangedEventArgs(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.
PropertyName
Gets the name of the property that chanhged.