Click or drag to resize
RadMaskedNumericInput Class
Represents the RadMaskedNumericInput control.
Inheritance Hierarchy

Namespace: Telerik.Windows.Controls
Assembly: Telerik.Windows.Controls.Input (in Telerik.Windows.Controls.Input.dll) Version: 2017.3.913.40 (2017.3.913.40)
Syntax
public class RadMaskedNumericInput : RadMaskedInputBase

The RadMaskedNumericInput type exposes the following members.

Constructors
  NameDescription
Public methodRadMaskedNumericInput
Initializes a new instance of the RadMaskedNumericInput class.
Top
Methods
  NameDescription
Public methodCallSpin
Spins the control.
(Inherited from RadMaskedInputBase.)
Protected methodCanModifyChar
Gets a value indicating whether the char can be modified when no mask.
(Overrides RadMaskedInputBaseCanModifyChar(Char).)
Protected methodCanReplaceChar
Gets a value indicating whether the char can be replaced when no mask.
(Overrides RadMaskedInputBaseCanReplaceChar(Char).)
Protected methodCheckForDataValidationErrors
Checks the value of a DependencyProperty for validation errors.
(Inherited from RadMaskedInputBase.)
Protected methodClearSelectionNoMask
Clears the selection when no mask.
(Overrides RadMaskedInputBaseClearSelectionNoMask.)
Protected methodCoerceDisplayTextOverride
The text has changed and the DisplayText has to be coerced against the Text.
(Overrides RadMaskedInputBaseCoerceDisplayTextOverride.)
Protected methodCoerceInternalValueFromStronglyTypeValueOverride
Coerces the ValueInternal property from the Value property.
(Overrides RadMaskedInputBaseCoerceInternalValueFromStronglyTypeValueOverride.)
Protected methodCoerceStronglyTypeValueFromInternalValueOverride
Coerces the Value property from the ValueInternal property.
(Overrides RadMaskedInputBaseCoerceStronglyTypeValueFromInternalValueOverride.)
Protected methodCoerceTextInternalOverride
The internal value has changed and the Text has to be coerced against the ValueInternal.
(Overrides RadMaskedInputBaseCoerceTextInternalOverride(Int32).)
Protected methodCoerceTextOverride
The value has changed and the Text has to be coerced against the value.
(Overrides RadMaskedInputBaseCoerceTextOverride(Int32).)
Protected methodCoerceValueOverride
The text has changed and the value has to be coerced against the text.
(Overrides RadMaskedInputBaseCoerceValueOverride.)
Protected methodFindNextAvailablePosition
Finds the next available position in the MaskedTextResolved.
(Inherited from RadMaskedInputBase.)
Protected methodFindNextSeparatorPosition(Int32)
Finds the next separator position when no mask.
(Inherited from RadMaskedInputBase.)
Protected methodFindNextSeparatorPosition(Boolean, Int32, Separator)
Finds the next position with separator.
(Inherited from RadMaskedInputBase.)
Protected methodFindPreviousAvailablePositionNoMask
Finds the previous available position when no mask.
(Inherited from RadMaskedInputBase.)
Protected methodFindPreviousSeparatorPosition
Finds the previous separator position.
(Inherited from RadMaskedInputBase.)
Protected methodGetDecimalSeparatorIndex
Gets the index of the decimal separator from a specific text.
Protected methodGetRightOffset
Gets the offset from the right.
(Overrides RadMaskedInputBaseGetRightOffset.)
Protected methodGetValidCharOverride
Gets the valid char for a position.
(Overrides RadMaskedInputBaseGetValidCharOverride(Char, Int32, NullableBoolean, Boolean).)
Protected methodGetValueRankFromIndex
Gets the rank of a number in the TextBox in respect to the caret.
Protected methodHandleBackKeyNoMask
Handles the Back key when no mask.
(Overrides RadMaskedInputBaseHandleBackKeyNoMask.)
Protected methodHandleBackKeyWithMask
Process the input when Backspace has been pressed and the mask in not "".
(Inherited from RadMaskedInputBase.)
Protected methodHandleBackKeyWithMaskSelected
Process the input when Backspace has been pressed, the mask in not "" and there is a selection.
(Inherited from RadMaskedInputBase.)
Protected methodHandleClearOverride
Called, when the Clear command is invoked.
(Overrides RadMaskedInputBaseHandleClearOverride.)
Protected methodHandleDeleteKeyNoMask
Handles the Delete key when no mask.
(Inherited from RadMaskedInputBase.)
Protected methodHandleDivideKey
Handles the Divide key.
(Overrides RadMaskedInputBaseHandleDivideKey.)
Protected methodHandleEnterKey
Handles the Enter key.
(Overrides RadMaskedInputBaseHandleEnterKey.)
Protected methodHandleLeftKey
Handles the left key down.
(Overrides RadMaskedInputBaseHandleLeftKey.)
Protected methodHandleMultiplyKey
Handles the Multiply key.
(Overrides RadMaskedInputBaseHandleMultiplyKey.)
Protected methodHandlePaste
Handles the paste operation.
(Inherited from RadMaskedInputBase.)
Protected methodHandlePasteNoMask
Handles paste operation in no-mask scenarios.
(Overrides RadMaskedInputBaseHandlePasteNoMask(Object, Object).)
Protected methodHandlePasteOverride
Handles the paste operation.
(Overrides RadMaskedInputBaseHandlePasteOverride(Object, Object).)
Protected methodHandleSpaceKey
Handles the Space key.
(Inherited from RadMaskedInputBase.)
Protected methodHandleSpin
Handle the spin of the value.
(Overrides RadMaskedInputBaseHandleSpin(Int32, NullableBoolean).)
Protected methodHandleSpinNoMask
Handles the spin when no mask.
(Overrides RadMaskedInputBaseHandleSpinNoMask(Boolean).)
Protected methodHandleSubstractKey
Handles the Subtract key.
(Overrides RadMaskedInputBaseHandleSubstractKey.)
Protected methodHandleTabKeyNoMask
Handles the tab key when no mask.
(Inherited from RadMaskedInputBase.)
Protected methodHandleUnknownKeyOverride
Handles the key press of an Unknown key with a specific key code.
(Overrides RadMaskedInputBaseHandleUnknownKeyOverride(Int32).)
Protected methodInsertCharNoMask
Inserts a new character when no mask.
(Overrides RadMaskedInputBaseInsertCharNoMask(Char).)
Protected methodStatic memberInsertSeparatorsOverride
Inserts number group separators in the mask.
Protected methodIsCharValid
Gets a value indicating whether the char is valid when no mask.
(Overrides RadMaskedInputBaseIsCharValid(Char).)
Protected methodIsMaskValidOverride
Performs validation on the masked text.
(Inherited from RadMaskedInputBase.)
Protected methodIsPlaceholder(Char)
Checks whether a specific character is a placeholder.
(Inherited from RadMaskedInputBase.)
Protected methodIsPlaceholder(Int32)
Checks whether a specific index is a placeholder.
(Inherited from RadMaskedInputBase.)
Protected methodIsPlaceholder(String)
Checks whether a specific string is a placeholder.
(Inherited from RadMaskedInputBase.)
Protected methodIsSeparator(Char)
Checks whether a specific character is a separator.
(Inherited from RadMaskedInputBase.)
Protected methodIsSeparator(String)
Checks whether a specified string is a separator.
(Inherited from RadMaskedInputBase.)
Protected methodIsSeparator(Char, Separator)
Checks whether a specific character is a separator.
(Inherited from RadMaskedInputBase.)
Protected methodIsSeparator(String, Separator)
Checks whether a specified string is a separator.
(Inherited from RadMaskedInputBase.)
Protected methodIsSeparatorNoMask
Gets a value indicating whether a char is a separator when no mask.
(Overrides RadMaskedInputBaseIsSeparatorNoMask(Char).)
Protected methodMoveCharactersInInsertBehavior
Moves characters to the left in Currency and Numeric Input.
(Inherited from RadMaskedInputBase.)
Protected methodMoveCharactersInInsertBehaviorOverride
Moves a group characters from the specified position to the left one position from the last Placeholder.
(Overrides RadMaskedInputBaseMoveCharactersInInsertBehaviorOverride(Int32, Char, Boolean).)
Protected methodOnApplicationCut
Handles ApplicationCommand.Cut execution.
(Inherited from RadMaskedInputBase.)
Protected methodOnApplicationPaste
Handles ApplicationCommand.Paste execution.
(Inherited from RadMaskedInputBase.)
Public methodOnApplyTemplate
(Inherited from RadMaskedInputBase.)
Protected methodOnCreateAutomationPeer
Creates automation peer.
(Inherited from RadMaskedInputBase.)
Protected methodOnCultureChanged
Executed when the Culture changes.
(Overrides RadMaskedInputBaseOnCultureChanged.)
Protected methodOnInitialized
Raises the Initialized event. This method is invoked whenever IsInitialized is set to true internally.
(Overrides FrameworkElementOnInitialized(EventArgs).)
Protected methodOnLoadedOverride
Called when control is loaded.
(Inherited from RadMaskedInputBase.)
Protected methodOnMouseEnter
When the mouse enters the control.
(Inherited from RadMaskedInputBase.)
Protected methodOnMouseLeave
When the mouse leaves the control.
(Inherited from RadMaskedInputBase.)
Protected methodOnMouseWheel
Handles the MouseWheel.
(Inherited from RadMaskedInputBase.)
Protected methodOnSelectionOnFocus
Executes when the focus is obtained.
(Overrides RadMaskedInputBaseOnSelectionOnFocus(SelectionOnFocus).)
Protected methodOnUnloadedOverride
Called when the control is unloaded.
(Inherited from RadMaskedInputBase.)
Protected methodParseMask
Parses the Mask property and sets the MaskedText.
(Overrides RadMaskedInputBaseParseMask.)
Protected methodProcessChar
Process the input when a key has been pressed.
(Inherited from RadMaskedInputBase.)
Protected methodRemove
Removes number of characters from the internal text when no mask.
(Inherited from RadMaskedInputBase.)
Protected methodReplaceChar
Replaces a char when no mask.
(Overrides RadMaskedInputBaseReplaceChar(StringBuilder, Int32).)
Protected methodReplacePositionWithPlaceholder
When BackSpace or Delete are pressed, replaces the current char with PlaceHolder.
(Inherited from RadMaskedInputBase.)
Public methodResetTheme
Resets the theme.
(Inherited from RadMaskedInputBase.)
Public methodSelectAll
Selects the whole text.
(Inherited from RadMaskedInputBase.)
Protected methodSetDefaultStyleKey
(Inherited from RadMaskedInputBase.)
Protected methodSetFromRightOffset
Sets the offset from the right.
(Overrides RadMaskedInputBaseSetFromRightOffset(Int32).)
Protected methodSetSeparators
Method that sets predefined separators.
(Inherited from RadMaskedInputBase.)
Protected methodStartsWithSeparator(StringBuilder, Boolean, Separator)
Checks whether a specified string starts with a separator.
(Inherited from RadMaskedInputBase.)
Protected methodStartsWithSeparator(StringBuilder, Boolean, Separator, Int32)
Checks whether a specified string starts with a separator.
(Inherited from RadMaskedInputBase.)
Protected methodToggleNegativeSignKey
Toggles the visibility of the Negative symbol.
Protected methodUpdateEditableTextEndPositions
Forces updates of the EditableTextEnd and EditableTextStart properties.
(Inherited from RadMaskedInputBase.)
Protected methodUpdateEditableTextEndPositionsOverride
Updates the EditableTextEnd and EditableTextStart properties.
(Inherited from RadMaskedInputBase.)
Protected methodValueChangingOverride
Performs a pre-value changing checking whether the inherited control allows the ValueChanging(ed) events to be raised.
(Overrides RadMaskedInputBaseValueChangingOverride(RoutedEventArgs).)
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 memberAllowSkipPlaceholdersProperty
Identifies the AllowSkipPlaceholders dependency property.
Public fieldStatic memberAutoFillNumberGroupSeparatorsProperty
Identifies the AutoFillNumberGroupSeparators dependency property.
Public fieldStatic memberAutoFillZerosProperty
Identifies the AutoFillZeros dependency property.
Public fieldStatic memberValueProperty
Identifies the Value dependency property.
Top
Properties
  NameDescription
Public propertyAcceptsReturn
Gets or sets a value indicating whether newline is accepted when the mask supports multiline.
(Inherited from RadMaskedInputBase.)
Public propertyAllowInvalidValues
Gets or sets whether invalid values should be accepted as valid and set to the Value property.
(Inherited from RadMaskedInputBase.)
Public propertyAllowSkipPlaceholders
Gets or sets whether input can skip placeholders.
Public propertyAutoFillNumberGroupSeparators
Gets or sets whether number group separators are auto filled in the mask.
Public propertyAutoFillZeros
Gets or sets whether trailing zeros should be auto filled.
Protected propertyBuilder
Represents a StringBuilder for performing string operations.
(Inherited from RadMaskedInputBase.)
Public propertyClearButtonStyle
Gets or sets the ClearButton style.
(Inherited from RadMaskedInputBase.)
Public propertyClearCommand
Gets or sets the Clear command.
(Inherited from RadMaskedInputBase.)
Public propertyCopyCommand
Gets or sets the Copy command.
(Inherited from RadMaskedInputBase.)
Public propertyCulture
Gets or sets the Culture.
(Inherited from RadMaskedInputBase.)
Public propertyCutCommand
Gets or sets the Cut command.
(Inherited from RadMaskedInputBase.)
Protected propertyDecimalSeparator
The Decimal separator for the current culture.
Public propertyDisplayErrorMessage
Gets the DisplayErrorMessage.
(Inherited from RadMaskedInputBase.)
Protected propertyEditableTextEnd
Gets the ending position in the MaskedText that can be edited.
(Inherited from RadMaskedInputBase.)
Protected propertyEditableTextLength
Gets the length of the editable section in the MaskedText.
(Inherited from RadMaskedInputBase.)
Protected propertyEditableTextStart
Gets the starting position in the MaskedText that can be edited.
(Inherited from RadMaskedInputBase.)
Public propertyEmptyContent
Gets or sets the Empty content.
(Inherited from RadMaskedInputBase.)
Public propertyEmptyContentTemplate
Gets or sets the template of the EmptyContent.
(Inherited from RadMaskedInputBase.)
Public propertyErrorMessage
Gets or sets the Error message.
(Inherited from RadMaskedInputBase.)
Public propertyErrorMessageTemplate
Gets or sets the template of the ErrorMessage.
(Inherited from RadMaskedInputBase.)
Protected propertyEscapedPositions
Contains the escaped positions of the MaskedText.
(Inherited from RadMaskedInputBase.)
Public propertyFormatString
Gets or sets the formatting string used to format the Text value.
(Inherited from RadMaskedInputBase.)
Public propertyHasErrors
Gets or sets whether the control has errors.
(Inherited from RadMaskedInputBase.)
Public propertyInputBehavior
Gets or sets the InputBehavior.
(Inherited from RadMaskedInputBase.)
Protected propertyInputBehaviorResolved
Gets or sets the resolved InputBehavior.
(Overrides RadMaskedInputBaseInputBehaviorResolved.)
Public propertyIsClearButtonVisible
Gets or sets whether the clear button is visible.
(Inherited from RadMaskedInputBase.)
Public propertyIsEmpty
Gets or sets the IsEmpty property.
(Inherited from RadMaskedInputBase.)
Public propertyIsLastPositionEditable
Gets or sets a value indicating whether this instance is last position editable.
(Inherited from RadMaskedInputBase.)
Public propertyIsMaskValid
Gets or sets whether the control's mask is valid.
(Inherited from RadMaskedInputBase.)
Protected propertyIsNegativeValue
Gets or sets whether the number is negative. IsNegative returns True for negative nulls too. In no-masked scenarios, "()", "-" are treated as negative nulls.
Protected propertyIsPercentageValue
Gets or sets whether the number is percentage.
Public propertyIsReadOnly
Gets or sets whether the control is IsReadOnly.
(Inherited from RadMaskedInputBase.)
Protected propertyIsRevertingValue
(Inherited from RadMaskedInputBase.)
Protected propertyIsUsingOneWayBinding
Gets or sets value indicating whether the control is one-way bound.
(Inherited from RadMaskedInputBase.)
Protected propertyIsValueChangingFromInternal
Specifies whether the Value is being changed from the ValueInternal property.
(Inherited from RadMaskedInputBase.)
Protected propertyIsValueInternalSync
Specifies whether the ValueInternal is being synched from the Value property.
(Inherited from RadMaskedInputBase.)
Protected propertyLiteralPositions
Contains the literal positions of the MaskedText.
(Inherited from RadMaskedInputBase.)
Public propertyMask
Gets or sets the Mask.
(Inherited from RadMaskedInputBase.)
Protected propertyMaskedTextResolved
The resolved masked text.
(Inherited from RadMaskedInputBase.)
Protected propertyMaskResolved
Gets or sets the resolved Mask.
(Inherited from RadMaskedInputBase.)
Protected propertyNegativeSign
The Negative symbol for the current culture.
Protected propertyNumberSeparator
The Number separator for the current culture.
Public propertyOriginalValue
Gets or sets the OriginalValue.
(Inherited from RadMaskedInputBase.)
Public propertyPasteCommand
Gets or sets the Paste command.
(Inherited from RadMaskedInputBase.)
Protected propertyPercentageSign
The Percentage symbol.
Public propertyPlaceholder
Gets or sets the Placeholder.
(Inherited from RadMaskedInputBase.)
Protected propertyPrecision
The precision of the value.
Public propertySectionsNavigationMode
Gets or sets the sections navigation mode.
(Inherited from RadMaskedInputBase.)
Public propertySelectionLength
Gets or sets the Selection length.
(Inherited from RadMaskedInputBase.)
Public propertySelectionOnFocus
Gets or sets the SelectionOnFocus.
(Inherited from RadMaskedInputBase.)
Public propertySelectionStart
Gets or sets the Selection start.
(Inherited from RadMaskedInputBase.)
Protected propertySeparators
Contains the Separators of the Mask.
(Inherited from RadMaskedInputBase.)
Public propertySpinMode
Gets or sets the SpinMode.
(Inherited from RadMaskedInputBase.)
Public propertyText
Identifies the Text dependency property.
(Inherited from RadMaskedInputBase.)
Public propertyTextBoxStyle
Gets the style of the TextBox.
(Inherited from RadMaskedInputBase.)
Public propertyTextMode
Gets or sets the TextMode.
(Inherited from RadMaskedInputBase.)
Public propertyUpdateValueEvent
Gets or sets the UpdateValueEvent.
(Inherited from RadMaskedInputBase.)
Protected propertyUseBaseNavigation
Gets or sets a value whether the base class should apply base navigation.
(Inherited from RadMaskedInputBase.)
Public propertyValue
Gets or sets the Value property.
Public propertyValueToTextConverter
Gets or sets the ValueToTextConverter.
(Inherited from RadMaskedInputBase.)
Top
Events
  NameDescription
Public eventValueChanged
Occurs when the value is changed.
(Inherited from RadMaskedInputBase.)
Public eventValueChanging
Occurs before the value is changed.
(Inherited from RadMaskedInputBase.)
Top
See Also