Click or drag to resize

PanelsIsPanelVisible Method (Guid, Boolean)

Check to see if a panel is currently visible, if isSelectedTab is true then the tab must be the active tab as well.

Namespace:  Rhino.UI
Assembly:  RhinoCommon (in RhinoCommon.dll)
Syntax
public static bool IsPanelVisible(
	Guid panelId,
	bool isSelectedTab
)

Parameters

panelId
Type: SystemGuid
Class Id for the panel to check.
isSelectedTab
Type: SystemBoolean
This paramater is ignored on Mac. If Windows and true the panel must be visible in a container and if it is a tabbed container it must be the active tab to be true.

Return Value

Type: Boolean
On Windows: The return value is demendant on the isSelectedTab value. If isSelectedTab is true then the panel must be included in a visible tabbed container and must also be the active tab to be true. If isSelectedTab is false then the panel only has to be included in a visible tabbed container to be true. On Mac: isSelected is ignored and true is returned if the panel appears in any inspector panel.
Version Information

Rhino for Windows

Supported in: 6.10
See Also