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