Class DatePickerTextBox
Represents the text input of a DatePicker.
Inheritance
System.Object
DatePickerTextBox
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: System.Windows.Controls.Primitives
Assembly: OpenSilver.dll
Syntax
[TemplatePart(Name = "Watermark", Type = typeof(ContentControl))]
public sealed class DatePickerTextBox : TextBox
Constructors
| Improve this Doc View SourceDatePickerTextBox()
Initializes a new instance of the DatePickerTextBox class.
Declaration
public DatePickerTextBox()
Fields
| Improve this Doc View SourceWatermarkProperty
Watermark dependency property.
Declaration
public static readonly DependencyProperty WatermarkProperty
Field Value
Type | Description |
---|---|
DependencyProperty |
Properties
| Improve this Doc View SourceWatermark
Gets or sets the Watermark content.
Declaration
public object Watermark { get; set; }
Property Value
Type | Description |
---|---|
System.Object | The watermark. |
Methods
| Improve this Doc View SourceOnApplyTemplate()
Builds the visual tree for the DatePickerTextBox when a new template is applied.
Declaration
public override void OnApplyTemplate()