title: Datagrid ScrollBar WPF
body: <p>I want to add a scrollbar in within my Datagrid but it doesn't work. Can someone help me please?</p>
  
  <pre><code>&lt;Grid x:Name="DisplayClient" Grid.Row="2" Margin="10,135,10,-132"&gt;
      &lt;Expander Header="Client" IsExpanded="{Binding IsResultOpen, Mode=TwoWay}" Background="{x:Null}"&gt;
          &lt;ScrollViewer VerticalScrollBarVisibility="Auto"&gt;
           &lt;DataGrid x:Name="DataGrid1" ItemsSource="{Binding ClientList}"&gt;
          &lt;/DataGrid&gt;
          &lt;/ScrollViewer&gt;
      &lt;/Expander&gt;
  &lt;/Grid&gt;
  </code></pre>