Click or drag to resize
RadMaskedInputBase Class
Represents the base class for RadMaskedInput controls.
Inheritance Hierarchy

Namespace: Telerik.Windows.Controls
Assembly: Telerik.Windows.Controls.Input (in Telerik.Windows.Controls.Input.dll) Version: 2018.2.620.40 (2018.2.620.40)
Syntax
public abstract class RadMaskedInputBase : Control, 
	IThemable

The RadMaskedInputBase type exposes the following members.

Constructors
  NameDescription
Protected methodRadMaskedInputBase
Initializes a new instance of the RadMaskedInputBase class.
Top
Methods
  NameDescription
Public methodCallSpin
Spins the control.
Protected methodCanModifyChar
Gets a value indicating whether the char can be modified when no mask.
Protected methodCanReplaceChar
Gets a value indicating whether the char can be replaced when no mask.
Protected methodCheckForDataValidationErrors
Checks the value of a DependencyProperty for validation errors.
Protected methodClearSelectionNoMask
Clears the selection when no mask.
Protected methodCoerceDisplayTextOverride
The text has changed and the DisplayText has to be coerced against the Text.
Protected methodCoerceInternalValueFromStronglyTypeValueOverride
Coerces the ValueInternal property from the Value property.
Protected methodCoerceStronglyTypeValueFromInternalValueOverride
Coerces the Value property from the ValueInternal property.
Protected methodCoerceTextInternalOverride
The internal value has changed and the Text has to be coerced against the ValueInternal.
Protected methodCoerceTextOverride
The value has changed and the Text has to be coerced against the value.
Protected methodCoerceValueOverride
The text has changed and the value has to be coerced against the text.
Protected methodStatic memberCopyBinding
Clones a Binding and sets its Mode to TwoWay and UpdateSourceTrigger to Explicit.
Protected methodFindNextAvailablePosition
Finds the next available position in the MaskedTextResolved.
Protected methodFindNextSeparatorPosition(Int32)
Finds the next separator position when no mask.
Protected methodFindNextSeparatorPosition(Boolean, Int32, Separator)
Finds the next position with separator.
Protected methodFindPreviousAvailablePositionNoMask
Finds the previous available position when no mask.
Protected methodFindPreviousSeparatorPosition
Finds the previous separator position.
Protected methodGetRightOffset
Gets the offset from the right.
Protected methodGetValidCharOverride
Gets the valid char for a position.
Protected methodHandleBackKeyNoMask
Handles the Back key when no mask.
Protected methodHandleBackKeyWithMask
Process the input when Backspace has been pressed and the mask in not "".
Protected methodHandleBackKeyWithMaskSelected
Process the input when Backspace has been pressed, the mask in not "" and there is a selection.
Protected methodHandleClearOverride
Called, when the Clear command is invoked.
Protected methodHandleDeleteKeyNoMask
Handles the Delete key when no mask.
Protected methodHandleDivideKey
Handles the Divide key.
Protected methodHandleEnterKey
Handles the Enter key.
Protected methodHandleLeftKey
Handles the left key down.
Protected methodHandleMultiplyKey
Handles the Multiply key.
Protected methodHandlePaste
Handles the paste operation.
Protected methodHandlePasteNoMask
Handles paste operation in no-mask scenarios.
Protected methodHandlePasteOverride
Handles the paste operation.
Protected methodHandleSpaceKey
Handles the Space key.
Protected methodHandleSpin
Handle the spin of the value.
Protected methodHandleSpinNoMask
Handles the spin when no mask.
Protected methodHandleSubstractKey
Handles the Subtract key.
Protected methodHandleTabKeyNoMask
Handles the tab key when no mask.
Protected methodHandleUnknownKeyOverride
Handles the key press of an Unknown key with a specific key code.
Protected methodInsertCharNoMask
Inserts a new character when no mask.
Protected methodIsCharValid
Gets a value indicating whether the char is valid when no mask.
Protected methodIsMaskValidOverride
Performs validation on the masked text.
Protected methodIsPlaceholder(Char)
Checks whether a specific character is a placeholder.
Protected methodIsPlaceholder(Int32)
Checks whether a specific index is a placeholder.
Protected methodIsPlaceholder(String)
Checks whether a specific string is a placeholder.
Protected methodIsSeparator(Char)
Checks whether a specific character is a separator.
Protected methodIsSeparator(String)
Checks whether a specified string is a separator.
Protected methodIsSeparator(Char, Separator)
Checks whether a specific character is a separator.
Protected methodIsSeparator(String, Separator)
Checks whether a specified string is a separator.
Protected methodIsSeparatorNoMask
Gets a value indicating whether a char is a separator when no mask.
Protected methodMoveCharactersInInsertBehavior
Moves characters to the left in Currency and Numeric Input.
Protected methodMoveCharactersInInsertBehaviorOverride
Moves a group characters from the specified position to the left one position from the last Placeholder.
Protected methodOnApplicationCut
Handles ApplicationCommand.Cut execution.
Protected methodOnApplicationPaste
Handles ApplicationCommand.Paste execution.
Public methodOnApplyTemplate
Protected methodOnCreateAutomationPeer
Creates automation peer.
(Overrides UIElementOnCreateAutomationPeer.)
Protected methodOnCultureChanged
Executed when the Culture changes.
Protected methodOnLoadedOverride
Called when control is loaded.
Protected methodOnMouseEnter
When the mouse enters the control.
(Overrides UIElementOnMouseEnter(MouseEventArgs).)
Protected methodOnMouseLeave
When the mouse leaves the control.
(Overrides UIElementOnMouseLeave(MouseEventArgs).)
Protected methodOnMouseWheel
Handles the MouseWheel.
(Overrides UIElementOnMouseWheel(MouseWheelEventArgs).)
Protected methodOnSelectionOnFocus
Executes when the focus is obtained.
Protected methodOnUnloadedOverride
Called when the control is unloaded.
Protected methodStatic memberOnValueChangedBase
Executed when the Value property changes.
Protected methodParseMask
Parses the Mask property and sets the MaskedText.
Protected methodProcessChar
Process the input when a key has been pressed.
Protected methodRemove
Removes number of characters from the internal text when no mask.
Protected methodReplaceChar
Replaces a char when no mask.
Protected methodReplacePositionWithPlaceholder
When BackSpace or Delete are pressed, replaces the current char with PlaceHolder.
Public methodResetTheme
Resets the theme.
Public methodSelectAll
Selects the whole text.
Protected methodSetDefaultStyleKey
Protected methodSetFromRightOffset
Sets the offset from the right.
Protected methodSetSeparators
Method that sets predefined separators.
Protected methodStartsWithSeparator(StringBuilder, Boolean, Separator)
Checks whether a specified string starts with a separator.
Protected methodStartsWithSeparator(StringBuilder, Boolean, Separator, Int32)
Checks whether a specified string starts with a separator.
Protected methodStatic memberTrimTextStart
Trims a specified string from certain characters.
Protected methodUpdateEditableTextEndPositions
Forces updates of the EditableTextEnd and EditableTextStart properties.
Protected methodUpdateEditableTextEndPositionsOverride
Updates the EditableTextEnd and EditableTextStart properties.
Protected methodValueChangingOverride
Performs a pre-value changing checking whether the inherited control allows the ValueChanging(ed) events to be raised.
Top
Extension Methods
  NameDescription
Public Extension MethodChildrenOfTypeT
Gets all child elements recursively from the visual tree by given type.
(Defined by ChildrenOfTypeExtensions.)
Public Extension MethodClearIfNoBindingAndSet
Clears if set.
(Defined by CommonExtensions.)
Public Extension MethodClearIfSet
Clears the property if a value has been set.
(Defined by CommonExtensions.)
Public Extension MethodDeserializePrimitives
Deserializes some primitive properties of a control.
(Defined by SerializationExtensions.)
Public Extension MethodEnableLayoutRounding (Defined by LayoutRoundingHelperExtensions.)
Public Extension MethodFindChildByTypeT
Finds child element of the specified type. Uses breadth-first search.
(Defined by ChildrenOfTypeExtensions.)
Public Extension MethodGetAssociatedInlineUIContainer (Defined by ExtensionMethods.)
Public Extension MethodGetAssociatedLayoutBox (Defined by ExtensionMethods.)
Public Extension MethodGetBaseControlItemStatus
Gets a string that communicates the visual status of a Control.
(Defined by AutomationExtensions.)
Public Extension MethodGetBoundsRelativeTo
Gets the bounds relative to the current framework element.
(Defined by ExtensionMethods.)
Public Extension MethodGetGlobalMousePosition
(Defined by WindowHost.)
Public Extension MethodGetParents
Enumerates through element's parents in the visual tree.
(Defined by ParentOfTypeExtensions.)
Public Extension MethodGetVisualParentT
Searches up in the visual tree for parent element of the specified type.
(Defined by ParentOfTypeExtensions.)
Public Extension MethodIsAncestorOf(DependencyObject)Overloaded.
Determines whether the element is ancestor of the current UI element.
(Defined by ExtensionMethods.)
Public Extension MethodIsAncestorOf(DependencyObject)Overloaded.
Determines whether the element is an ancestor of the descendant.
(Defined by ParentOfTypeExtensions.)
Public Extension MethodIsKeyboardFocusWithin
Determines whether keyboard focus is within the current UI element.
(Defined by KeyboardHelper.)
Public Extension MethodIsLocalValueSet(DependencyProperty)Overloaded.
Determines whether the specified dependency property local value is set.
(Defined by DependencyObjectExtensions.)
Public Extension MethodIsLocalValueSet(DependencyProperty)Overloaded.
Determines whether the specified dependency property local value is set.
(Defined by CommonExtensions.)
Public Extension MethodParentOfTypeT
Gets the parent element from the visual tree by given type.
(Defined by ParentOfTypeExtensions.)
Public Extension MethodSerializePrimitives
Serializes some primitive properties of a control.
(Defined by SerializationExtensions.)
Public Extension MethodSetAssociatedLayoutBox (Defined by ExtensionMethods.)
Public Extension MethodSetIfDifferent
Sets the value of the dependencyProperty property if it's hasn't that value currently.
(Defined by CommonExtensions.)
Public Extension MethodSetLayout
Sets the location in the element in Canvas.
(Defined by CommonExtensions.)
Public Extension MethodSetLocation(Point)Overloaded.
Sets the location in the element in Canvas.
(Defined by CommonExtensions.)
Public Extension MethodSetLocation(Double, Double)Overloaded.
Sets the location in the element in Canvas.
(Defined by CommonExtensions.)
Public Extension MethodSlideInOverloaded.
Slides the given element into view. This is an extension method.
(Defined by CalendarAnimation.)
Public Extension MethodSlideIn(TimeSpan)Overloaded.
Slides the given element into view. This is an extension method.
(Defined by CalendarAnimation.)
Public Extension MethodSlideOutOverloaded.
Slides the given element out of view. This is an extension method.
(Defined by CalendarAnimation.)
Public Extension MethodSlideOut(TimeSpan)Overloaded.
Slides the given element out of view. This is an extension method.
(Defined by CalendarAnimation.)
Public Extension MethodTranslate(NullableDouble, NullableDouble, NullableDouble, NullableDouble, TimeSpan)Overloaded.
Translates the target element as requested by the parameters.
(Defined by CalendarAnimation.)
Public Extension MethodTranslate(NullableDouble, NullableDouble, NullableDouble, NullableDouble, TimeSpan, Action)Overloaded.
Translates the target element as requested by the parameters and executes the action request.
(Defined by CalendarAnimation.)
Top
Fields
  NameDescription
Public fieldStatic memberAcceptsReturnProperty
Identifies the AcceptsReturn dependency property.
Protected fieldStatic memberAddSignKey
Keyboard key code for the positive sign key on PC.
Public fieldStatic memberAllowInvalidValuesProperty
Identifies the AllowInvalidValues dependency property.
Public fieldStatic memberClearButtonStyleProperty
Identifies the ClearButtonStyle dependency property.
Public fieldStatic memberClearCommandProperty
Identifies the ClearCommand dependency property.
Public fieldStatic memberCopyCommandProperty
Identifies the CopyCommand dependency property.
Public fieldStatic memberCultureProperty
Identifies the Culture dependency property.
Public fieldStatic memberCutCommandProperty
Identifies the CutCommand dependency property.
Protected fieldStatic memberDecimalCommaKey
Keyboard key code for the comma symbol on PC.
Protected fieldStatic memberDecimalPointKey
Keyboard key code for the decimal point symbol on PC.
Public fieldStatic memberDisplayErrorMessageProperty
Identifies the DisplayErrorMessage dependency property.
Public fieldStatic memberEmptyContentProperty
Identifies the EmptyContent dependency property.
Public fieldStatic memberEmptyContentTemplateProperty
Identifies the EmptyContentTemplate dependency property.
Public fieldStatic memberErrorMessageProperty
Identifies the ErrorMessage dependency property.
Public fieldStatic memberErrorMessageTemplateProperty
Identifies the ErrorMessageTemplate dependency property.
Public fieldStatic memberFormatStringProperty
Identifies the FormatString dependency property.
Public fieldStatic memberHasErrorsProperty
Identifies the HasErrors dependency property.
Public fieldStatic memberInputBehaviorProperty
Identifies the InputBehavior dependency property.
Public fieldStatic memberIsClearButtonVisibleProperty
Identifies the IsClearButtonVisible dependency property.
Public fieldStatic memberIsEmptyProperty
Identifies the IsEmpty dependency property.
Public fieldStatic memberIsLastPositionEditableProperty
Identifies the IsLastPositionEditable dependency property.
Public fieldStatic memberIsMaskValidProperty
Identifies the IsMaskValid dependency property.
Public fieldStatic memberIsReadOnlyProperty
Identifies the IsReadOnly dependency property.
Public fieldStatic memberMaskProperty
Identifies the Mask dependency property.
Protected fieldStatic memberNegativeSignKey
Keyboard key code for the negative sign key on PC.
Public fieldStatic memberOriginalValueProperty
Identifies the OriginalValue dependency property.
Public fieldStatic memberPasteCommandProperty
Identifies the PasteCommand dependency property.
Public fieldStatic memberPlaceholderProperty
Identifies the Placeholder dependency property.
Public fieldStatic memberSectionsNavigationModeProperty
Identifies the SectionsNavigationMode dependency property.
Public fieldStatic memberSelectionOnFocusProperty
Identifies the SelectionOnFocus dependency property.
Public fieldStatic memberSpinModeProperty
Identifies the SpinMode dependency property.
Public fieldStatic memberTextBoxStyleProperty
Identifies the TextBoxStyle dependency property.
Public fieldStatic memberTextModeProperty
Identifies the TextMode dependency property.
Public fieldStatic memberTextProperty
Gets the Text of the control.
Public fieldStatic memberUpdateValueEventProperty
Identifies the UpdateValueEvent dependency property.
Public fieldStatic memberValueChangedEvent
Identifies the ValueChanged routed event.
Public fieldStatic memberValueChangingEvent
Identifies the ValueChanging routed event.
Public fieldStatic memberValueToTextConverterProperty
Identifies the ValueToTextConverter dependency property.
Top
Properties
  NameDescription
Public propertyAcceptsReturn
Gets or sets a value indicating whether newline is accepted when the mask supports multiline.
Protected propertyStatic memberAllowedDateTimeTokens
Gets the allowed DateTime tokens from the TokenLocator.
Protected propertyStatic memberAllowedModifierTokens
Gets the allowed modifier tokens from the TokenLocator.
Protected propertyStatic memberAllowedNumericTokens
Gets the allowed Numeric tokens from the TokenLocator.
Public propertyAllowInvalidValues
Gets or sets whether invalid values should be accepted as valid and set to the Value property.
Protected propertyBuilder
Represents a StringBuilder for performing string operations.
Public propertyClearButtonStyle
Gets or sets the ClearButton style.
Public propertyClearCommand
Gets or sets the Clear command.
Public propertyCopyCommand
Gets or sets the Copy command.
Public propertyCulture
Gets or sets the Culture.
Public propertyCutCommand
Gets or sets the Cut command.
Public propertyDisplayErrorMessage
Gets the DisplayErrorMessage.
Protected propertyEditableTextEnd
Gets the ending position in the MaskedText that can be edited.
Protected propertyEditableTextLength
Gets the length of the editable section in the MaskedText.
Protected propertyEditableTextStart
Gets the starting position in the MaskedText that can be edited.
Public propertyEmptyContent
Gets or sets the Empty content.
Public propertyEmptyContentTemplate
Gets or sets the template of the EmptyContent.
Public propertyErrorMessage
Gets or sets the Error message.
Public propertyErrorMessageTemplate
Gets or sets the template of the ErrorMessage.
Protected propertyEscapedPositions
Contains the escaped positions of the MaskedText.
Public propertyFormatString
Gets or sets the formatting string used to format the Text value.
Public propertyHasErrors
Gets or sets whether the control has errors.
Public propertyInputBehavior
Gets or sets the InputBehavior.
Protected propertyInputBehaviorResolved
Gets or sets the resolved InputBehavior.
Public propertyIsClearButtonVisible
Gets or sets whether the clear button is visible.
Public propertyIsEmpty
Gets or sets the IsEmpty property.
Public propertyIsLastPositionEditable
Gets or sets a value indicating whether this instance is last position editable.
Public propertyIsMaskValid
Gets or sets whether the control's mask is valid.
Public propertyIsReadOnly
Gets or sets whether the control is IsReadOnly.
Protected propertyIsRevertingValue
Protected propertyIsUsingOneWayBinding
Gets or sets value indicating whether the control is one-way bound.
Protected propertyIsValueChangingFromInternal
Specifies whether the Value is being changed from the ValueInternal property.
Protected propertyIsValueInternalSync
Specifies whether the ValueInternal is being synched from the Value property.
Protected propertyLiteralPositions
Contains the literal positions of the MaskedText.
Public propertyMask
Gets or sets the Mask.
Protected propertyMaskedTextResolved
The resolved masked text.
Protected propertyMaskResolved
Gets or sets the resolved Mask.
Public propertyOriginalValue
Gets or sets the OriginalValue.
Public propertyPasteCommand
Gets or sets the Paste command.
Public propertyPlaceholder
Gets or sets the Placeholder.
Public propertySectionsNavigationMode
Gets or sets the sections navigation mode.
Public propertySelectionLength
Gets or sets the Selection length.
Public propertySelectionOnFocus
Gets or sets the SelectionOnFocus.
Public propertySelectionStart
Gets or sets the Selection start.
Protected propertySeparators
Contains the Separators of the Mask.
Public propertySpinMode
Gets or sets the SpinMode.
Public propertyText
Identifies the Text dependency property.
Public propertyTextBoxStyle
Gets the style of the TextBox.
Public propertyTextMode
Gets or sets the TextMode.
Public propertyUpdateValueEvent
Gets or sets the UpdateValueEvent.
Protected propertyUseBaseNavigation
Gets or sets a value whether the base class should apply base navigation.
Public propertyValueToTextConverter
Gets or sets the ValueToTextConverter.
Top
Events
  NameDescription
Public eventValueChanged
Occurs when the value is changed.
Public eventValueChanging
Occurs before the value is changed.
Top
See Also