ValidationRulesFactory Methods
Provides methods that allow you to add validation rules.| Name | Description |
|---|---|
| AddAsync() | Adds a validation rule that is checked asynchronously. Use async rules for server-side validation. |
| AddCompare() | Adds a validation rule that checks if an editor’s value is equal to another editor’s value. |
| AddCustom() | Adds a custom validation rule. |
| AddEmail() | Adds a validation rule that checks if an editor’s value is a valid e-mail. |
| AddNumeric() | Adds a validation rule that checks if an editor has a numeric value. |
| AddPattern() | Adds a validation rule that checks if an editor’s value matches a specified pattern. |
| AddRange() | Adds a validation rule that checks if an editor’s value falls within a specified range. |
| AddRequired() | Adds a validation rule that checks if an editor’s value is not null. |
| AddStringLength() | Adds a validation rule that checks if the length of an editor’s value does not exceed the specified limit. |
| Equals(Object, Object) static | Determines whether the specified object instances are considered equal. Inherited from Object. |
| Equals(Object) | Determines whether the specified object is equal to the current object. Inherited from Object. |
| GetHashCode() | Serves as the default hash function. Inherited from Object. |
| GetType() | Gets the Type of the current instance. Inherited from Object. |
| MemberwiseClone() protected | Creates a shallow copy of the current Object. Inherited from Object. |
| ReferenceEquals(Object, Object) static | Determines whether the specified Object instances are the same instance. Inherited from Object. |
| ToString() | Returns a string that represents the current object. Inherited from Object. |
See Also