author | ymh |
Tue, 15 Sep 2009 14:53:12 +0200 | |
changeset 57 | 926ad47737a3 |
parent 54 | c724ac229181 |
child 92 | 3a0b48be34bd |
permissions | -rw-r--r-- |
3 | 1 |
<UserControl |
2 |
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" |
|
3 |
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" |
|
4 |
xmlns:d="http://schemas.microsoft.com/expression/blend/2008" |
|
5 |
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" |
|
6 |
mc:Ignorable="d" |
|
7 |
x:Class="FingersDance.Control.Player.UserControlPlayer" |
|
8 |
x:Name="UserControl" |
|
45
f003ae353cd7
Dev des 4 User Panels Resizables avec un pivot basique.
sarias
parents:
35
diff
changeset
|
9 |
Width="560" Height="400" xmlns:Custom="http://schemas.microsoft.com/surface/2008"> |
4 | 10 |
<UserControl.Resources> |
11 |
<Storyboard x:Key="OnClick1"/> |
|
12 |
</UserControl.Resources> |
|
13 |
<UserControl.Triggers> |
|
14 |
</UserControl.Triggers> |
|
45
f003ae353cd7
Dev des 4 User Panels Resizables avec un pivot basique.
sarias
parents:
35
diff
changeset
|
15 |
<Grid x:Name="LayoutRoot" Width="{Binding Path=ActualWidth, ElementName=UserControl, Mode=Default}" Height="{Binding Path=ActualHeight, ElementName=UserControl, Mode=Default}" Background="{x:Null}" > |
f003ae353cd7
Dev des 4 User Panels Resizables avec un pivot basique.
sarias
parents:
35
diff
changeset
|
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"> |
f003ae353cd7
Dev des 4 User Panels Resizables avec un pivot basique.
sarias
parents:
35
diff
changeset
|
17 |
<Grid Width="560" Height="400"> |
57 | 18 |
<MediaElement x:Name="MediaElementVideo" MediaOpened="MediaElementVideo_MediaOpened" Stretch="Fill" ScrubbingEnabled="False" StretchDirection="Both" /> |
45
f003ae353cd7
Dev des 4 User Panels Resizables avec un pivot basique.
sarias
parents:
35
diff
changeset
|
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"/> |
f003ae353cd7
Dev des 4 User Panels Resizables avec un pivot basique.
sarias
parents:
35
diff
changeset
|
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"/> |
f003ae353cd7
Dev des 4 User Panels Resizables avec un pivot basique.
sarias
parents:
35
diff
changeset
|
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"/> |
f003ae353cd7
Dev des 4 User Panels Resizables avec un pivot basique.
sarias
parents:
35
diff
changeset
|
22 |
</Grid> |
f003ae353cd7
Dev des 4 User Panels Resizables avec un pivot basique.
sarias
parents:
35
diff
changeset
|
23 |
</Viewbox> |
f003ae353cd7
Dev des 4 User Panels Resizables avec un pivot basique.
sarias
parents:
35
diff
changeset
|
24 |
</Grid> |
34 | 25 |
</UserControl> |