Class Menu
Represents the base functionality for all menus.
public abstract class Menu : NonVisualControl, IBaseObject, IDisposableObject, ISupportInitialize, IFocusable, ITextProperty, IComponent, IControl, IDisposable, IWin32Window, INotifyDataErrorInfo
- Inheritance
-
Menu
- Implements
- Derived
Constructors
Properties
- ControlKind
Returns control identifier.
- IsDummy
Gets whether this control is dummy control.
Methods
- Add(MenuItem)
Adds item to Items.
- Add(string, Action)
Creates and adds new item to Items.
- ForEachItem(Action<MenuItem>, bool)
Performs some action for the each element in Items.