ClassRadMaskedDateTimeInput
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
RadMaskedDateTimeInput()
Initializes a new instance of the RadMaskedDateTimeInput class.
Declaration
[SuppressMessage("Microsoft.Usage", "CA2214:DoNotCallOverridableMethodsInConstructors")]
public RadMaskedDateTimeInput()
Fields
ValueProperty
Identifies the Value dependency property.
Declaration
public static readonly DependencyProperty ValueProperty
Field Value
DependencyProperty
Properties
MaskTextResolvedEditing
The masked resolved for editing.
Declaration
protected string MaskTextResolvedEditing { get; }
Property Value
MaskedTextResolved
Gets the resolved masked text.
Declaration
protected override string MaskedTextResolved { get; }
Property Value
Overrides
UseBaseNavigation
Gets or sets a value whether the base class should apply base navigation.
Declaration
protected override bool UseBaseNavigation { get; }
Property Value
Overrides
Methods
CoerceDisplayTextOverride()
Coerces the display text based on the current value.
Declaration
protected override string CoerceDisplayTextOverride()
Returns
Overrides
CoerceImeInputString(string)
Initial process of the text receives from the IME input.
CoerceInternalValueFromStronglyTypeValueOverride()
Coerces the internal value from the strongly typed value.
Declaration
protected override void CoerceInternalValueFromStronglyTypeValueOverride()
Overrides
CoerceStronglyTypeValueFromInternalValueOverride()
Coerces the strongly typed value from the internal value.
Declaration
protected override void CoerceStronglyTypeValueFromInternalValueOverride()
Overrides
CoerceTextInternalOverride(ref int)
Coerces the entered text.
CoerceTextOverride(ref int)
The value has changed and the Text has to be coerced against the value.
CoerceValueOverride()
Coerces the value of the control based on the current text input.
Declaration
[SuppressMessage("Microsoft.Design", "CA1031:DoNotCatchGeneralExceptionTypes")]
protected override bool CoerceValueOverride()
Returns
Overrides
FindNextAvailablePosition(bool, int)
Finds the next available position in the Snapshot.Text.
FindNextSeparatorPosition(bool, int, out Separator)
Finds the next Separator in the text.
Declaration
protected override int FindNextSeparatorPosition(bool forward, int position, out Separator separator)
Parameters
forward
The direction of the search.
position
The start position of the search.
separator
The found separator.
Returns
Returns the index of the found separator.
Overrides
GetValidCharOverride(char, ref int, bool?, out bool)
Returns a character as a string value and marks it as valid or invalid.
HandlePasteOverride(object, out object)
Handles the paste operation.
HandleSpin(int, bool?)
Handles the mouse wheel spinning logic.
IsMaskValidOverride()
Checks if the Mask value is valid.
Declaration
protected override MaskValidationResult IsMaskValidOverride()
Returns
Overrides
MoveCharactersInInsertBehaviorOverride(ref int, char, bool)
Moves a group characters from the specified position to the left one position from the last Placeholder.
Declaration
protected override void MoveCharactersInInsertBehaviorOverride(ref int position, char character, bool forward)
Parameters
position
The position from which the move has to be done.
character
The character input at this position.
forward
The direction of the moving.
Overrides
Remarks
The method expects the text after the move to the set to the internal TextBox.
OnApplyTemplate()
Called when the control template is applied, allowing for additional initialization after the template is applied.
Declaration
public override void OnApplyTemplate()
Overrides
Remarks
This method is typically overridden to add custom logic when the template is applied to ensure proper setup of controls and bindings.
OnCultureChanged()
Handles the culture change event.
Declaration
protected override void OnCultureChanged()
Overrides
OnInitialized(EventArgs)
Raises the event. This method is invoked whenever is set to true internally.
Declaration
protected override void OnInitialized(EventArgs e)
Parameters
e
The RoutedEventArgs that contains the event data.
OnSelectionOnFocus(SelectionOnFocus)
Determines the new SelectionStart position.
Declaration
protected override int OnSelectionOnFocus(SelectionOnFocus selectionOnFocus)
Parameters
selectionOnFocus
Returns
Overrides
ParseMask()
Parses the mask and returns the masked text.
RefreshSectionPositions()
Refreshes the positions of the sections.
Declaration
protected override void RefreshSectionPositions()
Overrides
UpdateEditableTextEndPositionsOverride(ref int, ref int)
Updates the EditableTextEnd and EditableTextStart properties.
ValueChangingOverride(RoutedEventArgs)
Handles the logic that determines if the Value should be changed.
Declaration
protected override bool ValueChangingOverride(RoutedEventArgs args)
Parameters
args
RoutedEventArgs
Returns
Overrides