Skip to main content

HintSettings.AppearAfter Property

Gets or sets the delay in displaying the hint.

Namespace: DevExpress.Web.Mvc

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

Declaration

public int AppearAfter { get; set; }

Property Value

Type Description
Int32

An integer value that specifies the time interval, in milliseconds, after which a hint displays.

Remarks

When an end-user positions the mouse pointer over a target element or clicks it (specified by the HintSettings.TriggerAction property), the hint’s appearance can be delayed by a specific duration. Use the AppearAfter property to specify the delay in displaying the hint. Invoking the hint utilizes a predefined animation effect, if the HintSettings.Animation property is enabled.

To specify the delay after which the hint disappears, use the HintSettings.DisappearAfter 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