Skip to main content

ValidationHintBaseDefaultProperties.Icon Property

Gets or sets the image displayed within this ValidationHint object’s hint. This property is obsolete. Use the ValidationHintBaseDefaultProperties.ImageOptions.Image property instead.

Namespace: DevExpress.Utils.VisualEffects

Assembly: DevExpress.Utils.v25.1.dll

NuGet Packages: DevExpress.Utils, DevExpress.Wpf.Core

Declaration

[Browsable(false)]
[EditorBrowsable(EditorBrowsableState.Never)]
public Image Icon { get; set; }

Property Value

Type Default Description
Image *null*

An Image object displayed within this ValidationHint object’s hint.

Remarks

If a ValidationHint object displays its hint for the current validation state (see the ValidationHintBaseDefaultProperties.ShowHint property), you can assign both text and image to this hint.

Use one of the following properties to specify a hint image:

  • ImageOptions.SvgImage
  • ImageOptions.Image
  • ImageOptions.ImageUri
  • ImageOptions.IconType (warning, question, information, etc.)
See Also