Table of Contents

Method GetPane

Namespace
Alternet.UI
Assembly
Alternet.UI.dll

GetPane(Control)

Used to lookup a pane information object either by window or by pane name, which acts as a unique id for a window pane.

public IAuiPaneInfo GetPane(Control control)

Parameters

control Control

Control for which pane was previously created.

Returns

IAuiPaneInfo

Remarks

The returned IAuiPaneInfo object may then be modified to change a pane's look, state or position. After one or more modifications to IAuiPaneInfo, Update() should be called to commit the changes to the user interface. If the lookup failed (meaning the pane could not be found in the manager), a call to the returned IsOk() method will return false.

GetPane(string)

Used to lookup a pane information object by pane name, which acts as a unique id for a window pane.

public IAuiPaneInfo GetPane(string name)

Parameters

name string

Unique pane name.

Returns

IAuiPaneInfo

Remarks

The returned IAuiPaneInfo object may then be modified to change a pane's look, state or position. After one or more modifications to IAuiPaneInfo, Update() should be called to commit the changes to the user interface. If the lookup failed (meaning the pane could not be found in the manager), a call to the returned IsOk() method will return false.