<Page x:Class="FlexGrid101.CustomMerging"
      xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
      xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
      xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
      xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
      xmlns:c1="http://schemas.componentone.com/winfx/2006/xaml"        
      mc:Ignorable="d" 
      d:DesignHeight="450" d:DesignWidth="800"
      Title="CustomMerging">

    <Grid>
        <Grid.RowDefinitions>
            <RowDefinition Height="Auto"/>
            <RowDefinition />
        </Grid.RowDefinitions>
        <c1:C1FlexGrid x:Name="grid" IsReadOnly="True" AllowMerging="All" RowBackground="White" GridLinesVisibility="All" />
        <Grid Grid.Row="1" Margin="5">
            <Grid.RowDefinitions>
                <RowDefinition Height="Auto" />
                <RowDefinition />
            </Grid.RowDefinitions>
            <StackPanel Orientation="Horizontal">
                <Image x:Name="imgTV" Width="50" Height="50" Source="/FlexGrid101;component/Images/retro_TV_filled-50_light.png" />
                <Label x:Name="labelShowName" FontSize="30" VerticalAlignment="Center"/>
            </StackPanel>
            <Label x:Name="labelShowTimes" Grid.Row="1" />
        </Grid>
    </Grid>
</Page>
