XSalHSplitter
Namespace: PPJ.Runtime.XSal
Assembly: PPJ.Web.XSal.50 (5.0.0.0)
Separates two controls with a horizontal splitter.
- C#
- VB.NET
public class XSalHSplitter : XSalSplitter
Public Class XSalHSplitter
Inherits XSalSplitter
Example:
XSalHSplitter split = new XSalHSplitter();
split.TopControl = new SalListBox();
split.BottomControl = new SalMultilineEdit();
split.Position = 500;
Constructors
XSalHSplitter()
Creates a splitter with horizontal orientation.
Properties
BottomControl
Control: Gets or sets the control docked to fill the bottom panel. Assigning null clears that panel. (Default: null)
TopControl
Control: Gets or sets the control docked to fill the top panel. Assigning null clears that panel. (Default: null)
Methods
FromHandle(handle)
Resolves a window handle and casts its control to XSalHSplitter.
| Parameter | Type | Description |
|---|---|---|
| handle | SalWindowHandle | The handle of the splitter. |
Returns: XSalHSplitter. The resolved splitter, or null if the handle resolves to no control.
GetBottomFrame()
Gets the handle of the control in the bottom panel.
Returns: SalWindowHandle. The hosted control’s handle, or a null handle.
GetTopFrame()
Gets the handle of the control in the top panel.
Returns: SalWindowHandle. The hosted control’s handle, or a null handle.
SetBottomFrame(ctrl)
Assigns the control filling the bottom panel.
| Parameter | Type | Description |
|---|---|---|
| ctrl | Control | The control to host, or null to clear the panel. |
Returns: SalBoolean. True.
SetTopFrame(ctrl)
Assigns the control filling the top panel.
| Parameter | Type | Description |
|---|---|---|
| ctrl | Control | The control to host, or null to clear the panel. |
Returns: SalBoolean. True.
Implements
| Name | Description |
|---|---|
| ISalAccessory | |
| ISalWindow |