MainMenu
Wisej.Web.MainMenu
Last updated
Was this helpful?
Wisej.Web.MainMenu
Last updated
Was this helpful?
Namespace: Wisej.Web
Assembly: Wisej.Framework (4.0.0.0)
Represents the main menu in a Form.
Initializes a new instance of the MainMenu class without any specified menu items.
Initializes a new instance of the MainMenu class with the specified container.
Initializes a new instance of the MainMenu with a specified set of MenuItem objects.
Boolean: Enables the overflow handling which automatically removes items that don't fit in the MainMenu and adds them to a drop-down button. (Default: True
)
Color: Returns or sets the background color of the main menu bar.
Boolean: Returns or sets whether clicking menu items causes validation to be performed on the active control. (Default: False
)
Boolean: Returns or sets whether the menu is visible. (Default: True
)
Font: Returns or sets the font of the main menu bar.
Color: Returns or sets the text color of the main menu bar.
Form: The container window (Form or Page) that owns this menu;
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.
RightToLeft: Returns or sets whether the text displayed by the control is displayed from right to left.
Boolean: Returns or sets whether the menu is visible. (Default: True
)
Creates a new MainMenu that is a duplicate of the current MainMenu.
Returns: MainMenu. A MainMenu that represents the cloned menu.
Disposes of the resources, other than memory, used by the MainMenu.
Returns the Form that contains this menu.
Returns: Form. A Form that is the container for this menu. Returns null if the MainMenu is not currently hosted on a form.
Hides the main menu.
Fires the BackColorChanged event.
Fires the EnabledChanged event.
Fires the FontChanged event.
Fires the ForeColorChanged event.
Fires the VisibleChanged event.
Renders the client component.
Returns: Boolean.
Shows the main menu.
Updates the component on the client. Overridden to update the owner form.
EventHandler Fired when the BackColor property value changes.
EventHandler Fired when the value of the CausesValidation property changes.
EventHandler Fired when the Enabled property value has changed.
EventHandler Fired when the Font property value changes.
EventHandler Fired when the ForeColor property value changes.
EventHandler Fired when the Visible property value changes.
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.