Wisej.Web.Menu
Namespace: Wisej.Web
Assembly: Wisej.Framework (4.0.0.0)
Represents the base functionality for all menus.
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. (Default: null
)
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. (Default: null
)
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. (Default: Default
)
Boolean: Returns a flag indicating that this menu instance is used a as menu bar. Which makes the first level menuItem children become menu buttons.
Boolean: Returns a value indicating whether this menu contains any menu items. This property is read-only.
Int32: Returns the number of child menu items without forcing the creation of the collection.
MenuItem: Returns the child menu item that is used to display a list of multiple document interface (MDI) child forms.
MenuItemCollection: Returns the collection of MenuItem objects associated with the menu.
String: Returns or sets the name of the Menu.
Object: Returns or sets user-defined data associated with the control. (Default: null
)
Copies the Menu that is passed as a parameter to the current Menu.
source
Disposes of the resources, other than memory, used by the Menu.
disposing
true when this method is called by the application rather than a finalizer.
Returns the position at which a menu item should be inserted into the menu.
mergeOrder
The merge order position for the menu item to be merged.
Returns: Int32. The position at which a menu item should be inserted into the menu.
Returns the position at which a menu item should be replaced into the menu.
mergeOrder
The merge order position for the menu item to be merged.
Returns: Int32. The position at which a menu item should be replaced into the menu.
Returns the ContextMenu that contains this menu.
Returns: ContextMenu. The ContextMenu that contains this menu. The default is null.
Returns the MainMenu that contains this menu.
Returns: MainMenu. The MainMenu that contains this menu.
Returns the MenuBar that contains this menu.
Returns: MenuBar. The MenuBar that contains this menu.
Returns: Menu.
Merges the MenuItem objects of one menu with the current menu.
source
Throws:
ArgumentException It was attempted to merge the menu with itself.
Adds references components to the list. Referenced components can be added individually or as a reference to a collection.
items
Container for the referenced components or collections.
Fires the BindingContextChanged event.
e
Fires the MenuItemAdded event.
e
Fired the MenuItemClicked event.
e
Fires the MenuItemRemoved event.
e
Renders the client component.
config
Dynamic configuration object.
item
Validates the current control.
Returns: Boolean. true if the active control is validated.
MenuItemEventHandler Fired when a new menu item is added to the MenuItemCollection.
MenuItemEventHandler Fired when a menu item is clicked.
MenuItemEventHandler Fired when a menu item is removed from the MenuItemCollection.
Provides access to the UserData
and Tag
properties associated to the component implementing this interface.
Bindable components implement this interface.
All wisej components implement this interface.
Allows an object to serialize itself.
The to copy.
The whose menu items are merged with the menu items of the current menu.
An that contains the event data.
A that contains the event data.
A that contains the event data.
A that contains the event data.
Represents an individual menu item that is displayed within a or and always shows a checkbox next to the label.
Represents a context menu associated to a .
Represents an individual menu item that is displayed within a or rendered using the <a> link element to let the browser process the specified URL.
Represents the main menu in a .
Represents an individual item that is displayed within a or .