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