ClassRadDateTimePicker
Represents a control that enables the user to select date values from a range by tapping on a picker box containing the current value and opening a date selector to select a new value.
Definition
Namespace:Telerik.UI.Xaml.Controls.Input
Assembly:Telerik.WinUI.Controls.dll
Syntax:
public class RadDateTimePicker : DateTimePicker
Inheritance: objectRadControlRadHeaderedControlDateTimePickerRadDateTimePicker
Derived Classes:
Inherited Members
Constructors
RadDateTimePicker()
Initializes a new instance of the RadDatePicker class.
Declaration
public RadDateTimePicker()
Remarks
See the DateTimePicker class for the inherited members.
Fields
CalendarClockIdentifierProperty
Gets or sets a value that specifies whether the clock will be 12 or 24-hour. The value should be taken from .
Declaration
public static readonly DependencyProperty CalendarClockIdentifierProperty
Field Value
DependencyProperty
DayStepBehaviorProperty
Identifies the DayStepBehavior dependency property.
Declaration
public static readonly DependencyProperty DayStepBehaviorProperty
Field Value
DependencyProperty
InputModeProperty
Identifies the InputMode dependency property.
Declaration
public static readonly DependencyProperty InputModeProperty
Field Value
DependencyProperty
MonthStepBehaviorProperty
Identifies the MonthStepBehavior dependency property.
Declaration
public static readonly DependencyProperty MonthStepBehaviorProperty
Field Value
DependencyProperty
YearStepBehaviorProperty
Identifies the YearStepBehavior dependency property.
Declaration
public static readonly DependencyProperty YearStepBehaviorProperty
Field Value
DependencyProperty
Properties
CalendarClockIdentifier
Gets or sets a value that specifies whether the clock will be 12 or 24-hour. The value should be from the class.
Declaration
public string CalendarClockIdentifier { get; set; }
Property Value
DayStepBehavior
Gets or sets a value from the StepBehavior enumeration that defines how the day step is evaluated. See the descriptions of the different values exposed by the StepBehavior enum for further details.
Declaration
public StepBehavior DayStepBehavior { get; set; }
Property Value
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 DateTimePickerInputMode InputMode { get; set; }
Property Value
The InputMode of the RadDateTimePicker.
Remarks
The default is both - Date and Time input.
MonthStepBehavior
Gets or sets a value from the StepBehavior enumeration that defines how the month step is evaluated. See the descriptions of the different values exposed by the StepBehavior enum for further details.
Declaration
public StepBehavior MonthStepBehavior { get; set; }
Property Value
YearStepBehavior
Gets or sets a value from the StepBehavior enumeration that defines how the year step is evaluated. See the descriptions of the different values exposed by the StepBehavior enum for further details.
Declaration
public StepBehavior YearStepBehavior { get; set; }
Property Value
Methods
ApplyTemplateCore()
Resolves the control's template parts.
OnCreateAutomationPeer()
Declaration
protected override AutomationPeer OnCreateAutomationPeer()
Returns
AutomationPeer
Overrides
OnTemplateApplied()
Resolves the control's template parts.
Declaration
protected override void OnTemplateApplied()
Overrides