InterfaceIMaskProvider
Definition
Namespace:Telerik.WinControls.UI
Assembly:Telerik.WinControls.UI.dll
Syntax:
public interface IMaskProvider
Properties
Culture
Gets the culture that determines the value of the localizable separators and placeholders in the input mask.
Declaration
CultureInfo Culture { get; }
Property Value
A System.Globalization.CultureInfo containing the culture information associated with the input mask.
IncludePrompt
Gets or sets a value indicating whether PromptChar is used to represent the absence of user input when displaying the formatted string.
Declaration
bool IncludePrompt { get; set; }
Property Value
true if the prompt character is used to represent the positions where no user input was provided; otherwise, false. The default is true.
Mask
Gets the input mask to use at run time.
PromptChar
Gets or sets the character used to represent the absence of user input.
Declaration
char PromptChar { get; set; }
Property Value
The character used to prompt the user for input. The default is an underscore(_).
TextBoxItem
Gets the RadTextBoxItem.
Declaration
RadTextBoxItem TextBoxItem { get; }
Property Value
RadTextBoxItem
Methods
Click()
Occurs when the user clicks with the mouse.
Clone()
Clones this instance.
Delete()
Deletes selected text. If there is no selection, deletes the first symbol after the cursor. If there is no selection and the cursor is after the last character, does not remove anything.
KeyDown(object, KeyEventArgs)
Occurs when a key is pressed.
Declaration
void KeyDown(object sender, KeyEventArgs e)
Parameters
sender
The sender.
e
Key event arguments.
KeyPress(object, KeyPressEventArgs)
Occurs when a key is pressed.
Declaration
void KeyPress(object sender, KeyPressEventArgs e)
Parameters
sender
The sender.
e
Key press event arguments.
ToString(bool, bool)
Gets the string interpretation of the value based on the Mask