Class ListPropertyChangedEventArgs
Used by OnChanging and OnChanged events of strong typed collections.
Inherited Members
Namespace: Syncfusion.Collections
Assembly: Syncfusion.Shared.Base.dll
Syntax
public sealed class ListPropertyChangedEventArgs : SyncfusionCancelEventArgs
Constructors
ListPropertyChangedEventArgs(ListPropertyChangedType, Int32, Object, String)
Initializes the ListPropertyChangedEventArgs.
Declaration
public ListPropertyChangedEventArgs(ListPropertyChangedType listChangedType, int index, object item, string property)
Parameters
Type | Name | Description |
---|---|---|
ListPropertyChangedType | listChangedType | |
System.Int32 | index | |
System.Object | item | |
System.String | property |
ListPropertyChangedEventArgs(ListPropertyChangedType, Int32, Object, String, Object)
Initializes the ListPropertyChangedEventArgs.
Declaration
public ListPropertyChangedEventArgs(ListPropertyChangedType listChangedType, int index, object item, string property, object tag)
Parameters
Type | Name | Description |
---|---|---|
ListPropertyChangedType | listChangedType | |
System.Int32 | index | |
System.Object | item | |
System.String | property | |
System.Object | tag |
Properties
Action
Returns the type in which the list changed.
Declaration
[TraceProperty(true)]
public ListPropertyChangedType Action { get; }
Property Value
Type |
---|
ListPropertyChangedType |
Index
Returns the index of the item that is changed.
Declaration
[TraceProperty(true)]
public int Index { get; }
Property Value
Type |
---|
System.Int32 |
Inner
If tag is EventArgs, then it returns the Tag casted to EventArgs.
Declaration
[TraceProperty(true)]
public EventArgs Inner { get; }
Property Value
Type |
---|
System.EventArgs |
Item
Returns a reference to the affected item.
Declaration
[TraceProperty(true)]
public object Item { get; }
Property Value
Type |
---|
System.Object |
Property
Returns the names of the affected property.
Declaration
[TraceProperty(true)]
public string Property { get; }
Property Value
Type |
---|
System.String |
Tag
Gets / sets a tag.
Declaration
public object Tag { get; set; }
Property Value
Type |
---|
System.Object |