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

Popular posts from this blog

android - Spacing between the stars of a rating bar? -

aspxgridview - Devexpress grid - header filter does not work if column is initially hidden -

c# - How to execute a particular part of code asynchronously in a class -