Table of Contents

Method GetPanelWidth

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

GetPanelWidth(SplitPanelPosition)

Retrieves the width of the specified panel based on its position.

public virtual float GetPanelWidth(SplitPanelPosition position)

Parameters

position SplitPanelPosition

The position of the panel whose width is to be retrieved. Must be one of the defined SplitPanelPosition values.

Returns

float

The width of the panel at the specified position. Returns -1 if the position is not recognized.