Click or drag to resize

RuiUpdateUiRegisterMenuItem Method (Guid, Guid, Guid, RuiUpdateUiUpdateMenuItemEventHandler)

Register menu item update delegate

Namespace:  Rhino.UI
Assembly:  RhinoCommon (in RhinoCommon.dll)
Since: 5.11
Syntax
public static bool RegisterMenuItem(
	Guid file,
	Guid menu,
	Guid item,
	RuiUpdateUiUpdateMenuItemEventHandler callBack
)

Parameters

file
Type: SystemGuid
Menu file Id
menu
Type: SystemGuid
Menu Id
item
Type: SystemGuid
Menu item Id
callBack
Type: Rhino.UIRuiUpdateUiUpdateMenuItemEventHandler

[Missing <param name="callBack"/> documentation for "M:Rhino.UI.RuiUpdateUi.RegisterMenuItem(System.Guid,System.Guid,System.Guid,Rhino.UI.RuiUpdateUi.UpdateMenuItemEventHandler)"]

Return Value

Type: Boolean
true if Registered otherwise false
See Also