Class
DataViewChangedEventArgs

Definition

Namespace:Telerik.WinControls.UI

Assembly:Telerik.WinControls.GridView.dll

Syntax:

cs-api-definition
public class DataViewChangedEventArgs : EventArgs

Inheritance: objectEventArgsDataViewChangedEventArgs

Inherited Members EventArgs.Empty

Constructors

DataViewChangedEventArgs(ViewChangedAction)

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

Declaration

cs-api-definition
public DataViewChangedEventArgs(ViewChangedAction action)

Parameters

action

ViewChangedAction

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

cs-api-definition
public DataViewChangedEventArgs(ViewChangedAction action, IList changedItems)

Parameters

action

ViewChangedAction

changedItems

IList

DataViewChangedEventArgs(ViewChangedAction, IList, IList)

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

Declaration

cs-api-definition
public DataViewChangedEventArgs(ViewChangedAction action, IList newItems, IList oldItems)

Parameters

action

ViewChangedAction

newItems

IList

oldItems

IList

DataViewChangedEventArgs(ViewChangedAction, IList, IList, int)

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

Declaration

cs-api-definition
public DataViewChangedEventArgs(ViewChangedAction action, IList newItems, IList oldItems, int startingIndex)

Parameters

action

ViewChangedAction

newItems

IList

oldItems

IList

startingIndex

int

DataViewChangedEventArgs(ViewChangedAction, IList, IList, int, string)

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

Declaration

cs-api-definition
public DataViewChangedEventArgs(ViewChangedAction action, IList newItems, IList oldItems, int startingIndex, string propertyName)

Parameters

action

ViewChangedAction

newItems

IList

oldItems

IList

startingIndex

int

propertyName

string

DataViewChangedEventArgs(ViewChangedAction, IList, int)

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

Declaration

cs-api-definition
public DataViewChangedEventArgs(ViewChangedAction action, IList changedItems, int startingIndex)

Parameters

action

ViewChangedAction

changedItems

IList

startingIndex

int

DataViewChangedEventArgs(ViewChangedAction, IList, int, int)

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

Declaration

cs-api-definition
public DataViewChangedEventArgs(ViewChangedAction action, IList changedItems, int index, int oldIndex)

Parameters

action

ViewChangedAction

changedItems

IList

index

int

oldIndex

int

DataViewChangedEventArgs(ViewChangedAction, object)

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

Declaration

cs-api-definition
public DataViewChangedEventArgs(ViewChangedAction action, object changedItem)

Parameters

action

ViewChangedAction

changedItem

object

DataViewChangedEventArgs(ViewChangedAction, object, int)

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

Declaration

cs-api-definition
public DataViewChangedEventArgs(ViewChangedAction action, object changedItem, int index)

Parameters

action

ViewChangedAction

changedItem

object

index

int

DataViewChangedEventArgs(ViewChangedAction, object, int, int)

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

Declaration

cs-api-definition
public DataViewChangedEventArgs(ViewChangedAction action, object changedItem, int index, int oldIndex)

Parameters

action

ViewChangedAction

changedItem

object

index

int

oldIndex

int

DataViewChangedEventArgs(ViewChangedAction, object, object)

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

Declaration

cs-api-definition
public DataViewChangedEventArgs(ViewChangedAction action, object newItem, object oldItem)

Parameters

action

ViewChangedAction

newItem

object

oldItem

object

DataViewChangedEventArgs(ViewChangedAction, object, object, int)

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

Declaration

cs-api-definition
public DataViewChangedEventArgs(ViewChangedAction action, object newItem, object oldItem, int index)

Parameters

action

ViewChangedAction

newItem

object

oldItem

object

index

int

Properties

Action

Provides data for the ViewChanged event.

Declaration

cs-api-definition
public ViewChangedAction Action { get; }

Property Value

ViewChangedAction

NewItems

Gets the list of new items involved in the change.

Declaration

cs-api-definition
public IList NewItems { get; }

Property Value

IList

NewStartingIndex

Gets the index at which the change occurred.

Declaration

cs-api-definition
public int NewStartingIndex { get; }

Property Value

int

OldItems

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

Declaration

cs-api-definition
public IList OldItems { get; }

Property Value

IList

OldStartingIndex

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

Declaration

cs-api-definition
public int OldStartingIndex { get; }

Property Value

int

PropertyName

Gets the name of the property that chanhged.

Declaration

cs-api-definition
public string PropertyName { get; }

Property Value

string