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