# Virtualization

**Telerik Diagramming Framework** supports **UI Virtualization**, which collapses all items outside the viewable area, thus enhancing the UI performance while manipulating the Diagramming elements. However as the virtualization implementation only collapses the visibility of the controls outside the veiwport, those items will still be considered during a layout operation for example. This means that a **Layout** operation will change the visibility of the Diagramming elements if they are brought into the viewport area.

By default the **Virtualization** feature of the **RadDiagram** is enabled. You can disable it by setting the **DiagramSurface.IsVirtualizing** attached property to False.

```XAML
<telerik:RadDiagram x:Name="diagram" telerik:DiagramSurface.IsVirtualizing="False"/>
```

<br />
>tip Binding the __Visibility__ property of the diagram items is not recommended. That is because when the virtualization is enabled the diagram items have their Visibility set locally. A value which is locally set has a higher priority than a one set through a OneWay binding so the value that comes from the binding won't be respected. To hide a shape we recommend using its __Opacity__ property instead.

## See Also

* [Getting Started](https://www.telerik.com/products/wpf/documentation/controls/raddiagram/getting-started)
* [Populating with Data](https://www.telerik.com/products/wpf/documentation/controls/raddiagram/populating-with-data/data-overview)
* [Shapes](https://www.telerik.com/products/wpf/documentation/controls/raddiagram/diagram-items/shape/raddiagrams-features-shapes)
* [Connections](https://www.telerik.com/products/wpf/documentation/controls/raddiagram/diagram-items/raddiagrams-features-connections)
* [Serialization](https://www.telerik.com/products/wpf/documentation/controls/raddiagram/features/raddiagrams-serialization)
* [Commands](https://www.telerik.com/products/wpf/documentation/controls/raddiagram/features/raddiagrams-commands)
* [Diagram Events](https://www.telerik.com/products/wpf/documentation/controls/raddiagram/events/raddiagrams-diagram)
* [Items Events](https://www.telerik.com/products/wpf/documentation/controls/raddiagram/events/raddiagrams-item)
