Back to Devexpress

HintSettings.Position Property

aspnetmvc-devexpress-dot-web-dot-mvc-dot-hintsettings-4bfd5985.md

latest2.2 KB
Original Source

HintSettings.Position Property

Gets or sets where a hint should be positioned.

Namespace : DevExpress.Web.Mvc

Assembly : DevExpress.Web.Mvc5.v25.2.dll

NuGet Package : DevExpress.Web.Mvc5

Declaration

csharp
public HintPosition Position { get; set; }
vb
Public Property Position As HintPosition

Property Value

TypeDescription
HintPosition

A HintPosition object that specifies the 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 be displayed on any side (left, right, top, bottom) of the target element. Use the Position property to specify the hint’s position.

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

See Also

Hint Control - FeaturesOline Demo:

HintSettings Class

HintSettings Members

DevExpress.Web.Mvc Namespace