Summary
        Represents a control that allows the user to select a date and a time.
    
		- Namespace
 - MahApps
.Metro .Controls  - Base Types
 - 
									
- Control
 - TimePickerBase
 
 
							graph BT
	Type-->Base0["TimePickerBase"]
	click Base0 "/api/MahApps.Metro.Controls/TimePickerBase"
	Base0-->Base1["Control"]
	Type["DateTimePicker"]
class Type type-node
						
					Syntax
[TemplatePart(Name = PART_PopupContainer, Type = typeof(StackPanel))]
[TemplatePart(Name = PART_Calendar, Type = typeof(ContentPresenter))]
[StyleTypedProperty(Property = nameof(CalendarStyle), StyleTargetType = typeof(Calendar))]
public class DateTimePicker : TimePickerBase
	Attributes
| Type | Description | 
|---|---|
| TemplatePart | |
| TemplatePart | |
| StyleTypedProperty | 
Constructors
| Name | Summary | 
|---|---|
| DateTimePicker | 
									
Events
| Name | Type | Summary | 
|---|---|---|
| Selected | 
								Routed | 
								
									 
        Occurs when the  
											SelectedDateTime property is changed.
    Inherited from TimePickerBase 
								 | 
							
Fields
| Name | Constant Value | Summary | 
|---|---|---|
| Calendar | 
								
									 Identifies the  
											CalendarStyle dependency property.static 
								 | 
							|
| CultureProperty | 
									 Identifies the  
											Culture dependency property.Inherited from TimePickerBase 
											static 
								 | 
							|
| Display | 
								
									 Identifies the  
											DisplayDateEnd dependency property.static 
								 | 
							|
| DisplayDateProperty | 
									 Identifies the  
											DisplayDate dependency property.static 
								 | 
							|
| Display | 
								
									 Identifies the  
											DisplayDateStart dependency property.static 
								 | 
							|
| First | 
								
									 Identifies the  
											FirstDayOfWeek dependency property.static 
								 | 
							|
| Hand | 
								
									 Identifies the  
											HandVisibility dependency property.Inherited from TimePickerBase 
											static 
								 | 
							|
| Hours | 
								
									 Identifies the  
											HoursItemStringFormat dependency property.Inherited from TimePickerBase 
											static 
								 | 
							|
| IntervalOf10 | 
									 
    This list contains values from 0 to 50 with an interval of 10. It can be used to bind to  
											SourceMinutes and SourceSeconds.
    Inherited from TimePickerBase 
											static 
								 | 
							|
| IntervalOf15 | 
									 
    This list contains values from 0 to 45 with an interval of 15. It can be used to bind to  
											SourceMinutes and SourceSeconds.
    Inherited from TimePickerBase 
											static 
								 | 
							|
| IntervalOf5 | 
									 
    This list contains values from 0 to 55 with an interval of 5. It can be used to bind to  
											SourceMinutes and SourceSeconds.
    Inherited from TimePickerBase 
											static 
								 | 
							|
| Is | 
								
									 Identifies the  
											IsClockVisible dependency property.Inherited from TimePickerBase 
											static 
								 | 
							|
| Is | 
								
									 Identifies the  
											IsDatePickerVisible dependency property.Inherited from TimePickerBase 
											static 
								 | 
							|
| Is | 
								
									 Identifies the  
											IsDropDownOpen dependency property.Inherited from TimePickerBase 
											static 
								 | 
							|
| IsReadOnlyProperty | 
									 Identifies the  
											IsReadOnly dependency property.Inherited from TimePickerBase 
											static 
								 | 
							|
| Is | 
								
									 Identifies the  
											IsTodayHighlighted dependency property.static 
								 | 
							|
| Minutes | 
								
									 Identifies the  
											MinutesItemStringFormat dependency property.Inherited from TimePickerBase 
											static 
								 | 
							|
| OrientationProperty | 
									 Identifies the  
											Orientation dependency property.static 
								 | 
							|
| Picker | 
								
									 Identifies the  
											PickerVisibility dependency property.Inherited from TimePickerBase 
											static 
								 | 
							|
| Seconds | 
								
									 Identifies the  
											SecondsItemStringFormat dependency property.Inherited from TimePickerBase 
											static 
								 | 
							|
| Selected | 
								
									 Identifies the  
											SelectedDateFormat dependency property.static 
								 | 
							|
| Selected | 
								
									
											 Inherited from TimePickerBase 
											static 
								 | 
							|
| Selected | 
								
									 Identifies the  
											SelectedDateTime dependency property.Inherited from TimePickerBase 
											static 
								 | 
							|
| Selected | 
								
									 Identifies the  
											SelectedTimeFormat dependency property.Inherited from TimePickerBase 
											static 
								 | 
							|
| SourceHoursProperty | 
									 Identifies the  
											SourceHours dependency property.Inherited from TimePickerBase 
											static 
								 | 
							|
| Source | 
								
									 Identifies the  
											SourceMinutes dependency property.Inherited from TimePickerBase 
											static 
								 | 
							|
| Source | 
								
									 Identifies the  
											SourceSeconds dependency property.Inherited from TimePickerBase 
											static 
								 | 
							|
| hourInput | 
									
											 Inherited from TimePickerBase 
								 | 
							|
| original | 
								
									
											 Inherited from TimePickerBase 
								 | 
							|
| textBox | 
									
											 Inherited from TimePickerBase 
								 | 
							
Properties
| Name | Value | Summary | 
|---|---|---|
| BlackoutDates | Calendar | 
								
									 
    Gets the days that are not selectable.
     
								 | 
							
| CalendarStyle | Style | 
									 
    Gets or sets the style that is used when rendering the calendar.
     
								 | 
							
| Culture | CultureInfo | 
									 
        Gets or sets a value indicating the culture to be used in string formatting operations.
     
											Inherited from TimePickerBase 
								 | 
							
| DisplayDate | DateTime | 
									 
        Gets or sets the date to display
     
								 | 
							
| DisplayDateEnd | DateTime? | 
									 
        Gets or sets the last date to be displayed.
     
								 | 
							
| DisplayDateStart | DateTime? | 
									 
        Gets or sets the first date to be displayed.
     
								 | 
							
| FirstDayOfWeek | DayOfWeek | 
									 
        Gets or sets the day that is considered the beginning of the week.
     
								 | 
							
| HandVisibility | TimePartVisibility | 
									 
        Gets or sets a value indicating the visibility of the clock hands in the user interface (UI).
     
											Inherited from TimePickerBase 
								 | 
							
| Hours | 
								string | 
									 
    Gets or sets a composite string that specifies how to format the hour items.
     
											Inherited from TimePickerBase 
								 | 
							
| IsClockVisible | bool | 
									 
        Gets or sets a value indicating whether the clock of this control is visible in the user interface (UI). This is a
        dependency property.
     
											Inherited from TimePickerBase 
								 | 
							
| IsDatePickerVisible | bool | 
									 
    Gets or sets a value indicating whether the date can be selected or not. This property is read-only.
     
											Inherited from TimePickerBase 
								 | 
							
| IsDropDownOpen | bool | 
									 
        Gets or sets a value indicating whether the drop-down for a  
											TimePickerBase box is currently
            open.
    Inherited from TimePickerBase 
								 | 
							
| IsMilitaryTime | bool | 
									 
        Gets a value indicating whether the  
											System.Globalization.DateTimeFormatInfo.AMDesignator that is specified by the
        CultureInfo
        set by the Culture (FrameworkElement.Language if null) has not a value.
    Inherited from TimePickerBase 
								 | 
							
| IsReadOnly | bool | 
									 
        Gets or sets a value indicating whether the contents of the  
											TimePickerBase are not editable.
    Inherited from TimePickerBase 
								 | 
							
| IsTodayHighlighted | bool | 
									 
        Gets or sets a value that indicates whether the current date will be highlighted.
     
								 | 
							
| Minutes | 
								string | 
									 
    Gets or sets a composite string that specifies how to format the minute items.
     
											Inherited from TimePickerBase 
								 | 
							
| Orientation | Orientation | 
									 
        Gets or sets a value that indicates the dimension by which calendar and clock are stacked.
     
								 | 
							
| PickerVisibility | TimePartVisibility | 
									 
        Gets or sets a value indicating the visibility of the selectable date-time-parts in the user interface (UI).
     
											Inherited from TimePickerBase 
								 | 
							
| Seconds | 
								string | 
									 
    Gets or sets a composite string that specifies how to format the second items.
     
											Inherited from TimePickerBase 
								 | 
							
| SelectedDateFormat | DatePickerFormat | 
									 
    Gets or sets the format that is used to display the selected date.
     
								 | 
							
| SelectedDateTime | DateTime? | 
									 
        Gets or sets the currently selected date and time.
     
											Inherited from TimePickerBase 
								 | 
							
| SelectedTimeFormat | TimePickerFormat | 
									 
    Gets or sets the format that is used to display the selected time.
     
											Inherited from TimePickerBase 
								 | 
							
| SourceHours | IEnumerable | 
								
									 
        Gets or sets a collection used to generate the content for selecting the hours.
     
											Inherited from TimePickerBase 
								 | 
							
| SourceMinutes | IEnumerable | 
								
									 
        Gets or sets a collection used to generate the content for selecting the minutes.
     
											Inherited from TimePickerBase 
								 | 
							
| SourceSeconds | IEnumerable | 
								
									 
        Gets or sets a collection used to generate the content for selecting the seconds.
     
											Inherited from TimePickerBase 
								 | 
							
| SpecificCultureInfo | CultureInfo | 
									
											 Inherited from TimePickerBase 
								 | 
							
Methods
| Name | Value | Summary | 
|---|---|---|
| ApplyCulture | 
								void | |
| Clock | 
								void | 
									
											 Inherited from TimePickerBase 
								 | 
							
| Focus | 
								void | 
									 
    This method is invoked when the  
								IsDropDownOpenProperty changes.
     | 
							
| GetBinding | 
								Binding | 
									
											 Inherited from TimePickerBase 
								 | 
							
| Get | 
								TimeSpan? | 
									
											 Inherited from TimePickerBase 
								 | 
							
| GetValueForTextBox | 
								string | |
| OnApplyTemplate | 
								void | 
									 
        When overridden in a derived class, is invoked whenever application code or internal processes call
         
								System.Windows.FrameworkElement.ApplyTemplate.
     | 
							
| OnPopUpClosed | 
								void | |
| OnPopUpOpened | 
								void | |
| On | 
								void | |
| Raise | 
								void | 
									
											 Inherited from TimePickerBase 
								 | 
							
| Set | 
								void | 
									
											 Inherited from TimePickerBase 
								 | 
							
| SetSelectedDateTime | 
								void | |
| WriteValueToTextBox | 
								void | 
									
											 Inherited from TimePickerBase 
								 | 
							
