title: Copy Command On ContextMenu over TextBlock inside DataGridTemplateColumn
body: <p>Thought of asking because never done this before on a TextBlock. I Am not able to copy the content of the DataGridTemplateColumn where it has a TextBlock in that and i have assigned a context menu to that.</p>
  
  <p>The copied content is blank.</p>
  
  <p>When I tried in MS word is Blank Cell.</p>
  
  <p>My Template Column and ContextMenu are as below. </p>
  
  <p>I Tried using TextBox But it work when the textbox is enabled and in-spite of grid column is readonly. It allows editing and when we disable it won't copy  the text.</p>
  
  <pre><code> &lt;DataGridTemplateColumn Header="Details" Width="*" IsReadOnly="True"&gt;
    &lt;DataGridTemplateColumn.CellTemplate&gt;
      &lt;DataTemplate&gt;
             &lt;Grid&gt;
              &lt;TextBlock Text="{Binding details}" TextWrapping="Wrap"&gt;
                &lt;TextBlock.ContextMenu&gt;
                   &lt;ContextMenu&gt;
                      &lt;MenuItem Header="Copy" Command="Copy"&gt;&lt;/MenuItem&gt;    
                   &lt;/ContextMenu&gt;   
                &lt;/TextBlock.ContextMenu&gt;
               &lt;/TextBlock&gt;
             &lt;/Grid&gt;
     &lt;/DataTemplate&gt;
   &lt;/DataGridTemplateColumn.CellTemplate&gt;
  &lt;/DataGridTemplateColumn&gt;
  </code></pre>