Hover over an image placed in WPF datagrid showing description(as pop up).

Apr 8, 2009 at 6:48 AM

Hi,

How to show a description(as pop up), upon hover over an image placed in datagrid.

Regards,
Sreejith

Apr 13, 2009 at 4:44 AM

Hi,

I have achieved to show a description(as pop up), upon hover over an image placed in datagrid as follows

<dg:DataGridTemplateColumn HeaderStyle="{StaticResource ColumnHeaderStyle}" MinWidth="30">

 

 

<dg:DataGridTemplateColumn.CellTemplate>

 

 

<DataTemplate>

 

 

<Image Name="imgExpander" Source="{Binding Path=Status,Converter={StaticResource imageConverter}}" Stretch="None">

 

 

<Image.ToolTip>

 

 

<Label x:Name="lblAlertImg" Content="{Binding Path=UserName}" ></Label>

 

 

</Image.ToolTip>

 

 

</Image>

 

 

</DataTemplate>

 

 

</dg:DataGridTemplateColumn.CellTemplate>

 

 

</dg:DataGridTemplateColumn>


Regards,
Sree