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

BaseEdit.DefaultErrorIcon Property

Gets or sets the default error icon.

Namespace: DevExpress.XtraEditors

Assembly: DevExpress.XtraEditors.v19.1.dll

Declaration

[DXCategory("Appearance")]
public static Image DefaultErrorIcon { get; set; }

Property Value

Type Description
Image

A Image object representing the default error icon.

Remarks

The DefaultErrorIcon property returns the icon (ErrorType_Critical) displayed when an error is associated with the editor using the BaseEdit.ErrorText property.

You can use the DefaultErrorIcon property to assign a new default error icon. The icon’s size must be 12x12 pixels.

To specify an error icon for a specific editor, use the BaseEdit.ErrorIcon property.

See Also