Is xammulticolumncomboeditor has implemented UI Virtualization by default? If not , please provide me the sample code to implement.
Hi Stefan,
Yes you are correct. The hierarchy for ComboCellControl is from ComBoCellControlBase which in turn derives from ContentControl(UI Element).So it gets recycled according to your definition, But ComboCell is also from ComboCellBase which in turn from RecyclingContainer<ComboCellControlBase> and ComboCellControllBase is from ContentControl. Then why ComboCell is not recycled as ComboCellControl.Is there any other way to achieve recycling of combocell. If so please provide me the samples.
Hello,
As Konstantin said there is a built-in virtualization of the XamMultiColumnComboEditor’s Items, but it is for the UIElements, not for the ComboRows, which contains the Data. If you check the CoboCellControls, they are always as many as they are at the opening of the dropdown.
Hope this helps you.
I have checked xammulticolumncomboeditor with ants profiler . I have populated an editor with 500 rows and i set the dropdown height to show 20 rows at a time. When i checked with ants profiler, first time it shows me an instance count of comborow as 20 (20 visible rows in drop down list) but when i scroll till end ( from 480 to 500 rows) , it shows an instance count of comborow is 500. How come this possible if UI Virtualization is implemented.
Hello Karthik,
I am just checking if you got this worked out or you still require any assistance or clarification on the matter.
Hi karthik1790,
yes XamMultiColumnComboEditor provides UI virtualization out of the box.
Regards,