AnimationConfigBuilder.Type(AnimationType) Method

Mirrors the client-side type option.

Namespace: DevExtreme.AspNet.Mvc.Builders

Assembly: DevExtreme.AspNet.Core.dll

Declaration

public AnimationConfigBuilder Type(
    AnimationType value
)

Parameters

Name Type Description
value AnimationType

The option value.

Returns

Type Description
AnimationConfigBuilder

A reference to this instance after the method is called.

Remarks

Use the following notation to set the option’s value:

@(Html.DevExtreme().LoadPanel()
    .Animation(animation => animation
        .Show(show => show
            .Type(AnimationType.Fade)
        )
    )
)
See Also