Back to Devexpress

ASPxHint.Position Property

aspnet-devexpress-dot-web-dot-aspxhint-c68b4112.md

latest2.6 KB
Original Source

ASPxHint.Position Property

Gets or sets where a hint should be positioned.

Namespace : DevExpress.Web

Assembly : DevExpress.Web.v25.2.dll

NuGet Package : DevExpress.Web

Declaration

csharp
[DefaultValue(HintPosition.Top)]
public HintPosition Position { get; set; }
vb
<DefaultValue(HintPosition.Top)>
Public Property Position As HintPosition

Property Value

TypeDefaultDescription
HintPositionTop

A HintPosition object that specifies a hint position.

|

Available values:

NameDescription
Top

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

| | Right |

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

| | Bottom |

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

| | Left |

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

|

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.

aspx
<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

Hint Control

ASPxHint - FeaturesOline Demo:

How to: Specify Hint Position

ASPxHint Class

ASPxHint Members

DevExpress.Web Namespace