BaseEdit.DefaultErrorIcon Property

Gets or sets the default error icon.

Namespace: DevExpress.XtraEditors

Assembly: DevExpress.XtraEditors.v20.1.dll

Declaration

[DXCategory("Appearance")]
public static Image DefaultErrorIcon { get; set; }
<DXCategory("Appearance")>
Public Shared Property DefaultErrorIcon As Image

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