Class RadMaskedDateTimeInput
Represents the RadMaskedDateTimeInput control.
Inherited Members
Namespace: Telerik.Windows.Controls
Assembly: Telerik.Windows.Controls.Input.dll
Syntax
[TelerikToolboxCategory("Input")]
[Themable]
public class RadMaskedDateTimeInput : RadMaskedSectionBase, IThemable
Constructors
RadMaskedDateTimeInput()
Initializes a new instance of the Rad
Declaration
public RadMaskedDateTimeInput()
Fields
ValueProperty
Identifies the Value dependency property.
Declaration
public static readonly DependencyProperty ValueProperty
Field Value
System.
|
Properties
MaskedTextResolved
Gets the resolved masked text.
Declaration
protected override string MaskedTextResolved { get; }
Property Value
System.
|
Overrides
MaskTextResolvedEditing
The masked resolved for editing.
Declaration
protected string MaskTextResolvedEditing { get; }
Property Value
System.
|
UseBaseNavigation
Value
Gets or sets the Value property.
Declaration
public Nullable<DateTime> Value { get; set; }
Property Value
System.
|
Methods
CoerceDisplayTextOverride()
Declaration
protected override string CoerceDisplayTextOverride()
Returns
System.
|
Overrides
CoerceImeInputString(String)
Initial process of the text receives from the IME input.
Declaration
protected override string CoerceImeInputString(string text)
Parameters
System. The initial text received from the IME. |
Returns
System.
|
Overrides
CoerceInternalValueFromStronglyTypeValueOverride()
Declaration
protected override void CoerceInternalValueFromStronglyTypeValueOverride()
Overrides
CoerceStronglyTypeValueFromInternalValueOverride()
Declaration
protected override void CoerceStronglyTypeValueFromInternalValueOverride()
Overrides
CoerceTextInternalOverride(ref Int32)
Declaration
protected override string CoerceTextInternalOverride(ref int selectionStart)
Parameters
System.
|
Returns
System.
|
Overrides
CoerceTextOverride(ref Int32)
The value has changed and the Text has to be coerced against the value.
Declaration
protected override string CoerceTextOverride(ref int selectionStart)
Parameters
System. The selection start. |
Returns
System. Returns the string to be coerced. |
Overrides
CoerceValueOverride()
Declaration
protected override bool CoerceValueOverride()
Returns
System.
|
Overrides
FindNextAvailablePosition(Boolean, Int32)
Finds the next available position in the Snapshot.Text.
Declaration
protected override int FindNextAvailablePosition(bool forward, int position)
Parameters
System. True if the search is perform forwards, false for backwards. |
System. The starting position of the search. |
Returns
System. Returns the found position. |
Overrides
FindNextSeparatorPosition(Boolean, Int32, out Separator)
Finds the next Separator in the text.
Declaration
protected override int FindNextSeparatorPosition(bool forward, int position, out Separator separator)
Parameters
System. The direction of the search. |
System. The start position of the search. |
Separator
separator
The found separator. |
Returns
System. Returns the index of the found separator. |
Overrides
GetValidCharOverride(Char, ref Int32, Nullable<Boolean>, out Boolean)
Declaration
protected override string GetValidCharOverride(char character, ref int position, Nullable<bool> forwardSpin, out bool isValid)
Parameters
System.
|
System.
|
System.
|
System.
|
Returns
System.
|
Overrides
HandlePasteOverride(Object, out Object)
Handles the paste operation.
Declaration
protected override bool HandlePasteOverride(object value, out object returnString)
Parameters
System. The value to be pasted. |
System. Returns the string representation of the value. |
Returns
System. Returns true if the value can be pasted. |
Overrides
HandleSpin(Int32, Nullable<Boolean>)
Handles spinning.
Declaration
protected override void HandleSpin(int position, Nullable<bool> forwardSpin)
Parameters
System.
|
System.
|
Overrides
IsMaskValidOverride()
Declaration
protected override MaskValidationResult IsMaskValidOverride()
Returns
Overrides
MoveCharactersInInsertBehaviorOverride(ref Int32, Char, Boolean)
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
System. The position from which the move has to be done. |
System. The character input at this position. |
System. The direction of the moving. |
Overrides
Remarks
The method expects the text after the move to the set to the internal TextBox.
OnApplyTemplate()
OnCultureChanged()
Declaration
protected override void OnCultureChanged()
Overrides
OnInitialized(EventArgs)
Raises the System.
Declaration
protected override void OnInitialized(EventArgs e)
Parameters
System. The System. |
OnSelectionOnFocus(SelectionOnFocus)
Determines the new SelectionStart position.
Declaration
protected override int OnSelectionOnFocus(SelectionOnFocus selectionOnFocus)
Parameters
Selection
|
Returns
System.
|
Overrides
ParseMask()
Declaration
protected override string ParseMask()
Returns
System.
|
Overrides
RefreshSectionPositions()
Refreshes the positions of the sections.
Declaration
protected override void RefreshSectionPositions()
Overrides
UpdateEditableTextEndPositionsOverride(ref Int32, ref Int32)
Updates the EditableTextEnd and EditableTextStart properties.
Declaration
protected override void UpdateEditableTextEndPositionsOverride(ref int start, ref int end)
Parameters
System.
|
System.
|
Overrides
ValueChangingOverride(RoutedEventArgs)
Declaration
protected override bool ValueChangingOverride(RoutedEventArgs args)
Parameters
System.
|
Returns
System.
|