SalRibbonBarForm
Namespace: PPJ.Runtime.Windows
Assembly: PPJ.Runtime.50 (5.0.0.0)
Hosts an application control or embedded form beneath a SAL ribbon.
- C#
- VB.NET
public class SalRibbonBarForm : SalRibbonBarBase
Public Class SalRibbonBarForm
Inherits SalRibbonBarBase
Example:
var form = new PPJ.Runtime.Windows.SalRibbonBarForm();
form.ChildControl = new System.Windows.Forms.Panel();
Constructors
SalRibbonBarForm()
Initializes a ribbon form without creating a hosted child.
Properties
ChildControl
Control: Gets or assigns the control that fills the client area below the ribbon.
Assignment clears ChildForm, disposes the previous child, and shows the replacement. Supply a non-null control. Embedded forms lose their top-level status, menu, and visible SAL toolbar and status bar.
ChildForm
String: Gets or sets the registered type name used to create the hosted control at run time. (Default: "")
Changing a nonempty name after creation replaces the existing child when the type resolves to a Control. Empty or unresolved names leave the current child in place.
Icon
Icon: Gets or sets the window icon through the base form.
Methods
OnLoad(e)
Creates the configured child control and applies visual styling after base load processing at run time.
| Parameter | Type | Description |
|---|---|---|
| e | EventArgs | The load event data. |
Implements
| Name | Description |
|---|---|
| ISalWindow | Exposes SAL message dispatch and runtime metadata for child controls, forms, dialogs, and MDI windows. |