Skip to main content

SalFormClientArea

Namespace: PPJ.Runtime.Windows

Assembly: PPJ.Runtime.50 (5.0.0.0)

Provides the scrollable client panel of a SAL form and forwards child notifications to the form.

public class SalFormClientArea : Panel, ISalAccessory, ISalWindow

Example:

using (var form = new PPJ.Runtime.Windows.SalFormWindow())
{
var accessory = new PPJ.Runtime.Windows.SalFormClientArea();
form.Controls.Add(accessory);
}

Constructors​

Instance member SalFormClientArea()​

Creates a fill-docked, scrollable SAL client panel with a three-dimensional border.

Properties​

Instance member Create​

Boolean: Gets or sets whether the SAL form creates this accessory. (Default: True)

Protected member CreateParams​

CreateParams: Gets native creation parameters with explicit mirroring when right-to-left layout is active.

Methods​

Protected member OnPaintBackground(e)​

Raises PaintBackground before invoking the base background painter.

ParameterTypeDescription
ePaintEventArgsThe graphics surface and repaint region.

Protected member SetVisibleCore(value)​

Applies visibility while keeping an accessory with Create disabled hidden in the designer.

ParameterTypeDescription
valueBooleanTrue to show the accessory; false to hide it.

Protected member WndProc(m)​

Forwards size and child notifications to the parent form, adjusts runtime hit testing, and ignores WM_CLOSE.

ParameterTypeDescription
m by referenceMessageThe native message and its result.

Events​

Instance member PaintBackground​

PaintEventHandler Occurs immediately before the base panel paints its background.

Implements​

NameDescription
ISalAccessoryProvides the runtime creation setting and role of a SAL form accessory.
ISalWindowExposes SAL message dispatch and runtime metadata for child controls, forms, dialogs, and MDI windows.