Skip to main content

HintSettings.Animation Property

Gets or sets whether it should use animation effects when a hint appears.

Namespace: DevExpress.Web.Mvc

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

NuGet Package: DevExpress.Web.Mvc5

Declaration

public bool Animation { get; set; }

Property Value

Type Description
Boolean

true if animation is enabled; otherwise false.

Remarks

@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