I have a DataGrid with a template column with a Hyperlink as template
<DataGridTemplateColumn.CellTemplate>
<DataTemplate>
<TextBlock>
<Hyperlink Command="{Binding Path=OpenCommand}">
<TextBlock Text="{Binding Path=Description}" />
</Hyperlink>
</TextBlock>
</DataTemplate>
</DataGridTemplateColumn.CellTemplate>
The DataGrid also have a contextmenu with commands for the selected row. When the user right clicks a row in any other columns than the hyperlink column, the row gets selected and context menu is displayed. The problem I have is when the user right clicks on the hyperlink, in order to see commands for that row, the row does not automatically gets selected.
Question: How can I make the Hyperlink ignore the right mouse click, and let the datagrid take care of the event and select the row just like in the other columns?