<?xml version="1.0" encoding="utf-8"?>
<UserControl x:Class="C1MediaPlayer_Localization2010.MainPage" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:common="clr-namespace:SamplesCommon;assembly=SamplesCommon.5" xmlns:c1="http://schemas.componentone.com/winfx/2006/xaml">
    <Grid x:Name="LayoutRoot" Background="White">
        <Grid.RowDefinitions>
            <RowDefinition Height="Auto" />
            <RowDefinition />
        </Grid.RowDefinitions>
        <StackPanel Orientation="Horizontal" HorizontalAlignment="Stretch" Margin="8,0,8,0">
            <TextBlock Text="Language" TextWrapping="Wrap" TextAlignment="Center" VerticalAlignment="Center" Margin="8,0,0,0" />
            <common:LocalizationComboBox Height="22" Width="150" Margin="4,0,0,0" />
        </StackPanel>
        <c1:C1MediaPlayer x:Name="C1MediaPlayer" AutoPlay="False" Grid.Row="1">
            <c1:C1MediaItem MediaSource="http://video.ted.com/talks/podcast/HansRosling_2006.mp4" Title="Hans Rosling shows the best stats you've ever seen">
                <c1:C1MediaChapter Title="Global life expectancies" Position="00:00:25" />
                <c1:C1MediaChapter Title="World wealth" Position="00:06:18" />
                <c1:C1MediaChapter Title="GDP and child death" Position="00:09:16" />
                <c1:C1MediaChapter Title="How can we use this data?" Position="00:15:04" />
            </c1:C1MediaItem>
        </c1:C1MediaPlayer>
    </Grid>
</UserControl>