NotifyCollectionChangedEventArgs Constructor |
Name | Description | |
---|---|---|
NotifyCollectionChangedEventArgs(NotifyCollectionChangedAction) |
Initializes a new instance of the System.Collections.Specialized.NotifyCollectionChangedEventArgs class
that describes a System.Collections.Specialized.NotifyCollectionChangedAction.Reset change.
| |
NotifyCollectionChangedEventArgs(NotifyCollectionChangedAction, IList) |
Initializes a new instance of the System.Collections.Specialized.NotifyCollectionChangedEventArgs class that describes a multi-item change.
| |
NotifyCollectionChangedEventArgs(NotifyCollectionChangedAction, Object) |
Initializes a new instance of the System.Collections.Specialized.NotifyCollectionChangedEventArgs class that describes a one-item change.
Throws an exception if action is not Reset, Add, or Remove, or if action is Reset and changedItem is not null.
| |
NotifyCollectionChangedEventArgs(NotifyCollectionChangedAction, IList, IList) |
Initializes a new instance of the System.Collections.Specialized.NotifyCollectionChangedEventArgs class
that describes a multi-item System.Collections.Specialized.NotifyCollectionChangedAction.Replace change.
Exceptions:
System.ArgumentException:
If action is not Replace.
System.ArgumentNullException:
If oldItems or newItems is null.
| |
NotifyCollectionChangedEventArgs(NotifyCollectionChangedAction, IList, Int32) |
Initializes a new instance of the System.Collections.Specialized.NotifyCollectionChangedEventArgs class
that describes a multi-item change or a System.Collections.Specialized.NotifyCollectionChangedAction.Reset change.
Exceptions:
System.ArgumentException:
If action is not Reset, Add, or Remove, if action is Reset and either changedItems
is not null or startingIndex is not -1, or if action is Add or Remove and
startingIndex is less than -1.
System.ArgumentNullException:
If action is Add or Remove and changedItems is null.
| |
NotifyCollectionChangedEventArgs(NotifyCollectionChangedAction, Object, Int32) |
Initializes a new instance of the System.Collections.Specialized.NotifyCollectionChangedEventArgs class that describes a one-item change.
Exceptions:
System.ArgumentException:
If action is not Reset, Add, or Remove, or if action is Reset and either
changedItems is not null or index is not -1.
| |
NotifyCollectionChangedEventArgs(NotifyCollectionChangedAction, Object, Object) |
Initializes a new instance of the System.Collections.Specialized.NotifyCollectionChangedEventArgs class
that describes a one-item System.Collections.Specialized.NotifyCollectionChangedAction.Replace change.
System.ArgumentException:
If action is not Replace.
| |
NotifyCollectionChangedEventArgs(NotifyCollectionChangedAction, IList, IList, Int32) |
Initializes a new instance of the System.Collections.Specialized.NotifyCollectionChangedEventArgs class
that describes a multi-item System.Collections.Specialized.NotifyCollectionChangedAction.Replace change.
Exceptions:
System.ArgumentException:
If action is not Replace.
System.ArgumentNullException:
If oldItems or newItems is null.
| |
NotifyCollectionChangedEventArgs(NotifyCollectionChangedAction, IList, Int32, Int32) |
Initializes a new instance of the System.Collections.Specialized.NotifyCollectionChangedEventArgs
class that describes a multi-item System.Collections.Specialized.NotifyCollectionChangedAction.Move
change.
Exceptions:
System.ArgumentException:
If action is not Move or index is less than 0.
| |
NotifyCollectionChangedEventArgs(NotifyCollectionChangedAction, Object, Int32, Int32) |
Initializes a new instance of the System.Collections.Specialized.NotifyCollectionChangedEventArgs
class that describes a one-item System.Collections.Specialized.NotifyCollectionChangedAction.Move
change.
Exceptions:
System.ArgumentException:
If action is not Move or index is less than 0.
| |
NotifyCollectionChangedEventArgs(NotifyCollectionChangedAction, Object, Object, Int32) |
Initializes a new instance of the System.Collections.Specialized.NotifyCollectionChangedEventArgs
class that describes a one-item System.Collections.Specialized.NotifyCollectionChangedAction.Replace
change.
Exceptions:
System.ArgumentException:
If action is not Replace.
|