Skip to main content

ValidationEventArgs Class

Provides data for the BaseEdit.Validate event.

Namespace: DevExpress.UI.Xaml.Editors.Native

Assembly: DevExpress.UI.Xaml.Editors.v21.2.dll

NuGet Package: DevExpress.Uwp.Controls

Declaration

public class ValidationEventArgs :
    EventArgsBase

Remarks

Handle the BaseEdit.Validate event to manually validate the editor (e.g. to limit the range of valid values, implement a custom a conditional validation mechanism, etc). If the value is invalid, set the ValidationEventArgs.IsValid property to false. The ValidationEventArgs.ErrorContent and ValidationEventArgs.ErrorType properties allow you to customize the error description.

To learn more, see Input Validation.

Inheritance

Object
DevExpress.UI.Xaml.Editors.Native.EventArgsBase
ValidationEventArgs
See Also