public ToolBarHostViewModel(ToolBarHostControl toolBarHostControl)
 {
     ToolBarHostControl = toolBarHostControl;
     ContextMenu = new ContextMenu();
     SetupContextMenu();
 }
Exemplo n.º 2
0
 public ToolBarHostControl()
 {
     InitializeComponent();
     Instance    = this;
     DataContext = new ToolBarHostViewModel(this);
 }