A newer version of this page is available. Switch to the current version.

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

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