src/FingersDance.Control.Player/UserControlPlayer.xaml
author PAMPHILE Jonathan <pamphile@efrei.fr>
Mon, 14 Sep 2009 23:49:47 +0200
changeset 54 c724ac229181
parent 45 f003ae353cd7
child 57 926ad47737a3
permissions -rw-r--r--
Singleton de la factory Menu XML intégré avec treeview

<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="560" Height="400" xmlns:Custom="http://schemas.microsoft.com/surface/2008">
	<UserControl.Resources>
		<Storyboard x:Key="OnClick1"/>
	</UserControl.Resources>
	<UserControl.Triggers>
	</UserControl.Triggers>
        <Grid x:Name="LayoutRoot" Width="{Binding Path=ActualWidth, ElementName=UserControl, Mode=Default}" Height="{Binding Path=ActualHeight, ElementName=UserControl, Mode=Default}" Background="{x:Null}" >
        	<Viewbox Margin="0,0,0,0" Width="{Binding Path=ActualWidth, ElementName=UserControl, Mode=Default}" Height="{Binding Path=ActualHeight, ElementName=UserControl, Mode=Default}" Stretch="Uniform">
        		<Grid Width="560" Height="400">
        			<MediaElement x:Name="MediaElementVideo" MediaOpened="MediaElementVideo_MediaOpened" Stretch="Fill" ScrubbingEnabled="False" StretchDirection="Both" DragEnter="MediaElementVideo_DragEnter" />
        			<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}" Background="#FFF7F0F0" BorderBrush="{x:Null}" Opacity="0" Margin="76,0,76,0"/>
        		</Grid>
        	</Viewbox>
        </Grid>
 </UserControl>