Skip to main content
Version: 2025

SalFormMainMenu

Namespace: PPJ.Runtime.Windows

Assembly: PPJ.Web.50 (5.0.0.0)

A SAL form menu with MDI replacement semantics and accessory behavior.

public class SalFormMainMenu : MainMenu, ISalAccessory

Example:

var menu = new SalFormMainMenu();
menu.MenuItems.Add(new SalPopupMenu { Text = "File" });

Constructors

Instance member SalFormMainMenu()

Initializes a new instance of SalFormMainMenu.

Methods

Instance member MergeMenu(source)

Merges a main menu, marking MDI-container source items for removal first.

ParameterTypeDescription
sourceMenuThe source MainMenu; other Menu types are not accepted by the cast.

Mutates MergeType on the source items so the inherited merge implements SAL menu replacement.

Protected member OnWebRender(config)

Invokes the inherited main-menu browser renderer.

ParameterTypeDescription
configObjectThe mutable browser configuration.

Implements

NameDescription
ISalAccessoryIdentifies a form accessory and controls whether it is created at run time.