Skip to main content

HintSettings.ShowCallout Property

Gets or sets a value that specifies whether a hint is displayed in a callout box.

Namespace: DevExpress.Web.Mvc

Assembly: DevExpress.Web.Mvc5.v24.1.dll

NuGet Package: DevExpress.Web.Mvc5

Declaration

public bool ShowCallout { get; set; }

Property Value

Type Description
Boolean

true, to display a hint in a callout box; otherwise, false.

Remarks

By default, if a hint is connected to the target UI element on a web page, the hint is displayed without a callout box. The callout element also is not used if the CSS selector for the target element is not specified or the hint is shown in precise X/Y coordinates on the screen. To control the hint’s callout box visibility, use the ShowCallout property.

@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();

Concept

Hint Extension - Overview

Online Demos

Hint Extension Demos

See Also