Skip to main content

AnimationConfigBuilder.To(String) Method

Mirrors the client-side to option.

Namespace: DevExtreme.AspNet.Mvc.Builders

Assembly: DevExtreme.AspNet.Core.dll

Declaration

public AnimationConfigBuilder To(
    string cssClassName
)

Parameters

Name Type Description
cssClassName String

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
            .To("fade-out-active-text, fade-out-active-visibility")
        )
    )
)
.fade-out-active-visibility { opacity: 1; }
.fade-out-active-text { font-size: 15pt; }
See Also