How to display a image on mouse over in silverlight data grid

Posted by Arun Neon under Silverlight on 5/3/2012 | Points: 10 | Views : 1757 | Status : [Member] | Replies : 1
I need to display a image on mouse over only in silverlight 5. Can any one please help me. Give me any idea how to achieve it...

<sdk:DataGridTemplateColumn x:Name="colDeleteContent" IsReadOnly="True" Header="Delete Content" Width="100" CanUserResize="False">
<sdk:DataGridTemplateColumn.CellTemplate>
<DataTemplate>
<StackPanel x:Name="spDeleteContent" VerticalAlignment="Center" Margin="10,0,0,0" Width="20" Height="20" HorizontalAlignment="Center" Orientation="Vertical">
<Image x:Name="imgDeleteContent" Source="Assets/Images/close.png" Height="15" Width="15" Margin="0" MouseLeftButtonDown="imgDeleteContent_MouseLeftButtonDown" Cursor="Hand"/>
</StackPanel>
</DataTemplate>
</sdk:DataGridTemplateColumn.CellTemplate>
</sdk:DataGridTemplateColumn>


Arun




Responses

Posted by: Kavi.Sirius on: 5/11/2012 [Member] Starter | Points: 25

Up
0
Down
hi,
Refer this link,
http://forums.silverlight.net/t/255142.aspx/1?How+to+display+a+image+on+mouse+over+in+silverlight+data+grid+

Regards
Kavi.n

Arun Neon, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response