title: DataGrid.SelectedItems MVVM
body: <p>I developed my UI on MVVM pattern and now stuck on getting SelectedItems. Could you please modify my XAML and provide sample how do I get them insde ViewModel class. </p>
  
  <pre><code>&lt;xcdg:DataGridControl Name="ResultGrid" ItemsSource="{Binding Results}"  Height="295" HorizontalAlignment="Left" Margin="6,25,0,0" VerticalAlignment="Top" Width="1041" ReadOnly="True"&gt;
                      &lt;xcdg:DataGridControl.View&gt;
                          &lt;xcdg:TableflowView UseDefaultHeadersFooters="False"&gt;
                              &lt;xcdg:TableflowView.FixedHeaders&gt;
                                  &lt;DataTemplate&gt;
                                      &lt;xcdg:ColumnManagerRow /&gt;
                                  &lt;/DataTemplate&gt;
                              &lt;/xcdg:TableflowView.FixedHeaders&gt;
                          &lt;/xcdg:TableflowView&gt;
                      &lt;/xcdg:DataGridControl.View&gt;
                  &lt;/xcdg:DataGridControl&gt;
  </code></pre>