Class
GridViewCollectionChangingEventArgs

Provides data for the GridViewCollectionChanging event

Definition

Namespace:Telerik.WinControls.UI

Assembly:Telerik.WinControls.GridView.dll

Syntax:

cs-api-definition
public class GridViewCollectionChangingEventArgs : NotifyCollectionChangingEventArgs

Inheritance: objectEventArgsCancelEventArgsNotifyCollectionChangingEventArgsGridViewCollectionChangingEventArgs

Inherited Members NotifyCollectionChangingEventArgs.ActionNotifyCollectionChangingEventArgs.PropertyArgsNotifyCollectionChangingEventArgs.NewItemsNotifyCollectionChangingEventArgs.NewStartingIndexNotifyCollectionChangingEventArgs.OldItemsNotifyCollectionChangingEventArgs.OldStartingIndexCancelEventArgs.CancelEventArgs.Empty

Constructors

GridViewCollectionChangingEventArgs(GridViewTemplate, NotifyCollectionChangedAction, IList, IList, int, int, PropertyChangingEventArgsEx)

Initializes a new instance of the GridViewCollectionChangingEventArgs class.

Declaration

cs-api-definition
public GridViewCollectionChangingEventArgs(GridViewTemplate template, NotifyCollectionChangedAction action, IList newItems, IList oldItems, int newStartingIndex, int oldStartingIndex, PropertyChangingEventArgsEx propertyArgs)

Parameters

template

GridViewTemplate

The GridViewTemplate

action

NotifyCollectionChangedAction

The NotifyCollectionChangedAction

newItems

IList

The new items list

oldItems

IList

The old items list

newStartingIndex

int

The new items starting index

oldStartingIndex

int

The old items starting index

propertyArgs

PropertyChangingEventArgsEx

The property changing arguments

GridViewCollectionChangingEventArgs(GridViewTemplate, NotifyCollectionChangedAction, object, int, int)

Initializes a new instance of the GridViewCollectionChangingEventArgs class.

Declaration

cs-api-definition
public GridViewCollectionChangingEventArgs(GridViewTemplate template, NotifyCollectionChangedAction action, object changedItem, int index, int oldIndex)

Parameters

template

GridViewTemplate

The GridViewTemplate

action

NotifyCollectionChangedAction

The NotifyCollectionChangedAction

changedItem

object

The changed item

index

int

The index

oldIndex

int

The old index

GridViewCollectionChangingEventArgs(GridViewTemplate, NotifyCollectionChangedAction, object, object, int, PropertyChangingEventArgsEx)

Initializes a new instance of the GridViewCollectionChangingEventArgs class.

Declaration

cs-api-definition
public GridViewCollectionChangingEventArgs(GridViewTemplate template, NotifyCollectionChangedAction action, object newItem, object oldItem, int index, PropertyChangingEventArgsEx propertyArgs)

Parameters

template

GridViewTemplate

The GridViewTemplate

action

NotifyCollectionChangedAction

The NotifyCollectionChangedAction

newItem

object

The new item

oldItem

object

The old item

index

int

The new index

propertyArgs

PropertyChangingEventArgsEx

The property changing arguments

Properties

GridViewTemplate

Declaration

cs-api-definition
public GridViewTemplate GridViewTemplate { get; }

Property Value

GridViewTemplate

NewValue

Gets the new value.

Declaration

cs-api-definition
public object NewValue { get; }

Property Value

object

The new value.

OldValue

Gets the old value.

Declaration

cs-api-definition
public object OldValue { get; }

Property Value

object

The old value.

PropertyName

Gets the name of the property.

Declaration

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

Property Value

string

The name of the property.