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.IconToTextDistance Property

Gets or sets the distance between text and image within a hint, displayed by this ValidationHint object. This property is obsolete. Use the ValidationHintBaseDefaultProperties.ImageOptions.IconToTextDistance property instead.

Namespace: DevExpress.Utils.VisualEffects

Assembly: DevExpress.Utils.v24.2.dll

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

#Declaration

[Browsable(false)]
[DXCategory("Layout")]
[EditorBrowsable(EditorBrowsableState.Never)]
public int? IconToTextDistance { get; set; }

#Property Value

Type Default Description
Nullable<Int32> *null*

An Int32 value that is the distance between text and image within a hint, displayed by this ValidationHint object.

#Remarks

If a ValidationHint object displays its hints (the ValidationHintBaseDefaultProperties.ShowHint property), it can display text and image content. To specify the distance between them, use the IconToTextDistance property (see the figure below).

Adorner - Validation Hint Distances

See Also