Skip to main content

XSalHSplitter

Namespace: PPJ.Runtime.XSal

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

Provides a horizontal splitter with controls in its top and bottom panes.

public class XSalHSplitter : XSalSplitter

Example:

void Configure(PPJ.Runtime.XSal.XSalHSplitter splitter,
System.Windows.Forms.Control first, System.Windows.Forms.Control second)
{
splitter.TopControl = first;
splitter.BottomControl = second;
}

Constructors​

Instance member XSalHSplitter()​

Initializes the splitter with horizontal orientation.

Properties​

Instance member BottomControl​

Control: Gets or sets the control bound to the bottom pane. (Default: null)

Instance member TopControl​

Control: Gets or sets the control bound to the top pane. (Default: null)

Methods​

Static member FromHandle(handle)​

Gets the managed horizontal splitter associated with a native handle.

ParameterTypeDescription
handleSalWindowHandleThe window handle to look up.

Returns: XSalHSplitter. The associated splitter, or null when the handle has no managed control.

Throws:

Instance member GetBottomFrame()​

Gets the SAL handle for the control in the bottom pane.

Returns: SalWindowHandle. The bound control converted to a SAL window handle.

Instance member GetTopFrame()​

Gets the SAL handle for the control in the top pane.

Returns: SalWindowHandle. The bound control converted to a SAL window handle.

Instance member SetBottomFrame(ctrl)​

Binds a control to the bottom pane.

ParameterTypeDescription
ctrlControlThe control to bind.

Returns: SalBoolean. True after assigning the control.

Instance member SetTopFrame(ctrl)​

Binds a control to the top pane.

ParameterTypeDescription
ctrlControlThe control to bind.

Returns: SalBoolean. True after assigning the control.

Implements​

NameDescription
ISalWindow