Table of Contents

Method SetSplitterPos

Namespace
Terminal.Gui
Assembly
Terminal.Gui.dll

SetSplitterPos(int, Pos)

Attempts to update the SplitterDistances of line at idx to the new value. Returns false if the new position is not allowed because of MinSize, location of other splitters etc.

Only absolute values (e.g. 10) and percent values (i.e. Percent(int)) are supported for this property.

public bool SetSplitterPos(int idx, Pos value)

Parameters

idx int
value Pos

Returns

bool