<UserControl 
  x:Class="Orders.View.ProductsView"
  xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  xmlns:scm="clr-namespace:System.ComponentModel;assembly=WindowsBase"
  >
    <Grid Margin="5">
        <Grid.RowDefinitions>
            <RowDefinition Height="Auto"/>
            <RowDefinition Height="*"/>
        </Grid.RowDefinitions>

        <StackPanel Grid.Row="0" Orientation="Horizontal">
            <TextBlock Margin="0,0,7,0">Products:</TextBlock>
        </StackPanel>

        <!-- A DataGrid showing products, bound to a live view in the ProductsViewModel. -->
        <DataGrid Grid.Row="1" Style="{StaticResource PrettierDataGridStyle}" AutoGenerateColumns="True" ItemsSource="{Binding Products}" Name="dataGrid1" />

    </Grid>
</UserControl>