Skip to main content

ValidationHintBaseDefaultProperties.HintLocation Property

Gets or sets the position of this ValidationHint object’s hint relative to its target UI element.

Namespace: DevExpress.Utils.VisualEffects

Assembly: DevExpress.Utils.v23.2.dll

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

Declaration

[DefaultValue(null)]
[DXCategory("Layout")]
public ValidationHintLocation? HintLocation { get; set; }

Property Value

Type Default Description
Nullable<ValidationHintLocation> null

A ValidationHintLocation enumeration value that specifies the relative hint position.

Available values:

Name Description
Default

A default location. This value is equal to ValidationHintLocation.Bottom.

Left

The hint will be displayed to the target UI element’s left.

Top

The hint will be displayed above the target UI element.

Bottom

The hint will be displayed below the target UI element.

Right

The hint will be displayed to the target UI element’s right.

Remarks

A ValidationHint object can display apply two visual effects for its target UI element:

This hint can display both a text string and an image specific to the current UI element’s validation state. To set the relative position of this hint, use the HintLocation property. This property overrides a global ValidationHintBaseProperties.HintLocation property, accessed through the parent manager’s AdornerUIManager.ValidationHintProperties group.

See the Adorner UI Manager article to learn more.

See Also