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"
|
5
|
9 |
Width="335.873" Height="228.096" 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>
|
3
|
15 |
|
4
|
16 |
<StackPanel x:Name="LayoutRoot" Width="331.873" Height="227.096" Background="{x:Null}">
|
5
|
17 |
<Grid Width="327.873" Height="191" MaxWidth="500">
|
|
18 |
<Grid.Background>
|
|
19 |
<DrawingBrush Stretch="Uniform">
|
|
20 |
<DrawingBrush.Drawing>
|
|
21 |
<DrawingGroup ClipGeometry="F1M0,0L449,0 449,257 0,257 0,0">
|
|
22 |
<GeometryDrawing Geometry="F1M41.4948,0.499939L407.505,0.499939C430.146,0.499939,448.5,18.8539,448.5,41.4948L448.5,215.505C448.5,238.146,430.146,256.5,407.505,256.5L41.4948,256.5C18.8539,256.5,0.499908,238.146,0.499908,215.505L0.499908,41.4948C0.499908,18.8539,18.8539,0.499939,41.4948,0.499939z">
|
|
23 |
<GeometryDrawing.Brush>
|
|
24 |
<LinearGradientBrush EndPoint="1.15822,0.125047" StartPoint="0.0699942,0.125047">
|
|
25 |
<LinearGradientBrush.RelativeTransform>
|
|
26 |
<TransformGroup>
|
|
27 |
<SkewTransform AngleX="26.3094" AngleY="0" CenterX="0.0699942" CenterY="0.125047"/>
|
|
28 |
<RotateTransform Angle="43.5596" CenterX="0.0699942" CenterY="0.125047"/>
|
|
29 |
</TransformGroup>
|
|
30 |
</LinearGradientBrush.RelativeTransform>
|
|
31 |
<GradientStop Color="#FF717779" Offset="0"/>
|
|
32 |
<GradientStop Color="#FFD5DBDD" Offset="0.365297"/>
|
|
33 |
<GradientStop Color="#FF9DA1A3" Offset="0.515982"/>
|
|
34 |
<GradientStop Color="#FFD5DBDD" Offset="0.73516"/>
|
|
35 |
<GradientStop Color="#FF717779" Offset="1"/>
|
|
36 |
</LinearGradientBrush>
|
|
37 |
</GeometryDrawing.Brush>
|
|
38 |
<GeometryDrawing.Pen>
|
|
39 |
<Pen Brush="#FFFFFFFF" LineJoin="Round" Thickness="0.999875"/>
|
|
40 |
</GeometryDrawing.Pen>
|
|
41 |
</GeometryDrawing>
|
|
42 |
<GeometryDrawing Geometry="F1M16.4993,16.5139L432.499,16.5139 432.499,242.486 16.4993,242.486 16.4993,16.5139z">
|
|
43 |
<GeometryDrawing.Brush>
|
|
44 |
<RadialGradientBrush Center="0.500001,0.5" GradientOrigin="0.500001,0.5" RadiusX="0.501116" RadiusY="0.876953">
|
|
45 |
<RadialGradientBrush.RelativeTransform>
|
|
46 |
<TransformGroup/>
|
|
47 |
</RadialGradientBrush.RelativeTransform>
|
|
48 |
<GradientStop Color="#FFA8D3E5" Offset="0.0776256"/>
|
|
49 |
<GradientStop Color="#FFB5C2C7" Offset="0.872146"/>
|
|
50 |
<GradientStop Color="#FFEAEDEF" Offset="1"/>
|
|
51 |
</RadialGradientBrush>
|
|
52 |
</GeometryDrawing.Brush>
|
|
53 |
<GeometryDrawing.Pen>
|
|
54 |
<Pen Brush="#FFFFFFFF" LineJoin="Round" Thickness="0.999875"/>
|
|
55 |
</GeometryDrawing.Pen>
|
|
56 |
</GeometryDrawing>
|
|
57 |
</DrawingGroup>
|
|
58 |
</DrawingBrush.Drawing>
|
|
59 |
</DrawingBrush>
|
|
60 |
</Grid.Background>
|
4
|
61 |
<Grid Margin="12.366,13.976,12.819,12.508" Background="{x:Null}">
|
|
62 |
<MediaElement x:Name="MediaElementVideo" Source="Lake.wmv"/>
|
|
63 |
</Grid>
|
3
|
64 |
</Grid>
|
5
|
65 |
<Custom:SurfaceButton FontSize="12" FontWeight="Bold" x:Name="ButtonPlayPause" Content="Play/Pause" Width="37.873" Height="36.096" ContactDown="ButtonPlayPause_ContactDown" Click="ButtonPlayPause_Click" Foreground="{x:Null}">
|
|
66 |
<Custom:SurfaceButton.Background>
|
|
67 |
<DrawingBrush Stretch="Uniform">
|
|
68 |
<DrawingBrush.Drawing>
|
|
69 |
<DrawingGroup ClipGeometry="F1M0,0L65.9998,0 65.9998,65.9998 0,65.9998 0,0">
|
|
70 |
<GeometryDrawing Geometry="F1M32.9999,0.999878C50.6729,0.999878 64.9999,15.3268 64.9999,32.9999 64.9999,50.6729 50.673,64.9998 32.9999,64.9998 15.3268,64.9998 0.999878,50.6729 0.999878,32.9999 0.999878,15.3268 15.3268,0.999878 32.9999,0.999878z">
|
|
71 |
<GeometryDrawing.Brush>
|
|
72 |
<RadialGradientBrush Center="0.5,0.5" GradientOrigin="0.5,0.5" RadiusX="0.515623" RadiusY="0.515623">
|
|
73 |
<RadialGradientBrush.RelativeTransform>
|
|
74 |
<TransformGroup/>
|
|
75 |
</RadialGradientBrush.RelativeTransform>
|
|
76 |
<GradientStop Color="#FFCFCFBD" Offset="0"/>
|
|
77 |
<GradientStop Color="#FFCFCFBD" Offset="0.301369"/>
|
|
78 |
<GradientStop Color="#FFE7E7DE" Offset="0.584094"/>
|
|
79 |
<GradientStop Color="#FFFFFFFF" Offset="0.584475"/>
|
|
80 |
<GradientStop Color="#FFCFCFBD" Offset="0.844749"/>
|
|
81 |
</RadialGradientBrush>
|
|
82 |
</GeometryDrawing.Brush>
|
|
83 |
<GeometryDrawing.Pen>
|
|
84 |
<Pen Brush="#00B0AEAE" LineJoin="Round" Thickness="1.99975"/>
|
|
85 |
</GeometryDrawing.Pen>
|
|
86 |
</GeometryDrawing>
|
|
87 |
<GeometryDrawing Brush="#FF000000" Geometry="F1M46.4136,33.1028L25.7166,20.8713 25.4724,44.9112 46.4136,33.1028z"/>
|
|
88 |
<GeometryDrawing Brush="#64FFFFFF" Geometry="F1M33.0439,6.26428C49.0601,6.26428 62.0439,17.9319 62.0439,32.3246 62.0439,46.7173 49.0601,28.6581 33.0439,28.6581 17.0276,28.6581 4.04395,46.7173 4.04395,32.3246 4.04395,17.9319 17.0278,6.26428 33.0439,6.26428z">
|
|
89 |
<GeometryDrawing.Pen>
|
|
90 |
<Pen Brush="#3AFFFFFF" LineJoin="Round" Thickness="1.99975"/>
|
|
91 |
</GeometryDrawing.Pen>
|
|
92 |
</GeometryDrawing>
|
|
93 |
</DrawingGroup>
|
|
94 |
</DrawingBrush.Drawing>
|
|
95 |
</DrawingBrush>
|
|
96 |
</Custom:SurfaceButton.Background>
|
|
97 |
</Custom:SurfaceButton>
|
3
|
98 |
</StackPanel>
|
|
99 |
</UserControl> |