SalFormMainMenu
Namespace: PPJ.Runtime.Windows
Assembly: PPJ.Web.50 (5.0.0.0)
A SAL form menu with MDI replacement semantics and accessory behavior.
- C#
- VB.NET
public class SalFormMainMenu : MainMenu, ISalAccessory
Public Class SalFormMainMenu
Inherits MainMenu
Implements ISalAccessory
Example:
var menu = new SalFormMainMenu();
menu.MenuItems.Add(new SalPopupMenu { Text = "File" });
Constructors
SalFormMainMenu()
Initializes a new instance of SalFormMainMenu.
Methods
MergeMenu(source)
Merges a main menu, marking MDI-container source items for removal first.
| Parameter | Type | Description |
|---|---|---|
| source | Menu | The 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.
OnWebRender(config)
Invokes the inherited main-menu browser renderer.
| Parameter | Type | Description |
|---|---|---|
| config | Object | The mutable browser configuration. |
Implements
| Name | Description |
|---|---|
| ISalAccessory | Identifies a form accessory and controls whether it is created at run time. |