2 writes to Watermark
PresentationFramework (2)
System\Windows\Controls\DatePicker.cs (2)
1293
this._textBox.
Watermark
= string.Format(CultureInfo.CurrentCulture, SR.DatePicker_WatermarkText, dtfi.LongDatePattern.ToString());
1299
this._textBox.
Watermark
= string.Format(CultureInfo.CurrentCulture, SR.DatePicker_WatermarkText, dtfi.ShortDatePattern.ToString());
2 references to Watermark
PresentationFramework (2)
System\Windows\Controls\Primitives\DatePickerTextBox.cs (2)
137
if (this.
Watermark
!= null && string.IsNullOrEmpty(this.Text))
178
Control watermarkControl = this.
Watermark
as Control;