Amruta Asbe

Amruta Asbe

  • NA
  • 1
  • 3.5k

ListBox item tool tip or popup WPF

Feb 9 2012 11:17 PM
Hello,
          I have a listbox defined in xaml 
 <ListBox  Name="lstLibrary" Grid.Column="0" Grid.Row="0" ScrollViewer.HorizontalScrollBarVisibility="Visible" ScrollViewer.VerticalScrollBarVisibility="Visible" PreviewMouseLeftButtonDown="lstLibrary_PreviewMouseLeftButtonDown" >
            
  </ListBox>
I set the item source behind the code
 lstLibrary.ItemsSource = Libraray;
 lstLibrary.DisplayMemberPath = "Name";
I do this cause Library is object and I get from looping so have to set it behind the code
Now Whenever I place my mouse it should show me the other members (of the mouseover item) in either a tooltip or a popup
I am still new..
I dont know which event to use for mouseover on each listbox item and then show their respective tool tip  

I hope I am clear thanks in advance