VisSplitterWindow
Namespace: PPJ.Runtime.Vis
Assembly: PPJ.Runtime.Vis.50 (5.0.0.0)
Hosts a splitter that resizes child windows when the form changes size.
- C#
- VB.NET
public class VisSplitterWindow : SalFormWindow
Public Class VisSplitterWindow
Inherits SalFormWindow
Example:
using (var list = new PPJ.Runtime.Vis.VisSplitterWindow())
{
list.Width = 240;
}
Constructors
VisSplitterWindow()
Initializes the splitter window and its default behavior.
Properties
Orientation
Orientation: Gets or sets the contained splitter's divider direction. (Default: Vertical)
Methods
AssociateChildren()
Sends VTM_CreateComplete to the contained splitter's SAL message handlers.
Returns: SalNumber. Always zero.
FromHandle(handle)
Resolves this control type from a native window handle.
| Parameter | Type | Description |
|---|---|---|
| handle | SalWindowHandle | The native control handle. |
Returns: VisSplitterWindow. The associated VisSplitterWindow, or null when no managed control owns the handle.
A handle belonging to a different managed control type causes an InvalidCastException.
GetOrientation()
Returns: SalNumber.
OnSizeChanged(e)
Raises the base size event and resizes the splitter and its managed windows.
| Parameter | Type | Description |
|---|---|---|
| e | EventArgs | The size-change event data. |
SetChild(preceeding, child)
| Parameter | Type | Description |
|---|---|---|
| preceeding | SalBoolean | |
| child | Control |
Returns: Control.
Implements
| Name | Description |
|---|---|
| ISalWindow |