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