How can I make a non-hyperlink item in a DataGrid clickable? C# WPF VisualStudio 2015 Community
<p>How can I make a non-hyperlink item in a DataGrid clickable?</p>

<p>I'm creating a WPF program using C# in Visual Studio 2015 Community. I have successfully populated my DataGrid with data from a List. I would like to be able to click on a cell and display detailed information about the item in the cell. I have found how to click on the row and add a detail line below the clicked row, but that is not at all the behavior I am looking for.</p>

<p>The closest I have seen here are:
<a href="https://stackoverflow.com/questions/15776392/how-can-i-make-double-clicking-on-a-datagrid-item-open-a-more-detailed-view">How can I make double clicking on a DataGrid item open a more detailed view?</a>
and
<a href="https://stackoverflow.com/questions/32352460/highlight-one-item-in-datagrid">Highlight one item in DataGrid</a></p>

<p>They both seem like good directions, but I have not been able to adapt them. I would greatly appreciate any input or direction to learning resources.</p>

<p>Thanks,
Eric</p>

<p>Here's what I'm trying to get to work before doing it full scale. I left the row detail in, but it is not actually what I would like to do.</p>

<p>XAML</p>

<pre><code>&lt;DataGrid x:Name="dataGrid2" Margin="84,310,194,69" AutoGenerateColumns="False"&gt;
    &lt;DataGrid.Columns&gt;                
        &lt;DataGridTextColumn 
            Header="Plugin"
            Binding="{Binding name}"
            FontSize="14" 
            IsReadOnly="True"/&gt;
        &lt;DataGridTextColumn 
            Header="Developer"
            Binding="{Binding developer}"
            FontSize="14" 
            IsReadOnly="True" /&gt;
    &lt;/DataGrid.Columns&gt;
    &lt;DataGrid.RowDetailsTemplate&gt;
        &lt;DataTemplate&gt;
            &lt;StackPanel Orientation="Horizontal" Height="30"&gt;
                &lt;TextBlock Text="Plugin: " HorizontalAlignment="Center" VerticalAlignment="Center"/&gt;
                &lt;Button Content="{Binding name}" Click="click" BorderBrush="{x:Null}" HorizontalAlignment="Center" VerticalAlignment="Center"/&gt;
            &lt;/StackPanel&gt;
        &lt;/DataTemplate&gt;
    &lt;/DataGrid.RowDetailsTemplate&gt;
&lt;/DataGrid&gt;
</code></pre>

<p>C#</p>

<pre><code>dataGrid2.ItemsSource = pluginList.plugins;
</code></pre>