<?xml version="1.0" encoding="utf-8"?>
<UserControl x:Class="C1Extended_Demo.AccordionTemplates" mc:Ignorable="d" d:DataContext="{d:DesignData Source=/DesignData/SamplePeople.xaml}" 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="http://schemas.componentone.com/winfx/2006/xaml">

    <Grid x:Name="LayoutRoot" Background="White">
        <c1:C1Accordion ItemsSource="{Binding}" AllowCollapseAll="False">
            <c1:C1Accordion.HeaderTemplate>
                <DataTemplate>
                    <TextBlock Text="{Binding Name}" />
                </DataTemplate>
            </c1:C1Accordion.HeaderTemplate>
            <c1:C1Accordion.ItemTemplate>
                <DataTemplate>
                    <Grid>
                        <Grid.ColumnDefinitions>
                            <ColumnDefinition />
                            <ColumnDefinition />
                        </Grid.ColumnDefinitions>
                        <Grid.RowDefinitions>
                            <RowDefinition />
                            <RowDefinition />
                            <RowDefinition />
                            <RowDefinition />
                            <RowDefinition />
                        </Grid.RowDefinitions>
                        <TextBlock Text="Name" Margin="4" FontWeight="Bold" />
                        <TextBlock Text="{Binding Name}" Grid.Column="1" Margin="4" />
                        <TextBlock Text="Age" FontWeight="Bold" Grid.Row="1" Margin="4" />
                        <TextBlock Text="{Binding Age}" Grid.Row="1" Grid.Column="1" Margin="4" />
                        <TextBlock Text="Address" FontWeight="Bold" Grid.Row="2" Margin="4" />
                        <TextBlock Text="{Binding Address}" Grid.Row="2" Grid.Column="1" Margin="4" />
                        <TextBlock Text="Born" FontWeight="Bold" Grid.Row="3" Margin="4" />
                        <TextBlock Text="{Binding Born}" Grid.Row="3" Grid.Column="1" Margin="4" />
                        <TextBlock Text="Residence" FontWeight="Bold" Grid.Row="4" Margin="4" />
                        <TextBlock Text="{Binding Residence}" Grid.Row="4" Grid.Column="1" Margin="4" />
                    </Grid>
                </DataTemplate>
            </c1:C1Accordion.ItemTemplate>
        </c1:C1Accordion>
    </Grid>
</UserControl>