开发者

why Wpf TreeView collapse action changes selection?

I have a wpf TreeView with mvvm object binded. when I have a child node selected and I collapse the parent node, the parrent node get 开发者_C百科selected. When I expand the parent again, the parent retains the selection. I want Windows Explorer behavior where when I collapse the parent, the parent shows highlight visual but never gets selection and when I expand it again, the original child shows its selection.

Thanks

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜