New to Telerik UI for WinForms? Start a free 30-day trial

Validates e-mail input with a built-in regular-expression pattern or a caller-supplied pattern.

Definition

Constructors

Initializes the provider with its built-in e-mail pattern.

C#
public EMailMaskTextBoxProvider(CultureInfo culture, RadMaskedEditBoxElement owner)
Parameters:cultureCultureInfo

The culture context retained by the base provider; the supplied pattern is matched directly.

ownerRadMaskedEditBoxElement

The masked edit element whose input is validated.

Initializes the provider with a caller-supplied regular-expression pattern.

C#
public EMailMaskTextBoxProvider(string mask, CultureInfo culture, RadMaskedEditBoxElement owner)
Parameters:maskstring

The pattern used to validate the input.

cultureCultureInfo

The culture context retained by the base provider; the supplied pattern is matched directly.

ownerRadMaskedEditBoxElement

The masked edit element whose input is validated.