Click or drag to resize
RadDateTimePicker Class
Represents a control that allows the user to select dates and times.
Inheritance Hierarchy

Namespace: Telerik.Windows.Controls
Assembly: Telerik.Windows.Controls.Input (in Telerik.Windows.Controls.Input.dll) Version: 2017.3.913.40 (2017.3.913.40)
Syntax
public class RadDateTimePicker : Control, 
	IThemable

The RadDateTimePicker type exposes the following members.

Constructors
  NameDescription
Public methodRadDateTimePicker
Initializes a new instance of the RadDateTimePicker class.
Top
Methods
  NameDescription
Public methodOnApplyTemplate
When overridden in a derived class, is invoked whenever application code or internal processes (such as a rebuilding layout pass) call System.Windows.Controls.Control.ApplyTemplate(). In simplest terms, this means the method is called just before a UI element displays in an application. For more information, see Remarks.
(Overrides FrameworkElementOnApplyTemplate.)
Protected methodOnCreateAutomationPeer
Create the DateTimePicker Automation Peer.
(Overrides UIElementOnCreateAutomationPeer.)
Protected methodOnGotFocus
Called before the GotFocus event occurs.
(Overrides FrameworkElementOnGotFocus(RoutedEventArgs).)
Protected methodOnGotKeyboardFocus
Raises the [E:GotKeyboardFocus] event.
(Overrides UIElementOnGotKeyboardFocus(KeyboardFocusChangedEventArgs).)
Protected methodOnInitialized
Raises the Initialized event. This method is invoked whenever IsInitialized is set to true internally.
(Overrides FrameworkElementOnInitialized(EventArgs).)
Protected methodOnIsKeyboardFocusWithinChanged
Called when the IsKeyboardFocusWithin property has changed.
(Overrides UIElementOnIsKeyboardFocusWithinChanged(DependencyPropertyChangedEventArgs).)
Protected methodOnKeyDown
Called before the KeyDown event occurs.
(Overrides UIElementOnKeyDown(KeyEventArgs).)
Protected methodOnLostFocus
Called before the LostFocus event occurs.
(Overrides UIElementOnLostFocus(RoutedEventArgs).)
Protected methodOnMouseEnter
Called before the MouseLeave event occurs.
(Overrides UIElementOnMouseEnter(MouseEventArgs).)
Protected methodOnMouseLeave
Called before the MouseLeave event occurs.
(Overrides UIElementOnMouseLeave(MouseEventArgs).)
Protected methodOnParseDateTime
Raises the ParseDateTimeValue routed event.
Protected methodOnSelectionChanged
Called when the SelectionChanged event occurs.
Protected methodProcessKey
Process with the selected key.
Public methodUpdateText
Called to update the DateTimeText property of RadDateTimePicker.
Top
Extension Methods
  NameDescription
Public Extension MethodChildrenOfTypeT
Gets all child elements recursively from the visual tree by given type.
(Defined by ChildrenOfTypeExtensions.)
Public Extension MethodClearIfNoBindingAndSet
Clears if set.
(Defined by CommonExtensions.)
Public Extension MethodClearIfSet
Clears the property if a value has been set.
(Defined by CommonExtensions.)
Public Extension MethodDeserializePrimitives
Deserializes some primitive properties of a control.
(Defined by SerializationExtensions.)
Public Extension MethodEnableLayoutRounding (Defined by LayoutRoundingHelperExtensions.)
Public Extension MethodFindChildByTypeT
Finds child element of the specified type. Uses breadth-first search.
(Defined by ChildrenOfTypeExtensions.)
Public Extension MethodGetAssociatedInlineUIContainer (Defined by ExtensionMethods.)
Public Extension MethodGetAssociatedLayoutBox (Defined by ExtensionMethods.)
Public Extension MethodGetBaseControlItemStatus
Gets a string that communicates the visual status of a Control.
(Defined by AutomationExtensions.)
Public Extension MethodGetBoundsRelativeTo
Gets the bounds relative to the current framework element.
(Defined by ExtensionMethods.)
Public Extension MethodGetGlobalMousePosition
(Defined by WindowHost.)
Public Extension MethodGetParents
Enumerates through element's parents in the visual tree.
(Defined by ParentOfTypeExtensions.)
Public Extension MethodGetVisualParentT
Searches up in the visual tree for parent element of the specified type.
(Defined by ParentOfTypeExtensions.)
Public Extension MethodIsAncestorOf(DependencyObject)Overloaded.
Determines whether the element is ancestor of the current UI element.
(Defined by ExtensionMethods.)
Public Extension MethodIsAncestorOf(DependencyObject)Overloaded.
Determines whether the element is an ancestor of the descendant.
(Defined by ParentOfTypeExtensions.)
Public Extension MethodIsKeyboardFocusWithin
Determines whether keyboard focus is within the current UI element.
(Defined by KeyboardHelper.)
Public Extension MethodIsLocalValueSet(DependencyProperty)Overloaded.
Determines whether the specified dependency property local value is set.
(Defined by DependencyObjectExtensions.)
Public Extension MethodIsLocalValueSet(DependencyProperty)Overloaded.
Determines whether the specified dependency property local value is set.
(Defined by CommonExtensions.)
Public Extension MethodParentOfTypeT
Gets the parent element from the visual tree by given type.
(Defined by ParentOfTypeExtensions.)
Public Extension MethodSerializePrimitives
Serializes some primitive properties of a control.
(Defined by SerializationExtensions.)
Public Extension MethodSetAssociatedLayoutBox (Defined by ExtensionMethods.)
Public Extension MethodSetIfDifferent
Sets the value of the dependencyProperty property if it's hasn't that value currently.
(Defined by CommonExtensions.)
Public Extension MethodSetLayout
Sets the location in the element in Canvas.
(Defined by CommonExtensions.)
Public Extension MethodSetLocation(Point)Overloaded.
Sets the location in the element in Canvas.
(Defined by CommonExtensions.)
Public Extension MethodSetLocation(Double, Double)Overloaded.
Sets the location in the element in Canvas.
(Defined by CommonExtensions.)
Public Extension MethodSlideInOverloaded.
Slides the given element into view. This is an extension method.
(Defined by CalendarAnimation.)
Public Extension MethodSlideIn(TimeSpan)Overloaded.
Slides the given element into view. This is an extension method.
(Defined by CalendarAnimation.)
Public Extension MethodSlideOutOverloaded.
Slides the given element out of view. This is an extension method.
(Defined by CalendarAnimation.)
Public Extension MethodSlideOut(TimeSpan)Overloaded.
Slides the given element out of view. This is an extension method.
(Defined by CalendarAnimation.)
Public Extension MethodTranslate(NullableDouble, NullableDouble, NullableDouble, NullableDouble, TimeSpan)Overloaded.
Translates the target element as requested by the parameters.
(Defined by CalendarAnimation.)
Public Extension MethodTranslate(NullableDouble, NullableDouble, NullableDouble, NullableDouble, TimeSpan, Action)Overloaded.
Translates the target element as requested by the parameters and executes the action request.
(Defined by CalendarAnimation.)
Top
Fields
  NameDescription
Public fieldStatic memberAllowParsingWithoutSeparatorProperty
Identifies the the AllowParsingWithoutSeparator dependency property.
Public fieldStatic memberBlackoutDatesDatesProperty
Gets the identifier for the Telerik.Windows.Controls.RadDateTimePicker.BlackoutDates dependency property.
Public fieldStatic memberCalendarStyleProperty
Gets the identifier for the Telerik.Windows.Controls.RadDateTimePicker.CalendarStyle dependency property.
Public fieldStatic memberClockItemsSourceProperty
Gets the identifier for the Telerik.Windows.Controls.RadDateTimePicker.ClockItemsSource dependency property.
Public fieldStatic memberClockStyleProperty
Gets the identifier for the Telerik.Windows.Controls.RadDateTimePicker.ClockStyle dependency property.
Public fieldStatic memberCultureProperty
Gets the identifier for the Telerik.Windows.Controls.RadDateTimePicker.Culture dependency property.
Public fieldStatic memberCurrentDateTimeTextProperty
Gets the identifier for the Telerik.Windows.Controls.RadDateTimePicker.CurrentDateTimeText dependency property.
Public fieldStatic memberDateSelectionModeProperty
Gets the identifier for the Telerik.Windows.Controls.RadDateTimePicker.DateSelectionMode dependency property.
Public fieldStatic memberDateTimeSelectedWithMouseEvent
Identifies the Telerik.Windows.Controls.RadDateTimePicker.DateTimeSelectedWithMouse routed event.
Public fieldStatic memberDateTimeTextProperty
Gets the identifier for the Telerik.Windows.Controls.RadDateTimePicker.DateTimeText dependency property.
Public fieldStatic memberDateTimeWatermarkContentProperty
Gets the identifier for the Telerik.Windows.Controls.RadDateTimePicker.DateTimeWatermarkContent dependency property.
Public fieldStatic memberDateTimeWatermarkTemplateProperty
Gets the identifier for the Telerik.Windows.Controls.RadDateTimePicker.DateTimeWatermarkTemplate dependency property.
Public fieldStatic memberDisplayDateEndProperty
Gets the identifier for the Telerik.Windows.Controls.RadDateTimePicker.DisplayDateEnd dependency property.
Public fieldStatic memberDisplayDateProperty
Gets the identifier for the Telerik.Windows.ControlsRadDateTimePicker..DisplayDate dependency property.
Public fieldStatic memberDisplayDateStartProperty
Gets the identifier for the Telerik.Windows.Controls.RadDateTimePicker.DisplayDateStart dependency property.
Public fieldStatic memberDisplayFormatProperty
Gets the identifier for the Telerik.Windows.Controls.RadDateTimePicker.DisplayFormat dependency property.
Public fieldStatic memberEndTimeProperty
Gets the identifier for the Telerik.Windows.Controls.RadDateTimePicker.EndTimeProperty dependency property.
Public fieldStatic memberErrorTooltipContentProperty
Gets the identifier for the Telerik.Windows.Controls.RadDateTimePicker.ErrorTooltipContent dependency property.
Public fieldStatic memberInputModeProperty
Gets the identifier for the Telerik.Windows.Controls.RadDateTimePicker.InputMode dependency property.
Public fieldStatic memberIsDownOpenProperty
Gets the identifier for the Telerik.Windows.Controls.RadDateTimePicker.IsDropDownOpen dependency property.
Public fieldStatic memberIsInputRestrictedToSelectableDatesProperty
Gets the identifier for the Telerik.Windows.Controls.RadDateTimePicker.IsInputRestrictedToSelectableDates dependency property.
Public fieldStatic memberIsReadOnlyProperty
Gets the identifier for the Telerik.Windows.Controls.RadDateTimePicker.IsReadOnly dependency property.
Public fieldStatic memberIsTooltipEnabledProperty
Gets the identifier for the Telerik.Windows.Controls.RadDateTimePicker.IsTooltipEnabled dependency property.
Public fieldStatic memberIsTooltipOpenProperty
Gets the identifier for the Telerik.Windows.Controls.RadDateTimePicker.IsTooltipOpen dependency property.
Public fieldStatic memberParseDateTimeValueEvent
Identifies the Telerik.Windows.Controls.RadDateTimePicker.ParseDateTimeValue routed event.
Public fieldStatic memberParseExactProperty
Identifies the the ParseExact dependency property.
Public fieldStatic memberParseModeProperty
Identifies the the Telerik.Windows.Controls.RadDateTimePicker.ParseMode dependency property.
Public fieldStatic memberSelectableDateEndProperty
Gets the identifier for the Telerik.Windows.Controls.RadDateTimePicker.SelectableDateEnd dependency property.
Public fieldStatic memberSelectableDateStartProperty
Gets the identifier for the Telerik.Windows.Controls.RadDateTimePicker.SelectableDateStart dependency property.
Public fieldStatic memberSelectedDateProperty
Gets the identifier for the Telerik.Windows.Controls.RadDateTimePicker.SelectedDate dependency property.
Public fieldStatic memberSelectedTimeProperty
Gets the identifier for the Telerik.Windows.Controls.RadDateTimePicker.SelectedTime dependency property.
Public fieldStatic memberSelectedValueProperty
Gets the identifier for the Telerik.Windows.Controls.RadDateTimePicker.SelectedValue dependency property.
Public fieldStatic memberSelectionChangedEvent
Identifies the Telerik.Windows.Controls.RadDateTimePicker.SelectionChanged routed event.
Public fieldStatic memberSelectionOnFocusProperty
Gets the identifier for the Telerik.Windows.Controls.RadDateTimePicker.SelectionOnFocus dependency property.
Public fieldStatic memberStartTimeProperty
Gets the identifier for the Telerik.Windows.Controls.RadDateTimePicker.StartTimeProperty dependency property.
Public fieldStatic memberTextAlignmentProperty
Gets the identifier for the Telerik.Windows.Controls.RadDateTimePicker.TextAlignment dependency property.
Public fieldStatic memberTimeIntervalProperty
Gets the identifier for the Telerik.Windows.Controls.RadDateTimePicker.TimeIntervalProperty dependency property.
Public fieldStatic memberTodayButtonContentProperty
Gets the identifier for the TodayButtonContent dependency property.
Public fieldStatic memberTodayButtonVisibilityProperty
Gets the identifier for the TodayButtonVisibility dependency property.
Public fieldStatic memberTooltipContentProperty
Gets the identifier for the Telerik.Windows.Controls.RadDateTimePicker.TooltipContent dependency property.
Public fieldStatic memberTooltipTemplateProperty
Gets the identifier for the Telerik.Windows.Controls.RadDateTimePicker.TooltipTemplate dependency property.
Top
Properties
  NameDescription
Public propertyAllowParsingWithoutSeparator
Gets or sets the AllowParsingWithoutSeparator property.
Public propertyBlackoutDates
Gets or sets a list of dates that cannot be selected. This is a dependency property.
Public propertyCalendarStyle
Gets or sets the style of the Calendar for picking date. This is a dependency property.
Public propertyClockItemsSource
Gets or sets a collection of TimeSpan used to generate the content of the Clock. This is a dependency property.
Public propertyClockStyle
Gets or sets the style of the Clock for picking time. This is a dependency property.
Public propertyCulture
Gets the culture used to provide the DateTime operations. This is a dependency property.
Public propertyCurrentDateTimeText
Gets or sets the current text in the RadDateTimePicker control. This is a dependency property.
Public propertyDateSelectionMode
Gets or sets DateSelectionMode that specifies whether the calendar in RadDateTimePicker will select Days, Months or Years. This is a dependency property.
Public propertyDateTimeText
Gets or sets the text in the RadDateTimePicker control. This is a dependency property.
Public propertyDateTimeWatermarkContent
Gets or sets the content of the RadDateTimePicker control when there is no entered text. This is a dependency property.
Public propertyDateTimeWatermarkTemplate
Gets or sets the System.Windows.DataTemplate used to display DateTimeWatermark when there is no selection. This is a dependency property.
Public propertyDisplayDate
Gets or sets the date to display in the RadDateTimePicker. If no display date was set, then the SelectedDate is used. This is a dependency property.
Public propertyDisplayDateEnd
Gets or sets the last date to be displayed. This is a dependency property.
Public propertyDisplayDateStart
Gets or sets the first date to be displayed. This is a dependency property.
Public propertyDisplayFormat
Gets or sets the format that is used to display the selected date. This is a dependency property.
Public propertyEndTime
Gets or sets the end time of Telerik.Windows.Controls.RadDateTimePicker control.
Public propertyErrorTooltipContent
Gets or sets the content of the Tooltip when parsing the input text has failed. This is a dependency property.
Public propertyInputMode
Gets or sets InputMode that specifies whether the RadDateTimePicker will allow Time input, Date input or both. This is a dependency property.
Public propertyIsDropDownOpen
Gets or sets a value that indicates whether the DropDown button is open or closed. This is a dependency property.
Public propertyIsInputRestrictedToSelectableDates
Gets or sets value indicating whether the input should be restricted by the SelectableDateStart, SelectableDateEnd and BlackoutDates. This is a dependency property.
Public propertyIsReadOnly
Gets or sets a value that indicates whether this instance of RadDateTimePicker is read only. This is a dependency property.
Public propertyIsTooltipEnabled
Gets or sets a value that indicates whether the preview ToolTip is enabled. This is a dependency property.
Public propertyIsTooltipOpen
Gets or sets a value that indicates whether the Tooltip is open or closed. This is a dependency property.
Public propertyParseExact
Gets or sets the ParseExact property. When set to the it is used the DateTime.TryParseExact() method for parsing the input.
Public propertyParseMode
Gets or sets the parsing mode of Telerik.Windows.Controls.RadDateTimePicker control.
Public propertySelectableDateEnd
Gets or sets the last date that can be selected. This is a dependency property.
Public propertySelectableDateStart
Gets or sets the first date that can be selected. This is a dependency property.
Public propertySelectedDate
Gets or sets the Date part of the currently selected DateTime value. This is a dependency property.
Public propertySelectedTime
Gets or sets the Time part of the currently selected DateTime value This is a dependency property.
Public propertySelectedValue
Gets or sets the currently selected DateTime value. This is a dependency property.
Public propertySelectionOnFocus
Gets or sets the SelectionOnFocus of the TextBox inside the RadDateTimePicker. This is a dependency property.
Public propertyStartTime
Gets or sets the start time of Telerik.Windows.Controls.RadDateTimePicker control.
Public propertyTextAlignment
Gets or sets the TextAlignment of the TextBox inside the RadDateTimePicker. This is a dependency property.
Public propertyTimeInterval
Gets or sets the time interval that will be used when generating the Time selection (clock, RadClock, etc.) items.
Public propertyTodayButtonContent
Gets or sets the content of the button that selects the current DateTime. This is a dependency property.
Public propertyTodayButtonVisibility
Gets or sets the Visibility of RadDateTimePicker control's Today button.
Public propertyTooltipContent
Gets or sets the content of the Tooltip. RadDateTimePicker sets this property automatically when the user types in its TextBox. This is a dependency property.
Public propertyTooltipTemplate
Gets or sets a data template to be used for displaying the TooltipContent. This is a dependency property.
Top
Events
  NameDescription
Public eventDropDownClosed
Occurs when the DropDownButton is closed.
Public eventDropDownOpened
Occurs when the DropDownButton is opened.
Public eventParseDateTimeValue
Occurs when the input text is parsed to DateTime value. This happens when DateTimeText property has changed.
Public eventSelectionChanged
Occurs when a date or time is selected.
Top
See Also