RuiUpdateUi.RegisterMenuItem Method (String, String, String, RuiUpdateUi.UpdateMenuItemEventHandler)
Click or drag to resize

RuiUpdateUiRegisterMenuItem Method (String, String, String, RuiUpdateUiUpdateMenuItemEventHandler)

Register menu item update delegate

Namespace:  Rhino.UI
Assembly:  RhinoCommon (in RhinoCommon.dll)
Syntax
public static bool RegisterMenuItem(
	string fileId,
	string menuId,
	string itemId,
	RuiUpdateUiUpdateMenuItemEventHandler callBack
)

Parameters

fileId
Type: SystemString
Menu file Id
menuId
Type: SystemString
Menu Id
itemId
Type: SystemString
Menu item Id
callBack
Type: Rhino.UIRuiUpdateUiUpdateMenuItemEventHandler

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

Return Value

Type: Boolean
true if Registered otherwise false
Version Information

Rhino for Windows

Supported in: 6.7
See Also