4 xmlns:d="http://schemas.microsoft.com/expression/blend/2008" |
4 xmlns:d="http://schemas.microsoft.com/expression/blend/2008" |
5 xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" |
5 xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" |
6 mc:Ignorable="d" |
6 mc:Ignorable="d" |
7 x:Class="FingersDance.Control.Player.UserControlPlayer" |
7 x:Class="FingersDance.Control.Player.UserControlPlayer" |
8 x:Name="UserControl" |
8 x:Name="UserControl" |
9 Width="450" Height="334" xmlns:Custom="http://schemas.microsoft.com/surface/2008"> |
9 Width="560" Height="400" xmlns:Custom="http://schemas.microsoft.com/surface/2008"> |
10 <UserControl.Resources> |
10 <UserControl.Resources> |
11 <Storyboard x:Key="OnClick1"/> |
11 <Storyboard x:Key="OnClick1"/> |
12 </UserControl.Resources> |
12 </UserControl.Resources> |
13 <UserControl.Triggers> |
13 <UserControl.Triggers> |
14 </UserControl.Triggers> |
14 </UserControl.Triggers> |
15 <Grid x:Name="LayoutRoot" Width="Auto" Height="Auto" Background="{x:Null}"> |
15 <Grid x:Name="LayoutRoot" Width="{Binding Path=ActualWidth, ElementName=UserControl, Mode=Default}" Height="{Binding Path=ActualHeight, ElementName=UserControl, Mode=Default}" Background="{x:Null}" > |
16 <Grid Width="Auto" MaxWidth="500" Background="#FF000000"> |
16 <Viewbox Margin="0,0,0,0" Width="{Binding Path=ActualWidth, ElementName=UserControl, Mode=Default}" Height="{Binding Path=ActualHeight, ElementName=UserControl, Mode=Default}" Stretch="Uniform"> |
17 <MediaElement x:Name="MediaElementVideo" MediaOpened="MediaElementVideo_MediaOpened" /> |
17 <Grid Width="560" Height="400"> |
18 <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"/> |
18 <MediaElement x:Name="MediaElementVideo" MediaOpened="MediaElementVideo_MediaOpened" Stretch="Fill" ScrubbingEnabled="False" StretchDirection="Both" /> |
19 <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"/> |
19 <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"/> |
20 <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"/> |
20 <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"/> |
21 </Grid> |
21 <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"/> |
22 </Grid> |
22 </Grid> |
|
23 </Viewbox> |
|
24 </Grid> |
23 </UserControl> |
25 </UserControl> |