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

            MessengerStatic.RenameTabWindowClosed += CloseWin;
        }
        internal EditTab()
        {
            InitializeComponent();

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

            DataContext = new EditTabViewModel();
        }