c# - Listview Trouble - Tooltip Needed -
i building wpf application in c# using vs2010
i have listview contains items database , , each item contains field called (name) , field called (time) .
back in database , each item has third field called (description) ...
now want : when choose item listview , tooltip shown , contains data third field ..
how can have various tooltips on 1 listview - 1 tooltip each item - ?? how can deal database ??
thank you
setting tooltip listviewitem can done this
<listview ...> <listview.itemcontainerstyle> <style targettype="{x:type listviewitem}"> <setter property="tooltip" value="{binding path=name}"/> </style> </listview.itemcontainerstyle> <!-- ... --> </listview>
Comments
Post a Comment