Class DataViewChangedEventArgs
Inheritance
Inherited Members
Namespace: Telerik.WinControls.UI
Assembly: Telerik.WinControls.GridView.dll
Syntax
public class DataViewChangedEventArgs : EventArgs
Constructors
DataViewChangedEventArgs(ViewChangedAction)
Initializes a new instance of the NotifyCollectionChangedEventArgs class that describes a Reset change.
Declaration
public DataViewChangedEventArgs(ViewChangedAction action)
Parameters
ViewChangedAction
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
ViewChangedAction
action
|
System.Collections.IList
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
ViewChangedAction
action
|
System.Collections.IList
newItems
|
System.Collections.IList
oldItems
|
DataViewChangedEventArgs(ViewChangedAction, IList, IList, Int32)
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
ViewChangedAction
action
|
System.Collections.IList
newItems
|
System.Collections.IList
oldItems
|
System.Int32
startingIndex
|
DataViewChangedEventArgs(ViewChangedAction, IList, IList, Int32, 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
ViewChangedAction
action
|
System.Collections.IList
newItems
|
System.Collections.IList
oldItems
|
System.Int32
startingIndex
|
System.String
propertyName
|
DataViewChangedEventArgs(ViewChangedAction, IList, Int32)
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
ViewChangedAction
action
|
System.Collections.IList
changedItems
|
System.Int32
startingIndex
|
DataViewChangedEventArgs(ViewChangedAction, IList, Int32, Int32)
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
ViewChangedAction
action
|
System.Collections.IList
changedItems
|
System.Int32
index
|
System.Int32
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
ViewChangedAction
action
|
System.Object
changedItem
|
DataViewChangedEventArgs(ViewChangedAction, Object, Int32)
Initializes a new instance of the NotifyCollectionChangedEventArgs class that describes a one-item change.
Declaration
public DataViewChangedEventArgs(ViewChangedAction action, object changedItem, int index)
Parameters
ViewChangedAction
action
|
System.Object
changedItem
|
System.Int32
index
|
DataViewChangedEventArgs(ViewChangedAction, Object, Int32, Int32)
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
ViewChangedAction
action
|
System.Object
changedItem
|
System.Int32
index
|
System.Int32
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
ViewChangedAction
action
|
System.Object
newItem
|
System.Object
oldItem
|
DataViewChangedEventArgs(ViewChangedAction, Object, Object, Int32)
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
ViewChangedAction
action
|
System.Object
newItem
|
System.Object
oldItem
|
System.Int32
index
|
Properties
Action
Provides data for the ViewChanged event.
Declaration
public ViewChangedAction Action { get; }
Property Value
ViewChangedAction
|
NewItems
Gets the list of new items involved in the change.
Declaration
public IList NewItems { get; }
Property Value
System.Collections.IList
|
NewStartingIndex
Gets the index at which the change occurred.
Declaration
public int NewStartingIndex { get; }
Property Value
System.Int32
|
OldItems
Gets the list of items affected by a Replace, Remove, or Move action.
Declaration
public IList OldItems { get; }
Property Value
System.Collections.IList
|
OldStartingIndex
Gets the index at which a Move, Remove, ore Replace action occurred.
Declaration
public int OldStartingIndex { get; }
Property Value
System.Int32
|
PropertyName
Gets the name of the property that chanhged.
Declaration
public string PropertyName { get; }
Property Value
System.String
|