1 write to _textBox
PresentationFramework (1)
src\Framework\System\Windows\Controls\DatePicker.cs (1)
701_textBox = GetTemplateChild(ElementTextBox) as DatePickerTextBox;
29 references to _textBox
PresentationFramework (29)
src\Framework\System\Windows\Controls\DatePicker.cs (29)
525if (dp._textBox != null) 528if (string.IsNullOrEmpty(dp._textBox.Text)) 534DateTime? date = dp.ParseText(dp._textBox.Text); 583if (dp._textBox != null) 585dp._textBox.Text = newValue; 633return _textBox; 663if (_textBox != null) 665_textBox.RemoveHandler(TextBox.KeyDownEvent, new KeyEventHandler(TextBox_KeyDown)); 666_textBox.RemoveHandler(TextBox.TextChangedEvent, new TextChangedEventHandler(TextBox_TextChanged)); 667_textBox.RemoveHandler(TextBox.LostFocusEvent, new RoutedEventHandler(TextBox_LostFocus)); 708if (_textBox != null) 710_textBox.AddHandler(TextBox.KeyDownEvent, new KeyEventHandler(TextBox_KeyDown), true); 711_textBox.AddHandler(TextBox.TextChangedEvent, new TextChangedEventHandler(TextBox_TextChanged), true); 712_textBox.AddHandler(TextBox.LostFocusEvent, new RoutedEventHandler(TextBox_LostFocus), true); 718_textBox.Text = this._defaultText; 724_textBox.Text = this.DateTimeToString((DateTime)this.SelectedDate); 812if (_textBox != null) 814return _textBox.HasEffectiveKeyboardFocus; 831if ((!e.Handled) && (picker._textBox != null)) 835picker._textBox.Focus(); 838else if (e.OriginalSource == picker._textBox) 840picker._textBox.SelectAll(); 1179if (this._textBox != null) 1181if (!string.IsNullOrEmpty(this._textBox.Text)) 1183string s = this._textBox.Text; 1272if (this._textBox != null) 1282this._textBox.Watermark = string.Format(CultureInfo.CurrentCulture, SR.Get(SRID.DatePicker_WatermarkText), dtfi.LongDatePattern.ToString()); 1288this._textBox.Watermark = string.Format(CultureInfo.CurrentCulture, SR.Get(SRID.DatePicker_WatermarkText), dtfi.ShortDatePattern.ToString()); 1307this.SetValueNoCallback(DatePicker.TextProperty, this._textBox.Text);