RuiUpdateUiRegisterMenuItem Method (Guid, Guid, Guid, RuiUpdateUiUpdateMenuItemEventHandler) |
Register menu item update delegate
Namespace:
Rhino.UI
Assembly:
RhinoCommon (in RhinoCommon.dll)
Since: 5.11
Syntaxpublic static bool RegisterMenuItem(
Guid file,
Guid menu,
Guid item,
RuiUpdateUiUpdateMenuItemEventHandler callBack
)
Public Shared Function RegisterMenuItem (
file As Guid,
menu As Guid,
item As Guid,
callBack As RuiUpdateUiUpdateMenuItemEventHandler
) As Boolean
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:
Booleantrue if Registered otherwise false
See Also