Table of Contents

Class Menu

Namespace
Alternet.UI
Assembly
Alternet.UI.Common.dll

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

Menu()

Initializes a new instance of the Menu class.

Properties

ControlKind

Returns control identifier.

IsDummy

Gets whether this control is dummy control.

Items

Gets a collection of MenuItem objects associated with the menu.

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.