IMenuItems

Description

The IMenuItems interface contains properties and methods of the collection of elements of the menu of the MainMenu and PopupMenu components.

Properties

   Property name Brief description
Count The Count property returns the number of items in the collection.
Item The Item property returns a menu item.

Methods

   Method name Brief description
Add The Add method adds a menu item to the end of the list.
Clear The Clear method clears menu.
IndexOf The IndexOf method returns index of the specified menu item in the collection.
Insert The Insert method inserts the menu item in the specified position.
Remove The Remove method removes the menu item.
RemoveAt The RemoveAt method removes the menu item by its index.

See also:

Forms Assembly Interfaces