Class ListPropertyChangedEventArgs
Represents a class used by Changed event of strong typed collections.
Inheritance
Inherited Members
Namespace: Syncfusion.WinForms.Controls.Events
Assembly: Syncfusion.Shared.Base.dll
Syntax
[ComVisible(false)]
public sealed class ListPropertyChangedEventArgs : EventArgs
Constructors
ListPropertyChangedEventArgs(ListPropertyChangedType, Int32, Object, String)
Initializes a new instance of the ListPropertyChangedEventArgs class.
Declaration
public ListPropertyChangedEventArgs(ListPropertyChangedType listChangedType, int index, object item, string property)
Parameters
Type | Name | Description |
---|---|---|
ListPropertyChangedType | listChangedType | ListPropertyChangedType value. |
System.Int32 | index | Index in which the list gets affected. |
System.Object | item | Item which affects the collection. |
System.String | property | Property in which the collection gets affected. |
ListPropertyChangedEventArgs(ListPropertyChangedType, Int32, Object, String, Object)
Initializes a new instance of the ListPropertyChangedEventArgs class.
Declaration
public ListPropertyChangedEventArgs(ListPropertyChangedType listChangedType, int index, object item, string property, object tag)
Parameters
Type | Name | Description |
---|---|---|
ListPropertyChangedType | listChangedType | ListPropertyChangedType value. |
System.Int32 | index | Index in which the list gets affected. |
System.Object | item | Item which affects the collection. |
System.String | property | Property in which the collection gets affected. |
System.Object | tag | Tag for additional information. |
Properties
Action
Gets the type in which the list changed.
Declaration
public ListPropertyChangedType Action { get; }
Property Value
Type |
---|
ListPropertyChangedType |
Index
Gets the index of the item that is changed.
Declaration
public int Index { get; }
Property Value
Type |
---|
System.Int32 |
Inner
Gets the System.EventArgs.
Declaration
public EventArgs Inner { get; }
Property Value
Type |
---|
System.EventArgs |
Remarks
If tag is EventArgs, then it returns the Tag casted to EventArgs.
Item
Gets the reference to the affected item.
Declaration
public object Item { get; }
Property Value
Type |
---|
System.Object |
Property
Gets the name of the affected property.
Declaration
public string Property { get; }
Property Value
Type |
---|
System.String |
Tag
Gets or sets a tag.
Declaration
public object Tag { get; set; }
Property Value
Type |
---|
System.Object |