Table of Contents

Class CommandsMenuModel

Namespace
The.WPF.Shell
Assembly
Instagile.WPF.dll
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

commands IEnumerable<IScreenCommand>

a group of commands to display in a menu

defaultCommand IScreenCommand

the default command for this group, if any - null is acceptable

disableTabStops bool

if true, the menu's buttons will not be tabbable

Properties

Buttons

public IList<IButtonModel> Buttons { get; }

Property Value

IList<IButtonModel>