Datagridview context Menu winforms c# code example
Example: context menu for datagrid wpf
<DataGrid>
<DataGrid.ContextMenu>
<ContextMenu>
<MenuItem Header="Click Me" Click="MenuItem_Click" />
</ContextMenu>
</DataGrid.ContextMenu>
</DataGrid>