New to Telerik UI for WinFormsStart a free 30-day trial

Definition

Namespace:Telerik.WinControls.UI

Assembly:Telerik.WinControls.GridView.dll

Syntax:

C#
public class DataViewChangedEventArgs : EventArgs

Inheritance: objectEventArgsDataViewChangedEventArgs

Inherited Members EventArgs.Empty

Constructors

Initializes a new instance of the NotifyCollectionChangedEventArgs class that describes a one-item Replace change.

C#
public DataViewChangedEventArgs(ViewChangedAction action, IList newItems, IList oldItems, int startingIndex, string propertyName)
Parameters:actionViewChangedActionnewItemsIListoldItemsIListstartingIndexintpropertyNamestring

Initializes a new instance of the NotifyCollectionChangedEventArgs class that describes a multi-item Replace change.

C#
public DataViewChangedEventArgs(ViewChangedAction action, IList newItems, IList oldItems, int startingIndex)
Parameters:actionViewChangedActionnewItemsIListoldItemsIListstartingIndexint

Initializes a new instance of the NotifyCollectionChangedEventArgs class that describes a multi-item Replace change.

C#
public DataViewChangedEventArgs(ViewChangedAction action, IList newItems, IList oldItems)
Parameters:actionViewChangedActionnewItemsIListoldItemsIList

Initializes a new instance of the NotifyCollectionChangedEventArgs class that describes a multi-item Move change.

C#
public DataViewChangedEventArgs(ViewChangedAction action, IList changedItems, int index, int oldIndex)
Parameters:actionViewChangedActionchangedItemsIListindexintoldIndexint

Initializes a new instance of the NotifyCollectionChangedEventArgs class that describes a multi-item change or a reset change.

C#
public DataViewChangedEventArgs(ViewChangedAction action, IList changedItems, int startingIndex)
Parameters:actionViewChangedActionchangedItemsIListstartingIndexint

Initializes a new instance of the NotifyCollectionChangedEventArgs class that describes a multi-item change.

C#
public DataViewChangedEventArgs(ViewChangedAction action, IList changedItems)
Parameters:actionViewChangedActionchangedItemsIList

Initializes a new instance of the NotifyCollectionChangedEventArgs class that describes a multi-item Move change.

C#
public DataViewChangedEventArgs(ViewChangedAction action, object changedItem, int index, int oldIndex)
Parameters:actionViewChangedActionchangedItemobjectindexintoldIndexint

Initializes a new instance of the NotifyCollectionChangedEventArgs class that describes a one-item change.

C#
public DataViewChangedEventArgs(ViewChangedAction action, object changedItem, int index)
Parameters:actionViewChangedActionchangedItemobjectindexint

Initializes a new instance of the NotifyCollectionChangedEventArgs class that describes a one-item Replace change.

C#
public DataViewChangedEventArgs(ViewChangedAction action, object newItem, object oldItem, int index)
Parameters:actionViewChangedActionnewItemobjectoldItemobjectindexint

Initializes a new instance of the NotifyCollectionChangedEventArgs class that describes a one-item Replace change.

C#
public DataViewChangedEventArgs(ViewChangedAction action, object newItem, object oldItem)
Parameters:actionViewChangedActionnewItemobjectoldItemobject

Initializes a new instance of the NotifyCollectionChangedEventArgs class that describes a one-item change.

C#
public DataViewChangedEventArgs(ViewChangedAction action, object changedItem)
Parameters:actionViewChangedActionchangedItemobject

Initializes a new instance of the NotifyCollectionChangedEventArgs class that describes a Reset change.

C#
public DataViewChangedEventArgs(ViewChangedAction action)
Parameters:actionViewChangedAction

The action that caused the event. This must be set to Reset.

Properties

Provides data for the ViewChanged event.

C#
public ViewChangedAction Action { get; }

Gets the list of new items involved in the change.

C#
public IList NewItems { get; }

Gets the index at which the change occurred.

C#
public int NewStartingIndex { get; }

Gets the list of items affected by a Replace, Remove, or Move action.

C#
public IList OldItems { get; }

Gets the index at which a Move, Remove, ore Replace action occurred.

C#
public int OldStartingIndex { get; }

Gets the name of the property that chanhged.

C#
public string PropertyName { get; }