Class RadDateTimePicker
Represents a control that allows the user to select dates and times.
Inheritance
Namespace: Telerik.Windows.Controls
Assembly: Telerik.Windows.Controls.Input.dll
Syntax
[TelerikToolboxCategory("Input")]
public class RadDateTimePicker : Control, IThemable
Constructors
RadDateTimePicker()
Initializes a new instance of the RadDateTimePicker class.
Declaration
public RadDateTimePicker()
Fields
AllowParsingWithoutSeparatorProperty
Identifies the the AllowParsingWithoutSeparator dependency property.
Declaration
public static readonly DependencyProperty AllowParsingWithoutSeparatorProperty
Field Value
System.Windows.DependencyProperty
|
BlackoutDatesDatesProperty
Gets the identifier for the Telerik.Windows.Controls.RadDateTimePicker.BlackoutDates dependency property.
Declaration
public static readonly DependencyProperty BlackoutDatesDatesProperty
Field Value
System.Windows.DependencyProperty
The identifier for the Telerik.Windows.Controls.RadDateTimePicker.BlackoutDates dependency property. |
CalendarStyleProperty
Gets the identifier for the Telerik.Windows.Controls.RadDateTimePicker.CalendarStyle dependency property.
Declaration
public static readonly DependencyProperty CalendarStyleProperty
Field Value
System.Windows.DependencyProperty
The identifier for the Telerik.Windows.Controls.RadDateTimePicker.CalendarStyle dependency dependency property. |
ClockItemsSourceProperty
Gets the identifier for the Telerik.Windows.Controls.RadDateTimePicker.ClockItemsSource dependency property.
Declaration
public static readonly DependencyProperty ClockItemsSourceProperty
Field Value
System.Windows.DependencyProperty
The identifier for the Telerik.Windows.Controls.RadDateTimePicker.ClockItemsSource dependency dependency property. |
ClockStyleProperty
Gets the identifier for the Telerik.Windows.Controls.RadDateTimePicker.ClockStyle dependency property.
Declaration
public static readonly DependencyProperty ClockStyleProperty
Field Value
System.Windows.DependencyProperty
The identifier for the Telerik.Windows.Controls.RadDateTimePicker.ClockStyle dependency dependency property. |
CultureProperty
Gets the identifier for the Telerik.Windows.Controls.RadDateTimePicker.Culture dependency property.
Declaration
public static readonly DependencyProperty CultureProperty
Field Value
System.Windows.DependencyProperty
The identifier for the Telerik.Windows.Controls.RadDateTimePicker.Culture dependency dependency property. |
CurrentDateTimeTextProperty
Gets the identifier for the Telerik.Windows.Controls.RadDateTimePicker.CurrentDateTimeText dependency property.
Declaration
public static readonly DependencyProperty CurrentDateTimeTextProperty
Field Value
System.Windows.DependencyProperty
The identifier for the Telerik.Windows.Controls.RadDateTimePicker.CurrentDateTimeText dependency dependency property. |
DateSelectionModeProperty
Gets the identifier for the Telerik.Windows.Controls.RadDateTimePicker.DateSelectionMode dependency property.
Declaration
public static readonly DependencyProperty DateSelectionModeProperty
Field Value
System.Windows.DependencyProperty
The identifier for the Telerik.Windows.Controls.RadDateTimePicker.DateSelectionMode dependency dependency property. |
DateTimeSelectedWithMouseEvent
Identifies the Telerik.Windows.Controls.RadDateTimePicker.DateTimeSelectedWithMouse routed event.
Declaration
public static readonly RoutedEvent DateTimeSelectedWithMouseEvent
Field Value
RoutedEvent
The identifier for the Telerik.Windows.Controls.RadDateTimePicker.DateTimeSelectedWithMouse routed event. |
DateTimeTextProperty
Gets the identifier for the Telerik.Windows.Controls.RadDateTimePicker.DateTimeText dependency property.
Declaration
public static readonly DependencyProperty DateTimeTextProperty
Field Value
System.Windows.DependencyProperty
The identifier for the Telerik.Windows.Controls.RadDateTimePicker.DateTimeText dependency dependency property. |
DateTimeWatermarkContentProperty
Gets the identifier for the Telerik.Windows.Controls.RadDateTimePicker.DateTimeWatermarkContent dependency property.
Declaration
public static readonly DependencyProperty DateTimeWatermarkContentProperty
Field Value
System.Windows.DependencyProperty
The identifier for the Telerik.Windows.Controls.RadDateTimePicker.DateTimeWatermarkContent dependency dependency property. |
DateTimeWatermarkTemplateProperty
Gets the identifier for the Telerik.Windows.Controls.RadDateTimePicker.DateTimeWatermarkTemplate dependency property.
Declaration
public static readonly DependencyProperty DateTimeWatermarkTemplateProperty
Field Value
System.Windows.DependencyProperty
The identifier for the Telerik.Windows.Controls.RadDateTimePicker.DateTimeWatermarkTemplate dependency dependency property. |
DisplayDateEndProperty
Gets the identifier for the Telerik.Windows.Controls.RadDateTimePicker.DisplayDateEnd dependency property.
Declaration
public static readonly DependencyProperty DisplayDateEndProperty
Field Value
System.Windows.DependencyProperty
The identifier for the Telerik.Windows.Controls.RadDateTimePicker.DisplayDateEnd dependency dependency property. |
DisplayDateProperty
Gets the identifier for the Telerik.Windows.ControlsRadDateTimePicker..DisplayDate dependency property.
Declaration
public static readonly DependencyProperty DisplayDateProperty
Field Value
System.Windows.DependencyProperty
The identifier for the Telerik.Windows.Controls.RadDateTimePicker.DisplayDate dependency dependency property. |
DisplayDateStartProperty
Gets the identifier for the Telerik.Windows.Controls.RadDateTimePicker.DisplayDateStart dependency property.
Declaration
public static readonly DependencyProperty DisplayDateStartProperty
Field Value
System.Windows.DependencyProperty
The identifier for the Telerik.Windows.Controls.RadDateTimePicker.DisplayDateStart dependency dependency property. |
DisplayFormatProperty
Gets the identifier for the Telerik.Windows.Controls.RadDateTimePicker.DisplayFormat dependency property.
Declaration
public static readonly DependencyProperty DisplayFormatProperty
Field Value
System.Windows.DependencyProperty
The identifier for the Telerik.Windows.Controls.RadDateTimePicker.DisplayFormat dependency dependency property. |
EndTimeProperty
Gets the identifier for the Telerik.Windows.Controls.RadDateTimePicker.EndTimeProperty dependency property.
Declaration
public static readonly DependencyProperty EndTimeProperty
Field Value
System.Windows.DependencyProperty
The identifier for the Telerik.Windows.Controls.RadDateTimePicker.EndTimeProperty dependency dependency property. |
ErrorTooltipContentProperty
Gets the identifier for the Telerik.Windows.Controls.RadDateTimePicker.ErrorTooltipContent dependency property.
Declaration
public static readonly DependencyProperty ErrorTooltipContentProperty
Field Value
System.Windows.DependencyProperty
The identifier for the Telerik.Windows.Controls.RadDateTimePicker.ErrorTooltipContent dependency dependency property. |
InputModeProperty
Gets the identifier for the Telerik.Windows.Controls.RadDateTimePicker.InputMode dependency property.
Declaration
public static readonly DependencyProperty InputModeProperty
Field Value
System.Windows.DependencyProperty
The identifier for the Telerik.Windows.Controls.RadDateTimePicker.InputMode dependency dependency property. |
IsDownOpenProperty
Gets the identifier for the Telerik.Windows.Controls.RadDateTimePicker.IsDropDownOpen dependency property.
Declaration
public static readonly DependencyProperty IsDownOpenProperty
Field Value
System.Windows.DependencyProperty
The identifier for the Telerik.Windows.Controls.RadDateTimePicker.IsDropDownOpen dependency dependency property. |
IsInputRestrictedToSelectableDatesProperty
Gets the identifier for the Telerik.Windows.Controls.RadDateTimePicker.IsInputRestrictedToSelectableDates dependency property.
Declaration
public static readonly DependencyProperty IsInputRestrictedToSelectableDatesProperty
Field Value
System.Windows.DependencyProperty
The identifier for the Telerik.Windows.Controls.RadDateTimePicker.IsInputRestrictedToSelectableDates dependency dependency property. |
IsReadOnlyProperty
Gets the identifier for the Telerik.Windows.Controls.RadDateTimePicker.IsReadOnly dependency property.
Declaration
public static readonly DependencyProperty IsReadOnlyProperty
Field Value
System.Windows.DependencyProperty
The identifier for the Telerik.Windows.Controls.RadDateTimePicker.IsReadOnly dependency dependency property. |
IsTooltipEnabledProperty
Gets the identifier for the Telerik.Windows.Controls.RadDateTimePicker.IsTooltipEnabled dependency property.
Declaration
public static readonly DependencyProperty IsTooltipEnabledProperty
Field Value
System.Windows.DependencyProperty
The identifier for the Telerik.Windows.Controls.RadDateTimePicker.IsTooltipEnabled dependency dependency property. |
IsTooltipOpenProperty
Gets the identifier for the Telerik.Windows.Controls.RadDateTimePicker.IsTooltipOpen dependency property.
Declaration
public static readonly DependencyProperty IsTooltipOpenProperty
Field Value
System.Windows.DependencyProperty
The identifier for the Telerik.Windows.Controls.RadDateTimePicker.IsTooltipOpen dependency dependency property. |
OpenDropDownOnFocusProperty
Identifies the OpenDropDownOnFocus dependency property.
Declaration
public static readonly DependencyProperty OpenDropDownOnFocusProperty
Field Value
System.Windows.DependencyProperty
|
ParseDateTimeValueEvent
Identifies the Telerik.Windows.Controls.RadDateTimePicker.ParseDateTimeValue routed event.
Declaration
public static readonly RoutedEvent ParseDateTimeValueEvent
Field Value
RoutedEvent
The identifier for the Telerik.Windows.Controls.RadDateTimePicker.ParseDateTimeValue routed event. |
ParseExactProperty
Identifies the the ParseExact dependency property.
Declaration
public static readonly DependencyProperty ParseExactProperty
Field Value
System.Windows.DependencyProperty
|
ParseModeProperty
Identifies the the Telerik.Windows.Controls.RadDateTimePicker.ParseMode dependency property.
Declaration
public static readonly DependencyProperty ParseModeProperty
Field Value
System.Windows.DependencyProperty
|
SelectableDateEndProperty
Gets the identifier for the Telerik.Windows.Controls.RadDateTimePicker.SelectableDateEnd dependency property.
Declaration
public static readonly DependencyProperty SelectableDateEndProperty
Field Value
System.Windows.DependencyProperty
The identifier for the Telerik.Windows.Controls.RadDateTimePicker.SelectableDateEnd dependency dependency property. |
SelectableDateStartProperty
Gets the identifier for the Telerik.Windows.Controls.RadDateTimePicker.SelectableDateStart dependency property.
Declaration
public static readonly DependencyProperty SelectableDateStartProperty
Field Value
System.Windows.DependencyProperty
The identifier for the Telerik.Windows.Controls.RadDateTimePicker.SelectableDateStart dependency dependency property. |
SelectedDateProperty
Gets the identifier for the Telerik.Windows.Controls.RadDateTimePicker.SelectedDate dependency property.
Declaration
public static readonly DependencyProperty SelectedDateProperty
Field Value
System.Windows.DependencyProperty
The identifier for the Telerik.Windows.Controls.RadDateTimePicker.SelectedDate dependency dependency property. |
SelectedTimeProperty
Gets the identifier for the Telerik.Windows.Controls.RadDateTimePicker.SelectedTime dependency property.
Declaration
public static readonly DependencyProperty SelectedTimeProperty
Field Value
System.Windows.DependencyProperty
The identifier for the Telerik.Windows.Controls.RadDateTimePicker.SelectedTime dependency dependency property. |
SelectedValueProperty
Gets the identifier for the Telerik.Windows.Controls.RadDateTimePicker.SelectedValue dependency property.
Declaration
public static readonly DependencyProperty SelectedValueProperty
Field Value
System.Windows.DependencyProperty
The identifier for the Telerik.Windows.Controls.RadDateTimePicker.SelectedValue dependency dependency property. |
SelectionChangedEvent
Identifies the Telerik.Windows.Controls.RadDateTimePicker.SelectionChanged routed event.
Declaration
public static readonly RoutedEvent SelectionChangedEvent
Field Value
RoutedEvent
The identifier for the Telerik.Windows.Controls.RadDateTimePicker.SelectionChanged routed event. |
SelectionOnFocusProperty
Gets the identifier for the Telerik.Windows.Controls.RadDateTimePicker.SelectionOnFocus dependency property.
Declaration
public static readonly DependencyProperty SelectionOnFocusProperty
Field Value
System.Windows.DependencyProperty
The identifier for the Telerik.Windows.Controls.RadDateTimePicker.SelectionOnFocus dependency dependency property. |
StartTimeProperty
Gets the identifier for the Telerik.Windows.Controls.RadDateTimePicker.StartTimeProperty dependency property.
Declaration
public static readonly DependencyProperty StartTimeProperty
Field Value
System.Windows.DependencyProperty
The identifier for the Telerik.Windows.Controls.RadDateTimePicker.StartTimeProperty dependency dependency property. |
TextAlignmentProperty
Gets the identifier for the Telerik.Windows.Controls.RadDateTimePicker.TextAlignment dependency property.
Declaration
public static readonly DependencyProperty TextAlignmentProperty
Field Value
System.Windows.DependencyProperty
The identifier for the Telerik.Windows.Controls.RadDateTimePicker.TextAlignment dependency dependency property. |
TimeIntervalProperty
Gets the identifier for the Telerik.Windows.Controls.RadDateTimePicker.TimeIntervalProperty dependency property.
Declaration
public static readonly DependencyProperty TimeIntervalProperty
Field Value
System.Windows.DependencyProperty
The identifier for the Telerik.Windows.Controls.RadDateTimePicker.TimeIntervalProperty dependency dependency property. |
TodayButtonContentProperty
Gets the identifier for the TodayButtonContent dependency property.
Declaration
public static readonly DependencyProperty TodayButtonContentProperty
Field Value
System.Windows.DependencyProperty
The identifier for the TodayButtonContent dependency dependency property. |
TodayButtonVisibilityProperty
Gets the identifier for the TodayButtonVisibility dependency property.
Declaration
public static readonly DependencyProperty TodayButtonVisibilityProperty
Field Value
System.Windows.DependencyProperty
The identifier for the TodayButtonVisibility dependency dependency property. |
TooltipContentProperty
Gets the identifier for the Telerik.Windows.Controls.RadDateTimePicker.TooltipContent dependency property.
Declaration
public static readonly DependencyProperty TooltipContentProperty
Field Value
System.Windows.DependencyProperty
The identifier for the Telerik.Windows.Controls.RadDateTimePicker.TooltipContent dependency dependency property. |
TooltipTemplateProperty
Gets the identifier for the Telerik.Windows.Controls.RadDateTimePicker.TooltipTemplate dependency property.
Declaration
public static readonly DependencyProperty TooltipTemplateProperty
Field Value
System.Windows.DependencyProperty
The identifier for the Telerik.Windows.Controls.RadDateTimePicker.TooltipTemplate dependency dependency property. |
Properties
AllowParsingWithoutSeparator
Gets or sets the AllowParsingWithoutSeparator property.
Declaration
public bool AllowParsingWithoutSeparator { get; set; }
Property Value
System.Boolean
|
BlackoutDates
Gets or sets a list of dates that cannot be selected. This is a dependency property.
Declaration
public IEnumerable<DateTime> BlackoutDates { get; set; }
Property Value
System.Collections.Generic.IEnumerable<System.DateTime>
|
Remarks
Please refer to BlackoutDates for more information on the property.
See Also
CalendarStyle
Gets or sets the style of the Calendar for picking date. This is a dependency property.
Declaration
public Style CalendarStyle { get; set; }
Property Value
System.Windows.Style
The Style of the Calendar. |
ClockItemsSource
Gets or sets a collection of TimeSpan used to generate the content of the Clock. This is a dependency property.
Declaration
public IEnumerable<TimeSpan> ClockItemsSource { get; set; }
Property Value
System.Collections.Generic.IEnumerable<System.TimeSpan>
|
ClockStyle
Gets or sets the style of the Clock for picking time. This is a dependency property.
Declaration
public Style ClockStyle { get; set; }
Property Value
System.Windows.Style
The Style of the Clock. |
Culture
Gets the culture used to provide the DateTime operations. This is a dependency property.
Declaration
public CultureInfo Culture { get; set; }
Property Value
System.Globalization.CultureInfo
|
CurrentDateTimeText
Gets or sets the current text in the RadDateTimePicker control. This is a dependency property.
Declaration
public string CurrentDateTimeText { get; set; }
Property Value
System.String
|
Remarks
The CurrentDateTimeText property changes while user is typing a text in the textbox. There is a difference between DateTimeText and CurrentDateTimeText. DateTimeText property changes when user had already entered a text. For example, this happens when the textbox has lost the focus. CurrentDateTimeText property changes every time when user is typing in the textbox.
DateSelectionMode
Gets or sets DateSelectionMode that specifies whether the calendar in RadDateTimePicker will select Days, Months or Years. This is a dependency property.
Declaration
public DateSelectionMode DateSelectionMode { get; set; }
Property Value
DateSelectionMode
The DateSelectionMode of the calendar. |
DateTimeText
Gets or sets the text in the RadDateTimePicker control. This is a dependency property.
Declaration
public string DateTimeText { get; set; }
Property Value
System.String
|
Remarks
The DateTimeText property changes while user has typed a text in the textbox. There is a difference between DateTimeText and CurrentDateTimeText. DateTimeText property changes when user had already entered a text. For example, this happens when the textbox has lost the focus. CurrentDateTimeText property changes every time when user is typing in the textbox.
DateTimeWatermarkContent
Gets or sets the content of the RadDateTimePicker control when there is no entered text. This is a dependency property.
Declaration
public object DateTimeWatermarkContent { get; set; }
Property Value
System.Object
|
DateTimeWatermarkTemplate
Gets or sets the System.Windows.DataTemplate used to display DateTimeWatermark when there is no selection. This is a dependency property.
Declaration
public DataTemplate DateTimeWatermarkTemplate { get; set; }
Property Value
System.Windows.DataTemplate
|
DisplayDate
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.
Declaration
public DateTime DisplayDate { get; set; }
Property Value
System.DateTime
|
Remarks
The DisplayDateStart and DisplayDateEnd properties defined a range within which the DisplayDate can be set, i.e. a range within which the user can navigate. If you try to set a DisplayDate outside the defined range an ArgumentOutOfRangeException would be thrown. Similarly, setting a display range that excludes the current DisplayDate would throw an exception.
Please note that unlike the other date properties DisplayDate cannot be set to null.
See Also
DisplayDateEnd
Gets or sets the last date to be displayed. This is a dependency property.
Declaration
public Nullable<DateTime> DisplayDateEnd { get; set; }
Property Value
System.Nullable<System.DateTime>
|
Remarks
Please refer to DisplayDateEnd for more information on the property.
See Also
DisplayDateStart
Gets or sets the first date to be displayed. This is a dependency property.
Declaration
public Nullable<DateTime> DisplayDateStart { get; set; }
Property Value
System.Nullable<System.DateTime>
|
Remarks
Please refer to DisplayDateStart for more information on the property.
See Also
DisplayFormat
Gets or sets the format that is used to display the selected date. This is a dependency property.
Declaration
public DateTimePickerFormat DisplayFormat { get; set; }
Property Value
DateTimePickerFormat
|
EndTime
Gets or sets the end time of Telerik.Windows.Controls.RadDateTimePicker control.
Declaration
public TimeSpan EndTime { get; set; }
Property Value
System.TimeSpan
The TimeSpan that represents end time. |
Remarks
The TimeInterval property will be used when generating the Time selection (clock, RadClock, etc.) items. Please note that it will not be used if InputMode is set to DatePicker.
ErrorTooltipContent
Gets or sets the content of the Tooltip when parsing the input text has failed. This is a dependency property.
Declaration
public object ErrorTooltipContent { get; set; }
Property Value
System.Object
|
InputMode
Gets or sets InputMode that specifies whether the RadDateTimePicker will allow Time input, Date input or both. This is a dependency property.
Declaration
public InputMode InputMode { get; set; }
Property Value
InputMode
The InputMode of the RadDateTimePicker. |
Remarks
The default is both - Date and Time input.
IsDropDownOpen
Gets or sets a value that indicates whether the DropDown button is open or closed. This is a dependency property.
Declaration
public bool IsDropDownOpen { get; set; }
Property Value
System.Boolean
|
IsInputRestrictedToSelectableDates
Gets or sets value indicating whether the input should be restricted by the SelectableDateStart, SelectableDateEnd and BlackoutDates. This is a dependency property.
Declaration
public bool IsInputRestrictedToSelectableDates { get; set; }
Property Value
System.Boolean
|
IsReadOnly
Gets or sets a value that indicates whether this instance of RadDateTimePicker is read only. This is a dependency property.
Declaration
public bool IsReadOnly { get; set; }
Property Value
System.Boolean
|
IsTooltipEnabled
Gets or sets a value that indicates whether the preview ToolTip is enabled. This is a dependency property.
Declaration
public bool IsTooltipEnabled { get; set; }
Property Value
System.Boolean
|
Remarks
When IsTooltipEnabled is true, ToolTip can be open or closed. When is false - ToolTip is always closed.
IsTooltipOpen
Gets or sets a value that indicates whether the Tooltip is open or closed. This is a dependency property.
Declaration
public bool IsTooltipOpen { get; set; }
Property Value
System.Boolean
|
OpenDropDownOnFocus
Gets or sets a value that specifies whether the dropdown should be opened when the control gets the focus, or not. This is a dependency property.
Declaration
public bool OpenDropDownOnFocus { get; set; }
Property Value
System.Boolean
|
ParseExact
Gets or sets the ParseExact property. When set to the it is used the DateTime.TryParseExact() method for parsing the input.
Declaration
public bool ParseExact { get; set; }
Property Value
System.Boolean
|
ParseMode
Gets or sets the parsing mode of Telerik.Windows.Controls.RadDateTimePicker control.
Declaration
public ParseMode ParseMode { get; set; }
Property Value
ParseMode
|
SelectableDateEnd
Gets or sets the last date that can be selected. This is a dependency property.
Declaration
public Nullable<DateTime> SelectableDateEnd { get; set; }
Property Value
System.Nullable<System.DateTime>
|
Remarks
Please refer to SelectableDateEnd for more information on the property.
See Also
SelectableDateStart
Gets or sets the first date that can be selected. This is a dependency property.
Declaration
public Nullable<DateTime> SelectableDateStart { get; set; }
Property Value
System.Nullable<System.DateTime>
|
Remarks
Please refer to SelectableDateStart for more information on the property.
See Also
SelectedDate
Gets or sets the Date part of the currently selected DateTime value. This is a dependency property.
Declaration
public Nullable<DateTime> SelectedDate { get; set; }
Property Value
System.Nullable<System.DateTime>
|
SelectedTime
Gets or sets the Time part of the currently selected DateTime value This is a dependency property.
Declaration
public Nullable<TimeSpan> SelectedTime { get; set; }
Property Value
System.Nullable<System.TimeSpan>
|
SelectedValue
Gets or sets the currently selected DateTime value. This is a dependency property.
Declaration
public Nullable<DateTime> SelectedValue { get; set; }
Property Value
System.Nullable<System.DateTime>
|
SelectionOnFocus
Gets or sets the SelectionOnFocus of the TextBox inside the RadDateTimePicker. This is a dependency property.
Declaration
public SelectionOnFocus SelectionOnFocus { get; set; }
Property Value
SelectionOnFocus
The SelectionOnFocus of the TextBox. |
StartTime
Gets or sets the start time of Telerik.Windows.Controls.RadDateTimePicker control.
Declaration
public TimeSpan StartTime { get; set; }
Property Value
System.TimeSpan
The TimeSpan that represents start time. |
Remarks
The TimeInterval property will be used when generating the Time selection (clock, RadClock, etc.) items. Please note that it will not be used if InputMode is set to DatePicker.
TextAlignment
Gets or sets the TextAlignment of the TextBox inside the RadDateTimePicker. This is a dependency property.
Declaration
public TextAlignment TextAlignment { get; set; }
Property Value
System.Windows.TextAlignment
The TextAlignment of the TextBox. |
TimeInterval
Gets or sets the time interval that will be used when generating the Time selection (clock, RadClock, etc.) items.
Declaration
public TimeSpan TimeInterval { get; set; }
Property Value
System.TimeSpan
The TimeSpan that represents the time interval. |
Remarks
Please note that it will not be used if InputMode is set to DatePicker.
TodayButtonContent
Gets or sets the content of the button that selects the current System.DateTime. This is a dependency property.
Declaration
public object TodayButtonContent { get; set; }
Property Value
System.Object
|
TodayButtonVisibility
Gets or sets the System.Windows.Visibility of RadDateTimePicker control's Today button.
Declaration
public Visibility TodayButtonVisibility { get; set; }
Property Value
System.Windows.Visibility
|
TooltipContent
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.
Declaration
public object TooltipContent { get; set; }
Property Value
System.Object
|
TooltipTemplate
Gets or sets a data template to be used for displaying the TooltipContent. This is a dependency property.
Declaration
public DataTemplate TooltipTemplate { get; set; }
Property Value
System.Windows.DataTemplate
|
Methods
add_ParseDateTimeValue(RadDateTimePicker.ParseDateTimeEventHandler)
Declaration
public void add_ParseDateTimeValue(RadDateTimePicker.ParseDateTimeEventHandler value)
Parameters
RadDateTimePicker.ParseDateTimeEventHandler
value
|
add_SelectionChanged(SelectionChangedEventHandler)
Declaration
public void add_SelectionChanged(SelectionChangedEventHandler value)
Parameters
SelectionChangedEventHandler
value
|
OnApplyTemplate()
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.
Declaration
public override void OnApplyTemplate()
OnCreateAutomationPeer()
Create the DateTimePicker Automation Peer.
Declaration
protected override AutomationPeer OnCreateAutomationPeer()
Returns
System.Windows.Automation.Peers.AutomationPeer
|
OnGotFocus(RoutedEventArgs)
Called before the System.Windows.UIElement.GotFocus event occurs.
Declaration
protected override void OnGotFocus(RoutedEventArgs e)
Parameters
System.Windows.RoutedEventArgs
e
The data for the event. |
OnKeyDown(KeyEventArgs)
Called before the System.Windows.UIElement.KeyDown event occurs.
Declaration
protected override void OnKeyDown(KeyEventArgs e)
Parameters
System.Windows.Input.KeyEventArgs
e
The data for the event. |
OnLostFocus(RoutedEventArgs)
Called before the System.Windows.UIElement.LostFocus event occurs.
Declaration
protected override void OnLostFocus(RoutedEventArgs e)
Parameters
System.Windows.RoutedEventArgs
e
The data for the event. |
OnMouseEnter(MouseEventArgs)
Called before the System.Windows.UIElement.MouseLeave event occurs.
Declaration
protected override void OnMouseEnter(MouseEventArgs e)
Parameters
System.Windows.Input.MouseEventArgs
e
The data for the event. |
OnMouseLeave(MouseEventArgs)
Called before the System.Windows.UIElement.MouseLeave event occurs.
Declaration
protected override void OnMouseLeave(MouseEventArgs e)
Parameters
System.Windows.Input.MouseEventArgs
e
The data for the event. |
OnMouseWheel(MouseWheelEventArgs)
Declaration
protected override void OnMouseWheel(MouseWheelEventArgs e)
Parameters
System.Windows.Input.MouseWheelEventArgs
e
|
OnParseDateTime(ParseDateTimeEventArgs)
Raises the ParseDateTimeValue routed event.
Declaration
protected virtual void OnParseDateTime(ParseDateTimeEventArgs e)
Parameters
ParseDateTimeEventArgs
e
The data for the routed event. |
OnSelectionChanged(SelectionChangedEventArgs)
Called when the SelectionChanged event occurs.
Declaration
protected virtual void OnSelectionChanged(SelectionChangedEventArgs e)
Parameters
SelectionChangedEventArgs
e
The data for the event. |
ProcessKey(KeyEventArgs)
Process with the selected key.
Declaration
protected virtual void ProcessKey(KeyEventArgs e)
Parameters
System.Windows.Input.KeyEventArgs
e
The data for the event. |
remove_ParseDateTimeValue(RadDateTimePicker.ParseDateTimeEventHandler)
Declaration
public void remove_ParseDateTimeValue(RadDateTimePicker.ParseDateTimeEventHandler value)
Parameters
RadDateTimePicker.ParseDateTimeEventHandler
value
|
remove_SelectionChanged(SelectionChangedEventHandler)
Declaration
public void remove_SelectionChanged(SelectionChangedEventHandler value)
Parameters
SelectionChangedEventHandler
value
|
UpdateText()
Called to update the DateTimeText property of RadDateTimePicker.
Declaration
public void UpdateText()
Events
DropDownClosed
Occurs when the DropDownButton is closed.
Declaration
public event RoutedEventHandler DropDownClosed
Event Type
System.Windows.RoutedEventHandler
|
DropDownOpened
Occurs when the DropDownButton is opened.
Declaration
public event RoutedEventHandler DropDownOpened
Event Type
System.Windows.RoutedEventHandler
|
ParseDateTimeValue
Occurs when the input text is parsed to DateTime value. This happens when DateTimeText property has changed.
Declaration
public event RadDateTimePicker.ParseDateTimeEventHandler ParseDateTimeValue
Event Type
RadDateTimePicker.ParseDateTimeEventHandler
|
Remarks
The ParseDateTimeValue event is fired when the DateTimeText property has changed. For example this happens when the user enters text and leave the control.
SelectionChanged
Occurs when a date or time is selected.
Declaration
public event SelectionChangedEventHandler SelectionChanged
Event Type
SelectionChangedEventHandler
|
Remarks
The SelectionChanged event is fired when the SelectedValue has changed.