src/FingersDance.Control.Player/UserControlPlayer.xaml
author sarias
Sun, 09 Aug 2009 18:29:41 +0200
changeset 34 9e222810f5b5
parent 10 e8bfe1102e03
child 35 ed77793b767a
permissions -rw-r--r--
User Control Player User Control TimeLine + Communication du player et TimeLine dans User Panel

<UserControl
	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"
	x:Class="FingersDance.Control.Player.UserControlPlayer"
	x:Name="UserControl"
	Width="335.873" Height="228.096" xmlns:Custom="http://schemas.microsoft.com/surface/2008">
	<UserControl.Resources>
		<Storyboard x:Key="OnClick1"/>
	</UserControl.Resources>
	<UserControl.Triggers>
	</UserControl.Triggers>
        <StackPanel x:Name="LayoutRoot" Width="331.873" Height="227.096" Background="{x:Null}">
            <Grid Width="321.873" Height="225.096" MaxWidth="500" Background="#FF000000">
                <MediaElement x:Name="MediaElementVideo" MediaOpened="MediaElementVideo_MediaOpened" />
                <Custom:SurfaceButton x:Name="Rewind_area" Content="Play/Pause" ContactDown="ButtonRewind_ContactDown" Click="ButtonRewind_Click" Foreground="{x:Null}" Background="#FFF7F0F0" BorderBrush="{x:Null}" Opacity="0" Width="72" HorizontalAlignment="Left"/>
                <Custom:SurfaceButton x:Name="Fast_Forward_area" Content="Play/Pause" ContactDown="ButtonFastForward_ContactDown" Click="ButtonFastForward_Click" Foreground="{x:Null}" Background="#FFF7F0F0" BorderBrush="{x:Null}" Opacity="0" Width="72" HorizontalAlignment="Right"/>
                <Custom:SurfaceButton x:Name="Play_Pause_area" ContactDown="ButtonPlayPause_ContactDown" Click="ButtonPlayPause_Click" Foreground="{x:Null}" Margin="76,0,76,0" Background="#FFF7F0F0" BorderBrush="{x:Null}" Opacity="0"/>
            </Grid>
        </StackPanel>
 </UserControl>