<UserControl x:Class="SimpleVideo.Page"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" 
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" 
    Width="auto" Height="auto">

    <Grid x:Name="layoutRoot" HorizontalAlignment="Stretch" VerticalAlignment="Stretch">
        <Grid.Background>
            <LinearGradientBrush EndPoint="0.8, 0.9" StartPoint="0.1,-0.09">
                <GradientStop Color="#FF7CA5BF"/>
                <GradientStop Color="#FFE0E7EC" Offset="1"/>
            </LinearGradientBrush>
        </Grid.Background>

        <Grid.RowDefinitions>
            <RowDefinition Height="*"/>
            <RowDefinition Height="50"/>
        </Grid.RowDefinitions>
        
        <Grid Grid.Row="0">
            <MediaElement x:Name="videoElement" Source="http://silverlight.services.live.com/9299/Robotica%20720p/video.wmv" AutoPlay="True" Height="720" Width="1280" />
        </Grid>

        <StackPanel Orientation="Horizontal" Grid.Row="1" HorizontalAlignment="Center" VerticalAlignment="Center">
            <ToggleButton x:Name="playToggleButton" Content="Anhalten" Width="100" Height="30" FontFamily="Tahoma" FontSize="12" />
            <TextBlock x:Name="infoTextBlock" FontFamily="Tahoma" FontSize="12" VerticalAlignment="Center" Margin="10"/>
        </StackPanel>
   </Grid>

</UserControl>
