aspnetmvc-devexpress-dot-web-dot-mvc-dot-hintsettings-09b84f06.md
Gets or sets the hint’s title.
Namespace : DevExpress.Web.Mvc
Assembly : DevExpress.Web.Mvc5.v25.2.dll
NuGet Package : DevExpress.Web.Mvc5
public string Title { get; set; }
Public Property Title As String
| Type | Description |
|---|---|
| String |
A string value that is the hint’s title.
|
To specify that the hint’s title should be obtained from the target element’s attribute value, use the HintSettings.TitleAttribute property. To define the hint’s content, use the ASPxHint.Content or the ASPxHint.ContentAttribute properties.
@Html.DevExpress().Hint(settings => {
settings.Name = position + "Hint";
settings.Content = string.Format("Hint from {0} side", position);
settings.TargetSelector = "." + position;
settings.ShowCallout = Model.ShowCallout;
settings.Animation = Model.Animation;
settings.AppearAfter = Model.AppearAfter;
settings.DisappearAfter = Model.DisappearAfter;
settings.TriggerAction = Model.Trigger;
settings.Title = Model.ShowTitle ? "Hint title" : "";
...
}).GetHtml();
See Also