MenuItem
Wisej.Web.MenuItem
Last updated
Was this helpful?
Wisej.Web.MenuItem
Last updated
Was this helpful?
Namespace: Wisej.Web
Assembly: Wisej.Framework (3.1.0.0)
Represents an individual item that is displayed within a or .
Initializes a with a blank caption.
Initializes a new instance of the class with a specified caption for the menu item.
text
The caption for the menu item.
text
The caption for the menu item.
onClick
Initializes a new instance of the class with a specified caption, event handler, and associated shortcut key for the menu item.
text
The caption for the menu item.
onClick
shortcut
Initializes a new instance of the class with a specified caption and an array of submenu items defined for the menu item.
text
The caption for the menu item.
items
mergeType
mergeOrder
The relative position that this menu item will take in a merged menu.
shortcut
text
The caption for the menu item.
onClick
onPopup
onSelect
items
Throws:
Throws:
Updates the component on the client.
This event fires only if there is an handler attached to it. A simple overload of the On[Event] method in a derived class will not be invoked unless there is at least one handler attached to the event.
All wisej components implement this interface.
Allows an object to serialize itself.
Initializes a new instance of the class with a specified caption and event handler for the event of the menu item.
The that handles the event for this menu item.
The that handles the event for this menu item.
One of the values.
An array of objects that contains the submenu items for this menu item.
Initializes a new instance of the class with a specified caption; defined event-handlers for the , and events; a shortcut key; a merge type; and order specified for the menu item.
One of the values.
One of the values.
The that handles the event for this menu item.
The that handles the event for this menu item.
The that handles the event for this menu item.
An array of objects that contains the submenu items for this menu item.
: Returns or sets a value indicating that the control can display HTML in the Text property. (Default: False
)
: Returns or sets whether the application blocks the browser with a modal mask when this menu item is clicked and until the server is done processing the execution request. (Default: False
)
: Returns or sets the background color of the menu item.
: Returns or sets the case of the text to display to the user. (Default: Normal
)
: Returns or sets whether a check mark appears next to the text of the menu item. (Default: False
)
The is a top-level menu or has children.
: Returns or sets whether the menu item is enabled. (Default: True
)
: Returns or sets the font of the menu item.
: Returns or sets the text color of the menu item.
: Returns the that owns the .
: Returns or sets the icon that is displayed by .
: Returns or sets the theme name or URL for the icon to display in the .
: Returns or sets a value indicating the position of the menu item in its parent menu.
The assigned value is less than zero or greater than the item count.
: Returns a value indicating whether the menu item contains child menu items.
: Returns or sets whether the menu item will be populated with a list of the Multiple Document Interface (MDI) child windows that are displayed within the associated form. (Default: False
)
: Returns or sets a value indicating the relative position of the menu item when it is merged with another. (Default: 0
)
: Returns or sets a value indicating the behavior of this menu item when its menu is merged with another. (Default: Add
)
: The parent menu that contains this menu item
: Returns or sets whether the , if checked, displays a radio-button instead of a check mark. (Default: False
)
: Returns or sets a value indicating the shortcut key associated with the menu item. (Default: None
)
: Returns or sets whether the shortcut key that is associated with the menu item is displayed next to the menu item caption. (Default: True
)
: Returns or sets how the menu item is resized when in a or (Default: Auto
)
: Returns the that owns the .
: Returns or sets a value indicating the text of the menu item. Use "-" to display the menu separator.
: Returns or sets whether the menu item is visible. (Default: True
)
Creates a copy of the current .
Returns: . A that represents the duplicated menu item.
Merges this with another and returns the resulting merged .
Returns: . A that represents the merged menu item.
Generates a event for the , simulating a click by a user.
Fires the event for this menu item.
Fired when the property value changes.
Fired when the property value changes.
Fired when the menu item is clicked or selected using a shortcut key or access key defined for the menu item.
Fired when the property value changes.
Fired when the property value changes.
Occurs before a menu item's list of menu items is displayed.
Fired when the user places the pointer over a menu item.
Fired when the property value changes.
Represents an individual menu item that is displayed within a or and always shows a checkbox next to the label.
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.