public WebImageSelectorWindow() { this.InitializeComponent(); this.DataContext = this.ViewModel; this.WithMode(ViewMode.Mode1); }