Panels.ClosePanel Method (Type)

PanelsClosePanel Method (Type)

Will close or hide the specified panel type, in Windows Rhino, if it is the only visible tab the tab dock bar will be closed as well. In Mac Rhino it will always close the modeless dialog hosting the panel.

Namespace:  Rhino.UI
Assembly:  RhinoCommon (in RhinoCommon.dll)
Syntax
public static void ClosePanel(
	Type panelType
)
Public Shared Sub ClosePanel ( 
	panelType As Type
)

Parameters

panelType
Type: SystemType
Class type of the panel to close.
Version Information

Rhino for Mac

Supported in: 5.4

Rhino for Windows

Supported in: 6.14
See Also