ItemsChangedEventArgs.Action Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for