EditProperties.ValidationSettings Property
Gets the editor’s validation settings.
Namespace: DevExpress.Web
Assembly: DevExpress.Web.v24.2.dll
NuGet Package: DevExpress.Web
#Declaration
public ValidationSettings ValidationSettings { get; }
#Property Value
Type | Description |
---|---|
Validation |
A Validation |
#Remarks
Use the ValidationSettings property to access and customize the settings that relate to editor validation.
Note
The Validation
<dx:GridViewDataTextColumn FieldName="CategoryName" VisibleIndex="2">
<PropertiesTextEdit>
<ClientSideEvents Validation="OnValidation" />
<ValidationSettings ErrorDisplayMode="None">
<RequiredField IsRequired="true" ErrorText="CategoryName Is Required" />
</ValidationSettings>
</PropertiesTextEdit>
</dx:GridViewDataTextColumn>