AnimationConfigBuilder.To(String) Method
In This Article
Mirrors the client-side to option.
Namespace: DevExtreme.AspNet.Mvc.Builders
Assembly: DevExtreme.AspNet.Core.dll
#Declaration
C#
public AnimationConfigBuilder To(
string cssClassName
)
#Parameters
Name | Type | Description |
---|---|---|
css |
String | The option value. |
#Returns
Type | Description |
---|---|
Animation |
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