public ProjectsView() { ProjectsViewModel = new ProjectsViewModel(); DataContext = ProjectsViewModel; InitializeComponent(); ProjectsViewModel.PropertyChanged += ProcessesViewModel_PropertyChanged; Projects.AddHandler(Control.MouseDoubleClickEvent, new RoutedEventHandler(HandleDoubleClick)); }