AnimationConfigBuilder.From(String) Method
In This Article
Mirrors the client-side from option.
Namespace: DevExtreme.AspNet.Mvc.Builders
Assembly: DevExtreme.AspNet.Core.dll
#Declaration
C#
public AnimationConfigBuilder From(
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
.From("fade-out-text, fade-out-visibility")
)
)
)
.fade-out-visibility { opacity: 0; }
.fade-out-text { font-size: 5pt; }
See Also