XSalVSplitter
Namespace: PPJ.Runtime.XSal
Assembly: PPJ.Web.XSal.50 (5.0.0.0)
Separates two controls with a vertical splitter.
- C#
- VB.NET
public class XSalVSplitter : XSalSplitter
Public Class XSalVSplitter
Inherits XSalSplitter
Example:
XSalVSplitter split = new XSalVSplitter();
split.LeftControl = new SalListBox();
split.RightControl = new SalMultilineEdit();
split.Position = 500;
Constructors
XSalVSplitter()
Creates a splitter with vertical orientation.
Properties
LeftControl
Control: Gets or sets the control docked to fill the left panel. Assigning null clears that panel. (Default: null)
RightControl
Control: Gets or sets the control docked to fill the right panel. Assigning null clears that panel. (Default: null)
Methods
FromHandle(handle)
Resolves a window handle and casts its control to XSalVSplitter.
| Parameter | Type | Description |
|---|---|---|
| handle | SalWindowHandle | The handle of the splitter. |
Returns: XSalVSplitter. The resolved splitter, or null if the handle resolves to no control.
GetLeftFrame()
Gets the handle of the control in the left panel.
Returns: SalWindowHandle. The hosted control’s handle, or a null handle.
GetRightFrame()
Gets the handle of the control in the right panel.
Returns: SalWindowHandle. The hosted control’s handle, or a null handle.
SetLeftFrame(ctrl)
Assigns the control filling the left panel.
| Parameter | Type | Description |
|---|---|---|
| ctrl | Control | The control to host, or null to clear the panel. |
Returns: SalBoolean. True.
SetRightFrame(ctrl)
Assigns the control filling the right panel.
| Parameter | Type | Description |
|---|---|---|
| ctrl | Control | The control to host, or null to clear the panel. |
Returns: SalBoolean. True.
Implements
| Name | Description |
|---|---|
| ISalAccessory | |
| ISalWindow |