Table of Contents

Method SetPanelWidth

Namespace
Alternet.UI
Assembly
Alternet.UI.Common.dll

SetPanelWidth(SplitPanelPosition, float)

Sets the width of the specified panel.

public virtual bool SetPanelWidth(SplitPanelPosition position, float width)

Parameters

position SplitPanelPosition

The position of the panel to set the width for. Must be either Left or Right.

width float

The new width to set for the specified panel.

Returns

bool

true if the width was successfully set; otherwise, false if the position is not valid.