Class CollectionChangingEventArgs
Represents event data for CollectionChanging event.
Inheritance
Namespace: Telerik.Windows.Data
Assembly: Telerik.Windows.Data.dll
Syntax
public class CollectionChangingEventArgs : EventArgs
Constructors
CollectionChangingEventArgs(CollectionChangeAction)
Initializes a new instance of the CollectionChangingEventArgs class.
Declaration
public CollectionChangingEventArgs(CollectionChangeAction action)
Parameters
CollectionChangeAction
action
The action. |
CollectionChangingEventArgs(CollectionChangeAction, Int32, Object)
Initializes a new instance of the CollectionChangingEventArgs class.
Declaration
public CollectionChangingEventArgs(CollectionChangeAction action, int index, object item)
Parameters
CollectionChangeAction
action
The action. |
System.Int32
index
The index. |
System.Object
item
The item. |
Properties
Action
Gets or sets the collection change action.
Declaration
public CollectionChangeAction Action { get; set; }
Property Value
CollectionChangeAction
The action. |
Cancel
Set this to true to cancel the changes.
Declaration
public bool Cancel { get; set; }
Property Value
System.Boolean
|
Index
Gets or sets the index.
Declaration
public int Index { get; set; }
Property Value
System.Int32
The index. |
Item
Gets or sets the item.
Declaration
public object Item { get; set; }
Property Value
System.Object
The item. |