Constructor StatusItem
StatusItem(Key, ustring, Action, Func<bool>)
Initializes a new StatusItem.
public StatusItem(Key shortcut, ustring title, Action action, Func<bool> canExecute = null)
Parameters
shortcutKeyShortcut to activate the StatusItem.
titleustringTitle for the StatusItem.
actionActionAction to invoke when the StatusItem is activated.
canExecuteFunc<bool>Function to determine if the action can currently be executed.