Represents a drop-down control which enables users to select dates and times.
The following tables list the members exposed by the DateTimePicker type.
Name | Description | |
---|---|---|
Initializes a new instance of the DateTimePicker class. |
Name | Description | |
---|---|---|
Identifies the CalendarFontSize dependency property. |
||
Identifies the CalendarHeaderBackground dependency property. |
||
Identifies the CalendarHeight dependency property. |
||
Identifies the CalendarHorizontalOffset dependency property. |
||
Identifies the CalendarMaxHeight dependency property. |
||
Identifies the CalendarMaxWidth dependency property. |
||
Identifies the CalendarMinHeight dependency property. |
||
Identifies the CalendarMinWidth dependency property. |
||
Identifies the CalendarVerticalOffset dependency property. |
||
Identifies the CalendarWidth dependency property. |
||
Identifies the CenturyViewFormat dependency property. |
||
Identifies the CustomDateTimeFormat dependency property. |
||
Identifies the DecadeViewFormat dependency property. |
||
Identifies the DefaultItemTemplate dependency property. |
||
Identifies the DisplayDateFormat dependency property. |
||
Identifies the DisplayDate dependency property. |
||
Identifies the DropDownButtonTextBrush dependency property. |
||
Identifies the FocusItemTemplate dependency property. |
||
Identifies the HeaderTemplate dependency property. |
||
Identifies the HoverItemTemplate dependency property. |
||
Identifies the IsAnimationEnabled dependency property. |
||
Identifies the IsCalendarOpen dependency property. |
||
Identifies the IsShowingCenturies dependency property. |
||
Identifies the IsShowingTime dependency property. |
||
Identifies the MonthViewFormat dependency property. |
||
Identifies the SelectionItemTemplate dependency property. |
||
Identifies the ShowToday dependency property. |
||
Identifies the TextBoxBorderBrush dependency property. |
||
Identifies the TimeViewFormat dependency property. |
||
Identifies the TodayItemTemplate dependency property. |
||
Identifies the WeekendItemTemplate dependency property. |
||
Identifies the YearViewFormat dependency property. |
Name | Description | |
---|---|---|
Gets or sets the FontSize property of the drop-down calendar. This is a dependency property. |
||
Gets or sets the color theme of the drop-down calendar. This is a dependency property. |
||
Gets or sets the Height property of the drop-down calendar. This is a dependency property. |
||
Gets or sets the distance between the left side of the DateTimePicker control and the left side of the drop-down calendar. This is a dependency property. |
||
Gets or sets the MaxHeight property of the drop-down calendar. This is a dependency property. |
||
Gets or sets the MaxWidth property of the drop-down calendar. This is a dependency property. |
||
Gets or sets the MinHeight property of the drop-down calendar. This is a dependency property. |
||
Gets or sets the MinWidth property of the drop-down calendar. This is a dependency property. |
||
Gets or sets the distance between the bottom side of the DateTimePicker control and the top side of the drop-down calendar. This is a dependency property. |
||
Gets or sets the Width property of the drop-down calendar. This is a dependency property. |
||
Gets or sets a Standard .NET DateTimeFormat string to be applied on the cells in a CenturyView. This is a dependency property. |
||
Gets or sets the formatting of the date displayed in the picker's text box. This is a dependency property. |
||
Gets or sets a Standard .NET DateTimeFormat string to be applied on the cells in a DecadeView. This is a dependency property. |
||
Gets or sets the default template of the cells in the drop-down calendar. This is a dependency property. |
||
Gets or sets the date to display in the TextBox. This is a dependency property. |
||
Gets or sets the DisplayDateFormat in the inner TextBox. This is a dependency property. |
||
Gets or sets the text Brush of the drop-down button. This is a dependency property. |
||
Gets or sets the template of the cell containing the logical focus in the drop-down calendar control. This is a dependency property. |
||
Gets or sets the template used to display the content of the header in the drop-down calendar control. This is a dependency property. |
||
Gets or sets the template of the cell pointed with the mouse in the drop-down calendar control. This is a dependency property. |
||
Gets or sets a value that enables or disables the popup animation of the drop-down calendar. This is a dependency property. |
||
Gets a value that indicates whether the drop-down calendar is currently open. This is a dependency property. |
||
Gets or sets a value that enables or disables the Century view on the drop-down calendar. This is a dependency property. |
||
Gets or sets a value that enables or disables the Time view on the drop-down calendar. This is a dependency property. |
||
Gets or sets a Standard .NET DateTimeFormat string to be applied on the cells in a MonthView. This is a dependency property. |
||
Gets or sets the template of the selected cells in the drop-down calendar. This is a dependency property. |
||
Gets or sets a value indicating whether the current date is highlighted in the drop-down calendar control. This is a dependency property. |
||
Gets or sets the BorderBrush property of the inner TextBox. This is a dependency property. |
||
Gets or sets a Standard .NET DateTimeFormat string to be applied on the cells in a TimeView. This is a dependency property. |
||
Gets or sets the template of the cell representing the current date in the drop-down calendar. This is a dependency property. |
||
Gets or sets the template of the cells representing weekends in the drop-down calendar control. This is a dependency property. |
||
Gets or sets a Standard .NET DateTimeFormat string to be applied on the cells in a YearView. This is a dependency property. |
Name | Description | |
---|---|---|
Clears any text in the text box element of the DateTimePicker. |
||
Attempts to set focus to the TextBox element in the DateTimePicker. |
||
FrameworkElement.OnApplyTemplate override. |
||
Selects a range of text in the text box element of the DateTimePicker. |
||
Sets text to the text box element of the DateTimePicker. |
Name | Description | |
---|---|---|
Raises the CalendarClosed event. |
||
Raises the CalendarOpened event. |
||
Raises the DateSelectionChanged event. |
Name | Description | |
---|---|---|
Raised when the drop-down calendar is closed. |
||
Raised when the drop-down calendar is opened. |
||
Occurs when the drop-down calendar date selection changes. |