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.
- C#
- VB.NET
public class XSalVSplitter : XSalSplitter
Public Class XSalVSplitter
Inherits 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
XSalVSplitter()
Initializes the splitter with vertical orientation.
Properties
LeftControl
Control: Gets or sets the control bound to the left pane. (Default: null)
RightControl
Control: Gets or sets the control bound to the right pane. (Default: null)
Methods
FromHandle(handle)
Gets the managed vertical splitter associated with a native handle.
| Parameter | Type | Description |
|---|---|---|
| handle | SalWindowHandle | The window handle to look up. |
Returns: XSalVSplitter. The associated splitter, or null when the handle has no managed control.
Throws:
- InvalidCastException The associated control is not the expected splitter type.
GetLeftFrame()
Gets the SAL handle for the control in the left pane.
Returns: SalWindowHandle. The bound control converted to a SAL window handle.
GetRightFrame()
Gets the SAL handle for the control in the right pane.
Returns: SalWindowHandle. The bound control converted to a SAL window handle.
SetLeftFrame(ctrl)
Binds a control to the left pane.
| Parameter | Type | Description |
|---|---|---|
| ctrl | Control | The control to bind. |
Returns: SalBoolean. True after assigning the control.
SetRightFrame(ctrl)
Binds a control to the right pane.
| Parameter | Type | Description |
|---|---|---|
| ctrl | Control | The control to bind. |
Returns: SalBoolean. True after assigning the control.
Implements
| Name | Description |
|---|---|
| ISalWindow |