Table of Contents

Class MainMenu

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

Represents the main menu structure of an application or a window.

[ControlCategory("MenusAndToolbars")]
public class MainMenu : Menu, IBaseObjectWithAttr, IDisposableObject, IComponent, IDisposable, IMenuProperties, ICollectionObserver<object>, INotifyPropertyChanged, IBaseObjectWithId, IBaseObject
Inheritance
MainMenu
Implements

Constructors

MainMenu()

Initializes a new instance of the MainMenu class.

Properties

AttachedWindow

Gets the Window instance to which this menu is attached, if any.

IsAttached

Gets a value indicating whether this MainMenu is currently attached to a window.

MenuBar

Gets the MainMenu associated with this element, if any.

Methods

DisposeManaged()

Override to dispose managed resources. Here we dispose all used object references.

OnItemChanged(Menu, MenuChangeEventArgs)

Invoked when an item in the menu is changed.