Class
CollectionChangingEventArgs

Represents event data for CollectionChanging event.

Definition

Namespace:Telerik.Windows.Data

Assembly:Telerik.Windows.Data.dll

Syntax:

cs-api-definition
public class CollectionChangingEventArgs : EventArgs

Inheritance: objectEventArgsCollectionChangingEventArgs

Inherited Members EventArgs.Empty

Constructors

CollectionChangingEventArgs(CollectionChangeAction)

Initializes a new instance of the CollectionChangingEventArgs class.

Declaration

cs-api-definition
public CollectionChangingEventArgs(CollectionChangeAction action)

Parameters

action

CollectionChangeAction

The action.

CollectionChangingEventArgs(CollectionChangeAction, int, object)

Initializes a new instance of the CollectionChangingEventArgs class.

Declaration

cs-api-definition
public CollectionChangingEventArgs(CollectionChangeAction action, int index, object item)

Parameters

action

CollectionChangeAction

The action.

index

int

The index.

item

object

The item.

Properties

Action

Gets or sets the collection change action.

Declaration

cs-api-definition
public CollectionChangeAction Action { get; set; }

Property Value

CollectionChangeAction

The action.

Cancel

Set this to true to cancel the changes.

Declaration

cs-api-definition
public bool Cancel { get; set; }

Property Value

bool

Index

Gets or sets the index.

Declaration

cs-api-definition
public int Index { get; set; }

Property Value

int

The index.

Item

Gets or sets the item.

Declaration

cs-api-definition
public object Item { get; set; }

Property Value

object

The item.