I have a TreeView that is bound to a list of objects. It works great but I have noticed that the expander displays on nodes which have no children. The best way to describe this is via the screen shots.
Expandall.jpg: This is how it looks if I call ExpandAll() after binding to the TreeView. This is how I would expect it to work. I need to start with the TreeView collapsed, however, due to requirements.
TreeViewInitialLoad.jpg: Same TreeView loaded but without ExpandAll() being called. Notice that all of the nodes have the expander icon.
TreeViewMiscFolderExpanded.jpg: I expanded the "Misc" folder. Notice that the expander icon on the folders are correct, but the items under the "Misc" folder incorrectly show the expander.
TreeViewMiscFolder2.jpg: I collapsed the "Misc" folder and then expanded it again. The child nodes now show correctly. This is what I would expect the first time I expand the folder.
I hope this helps describe what I am seeing. Any thoughts on this?
Thanks!