# MenuItem

Namespace: **Wisej.Web**

Assembly: **Wisej.Framework** (4.0.0.0)

* [Component](/api/wisej.base/general/wisej.base.component.md)
  * [Component](/api/wisej.web/general/wisej.web.component.md)
    * [BindableComponent](/api/wisej.web/general/wisej.web.bindablecomponent.md)
      * [Menu](/api/wisej.web/menus/wisej.web.menu.md)
        * [MenuItem](/api/wisej.web/menus/wisej.web.menuitem.md)

Represents an individual item that is displayed within a [MainMenu](/api/wisej.web/menus/wisej.web.mainmenu.md) or [ContextMenu](/api/wisej.web/menus/wisej.web.contextmenu.md).

{% tabs %}
{% tab title="C#" %}

```csharp
public class MenuItem : Menu, ICommandSource
```

{% endtab %}

{% tab title="VB.NET" %}

```visual-basic
Public Class MenuItem
    Inherits Menu
    Implements ICommandSource
```

{% endtab %}
{% endtabs %}

## Constructors

### ![](/files/hsR4ok3152WyAf8J2C1u) MenuItem()

Initializes a [MenuItem](/api/wisej.web/menus/wisej.web.menuitem.md) with a blank caption.

### ![](/files/hsR4ok3152WyAf8J2C1u) MenuItem(text)

Initializes a new instance of the [MenuItem](/api/wisej.web/menus/wisej.web.menuitem.md) class with a specified caption for the menu item.

| Name     | Type                                                          | Description                    |
| -------- | ------------------------------------------------------------- | ------------------------------ |
| **text** | [String](https://docs.microsoft.com/dotnet/api/system.string) | The caption for the menu item. |

### ![](/files/hsR4ok3152WyAf8J2C1u) MenuItem(text, onClick)

Initializes a new instance of the class with a specified caption and event handler for the [Click](#click) event of the menu item.

| Name        | Type                                                                      | Description                                                                                                                              |
| ----------- | ------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------- |
| **text**    | [String](https://docs.microsoft.com/dotnet/api/system.string)             | The caption for the menu item.                                                                                                           |
| **onClick** | [EventHandler](https://docs.microsoft.com/dotnet/api/system.eventhandler) | The [EventHandler](https://docs.microsoft.com/dotnet/api/system.eventhandler) that handles the [Click](#click) event for this menu item. |

### ![](/files/hsR4ok3152WyAf8J2C1u) MenuItem(text, onClick, shortcut)

Initializes a new instance of the class with a specified caption, event handler, and associated shortcut key for the menu item.

| Name         | Type                                                                      | Description                                                                                                                              |
| ------------ | ------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------- |
| **text**     | [String](https://docs.microsoft.com/dotnet/api/system.string)             | The caption for the menu item.                                                                                                           |
| **onClick**  | [EventHandler](https://docs.microsoft.com/dotnet/api/system.eventhandler) | The [EventHandler](https://docs.microsoft.com/dotnet/api/system.eventhandler) that handles the [Click](#click) event for this menu item. |
| **shortcut** | [Shortcut](/api/wisej.web/enumerations/wisej.web.shortcut.md)             | One of the [Shortcut](/api/wisej.web/enumerations/wisej.web.shortcut.md) values.                                                         |

### ![](/files/hsR4ok3152WyAf8J2C1u) MenuItem(text, items)

Initializes a new instance of the class with a specified caption and an array of submenu items defined for the menu item.

| Name      | Type                                                          | Description                                                                                                                    |
| --------- | ------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------ |
| **text**  | [String](https://docs.microsoft.com/dotnet/api/system.string) | The caption for the menu item.                                                                                                 |
| **items** | [MenuItem\[\]](/api/wisej.web/menus/wisej.web.menuitem.md)    | An array of [MenuItem](/api/wisej.web/menus/wisej.web.menuitem.md) objects that contains the submenu items for this menu item. |

### ![](/files/hsR4ok3152WyAf8J2C1u) MenuItem(mergeType, mergeOrder, shortcut, text, onClick, onPopup, onSelect, items)

Initializes a new instance of the [MenuItem](/api/wisej.web/menus/wisej.web.menuitem.md) class with a specified caption; defined event-handlers for the [Click](#click), [Select](#select) and [Popup](#popup) events; a shortcut key; a merge type; and order specified for the menu item.

| Name           | Type                                                                      | Description                                                                                                                                |
| -------------- | ------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------ |
| **mergeType**  | [MenuMerge](/api/wisej.web/menus/wisej.web.menumerge.md)                  | One of the [MenuMerge](/api/wisej.web/menus/wisej.web.menumerge.md) values.                                                                |
| **mergeOrder** | [Int32](https://docs.microsoft.com/dotnet/api/system.int32)               | The relative position that this menu item will take in a merged menu.                                                                      |
| **shortcut**   | [Shortcut](/api/wisej.web/enumerations/wisej.web.shortcut.md)             | One of the [Shortcut](/api/wisej.web/enumerations/wisej.web.shortcut.md) values.                                                           |
| **text**       | [String](https://docs.microsoft.com/dotnet/api/system.string)             | The caption for the menu item.                                                                                                             |
| **onClick**    | [EventHandler](https://docs.microsoft.com/dotnet/api/system.eventhandler) | The [EventHandler](https://docs.microsoft.com/dotnet/api/system.eventhandler) that handles the [Click](#click) event for this menu item.   |
| **onPopup**    | [EventHandler](https://docs.microsoft.com/dotnet/api/system.eventhandler) | The [EventHandler](https://docs.microsoft.com/dotnet/api/system.eventhandler) that handles the [Popup](#popup) event for this menu item.   |
| **onSelect**   | [EventHandler](https://docs.microsoft.com/dotnet/api/system.eventhandler) | The [EventHandler](https://docs.microsoft.com/dotnet/api/system.eventhandler) that handles the [Select](#select) event for this menu item. |
| **items**      | [MenuItem\[\]](/api/wisej.web/menus/wisej.web.menuitem.md)                | An array of [MenuItem](/api/wisej.web/menus/wisej.web.menuitem.md) objects that contains the submenu items for this menu item.             |

## Properties

### ![](/files/hsR4ok3152WyAf8J2C1u) AllowHtml

[Boolean](https://docs.microsoft.com/dotnet/api/system.boolean): Returns or sets a value indicating that the control can display HTML in the Text property. (Default: `False`)

### ![](/files/hsR4ok3152WyAf8J2C1u) AutoShowLoader

[Boolean](https://docs.microsoft.com/dotnet/api/system.boolean): 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`)

### ![](/files/hsR4ok3152WyAf8J2C1u) BackColor

[Color](https://docs.microsoft.com/dotnet/api/system.drawing.color): Returns or sets the background color of the menu item.

### ![](/files/hsR4ok3152WyAf8J2C1u) CharacterCasing

[CharacterCasing](/api/wisej.web/editors/wisej.web.charactercasing.md): Returns or sets the case of the text to display to the user. (Default: `Normal`)

### ![](/files/hsR4ok3152WyAf8J2C1u) Checked

[Boolean](https://docs.microsoft.com/dotnet/api/system.boolean): Returns or sets whether a check mark appears next to the text of the menu item. (Default: `False`)

**Throws:**

* [ArgumentException](https://docs.microsoft.com/dotnet/api/system.argumentexception)\
  The [MenuItem](/api/wisej.web/menus/wisej.web.menuitem.md) is a top-level menu or has children.

### ![](/files/hsR4ok3152WyAf8J2C1u) Command

[ICommand](/api/wisej.web/interfaces/wisej.web.icommand.md): Returns or sets the [ICommand](/api/wisej.web/interfaces/wisej.web.icommand.md) implementation to invoke. (Default: `null`)

### ![](/files/hsR4ok3152WyAf8J2C1u) Enabled

[Boolean](https://docs.microsoft.com/dotnet/api/system.boolean): Returns or sets whether the menu item is enabled. (Default: `True`)

### ![](/files/hsR4ok3152WyAf8J2C1u) Font

[Font](https://docs.microsoft.com/dotnet/api/system.drawing.font): Returns or sets the font of the menu item.

### ![](/files/hsR4ok3152WyAf8J2C1u) ForeColor

[Color](https://docs.microsoft.com/dotnet/api/system.drawing.color): Returns or sets the text color of the menu item.

### ![](/files/hsR4ok3152WyAf8J2C1u) Form

[Form](/api/wisej.web/containers/form.md): Returns the [Form](/api/wisej.web/containers/form.md) that owns the [Menu](/api/wisej.web/menus/wisej.web.menu.md).

### ![](/files/hsR4ok3152WyAf8J2C1u) Icon

[Image](https://docs.microsoft.com/dotnet/api/system.drawing.image): Returns or sets the icon that is displayed by [MenuItem](/api/wisej.web/menus/wisej.web.menuitem.md).

### ![](/files/hsR4ok3152WyAf8J2C1u) IconSource

[String](https://docs.microsoft.com/dotnet/api/system.string): Returns or sets the theme name or URL for the icon to display in the [MenuItem](/api/wisej.web/menus/wisej.web.menuitem.md).

### ![](/files/hsR4ok3152WyAf8J2C1u) Index

[Int32](https://docs.microsoft.com/dotnet/api/system.int32): Returns or sets a value indicating the position of the menu item in its parent menu.

**Throws:**

* [ArgumentOutOfRangeException](https://docs.microsoft.com/dotnet/api/system.argumentoutofrangeexception)\
  The assigned value is less than zero or greater than the item count.

### ![](/files/hsR4ok3152WyAf8J2C1u) IsParent

[Boolean](https://docs.microsoft.com/dotnet/api/system.boolean): Returns a value indicating whether the menu item contains child menu items.

### ![](/files/hsR4ok3152WyAf8J2C1u) MdiList

[Boolean](https://docs.microsoft.com/dotnet/api/system.boolean): 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`)

### ![](/files/lzopMboA31bVq8UIcbT3) MenuID

[Int32](https://docs.microsoft.com/dotnet/api/system.int32): Returns the unique identifier for this menu item.

### ![](/files/hsR4ok3152WyAf8J2C1u) MergeOrder

[Int32](https://docs.microsoft.com/dotnet/api/system.int32): Returns or sets a value indicating the relative position of the menu item when it is merged with another. (Default: `0`)

### ![](/files/hsR4ok3152WyAf8J2C1u) MergeType

[MenuMerge](/api/wisej.web/menus/wisej.web.menumerge.md): Returns or sets a value indicating the behavior of this menu item when its menu is merged with another. (Default: `Add`)

### ![](/files/hsR4ok3152WyAf8J2C1u) Parent

[Menu](/api/wisej.web/menus/wisej.web.menu.md): The parent menu that contains this menu item

### ![](/files/hsR4ok3152WyAf8J2C1u) RadioCheck

[Boolean](https://docs.microsoft.com/dotnet/api/system.boolean): Returns or sets whether the [MenuItem](/api/wisej.web/menus/wisej.web.menuitem.md), if checked, displays a radio-button instead of a check mark. (Default: `False`)

### ![](/files/hsR4ok3152WyAf8J2C1u) Shortcut

[Shortcut](/api/wisej.web/enumerations/wisej.web.shortcut.md): Returns or sets a value indicating the shortcut key associated with the menu item. (Default: `None`)

### ![](/files/hsR4ok3152WyAf8J2C1u) ShowShortcut

[Boolean](https://docs.microsoft.com/dotnet/api/system.boolean): Returns or sets whether the shortcut key that is associated with the menu item is displayed next to the menu item caption. (Default: `True`)

### ![](/files/hsR4ok3152WyAf8J2C1u) SizeMode

[MenuItemSizeMode](/api/wisej.web/menus/wisej.web.menuitemsizemode.md): Returns or sets how the menu item is resized when in a [MenuBar](/api/wisej.web/menus/wisej.web.menubar.md) or [MainMenu](/api/wisej.web/menus/wisej.web.mainmenu.md) (Default: `Auto`)

### ![](/files/hsR4ok3152WyAf8J2C1u) SourceControl

[Control](/api/wisej.web/general/control.md): Returns the [Control](/api/wisej.web/general/control.md) that owns the [ContextMenu](/api/wisej.web/menus/wisej.web.contextmenu.md).

### ![](/files/hsR4ok3152WyAf8J2C1u) Text

[String](https://docs.microsoft.com/dotnet/api/system.string): Returns or sets a value indicating the text of the menu item. Use "-" to display the menu separator.

### ![](/files/hsR4ok3152WyAf8J2C1u) Visible

[Boolean](https://docs.microsoft.com/dotnet/api/system.boolean): Returns or sets whether the menu item is visible. (Default: `True`)

## Methods

### ![](/files/hsR4ok3152WyAf8J2C1u) CloneMenu()

Creates a copy of the current [MenuItem](/api/wisej.web/menus/wisej.web.menuitem.md).

**Returns:** [MenuItem](/api/wisej.web/menus/wisej.web.menuitem.md). A [MenuItem](/api/wisej.web/menus/wisej.web.menuitem.md) that represents the duplicated menu item.

### ![](/files/lzopMboA31bVq8UIcbT3) CloneMenu(source, includeChildren)

Creates a copy of the specified [MenuItem](/api/wisej.web/menus/wisej.web.menuitem.md).

| Parameter                                            | Type                                                            | Description                                                                                       |
| ---------------------------------------------------- | --------------------------------------------------------------- | ------------------------------------------------------------------------------------------------- |
| **source**                                           | [MenuItem](/api/wisej.web/menus/wisej.web.menuitem.md)          | The [MenuItem](/api/wisej.web/menus/wisej.web.menuitem.md) that represents the menu item to copy. |
| **includeChildren** ![](/files/1vGqtbG2j637vQ4ROWOf) | [Boolean](https://docs.microsoft.com/dotnet/api/system.boolean) | Indicates whether to clone the menu's child items.                                                |

### ![](/files/lzopMboA31bVq8UIcbT3) Dispose(disposing)

Disposes of the resources (other than memory) used by the [MenuItem](/api/wisej.web/menus/wisej.web.menuitem.md).

| Parameter     | Type                                                            | Description                                                                 |
| ------------- | --------------------------------------------------------------- | --------------------------------------------------------------------------- |
| **disposing** | [Boolean](https://docs.microsoft.com/dotnet/api/system.boolean) | true when this method is called by the application rather than a finalizer. |

### ![](/files/hsR4ok3152WyAf8J2C1u) MergeMenu()

Merges this [MenuItem](/api/wisej.web/menus/wisej.web.menuitem.md) with another [MenuItem](/api/wisej.web/menus/wisej.web.menuitem.md) and returns the resulting merged [MenuItem](/api/wisej.web/menus/wisej.web.menuitem.md).

**Returns:** [MenuItem](/api/wisej.web/menus/wisej.web.menuitem.md). A [MenuItem](/api/wisej.web/menus/wisej.web.menuitem.md) that represents the merged menu item.

### ![](/files/lzopMboA31bVq8UIcbT3) OnBackColorChanged(e)

Fires the [BackColorChanged](#backcolorchanged) event.

| Parameter | Type                                                                | Description                                                                                         |
| --------- | ------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------- |
| **e**     | [EventArgs](https://docs.microsoft.com/dotnet/api/system.eventargs) | A [EventArgs](https://docs.microsoft.com/dotnet/api/system.eventargs) that contains the event data. |

### ![](/files/lzopMboA31bVq8UIcbT3) OnCheckedChanged(e)

Fires the [CheckedChanged](#checkedchanged) event.

| Parameter | Type                                                                | Description                                                                                          |
| --------- | ------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- |
| **e**     | [EventArgs](https://docs.microsoft.com/dotnet/api/system.eventargs) | An [EventArgs](https://docs.microsoft.com/dotnet/api/system.eventargs) that contains the event data. |

### ![](/files/lzopMboA31bVq8UIcbT3) OnClick(e)

Fires the [Click](#click) event.

| Parameter | Type                                                                | Description                                                                                          |
| --------- | ------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- |
| **e**     | [EventArgs](https://docs.microsoft.com/dotnet/api/system.eventargs) | An [EventArgs](https://docs.microsoft.com/dotnet/api/system.eventargs) that contains the event data. |

### ![](/files/lzopMboA31bVq8UIcbT3) OnCommandChanged(e)

Fires the [CommandChanged](#commandchanged) event.

| Parameter | Type                                                                | Description                                                                                         |
| --------- | ------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------- |
| **e**     | [EventArgs](https://docs.microsoft.com/dotnet/api/system.eventargs) | A [EventArgs](https://docs.microsoft.com/dotnet/api/system.eventargs) that contains the event data. |

### ![](/files/lzopMboA31bVq8UIcbT3) OnFontChanged(e)

Fires the [FontChanged](#fontchanged) event.

| Parameter | Type                                                                | Description                                                                                         |
| --------- | ------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------- |
| **e**     | [EventArgs](https://docs.microsoft.com/dotnet/api/system.eventargs) | A [EventArgs](https://docs.microsoft.com/dotnet/api/system.eventargs) that contains the event data. |

### ![](/files/lzopMboA31bVq8UIcbT3) OnForeColorChanged(e)

Fires the [ForeColorChanged](#forecolorchanged) event.

| Parameter | Type                                                                | Description                                                                                         |
| --------- | ------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------- |
| **e**     | [EventArgs](https://docs.microsoft.com/dotnet/api/system.eventargs) | A [EventArgs](https://docs.microsoft.com/dotnet/api/system.eventargs) that contains the event data. |

### ![](/files/lzopMboA31bVq8UIcbT3) OnInitMenuPopup(e)

Fires the [Popup](#popup) event.

| Parameter | Type                                                                | Description                                                                                          |
| --------- | ------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- |
| **e**     | [EventArgs](https://docs.microsoft.com/dotnet/api/system.eventargs) | An [EventArgs](https://docs.microsoft.com/dotnet/api/system.eventargs) that contains the event data. |

### ![](/files/lzopMboA31bVq8UIcbT3) OnPopup(e)

Fires the [Popup](#popup) event.

| Parameter | Type                                                                | Description                                                                                          |
| --------- | ------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- |
| **e**     | [EventArgs](https://docs.microsoft.com/dotnet/api/system.eventargs) | An [EventArgs](https://docs.microsoft.com/dotnet/api/system.eventargs) that contains the event data. |

### ![](/files/lzopMboA31bVq8UIcbT3) OnSelect(e)

Fires the [Select](#select) event.

| Parameter | Type                                                                | Description                                                                                          |
| --------- | ------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- |
| **e**     | [EventArgs](https://docs.microsoft.com/dotnet/api/system.eventargs) | An [EventArgs](https://docs.microsoft.com/dotnet/api/system.eventargs) that contains the event data. |

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.

### ![](/files/lzopMboA31bVq8UIcbT3) OnTextChanged(e)

Fires the [TextChanged](#textchanged) event.

| Parameter | Type                                                                | Description                                                                                          |
| --------- | ------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- |
| **e**     | [EventArgs](https://docs.microsoft.com/dotnet/api/system.eventargs) | An [EventArgs](https://docs.microsoft.com/dotnet/api/system.eventargs) that contains the event data. |

### ![](/files/lzopMboA31bVq8UIcbT3) OnWebEvent(e)

Processes the event from the client.

| Parameter | Type                                                        | Description      |
| --------- | ----------------------------------------------------------- | ---------------- |
| **e**     | [WisejEventArgs](/api/wisej.core/general/wisejeventargs.md) | Event arguments. |

### ![](/files/lzopMboA31bVq8UIcbT3) OnWebRender(config)

Renders the client component.

| Parameter  | Type                                                          | Description                   |
| ---------- | ------------------------------------------------------------- | ----------------------------- |
| **config** | [Object](https://docs.microsoft.com/dotnet/api/system.object) | Dynamic configuration object. |

### ![](/files/hsR4ok3152WyAf8J2C1u) PerformClick()

Generates a [Click](#click) event for the [MenuItem](/api/wisej.web/menus/wisej.web.menuitem.md), simulating a click by a user.

### ![](/files/hsR4ok3152WyAf8J2C1u) PerformSelect()

Fires the [Select](#select) event for this menu item.

### ![](/files/hsR4ok3152WyAf8J2C1u) Update()

Updates the component on the client.

## Events

### ![](/files/hsR4ok3152WyAf8J2C1u) BackColorChanged

[EventHandler](https://docs.microsoft.com/dotnet/api/system.eventhandler) Fired when the [BackColor](#backcolor) property value changes.

### ![](/files/hsR4ok3152WyAf8J2C1u) CheckedChanged

[EventHandler](https://docs.microsoft.com/dotnet/api/system.eventhandler) Fired when the [Checked](#checked) property value changes.

### ![](/files/hsR4ok3152WyAf8J2C1u) Click

[EventHandler](https://docs.microsoft.com/dotnet/api/system.eventhandler) Fired when the menu item is clicked or selected using a shortcut key or access key defined for the menu item.

### ![](/files/hsR4ok3152WyAf8J2C1u) CommandChanged

[EventHandler](https://docs.microsoft.com/dotnet/api/system.eventhandler) Fired when the [Command](#command) property value changes.

### ![](/files/hsR4ok3152WyAf8J2C1u) FontChanged

[EventHandler](https://docs.microsoft.com/dotnet/api/system.eventhandler) Fired when the [Font](#font) property value changes.

### ![](/files/hsR4ok3152WyAf8J2C1u) ForeColorChanged

[EventHandler](https://docs.microsoft.com/dotnet/api/system.eventhandler) Fired when the [ForeColor](#forecolor) property value changes.

### ![](/files/hsR4ok3152WyAf8J2C1u) Popup

[EventHandler](https://docs.microsoft.com/dotnet/api/system.eventhandler) Occurs before a menu item's list of menu items is displayed.

### ![](/files/hsR4ok3152WyAf8J2C1u) Select

[EventHandler](https://docs.microsoft.com/dotnet/api/system.eventhandler) Fired when the user places the pointer over a menu item.

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.

### ![](/files/hsR4ok3152WyAf8J2C1u) TextChanged

[EventHandler](https://docs.microsoft.com/dotnet/api/system.eventhandler) Fired when the [Text](#text) property value changes.

## Inherited By

| Name                                                                 | Description                                                                                                                                                                                                                                                                                                                         |
| -------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| [CheckedMenuItem](/api/wisej.web/menus/wisej.web.checkedmenuitem.md) | Represents an individual menu item that is displayed within a [MainMenu](/api/wisej.web/menus/wisej.web.mainmenu.md) or [ContextMenu](/api/wisej.web/menus/wisej.web.contextmenu.md) and always shows a checkbox next to the label.                                                                                                 |
| [LinkMenuItem](/api/wisej.web/menus/wisej.web.linkmenuitem.md)       | Represents an individual menu item that is displayed within a [MainMenu](/api/wisej.web/menus/wisej.web.mainmenu.md) or [ContextMenu](/api/wisej.web/menus/wisej.web.contextmenu.md) rendered using the \<a> link element to let the browser process the specified [HRef](/api/wisej.web/menus/wisej.web.linkmenuitem.md#href) URL. |

## Implements

| Name                                                                              | Description                                                                                                     |
| --------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------- |
| [IUserData](/api/wisej.web/interfaces/wisej.web.iuserdata.md)                     | Provides access to the `UserData` and `Tag` properties associated to the component implementing this interface. |
| [IBindableComponent](/api/wisej.web/data-binding/wisej.web.ibindablecomponent.md) | Bindable components implement this interface.                                                                   |
| [ICommandSource](/api/wisej.web/interfaces/wisej.web.icommandsource.md)           | Defines an object that can invoke a [Command](/api/wisej.web/interfaces/wisej.web.icommandsource.md#command).   |
| [IWisejComponent](/api/wisej.core/interfaces/wisej.core.iwisejcomponent.md)       | All wisej components implement this interface.                                                                  |
| [IWisejSerializable](/api/wisej.core/interfaces/wisej.core.iwisejserializable.md) | Allows an object to serialize itself.                                                                           |


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.wisej.com/api/wisej.web/menus/wisej.web.menuitem.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
