Skip to main content

AnimationConfigBuilder.From(String) Method

Mirrors the client-side from option.

Namespace: DevExtreme.AspNet.Mvc.Builders

Assembly: DevExtreme.AspNet.Core.dll

Declaration

public AnimationConfigBuilder From(
    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
            .From("fade-out-text, fade-out-visibility")
        )
    )
)
.fade-out-visibility { opacity: 0; }
.fade-out-text { font-size: 5pt; }
See Also