> For the complete documentation index, see [llms.txt](https://web-api.iceteagroup.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://web-api.iceteagroup.com/ppj.web.49/menus/ppj.runtime.windows.salmenuitem.md).

# SalMenuItem

Namespace: **PPJ.Runtime.Windows**

Assembly: **PPJ.Web.49** (4.9.0.0)

* [Component](https://docs.wisej.com/api?q=wisej.base.component)
  * [Component](https://docs.wisej.com/api?q=wisej.web.component)
    * [Menu](https://docs.wisej.com/api?q=wisej.web.menu)
      * [MenuItem](https://docs.wisej.com/api?q=wisej.web.menuitem)
        * [SalMenuItem](https://docs.wisej.com/extensions/ppj.web.49/menus/ppj.runtime.windows.salmenuitem.md)

Implementation of SalMenuItem. Extends the default MenuItem in .NET to support SAL menu events and to support fonts and images.

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

```csharp
public class SalMenuItem : MenuItem, ISalMenu
```

{% endtab %}

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

```visual-basic
Public Class SalMenuItem
    Inherits MenuItem
    Implements ISalMenu
```

{% endtab %}
{% endtabs %}

## Constructors

### ![](/files/qoQXnPICsjBVNBSqpOj9)SalMenuItem()

Constructs a new SalMenuItem.

## Properties

### ![](/files/qoQXnPICsjBVNBSqpOj9)ImageName

[String](https://docs.microsoft.com/en-us/dotnet/api/system.string): Returns or sets the image to load from the embedded resources. (Default: `""`)

### ![](/files/qoQXnPICsjBVNBSqpOj9)ImageNormal

![](/files/4185Z2HvYANbCFX6PDWJ)**Deprecated**: [Image](https://docs.microsoft.com/en-us/dotnet/api/system.drawing.image): Returns/Sets the image to paint next to menu items. (Default: `null`)

### ![](/files/qoQXnPICsjBVNBSqpOj9)ImageSelected

![](/files/4185Z2HvYANbCFX6PDWJ)**Deprecated**: [Image](https://docs.microsoft.com/en-us/dotnet/api/system.drawing.image): Returns/Sets the image to paint next to selected menu items. (Default: `null`)

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

[Int32](https://docs.microsoft.com/en-us/dotnet/api/system.int32): Returns the internal menu ID assigned to the menu item.

### ![](/files/qoQXnPICsjBVNBSqpOj9)Owner

[Control](https://docs.wisej.com/api?q=wisej.web.control): Owner of menu item.

### ![](/files/qoQXnPICsjBVNBSqpOj9)StatusText

[String](https://docs.microsoft.com/en-us/dotnet/api/system.string): The status text to display in the status bar when the menu item is selected. (Default: `""`)

## Methods

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

Overrides the CloneMenu method to duplicate event handlers.

**Returns:** [MenuItem](https://docs.wisej.com/api?q=wisej.web.menuitem).

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

Overrides the MergeMenu method to duplicate event handlers.

**Returns:** [MenuItem](https://docs.wisej.com/api?q=wisej.web.menuitem).

## Events

### ![](/files/qoQXnPICsjBVNBSqpOj9)CheckedWhen

[SalMenuCheckedWhenHandler](/ppj.web.49/menus/ppj.runtime.windows.salmenuitem.md) CheckedWhen event.

### ![](/files/qoQXnPICsjBVNBSqpOj9)EnabledWhen

[SalMenuEnabledWhenHandler](/ppj.web.49/menus/ppj.runtime.windows.salmenuitem.md) EnabledWhen event.

### ![](/files/qoQXnPICsjBVNBSqpOj9)MenuActions

[SalMenuActionsHandler](/ppj.web.49/menus/ppj.runtime.windows.salmenuitem.md) MenuActions event.

## Implements

| Name                                                                                                | Description                                                                                                                   |
| --------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------- |
| [ISalMenu](https://docs.wisej.com/extensions/ppj.web.49/interfaces/ppj.runtime.windows.isalmenu.md) | All Sal menu types implement this interface. It is used to let the framework query for common properties like the StatusText. |


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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://web-api.iceteagroup.com/ppj.web.49/menus/ppj.runtime.windows.salmenuitem.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.
