<sdk:DataGrid AutoGenerateColumns=
"False"
Height=
"468"
ItemsSource=
"{Binding ElementName=customerPresentationModelDomainDataSource, Path=Data}"
Margin=
"0,66,0,0"
Name=
"customerPresentationModelDataGrid"
RowDetailsVisibilityMode=
"VisibleWhenSelected"
VerticalAlignment=
"Top"
>
<sdk:DataGrid.Columns>
<sdk:DataGridTextColumn x:Name=
"addressIDColumn"
Binding=
"{Binding Path=AddressID}"
Header=
"Address ID"
Width=
"SizeToHeader"
/>
<sdk:DataGridTextColumn x:Name=
"addressLine1Column"
Binding=
"{Binding Path=AddressLine1}"
Header=
"Address Line 1"
Width=
"SizeToHeader"
/>
<sdk:DataGridTextColumn x:Name=
"addressLine2Column"
Binding=
"{Binding Path=AddressLine2}"
Header=
"Address Line 2"
Width=
"SizeToHeader"
/>
<sdk:DataGridTemplateColumn x:Name=
"addressModifiedDateColumn"
Header=
"Address Modified Date"
Width=
"SizeToHeader"
>
<sdk:DataGridTemplateColumn.CellEditingTemplate>
<DataTemplate>
<sdk:DatePicker SelectedDate=
"{Binding Path=AddressModifiedDate, Mode=TwoWay, NotifyOnValidationError=true, ValidatesOnExceptions=true}"
/>
</DataTemplate>
</sdk:DataGridTemplateColumn.CellEditingTemplate>
<sdk:DataGridTemplateColumn.CellTemplate>
<DataTemplate>
<TextBlock Text=
"{Binding Path=AddressModifiedDate, StringFormat=\{0:d\}}"
/>
</DataTemplate>
</sdk:DataGridTemplateColumn.CellTemplate>
</sdk:DataGridTemplateColumn>
<sdk:DataGridTextColumn x:Name=
"cityColumn"
Binding=
"{Binding Path=City}"
Header=
"City"
Width=
"SizeToHeader"
/>
<sdk:DataGridTextColumn x:Name=
"customerIDColumn"
Binding=
"{Binding Path=CustomerID, Mode=OneWay}"
Header=
"Customer ID"
IsReadOnly=
"True"
Width=
"SizeToHeader"
/>
<sdk:DataGridTemplateColumn x:Name=
"customerModifiedDateColumn"
Header=
"Customer Modified Date"
Width=
"SizeToHeader"
>
<sdk:DataGridTemplateColumn.CellEditingTemplate>
<DataTemplate>
<sdk:DatePicker SelectedDate=
"{Binding Path=CustomerModifiedDate, Mode=TwoWay, NotifyOnValidationError=true, ValidatesOnExceptions=true}"
/>
</DataTemplate>
</sdk:DataGridTemplateColumn.CellEditingTemplate>
<sdk:DataGridTemplateColumn.CellTemplate>
<DataTemplate>
<TextBlock Text=
"{Binding Path=CustomerModifiedDate, StringFormat=\{0:d\}}"
/>
</DataTemplate>
</sdk:DataGridTemplateColumn.CellTemplate>
</sdk:DataGridTemplateColumn>
<sdk:DataGridTextColumn x:Name=
"emailAddressColumn"
Binding=
"{Binding Path=EmailAddress}"
Header=
"Email Address"
Width=
"SizeToHeader"
/>
<sdk:DataGridTextColumn x:Name=
"firstNameColumn"
Binding=
"{Binding Path=FirstName}"
Header=
"First Name"
Width=
"SizeToHeader"
/>
<sdk:DataGridTextColumn x:Name=
"lastNameColumn"
Binding=
"{Binding Path=LastName}"
Header=
"Last Name"
Width=
"SizeToHeader"
/>
<sdk:DataGridTextColumn x:Name=
"phoneColumn"
Binding=
"{Binding Path=Phone}"
Header=
"Phone"
Width=
"SizeToHeader"
/>
<sdk:DataGridTextColumn x:Name=
"postalCodeColumn"
Binding=
"{Binding Path=PostalCode}"
Header=
"Postal Code"
Width=
"SizeToHeader"
/>
<sdk:DataGridTextColumn x:Name=
"stateProvinceColumn"
Binding=
"{Binding Path=StateProvince}"
Header=
"State Province"
Width=
"SizeToHeader"
/>
</sdk:DataGrid.Columns>
</sdk:DataGrid>