Skip to main content

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.v24.1.dll

NuGet Package: DevExpress.Wpf.Core

Declaration

public bool ShowError { get; set; }

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