This topic has not yet been rated - Rate this topic

DatePickerTextBox Class

[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]

Represents the text input of a DatePicker.

Namespace:  System.Windows.Controls
Assembly:  System.Windows.Controls.Extended (in System.Windows.Controls.Extended.dll)

[TemplateVisualStateAttribute(Name = "Unfocused", GroupName = "FocusStates")]
[TemplateVisualStateAttribute(Name = "Focused", GroupName = "FocusStates")]
[TemplateVisualStateAttribute(Name = "Unwatermarked", GroupName = "WatermarkStates")]
[TemplateVisualStateAttribute(Name = "Watermarked", GroupName = "WatermarkStates")]
[TemplateVisualStateAttribute(Name = "Normal", GroupName = "CommonStates")]
[TemplateVisualStateAttribute(Name = "MouseOver", GroupName = "CommonStates")]
[TemplateVisualStateAttribute(Name = "Disabled", GroupName = "CommonStates")]
[TemplatePartAttribute(Name = "Watermark", Type = typeof(ContentControl))]
public sealed class DatePickerTextBox : TextBox

The DatePickerTextBox functions identically to a WatermarkedTextBox.

System.Object
  System.Windows.DependencyObject
    System.Windows.UIElement
      System.Windows.FrameworkElement
        System.Windows.Controls.Control
          System.Windows.Controls.TextBox
            System.Windows.Controls.DatePickerTextBox
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Did you find this helpful?
(1500 characters remaining)