<Page
    x:Class="FlexGrid101.ConditionalFormatting"
    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:c1="using:C1.Xaml.FlexGrid"    
    mc:Ignorable="d"
    Background="{ThemeResource ApplicationPageBackgroundThemeBrush}">

    <c1:C1FlexGrid x:Name="grid" AutoGenerateColumns="False">
        <c1:C1FlexGrid.Columns>
            <c1:Column Binding="{Binding FirstName, Mode=TwoWay}" Width="Auto"/>
            <c1:Column Binding="{Binding LastName, Mode=TwoWay}" Width="Auto"/>
            <c1:Column Binding="{Binding OrderTotal, Mode=TwoWay}" Width="Auto" Format="C2"/>
            <c1:Column Binding="{Binding OrderCount, Mode=TwoWay}" Width="Auto" Format="N1"/>
            <c1:Column Binding="{Binding CountryId, Mode=TwoWay}" Width="*" Header="Country"/>
            <c1:Column Binding="{Binding LastOrderDate, Mode=TwoWay}" Width="*" Format="d" />
            <c1:Column Binding="{Binding LastOrderDate, Mode=TwoWay}" Width="*" Format="t" Header="Last Order Time"/>
        </c1:C1FlexGrid.Columns>
    </c1:C1FlexGrid>
</Page>
