System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\FromExpression\Framework\ValueEditors\StringEditor.cs (45)
22public static readonly DependencyProperty ValueProperty = DependencyProperty.Register("Value", typeof(string), typeof(StringEditor), new FrameworkPropertyMetadata(null, FrameworkPropertyMetadataOptions.BindsTwoWayByDefault, new PropertyChangedCallback(StringEditor.ValueChanged), null, false, UpdateSourceTrigger.PropertyChanged));
23public static readonly DependencyProperty AutomationNameProperty = DependencyProperty.Register("AutomationName", typeof(string), typeof(StringEditor));
24public static readonly DependencyProperty IsNinchedProperty = DependencyProperty.Register("IsNinched", typeof(bool), typeof(StringEditor), new FrameworkPropertyMetadata(false, FrameworkPropertyMetadataOptions.None, new PropertyChangedCallback(StringEditor.IsNinchedChanged)));
25public static readonly DependencyProperty IsEditingProperty = DependencyProperty.Register("IsEditing", typeof(bool), typeof(StringEditor), new FrameworkPropertyMetadata(false, FrameworkPropertyMetadataOptions.None, new PropertyChangedCallback(StringEditor.IsEditingChanged)));
27public static readonly DependencyProperty CornerRadiusProperty = DependencyProperty.Register("CornerRadius", typeof(double), typeof(StringEditor), new FrameworkPropertyMetadata(0d, FrameworkPropertyMetadataOptions.None));
28public static readonly DependencyProperty BorderWidthProperty = DependencyProperty.Register("BorderWidth", typeof(double), typeof(StringEditor), new FrameworkPropertyMetadata(1.0, FrameworkPropertyMetadataOptions.None));
30public static readonly DependencyProperty BeginCommandProperty = DependencyProperty.Register("BeginCommand", typeof(ICommand), typeof(StringEditor), new PropertyMetadata(null));
31public static readonly DependencyProperty CommitCommandProperty = DependencyProperty.Register("CommitCommand", typeof(ICommand), typeof(StringEditor), new PropertyMetadata(null));
32public static readonly DependencyProperty CancelCommandProperty = DependencyProperty.Register("CancelCommand", typeof(ICommand), typeof(StringEditor), new PropertyMetadata(null));
33public static readonly DependencyProperty FinishEditingCommandProperty = DependencyProperty.Register("FinishEditingCommand", typeof(ICommand), typeof(StringEditor), new PropertyMetadata(null));
34public static readonly DependencyProperty LostFocusCommandProperty = DependencyProperty.Register("LostFocusCommand", typeof(ICommand), typeof(StringEditor), new PropertyMetadata(null));
47get { return (string)this.GetValue(StringEditor.ValueProperty); }
48set { this.SetValue(StringEditor.ValueProperty, value); }
53get { return (bool)this.GetValue(StringEditor.IsNinchedProperty); }
54set { this.SetValue(StringEditor.IsNinchedProperty, value); }
59get { return (string)this.GetValue(StringEditor.AutomationNameProperty); }
60set { this.SetValue(StringEditor.AutomationNameProperty, value); }
65get { return (bool)this.GetValue(StringEditor.IsEditingProperty); }
66set { this.SetValue(StringEditor.IsEditingProperty, value); }
71get { return (double)this.GetValue(StringEditor.CornerRadiusProperty); }
72set { this.SetValue(StringEditor.CornerRadiusProperty, value); }
77get { return (double)this.GetValue(StringEditor.BorderWidthProperty); }
78set { this.SetValue(StringEditor.BorderWidthProperty, value); }
83get { return (ICommand)this.GetValue(StringEditor.BeginCommandProperty); }
84set { this.SetValue(StringEditor.BeginCommandProperty, value); }
89get { return (ICommand)this.GetValue(StringEditor.CommitCommandProperty); }
90set { this.SetValue(StringEditor.CommitCommandProperty, value); }
95get { return (ICommand)this.GetValue(StringEditor.CancelCommandProperty); }
96set { this.SetValue(StringEditor.CancelCommandProperty, value); }
101get { return (ICommand)this.GetValue(StringEditor.FinishEditingCommandProperty); }
102set { this.SetValue(StringEditor.FinishEditingCommandProperty, value); }
107get { return (ICommand)this.GetValue(StringEditor.LostFocusCommandProperty); }
108set { this.SetValue(StringEditor.LostFocusCommandProperty, value); }
121StringEditor editor = d as StringEditor;
130StringEditor editor = d as StringEditor;
139StringEditor editor = d as StringEditor;
338ValueEditorUtils.UpdateBinding(this, StringEditor.ValueProperty, UpdateBindingType.Target);
352ValueEditorUtils.UpdateBinding(this, StringEditor.ValueProperty, false);
354ValueEditorUtils.UpdateBinding(this, StringEditor.ValueProperty, UpdateBindingType.Target);