New to Telerik UI for ASP.NET Core? Download free 30-day trial

EffectsBuilder

Methods

Fade(Kendo.Mvc.UI.FadeDirection)

Configures the fade effect direction.

Parameters

direction - FadeDirection

The fade direction.

Example


             .Animation(animation => animation.Close(close => close.Fade(FadeDirection.Out)))

Zoom(Kendo.Mvc.UI.ZoomDirection)

Configures the zoom effect direction.

Parameters

direction - ZoomDirection

The zoom direction.

Example


             .Animation(animation => animation.Close(close => close.Zoom(ZoomDirection.Out)))

SlideIn(Kendo.Mvc.UI.SlideDirection)

Configures the slidein effect direction.

Parameters

direction - SlideDirection

The slidein direction.

Example


             .Animation(animation => animation.Close(close => close.SlideIn(SlideDirection.Right)))

Expand()

Enables the expand effect.

Example


             .Animation(animation => animation.Open(open => open.Expand()))

Expand(Kendo.Mvc.UI.ExpandDirection)

Configures the expand effect direction.

Parameters

direction - ExpandDirection

The expand direction.

Example


             .Animation(animation => animation.Open(open => open.Expand(ExpandDirection.Vertical)))

Duration(System.Int32)

Sets the animation duration.

Parameters

value - System.Int32

The animation duration.

Example


             .Animation(animation => animation.Open(open => open.Duration(200)))

Reverse(System.Boolean)

Enables or disables the effect animation reverse.

Parameters

value - System.Boolean

If true, reverses the effect animation.

Example


             .Animation(animation => {
                animation.Open(open => open.SlideIn(SlideDirection.Left).Duration(500));
                animation.Close(close => close.SlideIn(SlideDirection.Left).Duration(500).Reverse(true));
             })

Duration(Kendo.Mvc.UI.AnimationDuration)

Sets a predefined animation duration (Fast, Normal, Slow).

Parameters

value - AnimationDuration

The animation duration.

Example


             .Animation(animation => animation.Open(open => open.Duration(AnimationDuration.Slow)))

In this article
Not finding the help you need?