Class
RadMaskedDateTimeInput

MaskedInput control for entering DateTime values.

Definition

Namespace:Telerik.UI.Xaml.Controls.Input

Assembly:Telerik.WinUI.Controls.dll

Syntax:

cs-api-definition
public class RadMaskedDateTimeInput : RadMaskedInputBase

Inheritance: objectRadControlRadMaskedInputBaseRadMaskedDateTimeInput

Inherited Members RadMaskedInputBase.TextPropertyRadMaskedInputBase.MaskPropertyRadMaskedInputBase.AllowPromptAsInputPropertyRadMaskedInputBase.AllowNullValuePropertyRadMaskedInputBase.PromptCharPropertyRadMaskedInputBase.CulturePropertyRadMaskedInputBase.EmptyTextPropertyRadMaskedInputBase.IsReadOnlyPropertyRadMaskedInputBase.HeaderTemplatePropertyRadMaskedInputBase.HeaderPropertyRadMaskedInputBase.DescriptionPropertyRadMaskedInputBase.OnApplyTemplate()RadMaskedInputBase.OnGotFocus(RoutedEventArgs)RadMaskedInputBase.OnLostFocus(RoutedEventArgs)RadMaskedInputBase.OnPointerExited(PointerRoutedEventArgs)RadMaskedInputBase.OnPointerEntered(PointerRoutedEventArgs)RadMaskedInputBase.ChangeVisualState()RadMaskedInputBase.ChangeVisualState(bool)RadMaskedInputBase.OnValueChanging(ValueChangingEventArgs)RadMaskedInputBase.OnPreviewKeyDown(KeyRoutedEventArgs)RadMaskedInputBase.OnValueChanged(EventArgs)RadMaskedInputBase.TextRadMaskedInputBase.MaskRadMaskedInputBase.AllowPromptAsInputRadMaskedInputBase.AllowNullValueRadMaskedInputBase.EmptyTextRadMaskedInputBase.IsReadOnlyRadMaskedInputBase.HeaderTemplateRadMaskedInputBase.HeaderRadMaskedInputBase.DescriptionRadMaskedInputBase.ValueChangedRadMaskedInputBase.ValueChangingRadMaskedInputBase.ContextMenuOpeningRadControl.EndVisualStateUpdate(bool, bool)RadControl.UpdateVisualState(bool)RadControl.BeginVisualStateUpdate()RadControl.OnCreateAutomationPeer()RadControl.SetVisualState(string, bool)RadControl.CanUpdateVisualState()RadControl.ComposeVisualStateName()RadControl.MeasureOverride(Size)RadControl.ArrangeOverride(Size)RadControl.UnapplyTemplateCore()RadControl.OnIsEnabledChanged(bool, bool)RadControl.OnTemplateApplied()RadControl.ApplyTemplateCore()RadControl.LoadCore()RadControl.OnLoaded()RadControl.UnloadCore()RadControl.CurrentVisualStateRadControl.IsLoadedRadControl.IsLoadingRadControl.IsUnloadedRadControl.WasUnloadedRadControl.IsTemplateApplied

Constructors

RadMaskedDateTimeInput()

Declaration

cs-api-definition
public RadMaskedDateTimeInput()

Fields

AutoCompleteYearProperty

Identifies the AutoCompleteYear dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty AutoCompleteYearProperty

Field Value

DependencyProperty

AutoSelectNextPartProperty

Identifies the AutoSelectNextPart dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty AutoSelectNextPartProperty

Field Value

DependencyProperty

EnableKeyNavigationProperty

Identifies the EnableKeyNavigation dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty EnableKeyNavigationProperty

Field Value

DependencyProperty

FallbackValueProperty

Identifies the FallbackValue dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty FallbackValueProperty

Field Value

DependencyProperty

HoursStepProperty

Identifies the HoursStep dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty HoursStepProperty

Field Value

DependencyProperty

IsFreeFormProperty

Identifies the IsFreeForm dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty IsFreeFormProperty

Field Value

DependencyProperty

MaxValueProperty

Identifies the MaxValue dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty MaxValueProperty

Field Value

DependencyProperty

MillisecondsStepProperty

Identifies the MillisecondsStep dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty MillisecondsStepProperty

Field Value

DependencyProperty

MinValueProperty

Identifies the MinValue dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty MinValueProperty

Field Value

DependencyProperty

MinutesStepProperty

Identifies the MinutesStep dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty MinutesStepProperty

Field Value

DependencyProperty

SecondsStepProperty

Identifies the SecondsStep dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty SecondsStepProperty

Field Value

DependencyProperty

ValueProperty

Identifies the Value dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty ValueProperty

Field Value

DependencyProperty

YearResetValueProperty

Identifies the YearResetValue dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty YearResetValueProperty

Field Value

DependencyProperty

Properties

AutoCompleteYear

Gets or sets a value indicating whether year part of the DateTime input should be auto filled with zeros (for example 1 -> 01).

Declaration

cs-api-definition
public bool AutoCompleteYear { get; set; }

Property Value

bool

AutoSelectNextPart

Gets or sets the value that indicates whether the next part should get selected when the current one is filled.

Declaration

cs-api-definition
public bool AutoSelectNextPart { get; set; }

Property Value

bool

EnableKeyNavigation

Gets or sets a value indicating whether the left/right key navigation over sections is enabled.

Declaration

cs-api-definition
public bool EnableKeyNavigation { get; set; }

Property Value

bool

FallbackValue

Gets or sets the fallback value. The fallback value is the value that is used to set the Value property of the masked control when there is an attempt to clear the Value (such as pressing the clear-button or setting the Value to null). When the AllowNullValue property is true the FallbackValue property is not taken into account and null is used to set the Value.

Declaration

cs-api-definition
public DateTime FallbackValue { get; set; }

Property Value

DateTime

HoursStep

Gets or sets the hours step. This value is used to increase the hours of the Value when the hour part is selected and the "Up" arrow key is pressed. This value is also used to decrease the hours of the Value when the hour part is selected and the "Down" arrow key is pressed.

Declaration

cs-api-definition
public int HoursStep { get; set; }

Property Value

int

IsFreeForm

Gets or sets a value indicating whether the control is in 'free-form' mode. In this mode user enters digits only without literals and on pressing enter key, the control tries to parse the input string in various ways and produce a DateTime value.

Declaration

cs-api-definition
public bool IsFreeForm { get; set; }

Property Value

bool

MaxValue

Gets or sets the max value of the control.

Declaration

cs-api-definition
public DateTime MaxValue { get; set; }

Property Value

DateTime

MillisecondsStep

Gets or sets the milliseconds step. This value is used to increase the milliseconds of the Value when the milliseconds part is selected and the "Up" arrow key is pressed. This value is also used to decrease the milliseconds of the Value when the milliseconds part is selected and the "Down" arrow key is pressed.

Declaration

cs-api-definition
public int MillisecondsStep { get; set; }

Property Value

int

MinValue

Gets or sets the min value of the control.

Declaration

cs-api-definition
public DateTime MinValue { get; set; }

Property Value

DateTime

MinutesStep

Gets or sets the minutes step. This value is used to increase the minutes of the Value when the minutes part is selected and the "Up" arrow key is pressed. This value is also used to decrease the minutes of the Value when the minutes part is selected and the "Down" arrow key is pressed.

Declaration

cs-api-definition
public int MinutesStep { get; set; }

Property Value

int

SecondsStep

Gets or sets the seconds step. This value is used to increase the seconds of the Value when the seconds part is selected and the "Up" arrow key is pressed. This value is also used to decrease the seconds of the Value when the seconds part is selected and the "Down" arrow key is pressed.

Declaration

cs-api-definition
public int SecondsStep { get; set; }

Property Value

int

Value

Gets or sets the DateTime value of the control. The value may be null if the AllowNullValue is true.

Declaration

cs-api-definition
public object Value { get; set; }

Property Value

object

YearResetValue

Gets or sets the value that is used to set the year when the value is reset.

Declaration

cs-api-definition
public int YearResetValue { get; set; }

Property Value

int