Skip to main content

ValidationEventArgs.SetError(Object, ErrorType) Method

In This Article

Marks the processed input value as invalid and displays an error within the editor with the specified error icon type.

Namespace: DevExpress.WinUI.Editors

Assembly: DevExpress.WinUI.Editors.v23.2.dll

NuGet Package: DevExpress.WinUI

#Declaration

public void SetError(
    object errorContent,
    ErrorType errorType
)

#Parameters

Name Type Description
errorContent Object

The error content.

errorType ErrorType

An error icon type.

See Also