Back to Devexpress

HintSettings.Animation Property

aspnetmvc-devexpress-dot-web-dot-mvc-dot-hintsettings-40686ff1.md

latest1.8 KB
Original Source

HintSettings.Animation Property

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

Namespace : DevExpress.Web.Mvc

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

NuGet Package : DevExpress.Web.Mvc5

Declaration

csharp
public bool Animation { get; set; }
vb
Public Property Animation As Boolean

Property Value

TypeDescription
Boolean

true if animation is enabled; otherwise false.

|

Remarks

csharp
@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

Hint Control - FeaturesOline Demo:

HintSettings Class

HintSettings Members

DevExpress.Web.Mvc Namespace