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

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

              _viewmodel = new DesignerViewModel();
              DataContext = _viewmodel;
        }
Exemplo n.º 2
0
        public MainPage()
        {
            InitializeComponent();

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

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