title: DataGrid XAML control can't be scrolled by touch
body: <p>I'm developing a uwp app. The app has a DataGrid XAML control. </p>
  
  <p>My problem is that I can scroll it by mouse, but I can't scroll it by touch. Curiously, I can scroll it by two fingers touch.</p>
  
  <p>Please let me know how to fix the problem.</p>
  
  <p>Here is my code.</p>
  
  <pre><code>    &lt;Grid Background="{ThemeResource ApplicationPageBackgroundThemeBrush}" Loaded="ContentGrid_Loaded"&gt;
          &lt;SplitView x:Name="spritView"
                     IsPaneOpen="{Binding ElementName=HamburgerButton,Path=IsChecked, Mode=TwoWay}"
                     DisplayMode= "CompactInline"
                     PaneBackground="LightGray"
                     PanePlacement="Left"
                     CompactPaneLength ="0"
                     OpenPaneLength="200"
                         Margin="0,48,0,0"
                         &gt;
              &lt;SplitView.Pane&gt;
                  &lt;Grid&gt;
                      &lt;Grid.RowDefinitions&gt;
                          &lt;RowDefinition /&gt;
                      &lt;/Grid.RowDefinitions&gt;
                      &lt;ScrollViewer&gt;
                          &lt;StackPanel Orientation="Horizontal" VerticalAlignment="Top"&gt;
                              &lt;Button x:Name="BtExit" Click="BtExit_Click"&gt;
                                  &lt;Image Source="/pictuer/left_arrow.png" Height="32"/&gt;
                              &lt;/Button&gt;
                              &lt;TextBlock Text="Category" Width="140" Style="{StaticResource TextBlockFontSize1}"/&gt;
                          &lt;/StackPanel&gt;
  
                      &lt;/ScrollViewer&gt;
                  &lt;/Grid&gt;
              &lt;/SplitView.Pane&gt;
              &lt;ScrollViewer ZoomMode="Enabled"
                            ScrollViewer.VerticalScrollBarVisibility="Auto"
                            ScrollViewer.VerticalScrollMode="Auto"
                            ScrollViewer.HorizontalScrollBarVisibility="Auto"
                            ScrollViewer.HorizontalScrollMode="Auto"
                            &gt;
                  &lt;StackPanel Background="Snow" &gt;
                      &lt;controls: x:Name="dataGrid" AutoGenerateColumns="False"
                                             GridLinesVisibility="All" AlternatingRowBackground="LightCyan"
                                         ItemsSource="{Binding DefuctLists}"&gt;
                          &lt;controls:DataGrid.Columns&gt;
                              &lt;controls:DataGridTextColumn Header="Category" Binding="{Binding Item_Lb}" IsReadOnly="True" /&gt;
                          &lt;/controls:DataGrid.Columns&gt;
  
                      &lt;/controls:DataGrid&gt;
                      &lt;Border Style="{StaticResource borderLineLightGray}" Margin="0,8,0,0"/&gt;
                  &lt;/StackPanel&gt;
              &lt;/ScrollViewer&gt;
  
          &lt;/SplitView&gt;
  
      &lt;/Grid&gt;
  </code></pre>