title: How to add a Column ContextMenu in the WPF DataGrid
body: <p>I'm trying to add a context menu to a column in the WPF datagrid and don't quite see how this is possible.  I know how to add one to the datagrid, but I would like to have different menu items based on the column as well have the menu click event be aware of column or better yet the cell that the context menu was chosen for.</p>
  
  <p>My ultimate goal is to create a context menu that has a "Clear" menu item which will be used to null out the data in that column.  I don't want an empty string or false in the case of a check box column, I want the underlying data to be nulled out.  If anyone has a suggestion on a reusable way to do this that would be much appreciated as well.</p>
  
  <p>Thanks much!</p>