Skip to main content
Version: 2025

XSalHSplitter

Namespace: PPJ.Runtime.XSal

Assembly: PPJ.Web.XSal.50 (5.0.0.0)

Separates two controls with a horizontal splitter.

public class XSalHSplitter : XSalSplitter

Example:

XSalHSplitter split = new XSalHSplitter();
split.TopControl = new SalListBox();
split.BottomControl = new SalMultilineEdit();
split.Position = 500;

Constructors

Instance member XSalHSplitter()

Creates a splitter with horizontal orientation.

Properties

Instance member BottomControl

Control: Gets or sets the control docked to fill the bottom panel. Assigning null clears that panel. (Default: null)

Instance member TopControl

Control: Gets or sets the control docked to fill the top panel. Assigning null clears that panel. (Default: null)

Methods

Static member FromHandle(handle)

Resolves a window handle and casts its control to XSalHSplitter.

ParameterTypeDescription
handleSalWindowHandleThe handle of the splitter.

Returns: XSalHSplitter. The resolved splitter, or null if the handle resolves to no control.

Instance member GetBottomFrame()

Gets the handle of the control in the bottom panel.

Returns: SalWindowHandle. The hosted control’s handle, or a null handle.

Instance member GetTopFrame()

Gets the handle of the control in the top panel.

Returns: SalWindowHandle. The hosted control’s handle, or a null handle.

Instance member SetBottomFrame(ctrl)

Assigns the control filling the bottom panel.

ParameterTypeDescription
ctrlControlThe control to host, or null to clear the panel.

Returns: SalBoolean. True.

Instance member SetTopFrame(ctrl)

Assigns the control filling the top panel.

ParameterTypeDescription
ctrlControlThe control to host, or null to clear the panel.

Returns: SalBoolean. True.

Implements

NameDescription
ISalAccessory
ISalWindow