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

Animations

The Telerik UI Window for ASP.NET Core allows you to customize the animation effects upon display via the Animation() configuration option.

The Following example demonstrates how you can configure the Animation effects for the Window:

@(Html.Kendo().Window()
    .Name("window")
    .Title("Window")
    .Animation(animation =>
    {
        animation.Open(open =>
        {
            open.Zoom(ZoomDirection.In);
            open.Fade(FadeDirection.In);
            open.Duration(500);
        });

        animation.Close(close =>
        {
            close.Reverse(false);
            close.Zoom(ZoomDirection.Out);   
            close.Fade(FadeDirection.In);
        });
    })
    .Content("Window Content")
)

See Also

See Also
Not finding the help you need?
Contact Support