C# Class StoryTeller.UserInterface.Controls.CommandBar

Inheritance: System.Windows.Controls.StackPanel, ICommandBar
Mostrar archivo Open project: adymitruk/storyteller

Public Methods

Method Description
AddCommand ( string text, System.Action action ) : void
AddCommand ( string text, ICommand command, Icon icon ) : void
CommandBar ( ) : System
Refill ( IEnumerable actions ) : void

Private Methods

Method Description
addButton ( string text, System.Action action ) : System.Windows.Controls.Button

Method Details

AddCommand() public method

public AddCommand ( string text, System.Action action ) : void
text string
action System.Action
return void

AddCommand() public method

public AddCommand ( string text, ICommand command, Icon icon ) : void
text string
command ICommand
icon Icon
return void

CommandBar() public method

public CommandBar ( ) : System
return System

Refill() public method

public Refill ( IEnumerable actions ) : void
actions IEnumerable
return void