Re: select TreeItem with right click

2011-04-21 Thread Patrick Tucker
When you show the context menu, set the menuitem's selected style class. Just make sure you remove it upon hiding the menu. On Apr 20, 12:00 pm, Ernesto Reig erniru...@gmail.com wrote: Hello everybody, I´ve googling a bit but I don´t find a good/easy way of achieving this. The thing is that

select TreeItem with right click

2011-04-20 Thread Ernesto Reig
Hello everybody, I´ve googling a bit but I don´t find a good/easy way of achieving this. The thing is that I need to show a context menu when the user right-click´s on a treeItem. I have already implemented it, but I also need to have the TreeItem selected. From the point of view of