what TreeView event ??

J

Jeff

Dear reader of this message :)

..NET 2.0

I want to add some code to an event on a TreeView control I got on a form,
which is triggered when a treeviewitem get selected

what event should I use?

And also how do I get a reference to what TreeViewItem has been clicked in
this event?
 
J

Jeff

Thanks, I've solved it, it is the NodeMouseClick event..

And I get a reference to the node via e.Node
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

TreeViewItem UserControl 4
WPF Advice 5
WPF Questions 3
wpf - Hittesting vs2008 - Not all visuals found in treeview 3
WPF Question. 1
TreeView Insert Item Event 1
xaml subclass??? 4
TreeView 1

Top