DateRangeBoxBuilder.ValidationRules(Action<ValidationRulesFactory>) Method
Specifies validation rules for the control.
Namespace: DevExtreme.AspNet.Mvc.Builders
Assembly: DevExtreme.AspNet.Core.dll
Declaration
public DateRangeBoxBuilder ValidationRules(
Action<ValidationRulesFactory> configurator
)
Parameters
| Name | Type | Description |
|---|---|---|
| configurator | Action<ValidationRulesFactory> | A function that allows you to specify validation rules. |
Returns
| Type | Description |
|---|---|
| DateRangeBoxBuilder | A reference to this instance after the method is called. |
See Also