I have drawn rectangles on an Image. (Tagging). I want to place tool tips when mouse moves over them. I have written a style to highligh the rectangle of a particular point on the image.
<Style x:Key="highlighterStyle" TargetType="{x:Type Rectangle}">
<Setter Property="StrokeThickness" Value="2"/>
<Setter Property="Stroke" Value="Orange"/>
<Setter Property="IsHitTestVisible" Value="False"/>
<Setter Property="Fill" Value="Transparent"/>
</Style>
But even I have set the tool tip it is not shown. As I learned that is because of Property="IsHitTestVisible" Value="False" setter. But i need it to show two overlapping rectangles in a particular point.
How can I solve this problem. ie showing the tool tip and keeping the visibility of overlapping rectangles.
Thankx in advance