Udostępnij za pośrednictwem


ItemsChangedEventArgs.Action Property

Definition

Gets the action that occurred on the items collection.

public:
 property int Action { int get(); };
int Action();
public int Action { get; }
var int32 = itemsChangedEventArgs.action;
Public ReadOnly Property Action As Integer

Property Value

Int32

int

The action that occurred.

Remarks

The int values for this property correspond to the values of the CollectionChange enum.

Value Action
0 Reset - The collection is changed.
1 ItemInserted - An item is added to the collection.
2 ItemRemoved - An item is removed from the collection.
3 ItemChanged - An item is changed in the collection.

Applies to