상속: 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;
        }