Hello there
Is it possible to alter the Blazor SfTreeView animation Expand/Collapse speed in css?
Im working with the basic sample in your docs.
Can you point me to the appropriate documentaion too.
Many thanks
Martin
|
<TreeViewNodeAnimationSettings>
<TreeViewAnimationExpand Duration="400" Effect="Syncfusion.Blazor.AnimationEffect.SlideDown" Easing="Linear"></TreeViewAnimationExpand>
<TreeViewAnimationCollapse Duration="400" Effect="Syncfusion.Blazor.AnimationEffect.SlideUp" Easing="Linear"></TreeViewAnimationCollapse>
</TreeViewNodeAnimationSettings> |
|
<SfTreeView @ref="treeview" TValue="MailItem">
<TreeViewFieldsSettings TValue="MailItem" Id="Id" DataSource="@MyFolder" Text="FolderName" ParentID="ParentId" HasChildren="HasSubFolders" Expanded="Expanded"></TreeViewFieldsSettings>
<TreeViewNodeAnimationSettings>
<TreeViewAnimationExpand Duration="100"></TreeViewAnimationExpand>
<TreeViewAnimationCollapse Duration="100"></TreeViewAnimationCollapse>
</TreeViewNodeAnimationSettings>
</SfTreeView> |
Thank you so much.
Your solution worls perfectly, I really appreciate your help.
Just one thing, looking at the TreeViewAnimationExpand class I cant see the Properties (Duration, Easing & Effect) listed, normally we see the properties of a class, why are they not in the docs? and where are they and how would I find them?
Kind regards
Martin