BaseEdit.ShowError Property

Gets or sets whether an error icon is displayed in the editor containing an invalid value. This is a dependency property.

Namespace: DevExpress.Xpf.Editors

Assembly: DevExpress.Xpf.Core.v20.1.dll

Declaration

public bool ShowError { get; set; }
Public Property ShowError As Boolean

Property Value

Type Description
Boolean

true to show the validation error; otherwise, false.

Remarks

By default, if the editor fails validation, it displays an error icon and corresponding tooltip showing the error message.

Validation_ErrorContent

To hide the error, set the ShowError property to false.

See Also