Class MenuChangeEventArgs
Provides data for menu change events, indicating which menu item was changed and the type of change.
public class MenuChangeEventArgs : BaseEventArgs
- Inheritance
-
MenuChangeEventArgs
Constructors
- MenuChangeEventArgs(Menu, MenuChangeKind)
Initializes a new instance of the MenuChangeEventArgs class.
- MenuChangeEventArgs(Menu, MenuChangeKind, int)
Initializes a new instance of the MenuChangeEventArgs class with the specified menu item, action, and index.
Properties
- Action
Gets or sets the type of change that occurred.
- Index
Gets or sets the zero-based index of the item. This is optional and may be null. Index is typically used to indicate the position where item was inserted or removed in the case of ItemInserted or ItemRemoved.
- Item
Gets or sets the menu item that was changed.