Table of Contents

Method SetPanelHeight

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

SetPanelHeight(SplitPanelPosition, float)

Sets the height of the specified panel in a split view layout.

public virtual bool SetPanelHeight(SplitPanelPosition position, float height)

Parameters

position SplitPanelPosition

The position of the panel to set the height for. Must be either Top or Bottom.

height float

The new height to assign to the specified panel.

Returns

bool

true if the panel height was successfully set; otherwise, false if the position is invalid.