SalMenuItem
PPJ.Runtime.Windows.SalMenuItem
Namespace: PPJ.Runtime.Windows
Assembly: PPJ.Web.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
SalMenuItem()

Constructs a new SalMenuItem.
Properties
ImageName

String: Returns or sets the image to load from the embedded resources. (Default: ""
)
ImageNormal

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

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

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

Control: Owner of menu item.
StatusText

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

Overrides the CloneMenu method to duplicate event handlers.
Returns: MenuItem.
MergeMenu()

Overrides the MergeMenu method to duplicate event handlers.
Returns: MenuItem.
Events
CheckedWhen

SalMenuCheckedWhenHandler CheckedWhen event.
EnabledWhen

SalMenuEnabledWhenHandler EnabledWhen event.
MenuActions

SalMenuActionsHandler MenuActions event.
Implements
All Sal menu types implement this interface. It is used to let the framework query for common properties like the StatusText.
Last updated