views:

33

answers:

0

<DataGrid ItemsSource="{Binding Contracts}" 
          Name="dataGrid"
          AutoGenerateColumns="False">
    <DataGrid.Columns>
        <DataGridTextColumn Header="Number" Binding="{Binding Number}">
        </DataGridTextColumn>
        <DataGridTextColumn Header="PaymentTerms" Binding="{Binding PaymentTerms}">
        </DataGridTextColumn>
    </DataGrid.Columns>
</DataGrid>