/// <summary> /// Notification when part's imports have been satisfied</summary> public void OnImportsSatisfied() { // For some reason MS decided not to make ToolBar a bindable itemscollection // have to import the view model manually and do this var binder = new Models.ToolBarTrayBinder(toolBarTray, m_toolBarViewModel.ToolBars); }
/// <summary> /// Notification when part's imports have been satisfied</summary> public void OnImportsSatisfied() { // For some reason MS decided not to make ToolBar a bindable itemscollection // have to import the view model manually and do this var binder = new Models.ToolBarTrayBinder(toolBarTray, m_toolBarViewModel.ToolBars); }