Represents the RadMaskedDateTimeInput control.
Definition
Namespace:Telerik.Windows.Controls
Assembly:Telerik.Windows.Controls.Input.dll
Syntax:
[TelerikToolboxCategory("Input")]
[Themable]
public class RadMaskedDateTimeInput : RadMaskedSectionBase
Inheritance: objectRadMaskedInputBaseRadMaskedSectionBaseRadMaskedDateTimeInput
Inherited Members
Constructors
Initializes a new instance of the RadMaskedDateTimeInput class.
public RadMaskedDateTimeInput()
Fields
ValueProperty
DependencyProperty
Identifies the Value dependency property.
public static readonly DependencyProperty ValueProperty
Properties
Gets the resolved masked text.
protected override string MaskedTextResolved { get; }
Overrides:
The masked resolved for editing.
protected string MaskTextResolvedEditing { get; }
Gets or sets a value whether the base class should apply base navigation.
protected override bool UseBaseNavigation { get; }
Overrides:
Methods
Coerces the display text based on the current value.
Coerces the internal value from the strongly typed value.
protected override void CoerceInternalValueFromStronglyTypeValueOverride()
Overrides:
Coerces the strongly typed value from the internal value.
protected override void CoerceStronglyTypeValueFromInternalValueOverride()
Overrides:
Coerces the value of the control based on the current text input.
Finds the next available position in the Snapshot.Text.
Finds the next Separator in the text.
Checks if the Mask value is valid.
protected override MaskValidationResult IsMaskValidOverride()
Overrides:
Moves a group characters from the specified position to the left one position from the last Placeholder.
protected override void MoveCharactersInInsertBehaviorOverride(ref int position, char character, bool forward)
The position from which the move has to be done.
charactercharThe character input at this position.
forwardboolThe direction of the moving.
Overrides:
The method expects the text after the move to the set to the internal TextBox.
Called when the control template is applied, allowing for additional initialization after the template is applied.
public override void OnApplyTemplate()
Overrides:
This method is typically overridden to add custom logic when the template is applied to ensure proper setup of controls and bindings.
Handles the culture change event.
protected override void OnCultureChanged()
Overrides:
Raises the event. This method is invoked whenever is set to true internally.
protected override void OnInitialized(EventArgs e)
The RoutedEventArgs that contains the event data.
Determines the new SelectionStart position.
protected override int OnSelectionOnFocus(SelectionOnFocus selectionOnFocus)
Overrides:
Parses the mask and returns the masked text.
Refreshes the positions of the sections.
protected override void RefreshSectionPositions()
Overrides:
Handles the logic that determines if the Value should be changed.
protected override bool ValueChangingOverride(RoutedEventArgs args)
Overrides: