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
4
votes
0 answers

Can setting MinHeight of a WPF control be a workaround for failing VirtualizingStackPanel.ExtendViewport?

And if it is, what control would be the best bet? DataGrid that has the virtualization or something else? This happens very very rarely so trial and error is not an option. Portion of my xaml and converter used is in the end. This happens sometimes…
char m
  • 7,840
  • 14
  • 68
  • 117
4
votes
1 answer

WPF Virtualized TreeView with different orientations within doesn't virtualize?

I have a TreeView in XAML with multiple layers. Using this solution I can get a XAML-configured look for each of the different layers, and confirmed that it is UI virtualizing. However, when I switch a particular layer's VirtualizingStackPanel to…
Matt Thomas
  • 5,279
  • 4
  • 27
  • 59
4
votes
1 answer

Why does my WPF ListView/GridView not virtualize?

I have performance problem with my listview/gridview. I traced it down to the view not being virtualized. I removed all business critical code and was left with the following XAML.
JK82
  • 415
  • 2
  • 13
4
votes
1 answer

How to test or work with DisconnectedItem on ListView in VS2010?

I am trying to change the background of a ListViewItem from an attached property. The following code works until the ListViewItem is scrolled out of the displayed ListView. The error is that the timer fires on a ListViewItem that has been…
Alan Wayne
  • 5,122
  • 10
  • 52
  • 95
3
votes
1 answer

DataGrid scrolling issue fix leads to performance and memory issue

We had issue with the Scrolling of the WPF datagrid. With some analysis found the ScrollViewer.CanContentScroll = true was the culprit. Removing and making it false, the scrolling issue was fixed. BUT yesterday i was analyzing a bug on increase in…
ioWint
  • 1,609
  • 3
  • 16
  • 34
3
votes
1 answer

ScrollIntoView with nested ScrollViewer

In my application I have an Canvas wrapped in an ScrollViewer (Canvas is bigger then the screen size). On this canvas I have placed other controls. One of the elements on the canvas contains an virtualized DataGrid (with 2000+ rows ... so ther is…
harri
  • 556
  • 5
  • 17
3
votes
1 answer

How to I access item index in ItemContent in Virtualize component in Blazor

How do I access index?
Item: @context Index: @???
Liero
  • 25,216
  • 29
  • 151
  • 297
3
votes
1 answer

Accessing RelativePanel in DataTemplate of every ListViewItem in ListView UWP Windows 10

I want to access and change FlowDirection of the RelativePanel in each ListViewItem in its DataTemplate. I tried this exact method, had the same error: How do I access a control inside a XAML DataTemplate? I tried the solution given too, but I'm…
3
votes
1 answer

WPF TreeView: Why does virtualizing break BringIntoView()?

When you set VirtualizingStackPanel.IsVirtualizing="True" on a TreeView in WPF:
Alexandru
  • 12,264
  • 17
  • 113
  • 208
3
votes
3 answers

Virtualization on the ViewModel layer in WinRT

WPF and WinRT (C# + XAML) both support UI virtualization using panels that support it such as VirtualizingStackPanel and others. When using MVVM It's done using an ItemsControl of some sort (ListBox, GridView, etc...) that is bound to an enumerable…
Kobi Hari
  • 1,259
  • 1
  • 10
  • 25
2
votes
3 answers

Is there a workaround to virtualize ItemsControl list while setting CanContentScroll = "false"?

As I learned in Virtualizing an ItemsControl?, I need to set ScrollViewer.CanContentScroll = "true" to be able to virtualize the list in my ItemsControl. However this causes a lot of scrolling issues including but not limited to bumpy scrolling…
Jay
  • 2,225
  • 3
  • 15
  • 22
2
votes
2 answers

Is there a way to virtualize (e.g. with react-window) antd nested tables?

antd has an example in their docs for integrating virtual scroll via react-window to improve performance for large table data Anyone done something like that for nested tables in antd? Or have any pointers/tips for how to?
saadmasood
  • 21
  • 2
2
votes
1 answer

Virtual scrolling option for combobox

I need to display the visible items into view instead of displays all the rows in combo box control. While scrolling that, we need to load next visible items. How can I do that? Also, how can I ensure whether it is loaded in virtually? Sample…
Pandi
  • 471
  • 3
  • 17
2
votes
1 answer

UI Virtualization inside Popup

I am unable to get Virtualization to work on a TreeView inside a Popup while the same TreeView works perfectly outside of Popup.
Steve
  • 11,696
  • 7
  • 43
  • 81
2
votes
0 answers

Aurelia ui-virtualization infinite-scroll-next function not being hit after data refresh

I'm using aurelia's ui-virtualization library to create a table using virtual-repeat and infinite-scroll-next. Html looks something like this: ...
yammerade
  • 629
  • 8
  • 20