Click or drag to resize

PanelsGetPanel Method (Guid)

Note: This API is now obsolete.

Will return an instance of a .Net panel if the panel has been displayed at least once. Panel instances are not created until a panel is displayed.

Namespace:  Rhino.UI
Assembly:  RhinoCommon (in RhinoCommon.dll)
Since: 5.0
Syntax
[ObsoleteAttribute("Obsolete method, use GetPanel<MyClass>(RhinoDoc)")]
public static Object GetPanel(
	Guid panelId
)

Parameters

panelId
Type: SystemGuid
Class Id of the panel to search for.

Return Value

Type: Object
Returns the one and only instance of a panel if it has been properly registered and displayed at least once. If the panel has never been displayed then null will be returned even if the panel is properly registered.
See Also