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