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
shortcut
KeyShortcut to activate the StatusItem.
title
ustringTitle for the StatusItem.
action
ActionAction to invoke when the StatusItem is activated.
canExecute
Func<bool>Function to determine if the action can currently be executed.