Skip to main content

BaseEdit.ShowError Property

Gets or sets whether to display an error icon in the editor that fails validation. This is a dependency property.

Namespace: DevExpress.Xpf.Editors

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

NuGet Package: DevExpress.Wpf.Core

Declaration

public bool ShowError { get; set; }

Property Value

Type Default Description
Boolean True

true to display an error icon in the editor that fails validation; otherwise, false.

Remarks

If the editor fails validation, it displays an error icon and corresponding tooltip with the error message.

Validation_ErrorContent

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

See Also