Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

ValidationHintBaseDefaultProperties.IconType Property

Gets or sets one of the predefined images to be displayed within the ValidationHint object’s hint. This property is obsolete. Use the ValidationHintBaseDefaultProperties.ImageOptions.Image property instead.

Namespace: DevExpress.Utils.VisualEffects

Assembly: DevExpress.Utils.v24.2.dll

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

#Declaration

[Browsable(false)]
[EditorBrowsable(EditorBrowsableState.Never)]
public ValidationHintIconType? IconType { get; set; }

#Property Value

Type Default Description
Nullable<ValidationHintIconType> *null*

A ValidationHintIconType enumeration value that specifies one of predefined images to be displayed within the ValidationHint object’s hint.

Available values:

Name Description
Application

An application icon.

Error

An error icon.

Information

An information icon.

Question

A question icon.

Warning

A warning icon.

None

A ValidationHint will not display any icon.

#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