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

treeview items not visible properly

$
0
0

ComboBox TreeviewItem

The above pictures are combobox popup which contains treeview items.

I have implemented a search functionality in the treeview to highlight the treeview items while type the starting characters.

Searching of items works fine. I have implemented the logic explained in the following link :

http://msdn.microsoft.com/en-us/library/ff407130.aspx

But the problem is, while searching an item, Other items are not properly visible as shown in the 1st picture.

This problem occures often. For some items its works fine as shown in 2nd picture.

Inorder to solve the issue i tried like; After getting the treeview item, i am setting the isexpanded property to true and false. just for refresh. which solves the issue for some items.. but not for all.

Can anyone help me out pls?


Viewing all articles
Browse latest Browse all 18858

Trending Articles



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