Exemplo n.º 1
0
 public MenuItem(string displayText, MenuItemName name)
 {
     if (displayText == null) throw new ArgumentNullException("displayText");
     DisplayText = displayText;
     Name = name;
     Command = new DisabledCommand();
 }
Exemplo n.º 2
0
 protected ToolWindowBase()
 {
     CanCloseWindow        = true;
     CanHide               = false;
     AutoHideMinHeight     = 100;
     DockAsDocumentCommand = new DisabledCommand();
     NotifyOfPropertyChange(() => DockAsDocumentCommand);
     ViewAttached += ToolWindowBase_ViewAttached;
 }
Exemplo n.º 3
0
 public ToolWindowBase()
 {
     CanCloseWindow        = true;
     CanHide               = false;
     AutoHideMinHeight     = 100;
     DefaultDockingPane    = "DockBottom";
     DockAsDocumentCommand = new DisabledCommand();
     NotifyOfPropertyChange(() => DockAsDocumentCommand);
     ViewAttached += ToolWindowBase_ViewAttached;
 }