OnUpdate Property
Gets or sets a function that will be called to compute whether the menu should be shown, or enabled, or checked before it is displayed
Syntax
public System.Action<MenuItem,MenuItem.MenuItemState> OnUpdate {get; set;}Public Property OnUpdate As System.Action(Of MenuItem,MenuItem.MenuItemState)