Questions tagged [ui-virtualization]

UI virtualization is a technique for improving the performance of user interfaces which means the visual item generation is deferred until the item is visible.

UI virtualization helps to improve application performance when displaying large datasets.

UI virtualization should not be confused with .

References:

UI virtualization in WPF

96 questions
37
votes
3 answers

why setting ScrollViewer.CanContentScroll to false disable virtualization

As most WPF developers know, setting ScrollViewer.CanContentScroll to false will disable virtualization; but I'd like to know how it works, because I try to enable virtualization while setting ScrollViewer.CanContentScroll to false.
Park Wu
  • 371
  • 1
  • 3
  • 3
17
votes
3 answers

WPF Performance: Displaying thousands of Paths / Shapes on a Canvas

I'm currently developing a visualization tool that draws WPF shapes such as paths, ellipses etc. on a Canvas. I've already implemented a virtualized approach where Shapes are being destroyed and created on the fly depending on their visibility.…
kitsune
  • 11,516
  • 13
  • 57
  • 78
15
votes
2 answers

Is there a (good/free) VirtualizingWrapPanel available for WPF?

I've found a couple of alternatives, this CodePlex project and this commercial one, but the former is extremely inefficient in my testing, and the latter, well, costs $$. I've also found this implementation, but it's not so much a WrapPanel as a…
devios1
  • 36,899
  • 45
  • 162
  • 260
13
votes
1 answer

Resources and guides to UI virtualization in WPF

UI Virtualization is an awkward terminology that describes WPF UI controls that load and and dispose child elements on demand (based on their visibility) to reduce memory footprint. ListBox and ListView use a class called VirtualizingStackPanel by…
kitsune
  • 11,516
  • 13
  • 57
  • 78
11
votes
1 answer

Difference between WPF DataGrid's EnableRowVirtualization and VirtualizingStackPanel.IsVirtualizing properties

There is almost no information out there about the impact of setting; VirtualizingStackPanel.IsVirtualizing="True" and EnableRowVirtualization="True" EnableColumnVirtualization="True". Can someone clarify what the difference is? Also, as an…
Julius
  • 735
  • 1
  • 9
  • 25
9
votes
1 answer

How to bind IsSelected in a ListView for non-visible (virtualized) items

I need to deal with a large amount of data in a WPF application. I have bound the large collection to a ListView and I'm using the ItemContainerStyle to bind the list item's IsSelected property with my object's IsSelected property, so that when the…
Ove
  • 6,227
  • 2
  • 39
  • 68
8
votes
1 answer

Improve performance for huge ListBox in StackPanel?

I am using a StackPanel to layout several controls vertically (ie, Title, sub titles, listbox, separator, listbox, etc). The StackPanel is a child of a ScrollViewer to ensure its content is always scrollable. One of the controls in the StackPanel is…
jayars
  • 1,347
  • 3
  • 13
  • 25
7
votes
1 answer

Blazor Virtualize component and broken scrolling when dragging scrollbar

I have a custom datagrid with row vitrualization. When I scroll down by dragging the scrollbar, the scrolling is interrupted as before new "page" is rendered. Do you have any idea, why this might be happening?
Liero
  • 25,216
  • 29
  • 151
  • 297
7
votes
2 answers

How can I use Material-UI Autocomplete together with react-virtualized?

I'm using the Autocomplete component from Material-UI in a project. Since I have a lot of options to render, virtualization would be very beneficial. So I started from the virtualized example in the docs with react-window. Everything worked great,…
6
votes
2 answers

WPF : TreeView virtualization not working

What can stop a TreeView from virtualizing if the TreeView is set up as follows?
Aran Mulholland
  • 23,555
  • 29
  • 141
  • 228
5
votes
2 answers

How to prevent WPF's ContentControl from reusing DataTemplates?

I stumbled upon the famous TabControl virtuality problem. I thought of replacing the TabControl with styled list (to present tabs) and ContentControl (to present content of a tab). However, it seems like ContentControl has the same behavior of…
Spook
  • 25,318
  • 18
  • 90
  • 167
5
votes
1 answer

DataGrid WPF Virtualization and Command CanExecute

I'm working on a WPF application with framework .NET 4.0 I have a problem with a DataGrid : every line got 2 commands : public ICommand MoveUpOrderPipeCommand { get { if (_moveUpOrderPipeCommand == null) { …
Tan
  • 121
  • 6
5
votes
1 answer

How to force ItemContainerGenerator to generate container for the item or How to scroll TreeView to expanded node when UI virtualization is enabled?

TreeView doesn't have ScrollIntoView() method The only way is to call TreeVewItem.BringIntoView() for the corresponding data item container. But if node is invisible and no container is generated yet,…
Pavel Voronin
  • 13,503
  • 7
  • 71
  • 137
5
votes
2 answers

ISupportIncrementalLoading only fires once

I'm trying to create a Win8 Metro reference app for virtualized lists. In doing some (very sparse) reading, I've found that the recommended way of supporting this is through the ISupportIncrementalLoading interface. I'm having a problem with my…
Robaticus
  • 22,857
  • 5
  • 54
  • 63
4
votes
1 answer

How to avoid freezing in VirtualizingStackPanel.MeasureOverride in grouping virtualized ListView?

When ListView is grouped and ScrollViewer.CanContentScroll="True" ScrollViewer.VerticalScrollBarVisibility="Visible" VirtualizingPanel.IsVirtualizing="True" …
char m
  • 7,840
  • 14
  • 68
  • 117
1
2 3 4 5 6 7