views:

55

answers:

1

I have a listbox and its bound. and i have tooltip on listbox item sometihng like this

<ListBox.ItemContainerStyle>
   <Style TargetType="{x:Type ListBoxItem}">
      <!--<EventSetter Event="MouseEnter" Handler="ListBox_MouseEnter" />-->
      <!--<EventSetter Event="MouseEnter" Handler="ListBox_MouseLeave" />-->
      <Setter Property="ToolTip" Value="{StaticResource mytooltip}"></Setter>
   </Style>
</ListBox.ItemContainerStyle>

Now i want to show a datagrid inside tooltip which databound ....

Any ideas please???

thank you

A: 

You'll need to create a custom template for the tool tip. Check this out.

Dan Bryant