Skip to main content

XSalVSplitter

Namespace: PPJ.Runtime.XSal

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

Provides a vertical splitter with controls in its left and right panes.

public class XSalVSplitter : XSalSplitter

Example:

void Configure(PPJ.Runtime.XSal.XSalVSplitter splitter,
System.Windows.Forms.Control first, System.Windows.Forms.Control second)
{
splitter.LeftControl = first;
splitter.RightControl = second;
}

Constructors

Instance member XSalVSplitter()

Initializes the splitter with vertical orientation.

Properties

Instance member LeftControl

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

Instance member RightControl

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

Methods

Static member FromHandle(handle)

Gets the managed vertical splitter associated with a native handle.

ParameterTypeDescription
handleSalWindowHandleThe window handle to look up.

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

Throws:

Instance member GetLeftFrame()

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

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

Instance member GetRightFrame()

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

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

Instance member SetLeftFrame(ctrl)

Binds a control to the left pane.

ParameterTypeDescription
ctrlControlThe control to bind.

Returns: SalBoolean. True after assigning the control.

Instance member SetRightFrame(ctrl)

Binds a control to the right pane.

ParameterTypeDescription
ctrlControlThe control to bind.

Returns: SalBoolean. True after assigning the control.

Implements

NameDescription
ISalWindow