private void OnLoaded(object sender, RoutedEventArgs e)
 {
     _vm = (MainViewModel)DataContext;
     _vm.PropertyChanged += OnPropertyChanged;
 }
 public CommentTemplateSelector()
 {
     _vm = ViewModelLocator.MainViewModel;
 }