# Cross Thread CollectionChanged Interval

RadGridView dispatches the ItemsSource collection changes made on a background thread back to the UI.

The **CrossThreadCollectionChangedInterval** property allows you to control the time interval at which the CollectionChanged is dispatched to the UI thread. The default property value is `TimeSpan.Zero` and the updates happen on each CollectionChanged of the ItemsSource.

The CrossThreadCollectionChangedInterval was introduced with version R2 2020 of Telerik UI for WPF.

**Example 1: Setting CrossThreadCollectionChangedInterval to 3 seconds in XAML**

```XAML
<telerik:RadGridView CrossThreadCollectionChangedInterval="00:00:03.000" />
```

**Example 2: Setting CrossThreadCollectionChangedInterval to 3 seconds in code**

```C#
radGridView.CrossThreadCollectionChangedInterval = TimeSpan.FromSeconds(3);
```

```VB.NET
_radGridView.CrossThreadCollectionChangedInterval = TimeSpan.FromSeconds(3)
```

> tip Setting the CrossThreadCollectionChangedInterval property to a bigger interval improves the performance in scenarios with multiple updates in the ItemsSource that happen often on a background thread.

## See Also

* [Getting Started](https://www.telerik.com/products/wpf/documentation/controls/radgridview/getting-started/getting-started2)
* [Performance Tips and Tricks](https://www.telerik.com/products/wpf/documentation/controls/radgridview/performance-tips-tricks)
* [Populating with Data](https://www.telerik.com/products/wpf/documentation/controls/radgridview/populating-with-data/data-overview)
