Quantcast
Channel: Windows Presentation Foundation (WPF) forum
Viewing all articles
Browse latest Browse all 18858

WPF UI Virtualization

$
0
0

I am very new to WPF so please excuse me if the question seems naive. My objective is to create a WPF 'form' dynamically which contains only pairs of labels and combo boxes depending on the number of items being supplied to me. I am currently thinking of using a control which enables UI virtualization such as an items control and defining each individual item as a pair of label and combo boxes.

Question 1: Will a control virtualize a custom item containing a label and combo box by default or do I need to implement this virtualization myself?

Question 2: Either way, which is the best control to use for virtualization in this scenario?

I tried using an ListView/ListBox but that has a feature to highlight all items by default on mouse over which is undesirable.

The criteria for this is speed. I should ideally load only those labels and combo boxes that the user is currently scrolling through. Do I need to implement my own virtualization for this or can lists with custom items be virtualized by WPF? My custom item here is a pair of label and combo box together.

Thanks


Viewing all articles
Browse latest Browse all 18858

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>