Skip to main content
Tab

ASPxHint.Position Property

Gets or sets where a hint should be positioned.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v24.1.dll

NuGet Package: DevExpress.Web

Declaration

[DefaultValue(HintPosition.Top)]
public HintPosition Position { get; set; }

Property Value

Type Default Description
HintPosition Top

A HintPosition object that specifies a hint position.

Available values:

Name Description
Top

A hint is displayed at the top side of the UI element.

ASPxHint-HintTop

Right

A hint is displayed at the right side of the UI element.

ASPxHint-HintRight

Bottom

A hint is displayed at the bottom side of the UI element.

ASPxHint-HintBottom

Left

A hint is displayed at the left side of the UI element.

ASPxHint-HintLeft

Remarks

The Hint Control can display on any side (left, right, top, bottom) of the target element. Use the Position property to specify the hint’s position.

<dx:ASPxHint ID="ASPxHint1" Selector=".class_name" Content="Hint Content" Position="Right" runat="server"></dx:ASPxHint>

To display a hint at a precise position on the browser window without targeting any UI element on a web page, use the ASPxHint.X and ASPxHint.Y properties. In this case, the Position property specifies the hint position relative to the defined X/Y coordinates.

See Also