# 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

### ![](https://299326270-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F7qefdGDqaAibSgFIaGI0%2Fuploads%2Fgit-blob-2389c55cd19719a73a5ae98e1528c8dc8525cc35%2Finstance.png?alt=media)SalWindowsMenu()

Constructs the SalWindowsMenu.

## Properties

### ![](https://299326270-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F7qefdGDqaAibSgFIaGI0%2Fuploads%2Fgit-blob-2389c55cd19719a73a5ae98e1528c8dc8525cc35%2Finstance.png?alt=media)Owner

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

### ![](https://299326270-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F7qefdGDqaAibSgFIaGI0%2Fuploads%2Fgit-blob-2389c55cd19719a73a5ae98e1528c8dc8525cc35%2Finstance.png?alt=media)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

### ![](https://299326270-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F7qefdGDqaAibSgFIaGI0%2Fuploads%2Fgit-blob-2389c55cd19719a73a5ae98e1528c8dc8525cc35%2Finstance.png?alt=media)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).

### ![](https://299326270-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F7qefdGDqaAibSgFIaGI0%2Fuploads%2Fgit-blob-2389c55cd19719a73a5ae98e1528c8dc8525cc35%2Finstance.png?alt=media)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).

### ![](https://299326270-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F7qefdGDqaAibSgFIaGI0%2Fuploads%2Fgit-blob-2389c55cd19719a73a5ae98e1528c8dc8525cc35%2Finstance.png?alt=media)Update()

update

## Events

### ![](https://299326270-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F7qefdGDqaAibSgFIaGI0%2Fuploads%2Fgit-blob-2389c55cd19719a73a5ae98e1528c8dc8525cc35%2Finstance.png?alt=media)EnabledWhen

[SalMenuEnabledWhenHandler](https://desktop-api.iceteagroup.com/ppj.runtime.49/menus/ppj.runtime.windows.salwindowsmenu) EnabledWhen event.

## Implements

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