Class ListChangedEventArgs<T>
Contains information about a list change event.
Inheritance
Inherited Members
Namespace: Telerik.WinControls.UI.Data
Assembly: Telerik.WinControls.UI.dll
Syntax
public class ListChangedEventArgs<T> : EventArgs
Type Parameters
T
|
Constructors
ListChangedEventArgs(ListChangedType)
Initializes a new instance of the ListChangedEventArgs<T> class.
Declaration
public ListChangedEventArgs(ListChangedType listChangedType)
Parameters
System.ComponentModel.ListChangedType
listChangedType
Type of the list change. |
ListChangedEventArgs(ListChangedType, T, T)
Initializes a new instance of the ListChangedEventArgs<T> class.
Declaration
public ListChangedEventArgs(ListChangedType listChangedType, T newItem, T oldItem)
Parameters
System.ComponentModel.ListChangedType
listChangedType
Type of the list change. |
T
newItem
The new item. |
T
oldItem
The old item. |
ListChangedEventArgs(ListChangedType, T, Int32)
Initializes a new instance of the ListChangedEventArgs<T> class.
Declaration
public ListChangedEventArgs(ListChangedType listChangedType, T newItem, int newIndex)
Parameters
System.ComponentModel.ListChangedType
listChangedType
Type of the list change. |
T
newItem
The new item. |
System.Int32
newIndex
The new index. |
ListChangedEventArgs(ListChangedType, T, String)
Initializes a new instance of the ListChangedEventArgs<T> class.
Declaration
public ListChangedEventArgs(ListChangedType listChangedType, T changedItem, string propertyName)
Parameters
System.ComponentModel.ListChangedType
listChangedType
Type of the list change. |
T
changedItem
The changed item. |
System.String
propertyName
Name of the property. |
ListChangedEventArgs(ListChangedType, IList<T>)
Initializes a new instance of the ListChangedEventArgs<T> class.
Declaration
public ListChangedEventArgs(ListChangedType listChangedType, IList<T> newItems)
Parameters
System.ComponentModel.ListChangedType
listChangedType
Type of the list change. |
System.Collections.Generic.IList<T>
newItems
The new items. |
ListChangedEventArgs(ListChangedType, IList<T>, IList<T>)
Initializes a new instance of the ListChangedEventArgs<T> class.
Declaration
public ListChangedEventArgs(ListChangedType listChangedType, IList<T> newItems, IList<T> oldItems)
Parameters
System.ComponentModel.ListChangedType
listChangedType
Type of the list change. |
System.Collections.Generic.IList<T>
newItems
The new items. |
System.Collections.Generic.IList<T>
oldItems
The old items. |
ListChangedEventArgs(ListChangedType, IList<T>, String)
Initializes a new instance of the ListChangedEventArgs<T> class.
Declaration
public ListChangedEventArgs(ListChangedType listChangedType, IList<T> changedItems, string propertyName)
Parameters
System.ComponentModel.ListChangedType
listChangedType
Type of the list change. |
System.Collections.Generic.IList<T>
changedItems
The changed items. |
System.String
propertyName
Name of the property. |
Properties
ListChangedType
Gets the type of the list change.
Declaration
public ListChangedType ListChangedType { get; }
Property Value
System.ComponentModel.ListChangedType
The type of the list change. |
NewIndex
Declaration
public int NewIndex { get; }
Property Value
System.Int32
|
NewItems
Gets the new items.
Declaration
public IList<T> NewItems { get; }
Property Value
System.Collections.Generic.IList<T>
The new items. |
OldItems
Gets the old items.
Declaration
public IList<T> OldItems { get; }
Property Value
System.Collections.Generic.IList<T>
The old items. |
PropertyName
Gets the name of the property.
Declaration
public string PropertyName { get; }
Property Value
System.String
The name of the property. |