Skip to main content
Version: 2025

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.

public class SalRibbonBarForm : SalRibbonBarBase

Example:

var window = new SalRibbonBarForm();
window.ChildControl = new Wisej.Web.Panel();
window.Show();

Constructors​

Instance member SalRibbonBarForm()​

Creates the ribbon host without an embedded child.

Properties​

Instance member 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.

Instance member 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​

Protected member OnLoad(e)​

Raises the inherited event, then creates the configured child at runtime.

ParameterTypeDescription
eEventArgsThe load event data.

Implements​

NameDescription
ISalWindowProvides SAL window actions, named properties, and access to a window's runtime implementation.