public RenameTabWindow() { InitializeComponent(); DataContext = new EditTabViewModel(); MessengerStatic.RenameTabWindowClosed += CloseWin; }
internal EditTab() { InitializeComponent(); if (DesignerProperties.GetIsInDesignMode(this)) { DataContext = new EditTabDesignModel(); } else { DataContext = new EditTabViewModel(); } }
public EditTabView() { InitializeComponent(); DataContext = new EditTabViewModel(); }