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

    <Grid>
        <c1:C1FlexGrid x:Name="grid" 
                 AutoGenerateColumns="False" 
                 AllowResizing="None" 
                 HeadersVisibility="Column" 
                 Background="White"
                 RowBackground="#FFE5E6FA"
                 Foreground="Black"
                 AlternatingRowBackground="White" 
                 GridLinesVisibility="None"
                 ColumnHeaderBackground="#FF778898" 
                 ColumnHeaderForeground="White" 
                 SelectionBackground="#FFFAD127" 
                 SelectionForeground="Black">
            <c1:C1FlexGrid.Columns>
                <c1:Column Binding="{Binding FirstName}" Width="*"/>
                <c1:Column Binding="{Binding LastName}" Width="*"/>
                <c1:Column Binding="{Binding LastOrderDate}" Width="*" Format="d"/>
                <c1:Column Binding="{Binding OrderTotal}" Width="*" Format="N" />
            </c1:C1FlexGrid.Columns>
        </c1:C1FlexGrid>
    </Grid>
</Page>
