29 references to ValueEditorUtils
System.Activities.Presentation (29)
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\Editors\FlagEditor.xaml.cs (1)
65
ValueEditorUtils
.ExecuteCommand(PropertyValueEditorCommands.FinishEditing, this, null);
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\FromExpression\Framework\ValueEditors\ChoiceEditor.cs (12)
734
bool markHandled =
ValueEditorUtils
.GetHandlesCommitKeys(this);
945
ValueEditorUtils
.ExecuteCommand(this.BeginCommand, this, null);
951
ValueEditorUtils
.UpdateBinding(this, ChoiceEditor.ValueProperty, UpdateBindingType.Source);
952
ValueEditorUtils
.UpdateBinding(this, ChoiceEditor.ValueIndexProperty, UpdateBindingType.Source);
953
ValueEditorUtils
.ExecuteCommand(this.CommitCommand, this, null);
954
ValueEditorUtils
.UpdateBinding(this, ChoiceEditor.ValueProperty, UpdateBindingType.Target);
955
ValueEditorUtils
.UpdateBinding(this, ChoiceEditor.ValueIndexProperty, UpdateBindingType.Target);
967
ValueEditorUtils
.ExecuteCommand(this.BeginCommand, this, null);
974
ValueEditorUtils
.UpdateBinding(this, ChoiceEditor.ValueProperty, UpdateBindingType.Target);
975
ValueEditorUtils
.UpdateBinding(this, ChoiceEditor.ValueIndexProperty, UpdateBindingType.Target);
977
ValueEditorUtils
.ExecuteCommand(this.CancelCommand, this, null);
985
ValueEditorUtils
.ExecuteCommand(finishedEditingCommand, this, null);
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\FromExpression\Framework\ValueEditors\StringEditor.cs (10)
217
ValueEditorUtils
.ExecuteCommand(this.LostFocusCommand, this, null);
239
bool markHandled =
ValueEditorUtils
.GetHandlesCommitKeys(this);
335
ValueEditorUtils
.ExecuteCommand(this.BeginCommand, this, null);
337
ValueEditorUtils
.ExecuteCommand(this.CommitCommand, this, null);
338
ValueEditorUtils
.UpdateBinding(this, StringEditor.ValueProperty, UpdateBindingType.Target);
351
ValueEditorUtils
.ExecuteCommand(this.BeginCommand, this, null);
352
ValueEditorUtils
.UpdateBinding(this, StringEditor.ValueProperty, false);
353
ValueEditorUtils
.ExecuteCommand(this.CancelCommand, this, null);
354
ValueEditorUtils
.UpdateBinding(this, StringEditor.ValueProperty, UpdateBindingType.Target);
363
ValueEditorUtils
.ExecuteCommand(finishedEditingCommand, this, null);
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\FromExpression\Framework\ValueEditors\ValueEditorUtils.cs (4)
30
public static readonly DependencyProperty HandlesCommitKeysProperty = DependencyProperty.RegisterAttached("HandlesCommitKeys", typeof(bool), typeof(
ValueEditorUtils
), new FrameworkPropertyMetadata(false, FrameworkPropertyMetadataOptions.Inherits));
34
return (bool)dependencyObject.GetValue(
ValueEditorUtils
.HandlesCommitKeysProperty);
39
dependencyObject.SetValue(
ValueEditorUtils
.HandlesCommitKeysProperty, value);
44
ValueEditorUtils
.UpdateBinding(element, property, (updateSource ? UpdateBindingType.Both : UpdateBindingType.Target));
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\PropertyInspector.xaml.cs (1)
84
ValueEditorUtils
.SetHandlesCommitKeys(this, true);
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\PropertyValueDialogControl.xaml.cs (1)
70
ValueEditorUtils
.SetHandlesCommitKeys(this, true);