1 write to ViewModel
System.Activities.Core.Presentation (1)
System\Activities\Core\Presentation\CaseKeyBox.xaml.cs (1)
56
this.
ViewModel
= new CaseKeyBoxViewModel(this);
13 references to ViewModel
System.Activities.Core.Presentation (13)
System\Activities\Core\Presentation\CaseKeyBox.xaml.cs (10)
212
((CaseKeyBox)sender).
ViewModel
.OnValueChanged();
217
((CaseKeyBox)sender).
ViewModel
.OnValueTypeChanged();
222
this.
ViewModel
.OnLabelGotFocus();
241
if (this.CommitExplicitly || this.
ViewModel
.TextHasBeenChanged())
244
if (!this.
ViewModel
.CanResolveInputText(out reason))
251
return this.
ViewModel
.OnLostFocus();
264
this.
ViewModel
.OnEscapePressed(); // simulate cancel
291
ComboBoxHelper.SynchronizeComboBoxSelection(comboBox, this.
ViewModel
.Text);
315
this.
ViewModel
.SaveOldText();
368
this.
ViewModel
.ResetText();
System\Activities\Core\Presentation\FlowSwitchCaseEditorDialog.cs (2)
60
caseKeyBox.
ViewModel
.DataTemplateName = CaseKeyBoxViewModel.BoxesTemplate;
61
caseKeyBox.
ViewModel
.IsBoxOnly = true;
System\Activities\Core\Presentation\TransitionDesigner.xaml.cs (1)
396
this.addNewTransitionBox.
ViewModel
.ComboBoxItems = new ObservableCollection<string>(