Build() public static method

public static Build ( ScreenAction screenAction ) : System.Windows.Controls.MenuItem
screenAction StoryTeller.UserInterface.Actions.ScreenAction
return System.Windows.Controls.MenuItem
Beispiel #1
0
 public void Refill(IEnumerable <ScreenAction> actions)
 {
     ContextMenu.Items.Clear();
     actions.Each(x =>
     {
         var item = CommandMenuItem.Build(x);
         ContextMenu.Items.Add(item);
     });
 }