Class
IPMaskTextBoxProvider

Definition

Namespace:Telerik.WinControls.UI

Assembly:Telerik.WinControls.UI.dll

Syntax:

cs-api-definition
public class IPMaskTextBoxProvider : StandardMaskTextBoxProvider, IMaskProvider

Inheritance: objectStandardMaskTextBoxProviderIPMaskTextBoxProvider

Implements: IMaskProvider

Inherited Members StandardMaskTextBoxProvider.providerStandardMaskTextBoxProvider.ownerStandardMaskTextBoxProvider.ToString(bool, bool)StandardMaskTextBoxProvider.Clone()StandardMaskTextBoxProvider.Set(string, out int, out MaskedTextResultHint)StandardMaskTextBoxProvider.KeyDown(object, KeyEventArgs)StandardMaskTextBoxProvider.Validate(string)StandardMaskTextBoxProvider.TryGetStandardProvider()StandardMaskTextBoxProvider.Delete()StandardMaskTextBoxProvider.MaskCompletedStandardMaskTextBoxProvider.MaskFullStandardMaskTextBoxProvider.ResetOnSpaceStandardMaskTextBoxProvider.ResetOnPromptStandardMaskTextBoxProvider.TextBoxItemStandardMaskTextBoxProvider.CultureStandardMaskTextBoxProvider.MaskStandardMaskTextBoxProvider.IncludePromptStandardMaskTextBoxProvider.PromptChar

Constructors

IPMaskTextBoxProvider(CultureInfo, RadMaskedEditBoxElement, bool, char, char, bool)

Initializes a new instance of the IPMaskTextBoxProvider

Declaration

cs-api-definition
public IPMaskTextBoxProvider(CultureInfo culture, RadMaskedEditBoxElement owner, bool allowPromptAsInput, char promptChar, char passwordChar, bool restrictToAscii)

Parameters

culture

CultureInfo

The culture.

owner

RadMaskedEditBoxElement

The owner.

allowPromptAsInput

bool

A value indicating whether the prompt char is allowed as input.

promptChar

char

The prompt character.

passwordChar

char

The password character.

restrictToAscii

bool

A value indicating whether to restrict the input to ASCII.

Properties

ErrorMessage

Gets or sets the error message.

Declaration

cs-api-definition
public virtual string ErrorMessage { get; set; }

Property Value

string

Value

Gets or sets the value.

Declaration

cs-api-definition
public override object Value { get; set; }

Property Value

object

Overrides StandardMaskTextBoxProvider.Value

Methods

KeyPress(object, KeyPressEventArgs)

Occurs when a key is pressed.

Declaration

cs-api-definition
public override void KeyPress(object sender, KeyPressEventArgs e)

Parameters

sender

object

The sender.

e

KeyPressEventArgs

Key event arguments.

Overrides StandardMaskTextBoxProvider.KeyPress(object, KeyPressEventArgs)

SetValueCore(object)

Sets the string interpretation of the value, using the KeyPress(object, KeyPressEventArgs) method, char by char.

Declaration

cs-api-definition
protected virtual void SetValueCore(object value)

Parameters

value

object

ToString()

Returns the formatted string.

Declaration

cs-api-definition
public override string ToString()

Returns

string

The formatted System.String that includes all the assigned character values.

Overrides object.ToString()