Skip to main content

TcxEditValidateInfo.ErrorIcon Property

Specifies an icon (also called error icon) to be displayed by an editor when it fails validation.

Declaration

property ErrorIcon: TdxSmartGlyph read; write;

Property Value

Type
TdxSmartGlyph

Remarks

If this property is left unassigned, an editor displays the default error icon (i.e., the icon that corresponds to the ErrorType property value). Otherwise, the icon assigned to the ErrorIcon property will be used instead, regardless of the ErrorType property setting. Use the editor Properties.ValidationErrorIconAlignment property to specify how the error icon is horizontally aligned within the editor.

An editor displays an error icon only if the evoShowErrorIcon flag is set within the editor Properties.ValidationOptions property. Refer to the property description to learn how to initialize the ErrorIcon property and customize an error indication using other TcxEditValidateInfo properties.

See Also