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.v14.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.

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

See Also