title: WPF Scrolling datagrid in expander
body: <p>I have a datagrid in expander and gatagrid has more than 10 columns. Then datagrid in expander<br>
  should be scrolled. But it can not be scrolled for see the other columns.  My code is below.</p>
  
  <pre><code>                &lt;Expander Header="Attribute" VerticalAlignment="Top" Grid.Row="1" &gt;
                      &lt;ScrollViewer HorizontalScrollBarVisibility="Disabled" VerticalScrollBarVisibility="Visible" CanContentScroll="True" Grid.Row="1" &gt;
                             &lt;DataGrid DataContext="{Binding}" Height="257" ItemsSource="{Binding}"  MinHeight="200" Name="gridview1" Grid.Row="2" Grid.Column="0" 
                             VerticalAlignment="Bottom" IsReadOnly="True"&gt;&lt;/DataGrid&gt;
                       &lt;/ScrollViewer&gt;
                  &lt;/Expander&gt;
  </code></pre>