Back to Devexpress

BaseEdit.ShowError Property

wpf-devexpress-dot-xpf-dot-editors-dot-baseedit-9e638eb7.md

latest1.5 KB
Original Source

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.2.dll

NuGet Package : DevExpress.Wpf.Core

Declaration

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

Property Value

TypeDefaultDescription
BooleanTrue

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.

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

See Also

BaseEdit Class

BaseEdit Members

DevExpress.Xpf.Editors Namespace