title: Why can't I copy (as in copy & paste - ctrl C) from my DataGrid
body: <p>I can't perform copy operations from my DataGrid to the clipboard. I want to allow the user to select some cells from the DataGrid and paste them wherever he wants.</p>
  
  <p>When I try to select a cell in the grid by clicking on it with the mouse, nothing appears to happen.  The cell/row does not change to highlighted, and copy (ctrl C) doesn't do anything.</p>
  
  <p>Here is my DataGrid:</p>
  
  <pre class="lang-xml prettyprint-override"><code>    &lt;Grid Margin="2,2,2,2" Background="LightGray"&gt;
      &lt;!--  Log  --&gt;
      &lt;Label Name="activityLogLabel"
             Height="28"
             Margin="15,5,0,0"
             HorizontalAlignment="Left"
             VerticalAlignment="Top"
             Content="Activity log" /&gt;
      &lt;Grid Width="500"
            Height="482"
            Margin="15,25,0,0"
            HorizontalAlignment="Left"
            VerticalAlignment="Top"
            Background="White"&gt;
          &lt;DataGrid x:Name="log"
                    MaxHeight="Infinity"
                    AutoGenerateColumns="False"
                    CanUserAddRows="False"
                    CanUserDeleteRows="False"
                    CanUserReorderColumns="False"
                    CanUserResizeColumns="True"
                    ClipboardCopyMode="ExcludeHeader"
                    ClipToBounds="True"
                    DataContext="{StaticResource LogViewModel}"
                    HeadersVisibility="None"
                    IsEnabled="true"
                    IsManipulationEnabled="True"
                    IsReadOnly="True"
                    ItemsSource="{Binding Path=LogData}"
                    RowHeight="NaN"
                    SelectionMode="Extended"
                    SelectionUnit="Cell"&gt;
              &lt;DataGrid.Columns&gt;
                  &lt;DataGridTextColumn Binding="{Binding Time, Mode=OneWay}" CanUserResize="False" /&gt;
                  &lt;DataGridTextColumn Binding="{Binding Text, Mode=OneWay}" CanUserResize="False"&gt;
                      &lt;DataGridTextColumn.ElementStyle&gt;
                          &lt;Style TargetType="TextBlock"&gt;
                              &lt;Setter Property="Foreground" Value="{Binding LogLevel, Mode=OneWay, Converter={StaticResource LogLevelConverter}, ConverterParameter=.}" /&gt;
                          &lt;/Style&gt;
                      &lt;/DataGridTextColumn.ElementStyle&gt;
                  &lt;/DataGridTextColumn&gt;
              &lt;/DataGrid.Columns&gt;
          &lt;/DataGrid&gt;
  
      &lt;/Grid&gt;
  </code></pre>