Skip to main content

SalRibbonBarForm

Namespace: PPJ.Runtime.Windows

Assembly: PPJ.Runtime.50 (5.0.0.0)

Hosts an application control or embedded form beneath a SAL ribbon.

public class SalRibbonBarForm : SalRibbonBarBase

Example:

var form = new PPJ.Runtime.Windows.SalRibbonBarForm();
form.ChildControl = new System.Windows.Forms.Panel();

Constructors

Instance member SalRibbonBarForm()

Initializes a ribbon form without creating a hosted child.

Properties

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

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

Instance member Icon

Icon: Gets or sets the window icon through the base form.

Methods

Protected member OnLoad(e)

Creates the configured child control and applies visual styling after base load processing at run time.

ParameterTypeDescription
eEventArgsThe load event data.

Implements

NameDescription
ISalWindowExposes SAL message dispatch and runtime metadata for child controls, forms, dialogs, and MDI windows.