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 Collection
Declaration
public CollectionChangingEventArgs(CollectionChangeAction action)
Parameters
System. The action. |
CollectionChangingEventArgs(CollectionChangeAction, Int32, Object)
Initializes a new instance of the Collection
Declaration
public CollectionChangingEventArgs(CollectionChangeAction action, int index, object item)
Parameters
System. The action. |
System. The index. |
System. The item. |
Properties
Action
Gets or sets the collection change action.
Declaration
public CollectionChangeAction Action { get; set; }
Property Value
System. The action. |
Cancel
Set this to true to cancel the changes.
Declaration
public bool Cancel { get; set; }
Property Value
System.
|
Index
Gets or sets the index.
Declaration
public int Index { get; set; }
Property Value
System. The index. |
Item
Gets or sets the item.
Declaration
public object Item { get; set; }
Property Value
System. The item. |