public NewProjectDialog() { InitializeComponent(); this.TitleCaps = false; this.TitleForeground = new SolidColorBrush(Colors.Black); this._vm = new NewProjectDialogViewModel(); this.AllowsTransparency = true; this.DataContext = _vm; projectList.SelectedItem = this.VM.ProjectTypes[0]; }