1 write to ViewModel
Microsoft.VisualStudio.LanguageServices.Implementation (1)
Options\OptionPreviewControl.xaml.cs (1)
83this.ViewModel = _createViewModel(this.OptionStore, _serviceProvider);
7 references to ViewModel
Microsoft.VisualStudio.LanguageServices.Implementation (7)
Options\OptionPreviewControl.xaml.cs (7)
39listview.SetBinding(ItemsControl.ItemsSourceProperty, new Binding { Path = new PropertyPath(nameof(ViewModel.Items)) }); 53ViewModel.UpdatePreview(checkbox.GetPreview()); 58ViewModel.UpdatePreview(radioButton.Preview); 86var firstItem = this.ViewModel.Items.OfType<CheckBoxOptionViewModel>().First(); 87this.ViewModel.SetOptionAndUpdatePreview(firstItem.IsChecked, firstItem.Option, firstItem.GetPreview()); 89DataContext = ViewModel; 96this.ViewModel?.Dispose();