Menu
Wisej.Web.Menu
Namespace: Wisej.Web
Assembly: Wisej.Framework (2.2.0.0)
Represents the base functionality for all menus.
public class Menu : Component, ICloneablePublic Class Menu
Inherits Component
Implements ICloneableProperties
AccessibleDescription
String: Returns or sets the description that will be reported to accessibility client applications. It is assigned to the "alt" attribute of the browser element.
AccessibleName
String: Returns or sets the name of the control for use by accessibility client applications. It is assigned to the "name" attribute of the browser element.
AccessibleRole
AccessibleRole: Returns or sets the accessible role of the menu item that will be reported to accessibility client applications. It is assigned to the "role" attribute of the browser element.
IsParent
Boolean: Returns a value indicating whether this menu contains any menu items. This property is read-only.
MdiListItem
MenuItem: Returns the child menu item that is used to display a list of multiple document interface (MDI) child forms.
MenuItems
MenuItemCollection: Returns the collection of MenuItem objects associated with the menu.
Name
String: Returns or sets the name of the Menu.
Tag
Object: Returns or sets user-defined data associated with the control.
Methods
GetContextMenu()
Returns the ContextMenu that contains this menu.
Returns: ContextMenu. The ContextMenu that contains this menu. The default is null.
GetMainMenu()
Returns the MainMenu that contains this menu.
Returns: MainMenu. The MainMenu that contains this menu.
GetMenuBar()
Returns the menuBar that contains this menu.
Returns: MenuBar. The MenuBar that contains this menu.
MergeMenu(source)
Merges the MenuItem objects of one menu with the current menu.
Throws:
ArgumentException It was attempted to merge the menu with itself.
Events
MenuItemClicked
MenuItemEventHandler Fired when a menu item is clicked.
Inherited By
Represents a context menu associated to a Control.
Represents an individual menu item that is displayed within a MainMenu or ContextMenu rendered using the link element to let the browser process the specified HRef URL.
Represents an individual item that is displayed within a MainMenu or ContextMenu.
Implements
All wisej components implement this interface.
Allows an object to serialize itself.
Last updated
Was this helpful?

