Definition
Namespace:Telerik.WinControls.UI
Assembly:Telerik.WinControls.UI.dll
Syntax:
public class RegexMaskTextBoxProvider : IMaskProvider
Inheritance: objectRegexMaskTextBoxProvider
Derived Classes:
Implements:
Constructors
Initializes a new instance of the RegexMaskTextBoxProvider class.
public RegexMaskTextBoxProvider(string mask, CultureInfo culture, RadMaskedEditBoxElement owner)
The mask.
cultureCultureInfoThe culture.
ownerRadMaskedEditBoxElementThe owner.
Fields
Properties
Gets or sets a value indicting whether empty strings are valid.
public bool AllowEmptyString { get; set; }
Gets the culture that determines the value of the localizable separators and placeholders in the input mask.
public CultureInfo Culture { get; }
A System.Globalization.CultureInfo containing the culture information associated with the input mask.
Implements:
Gets or sets the error message.
public string ErrorMessage { get; set; }
Gets or sets the error provider.
public ErrorProvider ErrorProvider { get; set; }
Gets a value indicating whether the text matches the regular expression created using the Mask Sets an error if there is no match and is true.
public bool IsValid { get; }
Gets the input mask.
TextBoxItem
RadTextBoxItem
Gets the text box item.
public RadTextBoxItem TextBoxItem { get; }
Implements:
Methods
Clones this instance.
Occurs when a key is pressed.
public void KeyDown(object sender, KeyEventArgs e)
The sender.
eKeyEventArgsKey event arguments.
Implements:
Occurs when a key is pressed.
public void KeyPress(object sender, KeyPressEventArgs e)
The sender.
eKeyPressEventArgsKey event arguments.
Implements:
Detaches from events.
public void UnwireEvents()
Attaches to events.
public void WireEvents()