Click or drag to resize

PanelsRegisterPanel Method (PlugIn, Type, String, Icon, PanelType)

Call once to register a panel type which will get dynamically created and embedded in a Rhino docking/floating location.

Namespace:  Rhino.UI
Assembly:  RhinoCommon (in RhinoCommon.dll)
Syntax
public static void RegisterPanel(
	PlugIn plugIn,
	Type type,
	string caption,
	Icon icon,
	PanelType panelType
)

Parameters

plugIn
Type: Rhino.PlugInsPlugIn
Plug-in restringing the panel
type
Type: SystemType
Type of the control object to be displayed in the panel
caption
Type: SystemString
Panel caption also used as a tool-tip. On Windows the panel may be displayed using the icon, caption or both. On Mac the icon will be used and the caption will be the tool-tip.
icon
Type: System.DrawingIcon
The panel icon. On Windows the panel may be displayed using the icon, caption or both. On Mac the icon will be used and the caption will be the tool-tip.
panelType
Type: Rhino.UIPanelType
See PanelType
Version Information

Rhino for Windows

Supported in: 6.4
See Also