Provides data for the CollectionChanging event.
Definition
Namespace:Telerik.WinControls.Data
Assembly:Telerik.WinControls.dll
Syntax:
public class NotifyCollectionChangingEventArgs : CancelEventArgs
Inheritance: objectEventArgsCancelEventArgsNotifyCollectionChangingEventArgs
Derived Classes:
Inherited Members
Constructors
Initializes a new instance of the NotifyCollectionChangingEventArgs class that describes a multi-item Replace change.
public NotifyCollectionChangingEventArgs(NotifyCollectionChangedAction action, IList newItems, IList oldItems, int startingIndex)
Initializes a new instance of the NotifyCollectionChangingEventArgs class that describes a multi-item Replace change.
public NotifyCollectionChangingEventArgs(NotifyCollectionChangedAction action, IList newItems, IList oldItems)
Initializes a new instance of the NotifyCollectionChangingEventArgs class that describes a multi-item Move change.
public NotifyCollectionChangingEventArgs(NotifyCollectionChangedAction action, IList changedItems, int index, int oldIndex)
Initializes a new instance of the NotifyCollectionChangingEventArgs class that describes a multi-item change or a reset change.
public NotifyCollectionChangingEventArgs(NotifyCollectionChangedAction action, IList changedItems, int startingIndex)
Initializes a new instance of the NotifyCollectionChangingEventArgs class that describes a multi-item change.
public NotifyCollectionChangingEventArgs(NotifyCollectionChangedAction action, IList changedItems)
Initializes a new instance of the NotifyCollectionChangingEventArgs class that describes a multi-item Move change.
public NotifyCollectionChangingEventArgs(NotifyCollectionChangedAction action, object changedItem, int index, int oldIndex)
Initializes a new instance of the NotifyCollectionChangingEventArgs class that describes a one-item change.
public NotifyCollectionChangingEventArgs(NotifyCollectionChangedAction action, object changedItem, int index)
public NotifyCollectionChangingEventArgs(NotifyCollectionChangedAction action, object newItem, object oldItem, int index, PropertyChangingEventArgsEx propertyArgs)
Initializes a new instance of the NotifyCollectionChangingEventArgs class that describes a one-item Replace change.
public NotifyCollectionChangingEventArgs(NotifyCollectionChangedAction action, object newItem, object oldItem, int index)
Initializes a new instance of the NotifyCollectionChangingEventArgs class that describes a one-item Replace change.
public NotifyCollectionChangingEventArgs(NotifyCollectionChangedAction action, object newItem, object oldItem)
Initializes a new instance of the NotifyCollectionChangingEventArgs class that describes a one-item change.
public NotifyCollectionChangingEventArgs(NotifyCollectionChangedAction action, object changedItem)
Initializes a new instance of the NotifyCollectionChangingEventArgs class that describes a Reset change.
public NotifyCollectionChangingEventArgs(NotifyCollectionChangedAction action)
The action that caused the event. This must be set to Reset.
Properties
Provides data for the CollectionChanging event.
public NotifyCollectionChangedAction Action { get; protected set; }
Gets the list of new items involved in the change.
public IList NewItems { get; protected set; }
Gets the index at which the change occurred.
public int NewStartingIndex { get; protected set; }
Gets the list of items affected by a Replace, Remove, or Move action.
public IList OldItems { get; protected set; }
Gets the index at which a Move, Remove, ore Replace action occurred.
public int OldStartingIndex { get; protected set; }
Gets the property arguments when property changing has been fired.
public PropertyChangingEventArgsEx PropertyArgs { get; protected set; }
The property arguments.