Skip to main content
A newer version of this page is available. .

BaseEdit.ErrorIcon Property

Gets or sets the error icon displayed within the editor, when an error is associated with the editor.

Namespace: DevExpress.XtraEditors

Assembly: DevExpress.XtraEditors.v18.2.dll

Declaration

[Browsable(false)]
public Image ErrorIcon { get; set; }

Property Value

Type Description
Image

A Image object representing the error icon.

Remarks

By default, when an error is associated with an editor using the BaseEdit.ErrorText property, a default error icon is displayed within the editor, which is specified by the BaseEdit.DefaultErrorIcon property. The ErrorIcon property allows you to provide a custom error icon for the editor.

The icon’s size must be 12x12 pixels.

See Also