New to Telerik UI for WPF? Download free 30-day trial

Disable Default Animation in RadTreeView

By default the RadTreeView control's items are expanded and collapsed with an animation. However, there are cases when you might want to disable these animations, e.g. when you have a large number of subitems and it takes a longer time for the animations to complete. To disable the default animations, all you have to do is to set the following attached property to the RadTreeView control:

<telerik:RadTreeView telerik:AnimationManager.IsAnimationEnabled="False"/> 

The referenced namespace is defined as follows:

Once you have declared the needed namespace, the only thing you have to do is setting the attached property to False. All treeview items will inherit that property from their parent RadTreeView.

The default duration of the expand animation is 2 seconds.

See Also

In this article