# 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:

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

The referenced namespace is defined as follows:

```XAML
xmlns:telerik=http://schemas.telerik.com/2008/xaml/presentation
```

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

* [Get Item by Path](https://www.telerik.com/products/wpf/documentation/controls/radtreeview/how-to/get-item-by-path)
* [Selection](https://www.telerik.com/products/wpf/documentation/controls/radtreeview/features/feautres-treeviewitem-selection)
* [Implement Drag and Drop Between TreeView and ListBox](https://www.telerik.com/products/wpf/documentation/controls/radtreeview/how-to/drag-and-drop/implement-between-treeview-and-listbox)
