I am using Treeview to show a recursive data structure. I would like to get the item when mouse is over, process the value of the item and show tooltip.
How can I get the item?
Thanks,
1 Answer, 1 is accepted
0
Tihomir Petkov
Telerik team
answered on 23 Oct 2009, 12:42 PM
Hi Tao,
Below is a code snippet that demonstrates how to display a tooltip for each treeview item, depending on some information contained in the business object that the treeview item is data bound to:
In the sample the tooltip is bound to a text property called TooltipText. In case you need to do some more complex operation to determine the tooltip content, you can create a ValueConverter to do whatever you need to do to get the required tooltip.