<?xml version="1.0" encoding="utf-8"?>
<UserControl x:Class="C1Data_Validation.MainPage" mc:Ignorable="d" d:DesignHeight="300" d:DesignWidth="400" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:sdk="http://schemas.microsoft.com/winfx/2006/xaml/presentation/sdk" xmlns:c1="http://schemas.componentone.com/winfx/2006/xaml">

    <Grid x:Name="LayoutRoot" Background="DarkSlateBlue">
        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="100" />
            <ColumnDefinition />
        </Grid.ColumnDefinitions>
        <Grid.RowDefinitions>
            <RowDefinition />
            <RowDefinition />
            <RowDefinition />
        </Grid.RowDefinitions>
        <TextBlock Text="MS DataGrid:" Grid.Row="0" Grid.Column="0" Margin="5" Foreground="White" />
        <sdk:DataGrid ItemsSource="{Binding}" Grid.Row="0" Grid.Column="1" Margin="1" />
        <TextBlock Text="C1DataGrid:" Grid.Row="1" Grid.Column="0" Margin="5" Foreground="White" />
        <c1:C1DataGrid ItemsSource="{Binding}" Grid.Row="1" Grid.Column="1" Margin="1">
            <c1:C1ValidationBehavior.ValidationBehavior>
                <c1:C1ValidationBehavior />
            </c1:C1ValidationBehavior.ValidationBehavior>
        </c1:C1DataGrid>
        <TextBlock Text="C1FlexGrid:" Grid.Row="2" Grid.Column="0" Margin="5" Foreground="White" />
        <c1:C1FlexGrid ItemsSource="{Binding}" Grid.Row="2" Grid.Column="1" Margin="1" />
    </Grid>
</UserControl>