1 write to ViewModel
Microsoft.VisualStudio.LanguageServices.Implementation (1)
Options\GridOptionPreviewControl.xaml.cs (1)
89this.ViewModel = _createViewModel(OptionStore, _serviceProvider);
5 references to ViewModel
Microsoft.VisualStudio.LanguageServices.Implementation (5)
Options\GridOptionPreviewControl.xaml.cs (5)
75ViewModel.UpdatePreview(codeStyleItem.GetPreview()); 91var firstItem = this.ViewModel.CodeStyleItems.OfType<AbstractCodeStyleOptionViewModel>().First(); 92this.ViewModel.SetOptionAndUpdatePreview(firstItem.SelectedPreference.IsChecked, firstItem.Option, firstItem.GetPreview()); 94DataContext = ViewModel; 101this.ViewModel?.Dispose();