[CLSCompliant(false)] public class RuiUpdateUi : EventArgs

Properties

Checked

#Since v5.11
public bool Checked { get; set; }
Set to true to enable menu item or false to check menu item

Enabled

#Since v5.11
public bool Enabled { get; set; }
Set to true to enable menu item or false to disable menu item

FileId

#Since v5.11
public Guid FileId { get; }
Id of the RUI file that owns this menu item

RadioChecked

#Since v5.11
public bool RadioChecked { get; set; }
Set to true to enable menu item or false to check menu item

Text

#Since v5.11
public string Text { get; set; }
Menu item text

WindowsMenuItemId

#Since v5.11
[CLSCompliant(false)] public uint WindowsMenuItemId { get; }
Windows menu item ID

Methods

RegisterMenuItem

#Since v5.11
public static bool RegisterMenuItem(Guid file, Guid menu, Guid item, UpdateMenuItemEventHandler callBack)
Register menu item update delegate
file (Guid)Menu file Id
menu (Guid)Menu Id
item (Guid)Menu item Id
callBack (RuiUpdateUi.UpdateMenuItemEventHandler)
true if Registered otherwise false

RegisterMenuItem

#Since v5.11
public static bool RegisterMenuItem(string fileId, string menuId, string itemId, UpdateMenuItemEventHandler callBack)
Register menu item update delegate
fileId (string)Menu file Id
menuId (string)Menu Id
itemId (string)Menu item Id
callBack (RuiUpdateUi.UpdateMenuItemEventHandler)
true if Registered otherwise false