> For the complete documentation index, see [llms.txt](https://desktop-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://desktop-api.iceteagroup.com/ppj.runtime.49/menus/ppj.runtime.windows.salmenuitem.md).

# SalMenuItem

Namespace: **PPJ.Runtime.Windows**

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

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/dBIrS7XBDGmrzmTRbSI6)SalMenuItem()

Constructs a new SalMenuItem.

## Properties

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

![](/files/SXlaSjcvpRtdq1MmXr0i)**Deprecated**: [Font](https://docs.microsoft.com/en-us/dotnet/api/system.drawing.font): Returns/Sets the font for the menu item. (Default: `null`)

### ![](/files/dBIrS7XBDGmrzmTRbSI6)Image

[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/dBIrS7XBDGmrzmTRbSI6)ImageName

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

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

![](/files/SXlaSjcvpRtdq1MmXr0i)**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/dBIrS7XBDGmrzmTRbSI6)ImageSelected

![](/files/SXlaSjcvpRtdq1MmXr0i)**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/dBIrS7XBDGmrzmTRbSI6)MenuID

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

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

[Control](https://docs.microsoft.com/en-us/dotnet/api/system.windows.forms.control): Owner of menu item.

### ![](/files/dBIrS7XBDGmrzmTRbSI6)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/dBIrS7XBDGmrzmTRbSI6)CloneMenu()

Overrides the CloneMenu method to duplicate event handlers.

**Returns:** [MenuItem](https://docs.microsoft.com/en-us/dotnet/api/system.windows.forms.menuitem).

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

Overrides the MergeMenu method to duplicate event handlers.

**Returns:** [MenuItem](https://docs.microsoft.com/en-us/dotnet/api/system.windows.forms.menuitem).

## Events

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

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

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

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

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

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

## Implements

| Name                                                                 | Description                                                                                                                   |
| -------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------- |
| [ISalMenu](/ppj.runtime.49/menus/ppj.runtime.windows.salmenuitem.md) | All Sal menu types implement this interface. It is used to let the framework query for common properties like the StatusText. |
