A newer version of this page is available. Switch to the current version.

ValidationEventArgs.Value Property

Gets or sets the currently validated value.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v18.2.dll


public object Value { get; set; }
Public Property Value As Object

Property Value

Type Description

A Object representing the validated value.


You can analyze the Value property to provide custom-written server-side validation of an end users input. In an event handler, test this value against any required condition(s) to check whether it's valid.

If the entered value is not valid, you can set the ValidationEventArgs.IsValid property to false. In this case, the value will not be accepted by the validated editor. Otherwise, you may correct the entered value manually by setting the Value property and leaving the ValidationEventArgs.IsValid value set to true. In this case, the corrected value will be written to the editor being validated.

See Also