New to Telerik UI for ASP.NET MVC? Start a free 30-day trial

Defines the fluent API for configuring the PopupAnimation object.

Definition

Namespace:Kendo.Mvc.UI.Fluent

Assembly:Kendo.Mvc.dll

Syntax:

C#
public class PopupAnimationBuilder

Inheritance: objectPopupAnimationBuilder

Inherited Members object.GetType()object.MemberwiseClone()object.ToString()object.Equals(object)object.Equals(object, object)object.ReferenceEquals(object, object)object.GetHashCode()...

Constructors

Initializes a new instance of the PopupAnimationBuilder class.

C#
public PopupAnimationBuilder(PopupAnimation animation)
Parameters:animationPopupAnimation

Properties

C#
protected PopupAnimation Animation { get; }

Methods

The Close settings.

C#
public PopupAnimationBuilder Close(Action<EffectsBuilder> effectsAction)
Parameters:effectsActionAction<EffectsBuilder>

The configuration action.

Returns:

PopupAnimationBuilder

Example:
C#
.Animation(animation =&gt; animation.Close(close =&gt; close.Duration(200)))

Enables or disables the animation.

C#
public void Enable(bool enable)
Parameters:enablebool

Specifies whether the animation is enabled.

Example:
C#
.Animation(animation =&gt; animation.Enable(false))

The Open settings.

C#
public PopupAnimationBuilder Open(Action<EffectsBuilder> effectsAction)
Parameters:effectsActionAction<EffectsBuilder>

The configuration action.

Returns:

PopupAnimationBuilder

Example:
C#
.Animation(animation =&gt; animation.Open(open =&gt; open.Duration(600)))