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.
- C#
- VB.NET
public class SalFormClientArea : Panel, ISalAccessory, ISalWindow
Public Class SalFormClientArea
Inherits Panel
Implements ISalAccessory, ISalWindow
Example:
using (var form = new PPJ.Runtime.Windows.SalFormWindow())
{
var accessory = new PPJ.Runtime.Windows.SalFormClientArea();
form.Controls.Add(accessory);
}
Constructors
SalFormClientArea()
Creates a fill-docked, scrollable SAL client panel with a three-dimensional border.
Properties
Create
Boolean: Gets or sets whether the SAL form creates this accessory. (Default: True)
CreateParams
CreateParams: Gets native creation parameters with explicit mirroring when right-to-left layout is active.
Methods
OnPaintBackground(e)
Raises PaintBackground before invoking the base background painter.
| Parameter | Type | Description |
|---|---|---|
| e | PaintEventArgs | The graphics surface and repaint region. |
SetVisibleCore(value)
Applies visibility while keeping an accessory with Create disabled hidden in the designer.
| Parameter | Type | Description |
|---|---|---|
| value | Boolean | True to show the accessory; false to hide it. |
WndProc(m)
Forwards size and child notifications to the parent form, adjusts runtime hit testing, and ignores WM_CLOSE.
| Parameter | Type | Description |
|---|---|---|
| m | Message | The native message and its result. |
Events
PaintBackground
PaintEventHandler Occurs immediately before the base panel paints its background.
Implements
| Name | Description |
|---|---|
| ISalAccessory | Provides the runtime creation setting and role of a SAL form accessory. |
| ISalWindow | Exposes SAL message dispatch and runtime metadata for child controls, forms, dialogs, and MDI windows. |