EmailValidationBehavior Class
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
The EmailValidationBehavior is a behavior that allows users to determine whether or not text input is a valid e-mail address. For example, an Entry control can be styled differently depending on whether a valid or an invalid e-mail address is provided. The validation is achieved through a regular expression that is used to verify whether or not the text input is a valid e-mail address. It can be overridden to customize the validation through the properties it inherits from ValidationBehavior.
public class EmailValidationBehavior : Xamarin.CommunityToolkit.Behaviors.TextValidationBehavior
- Inheritance
-
Behavior<TView>EmailValidationBehavior
Invalid |
(Inherited from ValidationBehavior) |
Valid |
(Inherited from ValidationBehavior) |
Decoration |
Provides enumerated value to use to set how to handle white spaces. This is a bindable property. (Inherited from TextValidationBehavior) |
Default |
(Inherited from ValidationBehavior) |
Default |
|
Default |
|
Default |
(Inherited from ValidationBehavior) |
Flags |
Provides an enumerated value that specifies how to handle validation. This is a bindable property. (Inherited from ValidationBehavior) |
Force |
Allows the user to provide a custom System.Windows.Input.ICommand that handles forcing validation. This is a bindable property. (Inherited from ValidationBehavior) |
Invalid |
The Style to apply to the element when validation fails. This is a bindable property. (Inherited from ValidationBehavior) |
Is |
Indicates whether or not the current value is considered not valid. This is a bindable property. (Inherited from ValidationBehavior) |
Is |
Indicates whether or not the validation is in progress now (waiting for an asynchronous call is finished). (Inherited from ValidationBehavior) |
Is |
Indicates whether or not the current value is considered valid. This is a bindable property. (Inherited from ValidationBehavior) |
Maximum |
The maximum length of the value that will be allowed. This is a bindable property. (Inherited from TextValidationBehavior) |
Minimum |
The minimum length of the value that will be allowed. This is a bindable property. (Inherited from TextValidationBehavior) |
Regex |
Provides enumerated values to use to set regular expression options. This is a bindable property. (Inherited from TextValidationBehavior) |
Regex |
The regular expression pattern which the value will have to match before it will be allowed. This is a bindable property. (Inherited from TextValidationBehavior) |
Valid |
The Style to apply to the element when validation is successful. This is a bindable property. (Inherited from ValidationBehavior) |
Value |
The value to validate. This is a bindable property. (Inherited from ValidationBehavior) |
Value |
Allows the user to override the property that will be used as the value to validate. This is a bindable property. (Inherited from ValidationBehavior) |
View | (Inherited from BaseBehavior<TView>) |
Decorate(Object) | |
Force |
Forces the behavior to make a validation pass. (Inherited from ValidationBehavior) |
Is |
(Inherited from BaseBehavior<TView>) |
On |
(Inherited from BaseBehavior<TView>) |
On |
(Inherited from ValidationBehavior) |
On |
(Inherited from BaseBehavior<TView>) |
On |
(Inherited from ValidationBehavior) |
On |
(Inherited from ValidationBehavior) |
Validate |
(Inherited from TextValidationBehavior) |
Produkt | Versiounen |
---|---|
Xamarin Community Toolkit | Latest |