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.
- C#
- VB.NET
public class XSalHSplitter : XSalSplitter
Public Class XSalHSplitter
Inherits 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
XSalHSplitter()
Initializes the splitter with horizontal orientation.
Properties
BottomControl
Control: Gets or sets the control bound to the bottom pane. (Default: null)
TopControl
Control: Gets or sets the control bound to the top pane. (Default: null)
Methods
FromHandle(handle)
Gets the managed horizontal splitter associated with a native handle.
| Parameter | Type | Description |
|---|---|---|
| handle | SalWindowHandle | The window handle to look up. |
Returns: XSalHSplitter. The associated splitter, or null when the handle has no managed control.
Throws:
- InvalidCastException The associated control is not the expected splitter type.
GetBottomFrame()
Gets the SAL handle for the control in the bottom pane.
Returns: SalWindowHandle. The bound control converted to a SAL window handle.
GetTopFrame()
Gets the SAL handle for the control in the top pane.
Returns: SalWindowHandle. The bound control converted to a SAL window handle.
SetBottomFrame(ctrl)
Binds a control to the bottom pane.
| Parameter | Type | Description |
|---|---|---|
| ctrl | Control | The control to bind. |
Returns: SalBoolean. True after assigning the control.
SetTopFrame(ctrl)
Binds a control to the top pane.
| Parameter | Type | Description |
|---|---|---|
| ctrl | Control | The control to bind. |
Returns: SalBoolean. True after assigning the control.
Implements
| Name | Description |
|---|---|
| ISalWindow |