SalRibbonBarForm
Namespace: PPJ.Runtime.Windows
Assembly: PPJ.Web.50 (5.0.0.0)
A ribbon-enabled SAL form that hosts a single control or embedded child form.
- C#
- VB.NET
public class SalRibbonBarForm : SalRibbonBarBase
Public Class SalRibbonBarForm
Inherits SalRibbonBarBase
Example:
var window = new SalRibbonBarForm();
window.ChildControl = new Wisej.Web.Panel();
window.Show();
Constructors
SalRibbonBarForm()
Creates the ribbon host without an embedded child.
Properties
ChildControl
Control: Gets or sets the hosted child control.
Assigning a different non-null control clears ChildForm, disposes the prior child, docks the new child to fill, and shows it. Embedded forms lose their border, menu, toolbar, and status bar. Null is not accepted by the attachment implementation.
ChildForm
String: Gets or sets the type name of the child to create. (Default: "")
When already created at runtime, a changed nonempty name resolves a Control type and constructs it immediately. Otherwise creation occurs on load. Empty names do not remove the existing child.
Methods
OnLoad(e)
Raises the inherited event, then creates the configured child at runtime.
| Parameter | Type | Description |
|---|---|---|
| e | EventArgs | The load event data. |
Implements
| Name | Description |
|---|---|
| ISalWindow | Provides SAL window actions, named properties, and access to a window's runtime implementation. |