c# - Combobox Virtualization issue -



c# - Combobox Virtualization issue -

i have unusual issue in combobox style when made virutalzation true, have checked combobox check checkboxes in combobox items.

in itemspanel property, i've made custom styling virtualizingstackpanel below

<setter property="itemspanel"> <setter.value> <itemspaneltemplate> <virtualizingstackpanel isitemshost="true" isvirtualizing="true" virtualizationmode="recycling" /> </itemspaneltemplate> </setter.value> </setter>

but before , after scrolling view, differs.

for e.g., here seek first item of combobox after scrolling downwards items panel as

comboboxitem cmbitem = combobox1.itemcontainergenerator.containerfromitem(combobox1.items[0]) comboboxitem;

but, nil null here.

so there anyway can accomplish using virutalization? (i know it's virtualizing!). or should rid virtualization , think of solution. saw without virutalization property combobox loads slow.

any thoughts?

thanks in advance! :)

c# wpf combobox wpf-controls data-virtualization

Comments

Popular posts from this blog

java Multi query from Mysql using netbeans -

c# - DotNetZip fails with "stream does not support seek operations" -

c++ - StartServiceCtrlDispatcher don't can access 1063 error -