Skip to main content
Filter by
Sorted by
Tagged with
0 votes
1 answer
142 views

I have a custom tree view user control that is using a Virtualizing Stack Panel since i have to display ~8000 items. The tree view also lives in a groupbox with custom SearchBox user control that ...
Jean's user avatar
  • 47
0 votes
1 answer
371 views

I'm making a custom ItemsControl subclass with a fairly typical template: <Style TargetType="local:MyControl"> <Setter Property="ItemsPanel"> <Setter....
Emperor Eto's user avatar
  • 3,775
1 vote
1 answer
139 views

I have a data type, Metadata, that contains a file path to either a video or an image. I'm attempting to use a DataTemplate to display that data type. There's going to be thousands of these objects, ...
Terminal2772's user avatar
0 votes
0 answers
26 views

I have a collection of contacts. Each contact has a Status indicator. Using the VirtualizingStackPanel ItemPanel, when viewing item 1-10, I am expecting any update on, say, item#100 would not cause ...
Uncle-PiE's user avatar
0 votes
2 answers
143 views

I have a custom UserControl looks like this: The brown boxes are ListBoxItems in a ListBox control and there are many such items. Each item again contains a lot of other controls, like images, text ...
tmsh's user avatar
  • 71
1 vote
1 answer
1k views

I need some advice. I am trying to create a ListBox with an expanded detail item. I have also created VirtualizingTilePanel but unfortunately items in the ListBox do not move so that the detail of the ...
user avatar
0 votes
1 answer
270 views

Update info Ok my apologies I had to review my question and title. But the narrowing of the problem was not easy to track down, despite the several testing we have made. You will find below the new ...
Octopus's user avatar
  • 751
0 votes
0 answers
96 views

I have multiple ListBoxes below each other inside a ScrollViewer. These listboxes contain a different number of items (the actual number is not known before loading). These listboxes need to be shown ...
The Cookies Dog's user avatar
0 votes
1 answer
354 views

At this point there will be no minimal reproducible example because I can reproduce this once a day at best and only with a product mainwindow which has thousands of xaml lines in multiple controls. ...
char m's user avatar
  • 8,386
0 votes
0 answers
294 views

My WPF application is using VirtualizingStackPanel for ListView. Scrolling this list is working fine on two different machines: my host machine (Windows 10 v1803 build 17134.228) and one virtual ...
Qinitram's user avatar
0 votes
1 answer
353 views

i am binding a lot of images in listview using following code lvImages.ItemsSource = lstVisualDuplicateImage; following properties used in ListView here is my complete XAML Binding ang Grouping is ...
Zohaib Farid's user avatar
0 votes
1 answer
525 views

I have an Itemscontrol using a VirtualizingStackPanel to display a huge (and growing) list of items: <ItemsControl Grid.Row="1" Name="ConversationItemsControl" VirtualizingStackPanel....
Benni's user avatar
  • 1,102
1 vote
0 answers
222 views

I have a customer who is on Windows 10 v1511 (i.e., not the Anniversary Update). After installing update KB4013198, my WPF application now crashes periodically when scrolling a ListBox employing a ...
David Mullin's user avatar
0 votes
1 answer
299 views

i added VirtualizingStackPanel in my datagrid for on-demand load records to get rid of too long loading time taken to display all the records. <sdk:DataGrid VirtualizingStackPanel....
jeliey's user avatar
  • 21
2 votes
1 answer
925 views

I am using a DataGrid with CellEditingTemplates. As ItemsSource a data virtualized collection is used (the AlphaChiTech solution), which only fetches pages of a size of 100 items at a time on demand. ...
Dima's user avatar
  • 360
0 votes
1 answer
493 views

I have a problem with virtualization in TreeView when grouping objects. In .NET 4.5 was added helpful thing as VirtualizingPanel.IsVirtualizingWhenGrouping, and I am trying to use it in next code: &...
Evgeny Goloulnikov's user avatar
0 votes
0 answers
104 views

I have a simple ListBox with about 500 ListBox item. I have 2 comboboxes on one item. My problem is: When I scroll down I lose all SelectedItem binding data. I have tried to replace the ...
Tigyi János's user avatar
0 votes
1 answer
172 views

I'm working on some chat application and using VirtualizingStackPanel. When my message list is scrolled down, I want it to be docked to the bottom of the container. But when I use virtualization there ...
Stash's user avatar
  • 3
1 vote
0 answers
403 views

How to scroll the virtualized items control to the bottom when it initially loading? i have tried this, scroll bar jumps while loading. initially its in middle position and then jumps bottom.. is ...
Ponraja's user avatar
  • 570
2 votes
0 answers
150 views

In my project i am working with FlipView with collection of images. For better performance i am using VirtualizingStackPanel and it working fine, but i noticed strange behavior of last item of ...
RenDishen's user avatar
  • 938
0 votes
0 answers
270 views

I am using a ListBox with ItemsPanel set to VirtualizingStackPanel. <ListBox ItemsSource="{Binding Items}" ScrollViewer.VerticalScrollBarVisibility="Visible"> ...
Nadia's user avatar
  • 11
8 votes
1 answer
9k views

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 ...
jayars's user avatar
  • 1,357
0 votes
1 answer
402 views

When I create ListBox with virtualization enabled and then update all its items appearance it works very fast. But when i slowly scroll down all items in ListBox and then update all items appearance ...
user990095's user avatar
0 votes
1 answer
1k views

I set 'VirtualizingStackPanel.IsVirtualizing' to true and 'VirtualizingStackPanel.VirtualizationMode' to 'Recycling', because the items in my ListView are too many. The SelectionMode of the ListView ...
Allen4Tech's user avatar
  • 2,204
4 votes
4 answers
5k views

I am developing an application that is supposed to display a fairly large amount of items that are loaded from elsewhere (say, a database) in a list/grid-like thing. As having all the items in memory ...
O. R. Mapper's user avatar
  • 20.9k
0 votes
0 answers
216 views

Iam working in a WPF Application and in one place I had to use this piece of code to get the reference to a VirtualizingStackPanel. Following is the piece of code, VirtualizingStackPanel vsp = (...
surajitk's user avatar
  • 147
5 votes
2 answers
157 views

This questions is mainly for Windows Phone devs, but I guess any XAML technology is applicable. My VirtualizingStackPanel works great and I can see the improvements in memory usage. However, the ...
Laith's user avatar
  • 6,091
18 votes
1 answer
2k views

First of all, a disclaimer, I'm working with .net 3.5's virtualizingstackpanel. If you get different behavior in future versions let me know. It's relatively simple to set up a test case with ...
James Joshua Street's user avatar
7 votes
1 answer
6k views

I've started exploring the Data and UI virtualization features in WPF recently and stumbled upon something strange. I created a DataGrid's with Virtualizing enabled and filled it with a list with 1,...
Omri Btian's user avatar
  • 6,557
5 votes
2 answers
6k views

I know that DataGrid supports virtualization, so it creates grid cells only for visible rows. However, this seems to work only if the DataGrid is constrained in size. In my scenario, a DataGrid is ...
user1211286's user avatar
1 vote
1 answer
781 views

Currently my FlipView allows the user to select multiple pictures from the local Pictures folder and then display the selected images in FlipView. However it will only work if the user selects a small ...
Poji's user avatar
  • 39
4 votes
1 answer
1k views

My listBox: <ListBox VirtualizingStackPanel.IsVirtualizing="True" VirtualizingStackPanel.VirtualizationMode="Recycling" Name="lst" ScrollViewer.HorizontalScrollBarVisibility="Disabled" ...
user2618311's user avatar
0 votes
2 answers
2k views

Goal: To Remeasure and then redraw only those signalgraphs that are in view in the virtualizing stack panel of a scrollviewer. Current build: Currently I have a dependency property (...
James Joshua Street's user avatar
0 votes
2 answers
1k views

What are the factors that virtualizingstackpanel consider when it decides visualizing items around the visible item? Ex: Having a listview, when viewing item 7, item 6& 8 will be visualized too ...
simo's user avatar
  • 24.7k
2 votes
0 answers
617 views

I'm using an itemscontrol to hold a number of controls of varying size. I decided to enable virtualizing due to the number of controls I need to display (it was taking a second or so to "Load" the ...
wforl's user avatar
  • 889
1 vote
1 answer
2k views

I am trying to create a grid containing elements such as | 1 | 4 | 7 | | 2 | 5 | 8 | ===> extend | 3 | 6 | 9 | Since the data is very large, I need to use UI virtualization and what I see in most ...
rydgaze's user avatar
  • 1,060
0 votes
1 answer
350 views

I'm developing an app where the entire UI is sized by percentage. Therefore the height of my ListBoxItems needs to be controlled by that too. But i'm having some problems getting it to work. ...
Lasse O's user avatar
  • 349
0 votes
0 answers
551 views

Here is my scenario: I have a Gridview that shows data retrieved from a network service. The number of data may be quite large. So, the VirtualizingStackPanel is used to display the content. Some of ...
rydgaze's user avatar
  • 1,060
0 votes
1 answer
436 views

I have a big list (~10000 items) inside a ComboBox, that uses the VirtualizingStackPanel class. The scrolling performance is good, anyway I like to know how to identify the top item shown in the GUI - ...
deafjeff's user avatar
  • 784
1 vote
1 answer
217 views

I have a GridView that has a VirtualizingStackPanel as the ItemsPanel. The items are bound to a collection of my model objects on my viewModel. The specific properties that I am binding to in the ...
James Pack's user avatar
0 votes
1 answer
357 views

Before applying WPF theme - BureauBlue.xaml theme, I can see menu items aligning vertically with the below code: <Menu.ItemsPanel> <ItemsPanelTemplate> <...
Ravi's user avatar
  • 11
1 vote
1 answer
306 views

I have VirtualizingStackPanel in ListBox ItemsPanel. If I set Margin="0,0,0,50" then margin is not showed but if I set left margin (or top or right) Margin="50,0,0,0" then margin works correct. If I ...
Earlgray's user avatar
  • 647
0 votes
0 answers
728 views

One of our applications contains a UserControl where we have multiple layers of ItemsControls that are kept in sync when scrolling. The ItemsControl is virtualized. The application is targetting .Net ...
Colin B's user avatar
  • 824
1 vote
0 answers
109 views

Is there a simple way to decorate VirtualizingStackPanel? If I put VirtualizingStackPanel directly in ScrollViewer, virtualization will work. My goal is to override the Decorator.OnRender() method and ...
user990095's user avatar
34 votes
5 answers
8k views

If virtualizing is enabled in TreeView with items having various sizes, multiple problems appear: Vertical scroll bar changes its size randomly and doesn't remember sizes of elements after viewing the ...
Athari's user avatar
  • 33.9k
0 votes
1 answer
80 views

I have a Listbox that bind to an ObservableCollection. In my app, I need to clear this collection in OnNavigatedFrom and read it in OnNavigatedTo to reduced memory. However, I see that when using ...
onmyway133's user avatar
  • 48.5k
2 votes
1 answer
695 views

I read that when styling incorrectly, ListBox will lose its virtualization. As notacat's answer in this question, his solution is OK. I realize that whenever I put ItemsPresenter in another container,...
onmyway133's user avatar
  • 48.5k
1 vote
3 answers
735 views

I'm using ListBox which has VirtualizingStackPanel, which is said to support UI virtualizing by default. However, when I set my listStudent (of type ObservableCollection, and have 5 Students in it) ...
onmyway133's user avatar
  • 48.5k
0 votes
1 answer
344 views

I know that the Windows Phone 7 ListBox use VirtualizingStackPanel by default to optimize memory. However, when I add more items to the view model, the listbox doesnot show those new items. I must ...
onmyway133's user avatar
  • 48.5k
1 vote
0 answers
225 views

I implement some additional logic for elements arrangement. I override MeasureOverride and ArrangeOverride. If I inherit from StackPanel everything works. What is not the case for ...
Pavel Voronin's user avatar