We develop using the mvvm-pattern. While the VirtualQueryableCollectionView can be easily created in the code-behind, I would prefer to create it as a StaticResource in the View, as it is View-specific and doesn't belong in the ViewModel.
How would I create it as a resource? I would have liked to write something like:
Any thoughts are appreciated.
How would I create it as a resource? I would have liked to write something like:
<UserControl.Resources>
<telerik:VirtualQueryableCollectionView x:Key="VirtualizedTransactions"
LoadSize="10"
ItemsSource="{Binding AllTransactions}"
/>
</UserControl.Resources>
Any thoughts are appreciated.