Inheritance: System.Windows.DependencyObject, IPartImportsSatisfiedNotification
        public MainPage()
        {
            InitializeComponent();

              DesignerTabs.SelectionChanged += DesignerTabsSelectionChanged;
              CompositionInitializer.SatisfyImports(this);

              _viewmodel = new DesignerViewModel();
              DataContext = _viewmodel;
        }
示例#2
0
        public MainPage()
        {
            InitializeComponent();

            DesignerTabs.SelectionChanged += DesignerTabsSelectionChanged;
            CompositionInitializer.SatisfyImports(this);

            _viewmodel  = new DesignerViewModel();
            DataContext = _viewmodel;
        }