Class RadMaskedDateTimeInput
Represents the RadMaskedDateTimeInput control.
Inherited Members
Namespace: Telerik.Windows.Controls
Assembly: Telerik.Windows.Controls.Input.dll
Syntax
[TelerikToolboxCategory("Input")]
public class RadMaskedDateTimeInput : RadMaskedSectionBase
Constructors
RadMaskedDateTimeInput()
Initializes a new instance of the RadMaskedDateTimeInput class.
Declaration
public RadMaskedDateTimeInput()
Fields
ValueProperty
Identifies the Value dependency property.
Declaration
public static readonly DependencyProperty ValueProperty
Field Value
System.Windows.DependencyProperty
|
Properties
MaskedTextResolved
Gets the resolved masked text.
Declaration
protected override string MaskedTextResolved { get; }
Property Value
System.String
|
Overrides
MaskTextResolvedEditing
The masked resolved for editing.
Declaration
protected string MaskTextResolvedEditing { get; }
Property Value
System.String
|
UseBaseNavigation
Value
Gets or sets the Value property.
Declaration
public Nullable<DateTime> Value { get; set; }
Property Value
System.Nullable<System.DateTime>
|
Methods
CoerceDisplayTextOverride()
Declaration
protected override string CoerceDisplayTextOverride()
Returns
System.String
|
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.Int32
selectionStart
|
Returns
System.String
|
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.Int32
selectionStart
The selection start. |
Returns
System.String
Returns the string to be coerced. |
Overrides
CoerceValueOverride()
Declaration
protected override bool CoerceValueOverride()
Returns
System.Boolean
|
Overrides
FindNextAvailablePosition(Boolean, Int32)
Finds the next available position in the Snapshot.Text.
Declaration
protected override int FindNextAvailablePosition(bool forward, int position)
Parameters
System.Boolean
forward
True if the search is perform forwards, false for backwards. |
System.Int32
position
The starting position of the search. |
Returns
System.Int32
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.Boolean
forward
The direction of the search. |
System.Int32
position
The start position of the search. |
Separator
separator
The found separator. |
Returns
System.Int32
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.Char
character
|
System.Int32
position
|
System.Nullable<System.Boolean>
forwardSpin
|
System.Boolean
isValid
|
Returns
System.String
|
Overrides
HandlePasteOverride(Object, out Object)
Handles the paste operation.
Declaration
protected override bool HandlePasteOverride(object value, out object returnString)
Parameters
System.Object
value
The value to be pasted. |
System.Object
returnString
Returns the string representation of the value. |
Returns
System.Boolean
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.Int32
position
|
System.Nullable<System.Boolean>
forwardSpin
|
Overrides
IsMaskValidOverride()
Declaration
protected override MaskValidationResult IsMaskValidOverride()
Returns
MaskValidationResult
|
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.Int32
position
The position from which the move has to be done. |
System.Char
character
The character input at this position. |
System.Boolean
forward
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
OnSelectionOnFocus(SelectionOnFocus)
Determines the new SelectionStart position.
Declaration
protected override int OnSelectionOnFocus(SelectionOnFocus selectionOnFocus)
Parameters
SelectionOnFocus
selectionOnFocus
|
Returns
System.Int32
|
Overrides
ParseMask()
Declaration
protected override string ParseMask()
Returns
System.String
|
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.Int32
start
|
System.Int32
end
|
Overrides
ValueChangingOverride(RoutedEventArgs)
Declaration
protected override bool ValueChangingOverride(RoutedEventArgs args)
Parameters
System.Windows.RoutedEventArgs
args
|
Returns
System.Boolean
|