wpf datagrid on click event

Posted by gencay on Stack Overflow See other posts from Stack Overflow or by gencay
Published on 2011-01-05T23:51:05Z Indexed on 2011/01/05 23:53 UTC
Read the original article Hit count: 219

Filed under:

I use datagrid table on my project. One of the column of the datagrid is the path of the document according to my project. I would like to do that:

When the user clicks the path cell/hyperlink cell, Program will get the path, Program will open another tab.

I couldn't see the onclick event for the column, how can i do this?

And also how can I switch the tabitems on the same wpf Window?

Hyper link column is that:

< toolkit:DataGridHyperlinkColumn Header="Path" Binding="{Binding path}" IsReadOnly="True" TargetName="{Binding Path=path}">

© Stack Overflow or respective owner

Related posts about wpf