Class Menu
Represents the base functionality for all menus.
public abstract class Menu : NonVisualControl, IBaseObjectWithId, IDisposableObject, IBaseObject, ISupportInitialize, IFocusable, ITextProperty, IComponent, IControl, IDisposable, IWin32Window, INotifyDataErrorInfo
- Inheritance
-
Menu
- Implements
- Derived
Constructors
Properties
- ContentElements
Returns a collection of content elements which is used by the UIXML loader to find content items by index.
- ControlKind
Returns control identifier.
- IsDummy
Gets whether this control is dummy control.
- LogicalChildrenCollection
Returns a collection of elements which can be treated as "logical children" of this element.
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.