Definition
Namespace:Telerik.WinControls.UI
Assembly:Telerik.WinControls.UI.dll
Syntax:
C#
public class IPMaskTextBoxProvider : StandardMaskTextBoxProvider, IMaskProvider
Inheritance: objectStandardMaskTextBoxProviderIPMaskTextBoxProvider
Implements:
Inherited Members
Constructors
Initializes a new instance of the IPMaskTextBoxProvider
C#
public IPMaskTextBoxProvider(CultureInfo culture, RadMaskedEditBoxElement owner, bool allowPromptAsInput, char promptChar, char passwordChar, bool restrictToAscii)
The culture.
ownerRadMaskedEditBoxElementThe owner.
allowPromptAsInputboolA value indicating whether the prompt char is allowed as input.
promptCharcharThe prompt character.
passwordCharcharThe password character.
restrictToAsciiboolA value indicating whether to restrict the input to ASCII.
Properties
Gets or sets the error message.
C#
public virtual string ErrorMessage { get; set; }
Methods
Occurs when a key is pressed.
C#
public override void KeyPress(object sender, KeyPressEventArgs e)
The sender.
eKeyPressEventArgsKey event arguments.
Overrides:
Sets the string interpretation of the value, using the KeyPress(object, KeyPressEventArgs) method, char by char.
Returns the formatted string.
C#
public override string ToString()
The formatted System.String that includes all the assigned character values.
Overrides: