How do I perform hit test in TreeView for TreeViewItem?
I have a System.Windows.Controls.TreeView in my project, and when the user right click in i开发者_Python百科t, I'm displaying a context menu. Since the context menu is built dynamically, I need to know the System.Windows.Controls.TreeViewItem that the mouse is hovering over.
How do I do this?
Visit this link and here you can download libs for using ContextMenu
精彩评论