Table of Contents

Method SplitVerticalDip

Namespace
Alternet.UI
Assembly
Alternet.UI.dll

SplitVerticalDip(Control?, Control?, double)

Initializes the left and right panes of the SplitterPanel. The child controls are shown if they are currently hidden.

public virtual bool SplitVerticalDip(Control? window1, Control? window2, double sashPosition = 0)

Parameters

window1 Control

The left pane.

window2 Control

The right pane.

sashPosition double

The initial position of the sash. If this value is positive, it specifies the size of the left pane. If it is negative, it is absolute value gives the size of the right pane. Specify 0 (default value) to choose the default position (half of the total window width).

Returns

bool

true if successful, false otherwise (the control was already split).

Remarks

Call it if you want to initially view two panes. It can also be called at any time, but the application should check that the control is not currently split using IsSplit.