Class CommandsMenuModel
public class CommandsMenuModel : NotificationObject, INotifyPropertyChanged
- Inheritance
-
CommandsMenuModel
- Implements
- Derived
- Inherited Members
- Extension Methods
Constructors
CommandsMenuModel(IEnumerable<IScreenCommand>, IScreenCommand?, bool)
public CommandsMenuModel(IEnumerable<IScreenCommand> commands, IScreenCommand? defaultCommand = null, bool disableTabStops = false)
Parameters
commandsIEnumerable<IScreenCommand>a group of commands to display in a menu
defaultCommandIScreenCommandthe default command for this group, if any - null is acceptable
disableTabStopsboolif true, the menu's buttons will not be tabbable
Properties
Buttons
public IList<IButtonModel> Buttons { get; }