ClassRadMaskedTextInput
MaskedInput control for entering string values like phone numbers, IBAN, post codes, product codes etc. User can limit the user input or set literal / escaped symbols in the input via the Mask property. When Mask is empty string, the control behaves like a normal TextBox (free form text input).
Definition
Namespace:Telerik.UI.Xaml.Controls.Input
Assembly:Telerik.WinUI.Controls.dll
Syntax:
public class RadMaskedTextInput : RadMaskedInputBase
Inheritance: objectRadControlRadMaskedInputBaseRadMaskedTextInput
Inherited Members
Constructors
RadMaskedTextInput()
Initializes a new instance of the RadMaskedTextInput class.
Declaration
public RadMaskedTextInput()
Fields
AllowOnlyCompletedValuesProperty
Identifies the AllowOnlyCompletedValues dependency property.
Declaration
public static readonly DependencyProperty AllowOnlyCompletedValuesProperty
Field Value
DependencyProperty
IsMaskCompletedProperty
Identifies the IsMaskCompleted property key.
Declaration
public static readonly DependencyProperty IsMaskCompletedProperty
Field Value
DependencyProperty
RestrictToAsciiProperty
Identifies the RestrictToAscii dependency property.
Declaration
public static readonly DependencyProperty RestrictToAsciiProperty
Field Value
DependencyProperty
ValueFormatProperty
Identifies the ValueFormat dependency property.
Declaration
public static readonly DependencyProperty ValueFormatProperty
Field Value
DependencyProperty
ValueProperty
Identifies the Value dependency property.
Declaration
public static readonly DependencyProperty ValueProperty
Field Value
DependencyProperty
Properties
AllowOnlyCompletedValues
Gets or sets a value indicating whether only valid values are allowed. When this property is set to true, invalid values are not accepted. When this property is set to false invalid values are accepted (i.e. the Value property is set) and the ValueChanging and ValueChanged events are raised.
Declaration
public bool AllowOnlyCompletedValues { get; set; }
Property Value
IsMaskCompleted
Gets a value indicating whether all required inputs have been entered into the formatted string.
RestrictToAscii
Gets or sets a value indicating whether input should be restricted to ascii characters.
Value
Gets or sets the text value of the control. The value may be null if the AllowNullValue is true.
ValueFormat
The ValueFormat allows you to control whether the value can also hold literals and prompt characters.
Declaration
public ValueFormat ValueFormat { get; set; }
Property Value