aspnet-devexpress-dot-web-dot-editproperties.md
Gets the editor’s validation settings.
Namespace : DevExpress.Web
Assembly : DevExpress.Web.v25.2.dll
NuGet Package : DevExpress.Web
public ValidationSettings ValidationSettings { get; }
Public ReadOnly Property ValidationSettings As ValidationSettings
| Type | Description |
|---|---|
| ValidationSettings |
A ValidationSettings object that contains validation settings.
|
Use the ValidationSettings property to access and customize the settings that relate to editor validation.
Note
The ValidationSettings property synchronizes its value with the editor’s ASPxEdit.ValidationSettings property.
<dx:GridViewDataTextColumn FieldName="CategoryName" VisibleIndex="2">
<PropertiesTextEdit>
<ClientSideEvents Validation="OnValidation" />
<ValidationSettings ErrorDisplayMode="None">
<RequiredField IsRequired="true" ErrorText="CategoryName Is Required" />
</ValidationSettings>
</PropertiesTextEdit>
</dx:GridViewDataTextColumn>
See Also