SalMenuItem

PPJ.Runtime.Windows.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.

public class SalMenuItem : MenuItem, ISalMenu

Constructors

Constructs a new SalMenuItem.

Properties

Image: Returns/Sets the image to paint next to menu items. (Default: null)

String: Image name. Name of the image to load from the embedded resources. (Default: "")

Int32: Returns the internal menu ID assigned to the menu item.

Control: Owner of menu item.

String: The status text to display in the status bar when the menu item is selected. (Default: "")

Methods

Overrides the CloneMenu method to duplicate event handlers.

Returns: MenuItem.

Overrides the MergeMenu method to duplicate event handlers.

Returns: MenuItem.

Events

SalMenuCheckedWhenHandler CheckedWhen event.

SalMenuEnabledWhenHandler EnabledWhen event.

SalMenuActionsHandler MenuActions event.

Implements

NameDescription

All Sal menu types implement this interface. It is used to let the framework query for common properties like the StatusText.

Last updated