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.v20.1.dll

Declaration

[Browsable(false)]
public Image ErrorIcon { get; set; }
<Browsable(False)>
Public Property ErrorIcon As Image

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