Skip to main content

ISalMenu

Namespace: PPJ.Runtime.Windows

Assembly: PPJ.Runtime.50 (5.0.0.0)

Provides the status text, owning context, and recursive update contract shared by SAL menu types.

public interface ISalMenu

Example:

void SetMenuHint(PPJ.Runtime.Windows.ISalMenu menu)
{
menu.StatusText = "Open the selected customer.";
menu.Update();
}

Properties

Instance member Owner

Control: Gets the control that supplies the owning form context for this menu.

Instance member StatusText

String: Gets or sets the status-bar text displayed when the menu item is highlighted.

Methods

Instance member Update()

Updates the menu and recursively updates its child menu items.

Implemented By

NameDescription
SalMenuItemProvides a menu command with SAL actions, enabled and checked conditions, status help, and an optional image.
SalPopupMenuProvides a submenu that evaluates SAL enabled conditions and updates child menu state when opened.
SalWindowsMenuProvides an MDI window-list menu that evaluates SAL enabled conditions and status text.