public RenameTabWindow()
        {
            InitializeComponent();
            DataContext = new EditTabViewModel();

            MessengerStatic.RenameTabWindowClosed += CloseWin;
        }
예제 #2
0
        internal EditTab()
        {
            InitializeComponent();

            if (DesignerProperties.GetIsInDesignMode(this))
            {
                DataContext = new EditTabDesignModel();
            }
            else
            {
                DataContext = new EditTabViewModel();
            }
        }
예제 #3
0
        public EditTabView()
        {
            InitializeComponent();

            DataContext = new EditTabViewModel();
        }