Skip to main content

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.

public class VisSplitterWindow : SalFormWindow

Example:

using (var list = new PPJ.Runtime.Vis.VisSplitterWindow())
{
list.Width = 240;
}

Constructors

Instance member VisSplitterWindow()

Initializes the splitter window and its default behavior.

Properties

Instance member Orientation

Orientation: Gets or sets the contained splitter's divider direction. (Default: Vertical)

Methods

Instance member AssociateChildren()

Sends VTM_CreateComplete to the contained splitter's SAL message handlers.

Returns: SalNumber. Always zero.

Static member FromHandle(handle)

Resolves this control type from a native window handle.

ParameterTypeDescription
handleSalWindowHandleThe 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.

Instance member GetOrientation()

Returns: SalNumber.

Protected member OnSizeChanged(e)

Raises the base size event and resizes the splitter and its managed windows.

ParameterTypeDescription
eEventArgsThe size-change event data.

Instance member SetChild(preceeding, child)

ParameterTypeDescription
preceedingSalBoolean
childControl

Returns: Control.

Implements

NameDescription
ISalWindow