# SalWindowsMenu

Namespace: **PPJ.Runtime.Windows**

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

Implementation of Windows Menu

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

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

{% endtab %}

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

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

{% endtab %}
{% endtabs %}

## Constructors

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

Constructs the SalWindowsMenu.

## Properties

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

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

### ![](/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 and to disable the default initializer in named menu classes.

**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 and to disable the default initializer in named menu classes.

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

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

update

## Events

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

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

## Implements

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


---

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