author | cavaliet |
Wed, 14 Oct 2009 17:42:22 +0200 | |
changeset 151 | 5f011a5ce421 |
parent 146 | dd8ed4d3beb6 |
child 165 | e78e40b9d761 |
permissions | -rw-r--r-- |
10 | 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" |
|
92 | 7 |
xmlns:vw="clr-namespace:FingersDance.Views;assembly=FingersDance.Views" |
140
fc7c12f9da30
Add a confirm dialog box before deleting an annotation by drag and drop. Now the UserControlClose is a generic confirm dialog box sending a ConfirmYesOrNo Event.
cavaliet
parents:
126
diff
changeset
|
8 |
xmlns:popup="clr-namespace:FingersDance.Control.Close;assembly=FingersDance.Control.Close" |
92 | 9 |
xmlns:Custom="http://schemas.microsoft.com/surface/2008" xmlns:Microsoft_Surface_Presentation_Generic="clr-namespace:Microsoft.Surface.Presentation.Generic;assembly=Microsoft.Surface.Presentation.Generic" |
10 | 10 |
x:Class="FingersDance.Control.TimeLine.UserControlTimeLine" |
11 |
x:Name="UserControl" |
|
92 | 12 |
d:DesignWidth="383" Background="{x:Null}" d:DesignHeight="33"> |
13 |
||
146 | 14 |
<UserControl.Resources> |
15 |
<Style x:Key="FingersDance.Control.Slider" TargetType="{x:Type Custom:SurfaceSlider}"> |
|
16 |
<Setter Property="Background" Value="#191B2022"/> |
|
17 |
<Setter Property="BorderBrush" Value="#3F040404"/> |
|
18 |
<Setter Property="Foreground" Value="Black"/> |
|
19 |
<Setter Property="Width" Value="NaN"/> |
|
20 |
<Setter Property="MinWidth" Value="30"/> |
|
21 |
<Setter Property="Height" Value="NaN"/> |
|
22 |
<Setter Property="MinHeight" Value="30"/> |
|
23 |
<Setter Property="Template"> |
|
24 |
<Setter.Value> |
|
25 |
<ControlTemplate TargetType="{x:Type Custom:SurfaceSlider}"> |
|
26 |
<ControlTemplate.Resources> |
|
27 |
<Storyboard x:Key="Touch"> |
|
28 |
<DoubleAnimation Duration="00:00:00.1000000" Storyboard.TargetName="TrackBkgd" Storyboard.TargetProperty="Height" To="19"/> |
|
29 |
<DoubleAnimation Duration="00:00:00.1000000" Storyboard.TargetName="TrackBkgd" Storyboard.TargetProperty="RadiusX" To="9"/> |
|
30 |
<DoubleAnimation Duration="00:00:00.1000000" Storyboard.TargetName="TrackBkgd" Storyboard.TargetProperty="RadiusY" To="9"/> |
|
31 |
</Storyboard> |
|
32 |
<Storyboard x:Key="Release"> |
|
33 |
<DoubleAnimation Duration="00:00:00.2000000" Storyboard.TargetName="TrackBkgd" Storyboard.TargetProperty="Height"/> |
|
34 |
<DoubleAnimation Duration="00:00:00.2000000" Storyboard.TargetName="TrackBkgd" Storyboard.TargetProperty="RadiusX"/> |
|
35 |
<DoubleAnimation Duration="00:00:00.2000000" Storyboard.TargetName="TrackBkgd" Storyboard.TargetProperty="RadiusY"/> |
|
36 |
</Storyboard> |
|
37 |
</ControlTemplate.Resources> |
|
38 |
<Grid x:Name="GridRoot" VerticalAlignment="Stretch" Height="Auto" SnapsToDevicePixels="True" Background="Transparent"> |
|
39 |
<Grid.RowDefinitions> |
|
40 |
<RowDefinition Height="Auto"/> |
|
41 |
<RowDefinition Height="Auto" MinHeight="{TemplateBinding MinHeight}"/> |
|
42 |
<RowDefinition Height="Auto"/> |
|
43 |
</Grid.RowDefinitions> |
|
44 |
<Canvas ClipToBounds="False"> |
|
45 |
<Label x:Name="PART_SurfaceToolTip"> |
|
46 |
<Label.Style> |
|
47 |
<Style TargetType="{x:Type Label}"> |
|
48 |
<Setter Property="Template"> |
|
49 |
<Setter.Value> |
|
50 |
<ControlTemplate TargetType="{x:Type Label}"> |
|
51 |
<Grid> |
|
52 |
<Border HorizontalAlignment="Stretch" Margin="0" Width="Auto" Background="{TemplateBinding Background}" BorderBrush="{TemplateBinding BorderBrush}" BorderThickness="1" CornerRadius="2"> |
|
53 |
<TextBlock Margin="{TemplateBinding Padding}" Background="{x:Null}" Foreground="{TemplateBinding Foreground}" Text="{TemplateBinding Content}"/> |
|
92 | 54 |
</Border> |
146 | 55 |
</Grid> |
56 |
</ControlTemplate> |
|
57 |
</Setter.Value> |
|
58 |
</Setter> |
|
59 |
<Setter Property="Visibility" Value="Collapsed"/> |
|
60 |
<Setter Property="Background" Value="{DynamicResource {x:Static SystemColors.InfoBrushKey}}"/> |
|
61 |
<Setter Property="Foreground" Value="{DynamicResource {x:Static SystemColors.InfoTextBrushKey}}"/> |
|
62 |
<Setter Property="BorderBrush" Value="{DynamicResource {x:Static SystemColors.InfoTextBrushKey}}"/> |
|
63 |
<Setter Property="Padding" Value="2"/> |
|
64 |
</Style> |
|
65 |
</Label.Style> |
|
66 |
</Label> |
|
67 |
</Canvas> |
|
68 |
<TickBar x:Name="TopTick" Margin="0,0,0,1" Height="4" Opacity="1" SnapsToDevicePixels="True" Visibility="Collapsed" Grid.Row="0" Fill="{TemplateBinding BorderBrush}" IsDirectionReversed="False" Placement="Top" ReservedSpace="30"/> |
|
69 |
<TickBar x:Name="BottomTick" Margin="0,1,0,0" Height="4" Opacity="1" SnapsToDevicePixels="True" Visibility="Collapsed" Grid.Row="2" Fill="{TemplateBinding BorderBrush}" Placement="Bottom" ReservedSpace="30"/> |
|
70 |
<Rectangle x:Name="TrackBkgd" RadiusX="3" RadiusY="3" HorizontalAlignment="Stretch" VerticalAlignment="Center" Width="Auto" Height="3" Opacity="1" SnapsToDevicePixels="True" Grid.Row="1" Fill="#FFF8EDED" Stroke="{x:Null}"/> |
|
71 |
<Ellipse Fill="White" Stroke="{x:Null}" HorizontalAlignment="Left" Margin="0,10.116,0,10.128" Width="12.078" Grid.Row="1" x:Name="ellipseDebut"/> |
|
72 |
<Ellipse Fill="White" Stroke="{x:Null}" HorizontalAlignment="Left" Margin="0,10.116,0,10.128" Width="12.078" Grid.Row="1" x:Name="ellipseFin" RenderTransformOrigin="0.5,0.5"> |
|
73 |
<Ellipse.RenderTransform> |
|
74 |
<TransformGroup> |
|
75 |
<ScaleTransform ScaleX="1" ScaleY="1"/> |
|
76 |
<SkewTransform AngleX="0" AngleY="0"/> |
|
77 |
<RotateTransform Angle="0"/> |
|
78 |
<TranslateTransform X="{Binding Path=ActualWidth, ElementName=TrackBkgd, Mode=Default}" Y="0"/> |
|
79 |
</TransformGroup> |
|
80 |
</Ellipse.RenderTransform> |
|
81 |
</Ellipse> |
|
82 |
<Border x:Name="Track" HorizontalAlignment="Stretch" VerticalAlignment="Stretch" Height="Auto" Opacity="1" SnapsToDevicePixels="True" Background="Transparent" Grid.Row="1"> |
|
83 |
<Custom:SurfaceTrack x:Name="PART_Track" Grid.Row="1"> |
|
84 |
<Custom:SurfaceTrack.Thumb> |
|
85 |
<Custom:SurfaceThumb x:Name="Thumb" MinHeight="30" MinWidth="30" Width="30" Height="30" Foreground="Black" SnapsToDevicePixels="True" Background="{DynamicResource SliderPlay_xaml}" Margin="-5.072,0,5.048,0" BorderBrush="{x:Null}"> |
|
86 |
<Custom:SurfaceThumb.Style> |
|
87 |
<Style TargetType="{x:Type Custom:SurfaceThumb}"> |
|
88 |
<Setter Property="Background" Value="Transparent"/> |
|
89 |
<Setter Property="Custom:ContactVisualizer.Adapter"> |
|
90 |
<Setter.Value> |
|
91 |
<Custom:ContactVisualizerRectangleAdapter RadiusX="15" RadiusY="15"/> |
|
92 |
</Setter.Value> |
|
93 |
</Setter> |
|
94 |
<Setter Property="Template"> |
|
95 |
<Setter.Value> |
|
96 |
<ControlTemplate TargetType="{x:Type Custom:SurfaceThumb}"> |
|
97 |
<ControlTemplate.Resources> |
|
98 |
<Storyboard x:Key="Press"> |
|
99 |
<DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="GlowBorder" Storyboard.TargetProperty="(UIElement.Opacity)"> |
|
100 |
<SplineDoubleKeyFrame KeyTime="00:00:00.1000000" Value="1"/> |
|
101 |
</DoubleAnimationUsingKeyFrames> |
|
102 |
<ThicknessAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="GlowBorder" Storyboard.TargetProperty="(FrameworkElement.Margin)"> |
|
103 |
<SplineThicknessKeyFrame KeyTime="00:00:00.1000000" Value="0"/> |
|
104 |
</ThicknessAnimationUsingKeyFrames> |
|
105 |
<ThicknessAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="Base" Storyboard.TargetProperty="(FrameworkElement.Margin)"> |
|
106 |
<SplineThicknessKeyFrame KeyTime="00:00:00.1000000" Value="0"/> |
|
107 |
</ThicknessAnimationUsingKeyFrames> |
|
108 |
<ThicknessAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="Button" Storyboard.TargetProperty="(FrameworkElement.Margin)"> |
|
109 |
<SplineThicknessKeyFrame KeyTime="00:00:00.1000000" Value="0"/> |
|
110 |
</ThicknessAnimationUsingKeyFrames> |
|
111 |
<ThicknessAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="RenderOverlay" Storyboard.TargetProperty="(FrameworkElement.Margin)"> |
|
112 |
<SplineThicknessKeyFrame KeyTime="00:00:00.1000000" Value="0"/> |
|
113 |
</ThicknessAnimationUsingKeyFrames> |
|
114 |
<DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="Base" Storyboard.TargetProperty="(UIElement.Opacity)"> |
|
115 |
<SplineDoubleKeyFrame KeyTime="00:00:00.1000000" Value="0"/> |
|
116 |
</DoubleAnimationUsingKeyFrames> |
|
117 |
<DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="Button" Storyboard.TargetProperty="(UIElement.Opacity)"> |
|
118 |
<SplineDoubleKeyFrame KeyTime="00:00:00.1000000" Value="0"/> |
|
119 |
</DoubleAnimationUsingKeyFrames> |
|
120 |
<DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="RenderOverlay" Storyboard.TargetProperty="(UIElement.Opacity)"> |
|
121 |
<SplineDoubleKeyFrame KeyTime="00:00:00.1000000" Value="0"/> |
|
122 |
</DoubleAnimationUsingKeyFrames> |
|
123 |
</Storyboard> |
|
124 |
<Storyboard x:Key="Release"> |
|
125 |
<DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="GlowBorder" Storyboard.TargetProperty="(UIElement.Opacity)"> |
|
126 |
<SplineDoubleKeyFrame KeyTime="00:00:00" Value="1"/> |
|
127 |
<SplineDoubleKeyFrame KeySpline="0.5,0.5,0.5,1" KeyTime="00:00:00.5000000" Value="0"/> |
|
128 |
</DoubleAnimationUsingKeyFrames> |
|
129 |
<ThicknessAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="GlowBorder" Storyboard.TargetProperty="(FrameworkElement.Margin)"> |
|
130 |
<SplineThicknessKeyFrame KeyTime="00:00:00" Value="0"/> |
|
131 |
<SplineThicknessKeyFrame KeySpline="0.5,0.5,0.5,1" KeyTime="00:00:00.5000000" Value="2"/> |
|
132 |
</ThicknessAnimationUsingKeyFrames> |
|
133 |
<ThicknessAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="Base" Storyboard.TargetProperty="(FrameworkElement.Margin)"> |
|
134 |
<SplineThicknessKeyFrame KeyTime="00:00:00" Value="0"/> |
|
135 |
<SplineThicknessKeyFrame KeySpline="0.5,0.5,0.5,1" KeyTime="00:00:00.5000000" Value="5"/> |
|
136 |
</ThicknessAnimationUsingKeyFrames> |
|
137 |
<ThicknessAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="Button" Storyboard.TargetProperty="(FrameworkElement.Margin)"> |
|
138 |
<SplineThicknessKeyFrame KeyTime="00:00:00" Value="0"/> |
|
139 |
<SplineThicknessKeyFrame KeySpline="0.5,0.5,0.5,1" KeyTime="00:00:00.5000000" Value="5"/> |
|
140 |
</ThicknessAnimationUsingKeyFrames> |
|
141 |
<ThicknessAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="RenderOverlay" Storyboard.TargetProperty="(FrameworkElement.Margin)"> |
|
142 |
<SplineThicknessKeyFrame KeyTime="00:00:00" Value="0"/> |
|
143 |
<SplineThicknessKeyFrame KeySpline="0.5,0.5,0.5,1" KeyTime="00:00:00.5000000" Value="6"/> |
|
144 |
</ThicknessAnimationUsingKeyFrames> |
|
145 |
<DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="Base" Storyboard.TargetProperty="(UIElement.Opacity)"> |
|
146 |
<SplineDoubleKeyFrame KeyTime="00:00:00" Value="0"/> |
|
147 |
<SplineDoubleKeyFrame KeyTime="00:00:00.5000000" Value="1"/> |
|
148 |
</DoubleAnimationUsingKeyFrames> |
|
149 |
<DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="Button" Storyboard.TargetProperty="(UIElement.Opacity)"> |
|
150 |
<SplineDoubleKeyFrame KeyTime="00:00:00" Value="0"/> |
|
151 |
<SplineDoubleKeyFrame KeyTime="00:00:00.5000000" Value="1"/> |
|
152 |
</DoubleAnimationUsingKeyFrames> |
|
153 |
<DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="RenderOverlay" Storyboard.TargetProperty="(UIElement.Opacity)"> |
|
154 |
<SplineDoubleKeyFrame KeyTime="00:00:00" Value="0"/> |
|
155 |
<SplineDoubleKeyFrame KeyTime="00:00:00.5000000" Value="1"/> |
|
156 |
</DoubleAnimationUsingKeyFrames> |
|
157 |
</Storyboard> |
|
158 |
</ControlTemplate.Resources> |
|
159 |
<Grid x:Name="Grid" Margin="1" SnapsToDevicePixels="True" Background="Transparent"> |
|
160 |
<Rectangle x:Name="Base" Fill="{TemplateBinding Background}" Stroke="{x:Null}" StrokeThickness="0" RadiusX="15" RadiusY="15" HorizontalAlignment="Stretch" Margin="5" VerticalAlignment="Stretch" Width="Auto" Height="Auto" SnapsToDevicePixels="True"/> |
|
161 |
<Rectangle x:Name="Button" Fill="{x:Null}" RadiusX="15" RadiusY="15" HorizontalAlignment="Stretch" Margin="5" VerticalAlignment="Stretch" Width="Auto" Height="Auto" SnapsToDevicePixels="True" Stroke="{x:Null}"/> |
|
162 |
<Rectangle x:Name="RenderOverlay" StrokeThickness="1" RadiusX="15" RadiusY="15" HorizontalAlignment="Stretch" Margin="6" VerticalAlignment="Stretch" Width="Auto" Height="Auto" Opacity="1" SnapsToDevicePixels="True" Fill="{x:Null}" Stroke="{x:Null}"/> |
|
163 |
<Microsoft_Surface_Presentation_Generic:SurfaceShadowChrome x:Name="GlowBorder" HorizontalAlignment="Stretch" Margin="2" VerticalAlignment="Stretch" Width="Auto" Height="Auto" Opacity="0" Color="White" CornerRadius="{Binding ActualHeight, ElementName=GlowBorder}"/> |
|
164 |
<Rectangle x:Name="Contact" Fill="Transparent" Stroke="{x:Null}"/> |
|
165 |
</Grid> |
|
166 |
<ControlTemplate.Triggers> |
|
167 |
<Trigger Property="IsFocused" Value="True"/> |
|
168 |
<Trigger Property="IsEnabled" Value="False"> |
|
169 |
<Setter Property="Fill" TargetName="Button" Value="#00000000"/> |
|
170 |
<Setter Property="Fill" TargetName="RenderOverlay" Value="#00000000"/> |
|
171 |
<Setter Property="Stroke" TargetName="Button" Value="#33000000"/> |
|
172 |
<Setter Property="Opacity" TargetName="RenderOverlay" Value="0.5"/> |
|
173 |
</Trigger> |
|
174 |
<Trigger Property="IsDragging" Value="True"> |
|
175 |
<Trigger.EnterActions> |
|
176 |
<BeginStoryboard> |
|
177 |
<Storyboard> |
|
178 |
<DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="GlowBorder" Storyboard.TargetProperty="(UIElement.Opacity)"> |
|
179 |
<SplineDoubleKeyFrame KeyTime="00:00:00.1000000" Value="1"/> |
|
180 |
</DoubleAnimationUsingKeyFrames> |
|
181 |
<ThicknessAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="GlowBorder" Storyboard.TargetProperty="(FrameworkElement.Margin)"> |
|
182 |
<SplineThicknessKeyFrame KeyTime="00:00:00.1000000" Value="0"/> |
|
183 |
</ThicknessAnimationUsingKeyFrames> |
|
184 |
<ThicknessAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="Base" Storyboard.TargetProperty="(FrameworkElement.Margin)"> |
|
185 |
<SplineThicknessKeyFrame KeyTime="00:00:00.1000000" Value="0"/> |
|
186 |
</ThicknessAnimationUsingKeyFrames> |
|
187 |
<ThicknessAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="Button" Storyboard.TargetProperty="(FrameworkElement.Margin)"> |
|
188 |
<SplineThicknessKeyFrame KeyTime="00:00:00.1000000" Value="0"/> |
|
189 |
</ThicknessAnimationUsingKeyFrames> |
|
190 |
<ThicknessAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="RenderOverlay" Storyboard.TargetProperty="(FrameworkElement.Margin)"> |
|
191 |
<SplineThicknessKeyFrame KeyTime="00:00:00.1000000" Value="0"/> |
|
192 |
</ThicknessAnimationUsingKeyFrames> |
|
193 |
<DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="Base" Storyboard.TargetProperty="(UIElement.Opacity)"> |
|
194 |
<SplineDoubleKeyFrame KeyTime="00:00:00.1000000" Value="0"/> |
|
195 |
</DoubleAnimationUsingKeyFrames> |
|
196 |
<DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="Button" Storyboard.TargetProperty="(UIElement.Opacity)"> |
|
197 |
<SplineDoubleKeyFrame KeyTime="00:00:00.1000000" Value="0"/> |
|
198 |
</DoubleAnimationUsingKeyFrames> |
|
199 |
<DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="RenderOverlay" Storyboard.TargetProperty="(UIElement.Opacity)"> |
|
200 |
<SplineDoubleKeyFrame KeyTime="00:00:00.1000000" Value="0"/> |
|
201 |
</DoubleAnimationUsingKeyFrames> |
|
202 |
</Storyboard> |
|
203 |
</BeginStoryboard> |
|
204 |
</Trigger.EnterActions> |
|
205 |
<Trigger.ExitActions> |
|
206 |
<BeginStoryboard> |
|
207 |
<Storyboard> |
|
208 |
<DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="GlowBorder" Storyboard.TargetProperty="(UIElement.Opacity)"> |
|
209 |
<SplineDoubleKeyFrame KeyTime="00:00:00" Value="1"/> |
|
210 |
<SplineDoubleKeyFrame KeySpline="0.5,0.5,0.5,1" KeyTime="00:00:00.5000000" Value="0"/> |
|
211 |
</DoubleAnimationUsingKeyFrames> |
|
212 |
<ThicknessAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="GlowBorder" Storyboard.TargetProperty="(FrameworkElement.Margin)"> |
|
213 |
<SplineThicknessKeyFrame KeyTime="00:00:00" Value="0"/> |
|
214 |
<SplineThicknessKeyFrame KeySpline="0.5,0.5,0.5,1" KeyTime="00:00:00.5000000" Value="2"/> |
|
215 |
</ThicknessAnimationUsingKeyFrames> |
|
216 |
<ThicknessAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="Base" Storyboard.TargetProperty="(FrameworkElement.Margin)"> |
|
217 |
<SplineThicknessKeyFrame KeyTime="00:00:00" Value="0"/> |
|
218 |
<SplineThicknessKeyFrame KeySpline="0.5,0.5,0.5,1" KeyTime="00:00:00.5000000" Value="5"/> |
|
219 |
</ThicknessAnimationUsingKeyFrames> |
|
220 |
<ThicknessAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="Button" Storyboard.TargetProperty="(FrameworkElement.Margin)"> |
|
221 |
<SplineThicknessKeyFrame KeyTime="00:00:00" Value="0"/> |
|
222 |
<SplineThicknessKeyFrame KeySpline="0.5,0.5,0.5,1" KeyTime="00:00:00.5000000" Value="5"/> |
|
223 |
</ThicknessAnimationUsingKeyFrames> |
|
224 |
<ThicknessAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="RenderOverlay" Storyboard.TargetProperty="(FrameworkElement.Margin)"> |
|
225 |
<SplineThicknessKeyFrame KeyTime="00:00:00" Value="0"/> |
|
226 |
<SplineThicknessKeyFrame KeySpline="0.5,0.5,0.5,1" KeyTime="00:00:00.5000000" Value="6"/> |
|
227 |
</ThicknessAnimationUsingKeyFrames> |
|
228 |
<DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="Base" Storyboard.TargetProperty="(UIElement.Opacity)"> |
|
229 |
<SplineDoubleKeyFrame KeyTime="00:00:00" Value="0"/> |
|
230 |
<SplineDoubleKeyFrame KeyTime="00:00:00.5000000" Value="1"/> |
|
231 |
</DoubleAnimationUsingKeyFrames> |
|
232 |
<DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="Button" Storyboard.TargetProperty="(UIElement.Opacity)"> |
|
233 |
<SplineDoubleKeyFrame KeyTime="00:00:00" Value="0"/> |
|
234 |
<SplineDoubleKeyFrame KeyTime="00:00:00.5000000" Value="1"/> |
|
235 |
</DoubleAnimationUsingKeyFrames> |
|
236 |
<DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="RenderOverlay" Storyboard.TargetProperty="(UIElement.Opacity)"> |
|
237 |
<SplineDoubleKeyFrame KeyTime="00:00:00" Value="0"/> |
|
238 |
<SplineDoubleKeyFrame KeyTime="00:00:00.5000000" Value="1"/> |
|
239 |
</DoubleAnimationUsingKeyFrames> |
|
240 |
</Storyboard> |
|
241 |
</BeginStoryboard> |
|
242 |
</Trigger.ExitActions> |
|
243 |
</Trigger> |
|
244 |
</ControlTemplate.Triggers> |
|
245 |
</ControlTemplate> |
|
246 |
</Setter.Value> |
|
247 |
</Setter> |
|
248 |
</Style> |
|
249 |
</Custom:SurfaceThumb.Style> |
|
250 |
</Custom:SurfaceThumb> |
|
251 |
</Custom:SurfaceTrack.Thumb> |
|
252 |
<Custom:SurfaceTrack.IncreaseRepeatButton> |
|
253 |
<Custom:SurfaceRepeatButton x:Name="SliderIncrease" Command="Slider.IncreaseLarge"> |
|
254 |
<Custom:SurfaceRepeatButton.Style> |
|
255 |
<Style TargetType="{x:Type Custom:SurfaceRepeatButton}"> |
|
256 |
<Setter Property="Background" Value="Transparent"/> |
|
257 |
<Setter Property="BorderBrush" Value="Transparent"/> |
|
258 |
<Setter Property="IsTabStop" Value="False"/> |
|
259 |
<Setter Property="Focusable" Value="False"/> |
|
260 |
<Setter Property="Template"> |
|
261 |
<Setter.Value> |
|
262 |
<ControlTemplate TargetType="{x:Type Custom:SurfaceRepeatButton}"> |
|
263 |
<Grid> |
|
264 |
<Rectangle Fill="{TemplateBinding Background}" Stroke="{TemplateBinding BorderBrush}" StrokeThickness="{TemplateBinding BorderThickness}"/> |
|
265 |
</Grid> |
|
266 |
</ControlTemplate> |
|
267 |
</Setter.Value> |
|
268 |
</Setter> |
|
269 |
</Style> |
|
270 |
</Custom:SurfaceRepeatButton.Style> |
|
271 |
</Custom:SurfaceRepeatButton> |
|
272 |
</Custom:SurfaceTrack.IncreaseRepeatButton> |
|
273 |
<Custom:SurfaceTrack.DecreaseRepeatButton> |
|
274 |
<Custom:SurfaceRepeatButton x:Name="SliderDecrease" Command="Slider.DecreaseLarge"> |
|
275 |
<Custom:SurfaceRepeatButton.Style> |
|
276 |
<Style TargetType="{x:Type Custom:SurfaceRepeatButton}"> |
|
277 |
<Setter Property="Background" Value="Transparent"/> |
|
278 |
<Setter Property="BorderBrush" Value="Transparent"/> |
|
279 |
<Setter Property="IsTabStop" Value="False"/> |
|
280 |
<Setter Property="Focusable" Value="False"/> |
|
281 |
<Setter Property="Template"> |
|
282 |
<Setter.Value> |
|
283 |
<ControlTemplate TargetType="{x:Type Custom:SurfaceRepeatButton}"> |
|
284 |
<Grid> |
|
285 |
<Rectangle Fill="{TemplateBinding Background}" Stroke="{TemplateBinding BorderBrush}" StrokeThickness="{TemplateBinding BorderThickness}"/> |
|
286 |
</Grid> |
|
287 |
</ControlTemplate> |
|
288 |
</Setter.Value> |
|
289 |
</Setter> |
|
290 |
</Style> |
|
291 |
</Custom:SurfaceRepeatButton.Style> |
|
292 |
</Custom:SurfaceRepeatButton> |
|
293 |
</Custom:SurfaceTrack.DecreaseRepeatButton> |
|
294 |
</Custom:SurfaceTrack> |
|
295 |
</Border> |
|
296 |
</Grid> |
|
297 |
<ControlTemplate.Triggers> |
|
298 |
<Trigger Property="TickPlacement" Value="TopLeft"> |
|
299 |
<Setter Property="Visibility" TargetName="TopTick" Value="Visible"/> |
|
300 |
</Trigger> |
|
301 |
<Trigger Property="TickPlacement" Value="BottomRight"> |
|
302 |
<Setter Property="Visibility" TargetName="BottomTick" Value="Visible"/> |
|
303 |
</Trigger> |
|
304 |
<Trigger Property="TickPlacement" Value="Both"> |
|
305 |
<Setter Property="Visibility" TargetName="TopTick" Value="Visible"/> |
|
306 |
<Setter Property="Visibility" TargetName="BottomTick" Value="Visible"/> |
|
307 |
</Trigger> |
|
308 |
<Trigger Property="IsMoveToPointEnabled" Value="True"> |
|
309 |
<Setter Property="Visibility" TargetName="SliderIncrease" Value="Collapsed"/> |
|
310 |
<Setter Property="Visibility" TargetName="SliderDecrease" Value="Collapsed"/> |
|
311 |
</Trigger> |
|
312 |
<Trigger Property="Custom:Contacts.IsAnyContactOrMouseCapturedWithin" SourceName="SliderIncrease" Value="True"> |
|
313 |
<Trigger.EnterActions> |
|
314 |
<BeginStoryboard> |
|
315 |
<Storyboard> |
|
316 |
<DoubleAnimation Duration="00:00:00.1000000" Storyboard.TargetName="TrackBkgd" Storyboard.TargetProperty="Height" To="19"/> |
|
317 |
<DoubleAnimation Duration="00:00:00.1000000" Storyboard.TargetName="TrackBkgd" Storyboard.TargetProperty="RadiusX" To="9"/> |
|
318 |
<DoubleAnimation Duration="00:00:00.1000000" Storyboard.TargetName="TrackBkgd" Storyboard.TargetProperty="RadiusY" To="9"/> |
|
319 |
</Storyboard> |
|
320 |
</BeginStoryboard> |
|
321 |
</Trigger.EnterActions> |
|
322 |
<Trigger.ExitActions> |
|
323 |
<BeginStoryboard> |
|
324 |
<Storyboard> |
|
325 |
<DoubleAnimation Duration="00:00:00.2000000" Storyboard.TargetName="TrackBkgd" Storyboard.TargetProperty="Height"/> |
|
326 |
<DoubleAnimation Duration="00:00:00.2000000" Storyboard.TargetName="TrackBkgd" Storyboard.TargetProperty="RadiusX"/> |
|
327 |
<DoubleAnimation Duration="00:00:00.2000000" Storyboard.TargetName="TrackBkgd" Storyboard.TargetProperty="RadiusY"/> |
|
328 |
</Storyboard> |
|
329 |
</BeginStoryboard> |
|
330 |
</Trigger.ExitActions> |
|
331 |
<Setter Property="Fill" TargetName="TrackBkgd" Value="#661B2022"/> |
|
332 |
</Trigger> |
|
333 |
<Trigger Property="Custom:Contacts.IsAnyContactOrMouseCapturedWithin" SourceName="SliderDecrease" Value="True"> |
|
334 |
<Trigger.EnterActions> |
|
335 |
<BeginStoryboard> |
|
336 |
<Storyboard> |
|
337 |
<DoubleAnimation Duration="00:00:00.1000000" Storyboard.TargetName="TrackBkgd" Storyboard.TargetProperty="Height" To="19"/> |
|
338 |
<DoubleAnimation Duration="00:00:00.1000000" Storyboard.TargetName="TrackBkgd" Storyboard.TargetProperty="RadiusX" To="9"/> |
|
339 |
<DoubleAnimation Duration="00:00:00.1000000" Storyboard.TargetName="TrackBkgd" Storyboard.TargetProperty="RadiusY" To="9"/> |
|
340 |
</Storyboard> |
|
341 |
</BeginStoryboard> |
|
342 |
</Trigger.EnterActions> |
|
343 |
<Trigger.ExitActions> |
|
344 |
<BeginStoryboard> |
|
345 |
<Storyboard> |
|
346 |
<DoubleAnimation Duration="00:00:00.2000000" Storyboard.TargetName="TrackBkgd" Storyboard.TargetProperty="Height"/> |
|
347 |
<DoubleAnimation Duration="00:00:00.2000000" Storyboard.TargetName="TrackBkgd" Storyboard.TargetProperty="RadiusX"/> |
|
348 |
<DoubleAnimation Duration="00:00:00.2000000" Storyboard.TargetName="TrackBkgd" Storyboard.TargetProperty="RadiusY"/> |
|
349 |
</Storyboard> |
|
350 |
</BeginStoryboard> |
|
351 |
</Trigger.ExitActions> |
|
352 |
<Setter Property="Fill" TargetName="TrackBkgd" Value="#661B2022"/> |
|
353 |
</Trigger> |
|
354 |
<MultiTrigger> |
|
355 |
<MultiTrigger.Conditions> |
|
356 |
<Condition Property="IsMoveToPointEnabled" Value="True"/> |
|
357 |
<Condition Property="IsAnyContactCaptured" Value="True"/> |
|
358 |
<Condition Property="Custom:Contacts.IsAnyContactOrMouseCapturedWithin" SourceName="Thumb" Value="True"/> |
|
359 |
</MultiTrigger.Conditions> |
|
360 |
<MultiTrigger.ExitActions> |
|
361 |
<BeginStoryboard> |
|
362 |
<Storyboard> |
|
363 |
<DoubleAnimation Duration="00:00:00.2000000" Storyboard.TargetName="TrackBkgd" Storyboard.TargetProperty="Height"/> |
|
364 |
<DoubleAnimation Duration="00:00:00.2000000" Storyboard.TargetName="TrackBkgd" Storyboard.TargetProperty="RadiusX"/> |
|
365 |
<DoubleAnimation Duration="00:00:00.2000000" Storyboard.TargetName="TrackBkgd" Storyboard.TargetProperty="RadiusY"/> |
|
366 |
</Storyboard> |
|
367 |
</BeginStoryboard> |
|
368 |
</MultiTrigger.ExitActions> |
|
369 |
<MultiTrigger.EnterActions> |
|
370 |
<BeginStoryboard> |
|
371 |
<Storyboard> |
|
372 |
<DoubleAnimation Duration="00:00:00.1000000" Storyboard.TargetName="TrackBkgd" Storyboard.TargetProperty="Height" To="19"/> |
|
373 |
<DoubleAnimation Duration="00:00:00.1000000" Storyboard.TargetName="TrackBkgd" Storyboard.TargetProperty="RadiusX" To="9"/> |
|
374 |
<DoubleAnimation Duration="00:00:00.1000000" Storyboard.TargetName="TrackBkgd" Storyboard.TargetProperty="RadiusY" To="9"/> |
|
375 |
</Storyboard> |
|
376 |
</BeginStoryboard> |
|
377 |
</MultiTrigger.EnterActions> |
|
378 |
</MultiTrigger> |
|
379 |
<Trigger Property="IsEnabled" Value="False"> |
|
380 |
<Setter Property="Foreground" TargetName="Thumb" Value="#A5333333"/> |
|
381 |
<Setter Property="Fill" TargetName="TrackBkgd" Value="#00000000"/> |
|
382 |
<Setter Property="Opacity" TargetName="TrackBkgd" Value="0.35"/> |
|
383 |
</Trigger> |
|
384 |
</ControlTemplate.Triggers> |
|
385 |
</ControlTemplate> |
|
386 |
</Setter.Value> |
|
387 |
</Setter> |
|
388 |
<Style.Triggers> |
|
389 |
<Trigger Property="Orientation" Value="Vertical"> |
|
390 |
<Setter Property="Width" Value="NaN"/> |
|
391 |
<Setter Property="MinWidth" Value="30"/> |
|
392 |
<Setter Property="Height" Value="NaN"/> |
|
393 |
<Setter Property="MinHeight" Value="30"/> |
|
394 |
<Setter Property="Template"> |
|
395 |
<Setter.Value> |
|
396 |
<ControlTemplate TargetType="{x:Type Custom:SurfaceSlider}"> |
|
397 |
<ControlTemplate.Resources> |
|
398 |
<Storyboard x:Key="Touch"> |
|
399 |
<DoubleAnimation Duration="00:00:00.1000000" Storyboard.TargetName="TrackBkgd" Storyboard.TargetProperty="Width" To="19"/> |
|
400 |
<DoubleAnimation Duration="00:00:00.1000000" Storyboard.TargetName="TrackBkgd" Storyboard.TargetProperty="RadiusX" To="9"/> |
|
401 |
<DoubleAnimation Duration="00:00:00.1000000" Storyboard.TargetName="TrackBkgd" Storyboard.TargetProperty="RadiusY" To="9"/> |
|
402 |
</Storyboard> |
|
403 |
<Storyboard x:Key="Release"> |
|
404 |
<DoubleAnimation Duration="00:00:00.2000000" Storyboard.TargetName="TrackBkgd" Storyboard.TargetProperty="Width"/> |
|
405 |
<DoubleAnimation Duration="00:00:00.2000000" Storyboard.TargetName="TrackBkgd" Storyboard.TargetProperty="RadiusX"/> |
|
406 |
<DoubleAnimation Duration="00:00:00.2000000" Storyboard.TargetName="TrackBkgd" Storyboard.TargetProperty="RadiusY"/> |
|
407 |
</Storyboard> |
|
408 |
</ControlTemplate.Resources> |
|
409 |
<Grid x:Name="GridRoot" HorizontalAlignment="Stretch" Width="Auto" SnapsToDevicePixels="True" Background="Transparent"> |
|
410 |
<Grid.ColumnDefinitions> |
|
411 |
<ColumnDefinition Width="Auto"/> |
|
412 |
<ColumnDefinition MinWidth="{TemplateBinding MinWidth}" Width="Auto"/> |
|
413 |
<ColumnDefinition Width="Auto"/> |
|
414 |
</Grid.ColumnDefinitions> |
|
415 |
<Canvas ClipToBounds="False"> |
|
416 |
<Label x:Name="PART_SurfaceToolTip"> |
|
417 |
<Label.Style> |
|
418 |
<Style TargetType="{x:Type Label}"> |
|
419 |
<Setter Property="Template"> |
|
420 |
<Setter.Value> |
|
421 |
<ControlTemplate TargetType="{x:Type Label}"> |
|
422 |
<Grid> |
|
423 |
<Border HorizontalAlignment="Stretch" Margin="0" Width="Auto" Background="{TemplateBinding Background}" BorderBrush="{TemplateBinding BorderBrush}" BorderThickness="1" CornerRadius="2"> |
|
424 |
<TextBlock Margin="{TemplateBinding Padding}" Background="{x:Null}" Foreground="{TemplateBinding Foreground}" Text="{TemplateBinding Content}"/> |
|
92 | 425 |
</Border> |
146 | 426 |
</Grid> |
427 |
</ControlTemplate> |
|
428 |
</Setter.Value> |
|
429 |
</Setter> |
|
430 |
<Setter Property="Visibility" Value="Collapsed"/> |
|
431 |
<Setter Property="Background" Value="{DynamicResource {x:Static SystemColors.InfoBrushKey}}"/> |
|
432 |
<Setter Property="Foreground" Value="{DynamicResource {x:Static SystemColors.InfoTextBrushKey}}"/> |
|
433 |
<Setter Property="BorderBrush" Value="{DynamicResource {x:Static SystemColors.InfoTextBrushKey}}"/> |
|
434 |
<Setter Property="Padding" Value="2"/> |
|
435 |
</Style> |
|
436 |
</Label.Style> |
|
437 |
</Label> |
|
438 |
</Canvas> |
|
439 |
<TickBar x:Name="TopTick" Margin="0,0,1,0" Width="4" SnapsToDevicePixels="True" Visibility="Collapsed" Grid.Column="0" Fill="{TemplateBinding BorderBrush}" IsDirectionReversed="True" Placement="Left" ReservedSpace="30"/> |
|
440 |
<TickBar x:Name="BottomTick" Margin="1,0,0,0" Width="4" SnapsToDevicePixels="True" Visibility="Collapsed" Grid.Column="2" Fill="{TemplateBinding BorderBrush}" IsDirectionReversed="True" Placement="Right" ReservedSpace="30"/> |
|
441 |
<Rectangle x:Name="TrackBkgd" Fill="{TemplateBinding Background}" RadiusX="3" RadiusY="3" HorizontalAlignment="Stretch" VerticalAlignment="Stretch" Width="6" Height="Auto" SnapsToDevicePixels="True" Grid.Column="1"> |
|
442 |
<Rectangle.Stroke> |
|
443 |
<LinearGradientBrush EndPoint="1,0.5" StartPoint="0,0.5"> |
|
444 |
<GradientStop Color="#66000000" Offset="0"/> |
|
445 |
<GradientStop Color="#4CFFFFFF" Offset="1"/> |
|
446 |
</LinearGradientBrush> |
|
447 |
</Rectangle.Stroke> |
|
448 |
</Rectangle> |
|
449 |
<Border x:Name="Track" HorizontalAlignment="Stretch" VerticalAlignment="Stretch" Opacity="1" SnapsToDevicePixels="True" Background="Transparent" Grid.Column="1"> |
|
450 |
<Custom:SurfaceTrack x:Name="PART_Track" HorizontalAlignment="Stretch" Grid.Column="1"> |
|
451 |
<Custom:SurfaceTrack.DecreaseRepeatButton> |
|
452 |
<Custom:SurfaceRepeatButton x:Name="SliderDecrease" Command="Slider.DecreaseLarge"> |
|
453 |
<Custom:SurfaceRepeatButton.Style> |
|
454 |
<Style TargetType="{x:Type Custom:SurfaceRepeatButton}"> |
|
455 |
<Setter Property="Background" Value="Transparent"/> |
|
456 |
<Setter Property="BorderBrush" Value="Transparent"/> |
|
457 |
<Setter Property="IsTabStop" Value="False"/> |
|
458 |
<Setter Property="Focusable" Value="False"/> |
|
459 |
<Setter Property="Template"> |
|
460 |
<Setter.Value> |
|
461 |
<ControlTemplate TargetType="{x:Type Custom:SurfaceRepeatButton}"> |
|
462 |
<Grid> |
|
463 |
<Rectangle Fill="{TemplateBinding Background}" Stroke="{TemplateBinding BorderBrush}" StrokeThickness="{TemplateBinding BorderThickness}"/> |
|
464 |
</Grid> |
|
465 |
</ControlTemplate> |
|
466 |
</Setter.Value> |
|
467 |
</Setter> |
|
468 |
</Style> |
|
469 |
</Custom:SurfaceRepeatButton.Style> |
|
470 |
</Custom:SurfaceRepeatButton> |
|
471 |
</Custom:SurfaceTrack.DecreaseRepeatButton> |
|
472 |
<Custom:SurfaceTrack.IncreaseRepeatButton> |
|
473 |
<Custom:SurfaceRepeatButton x:Name="SliderIncrease" Command="Slider.IncreaseLarge"> |
|
474 |
<Custom:SurfaceRepeatButton.Style> |
|
475 |
<Style TargetType="{x:Type Custom:SurfaceRepeatButton}"> |
|
476 |
<Setter Property="Background" Value="Transparent"/> |
|
477 |
<Setter Property="BorderBrush" Value="Transparent"/> |
|
478 |
<Setter Property="IsTabStop" Value="False"/> |
|
479 |
<Setter Property="Focusable" Value="False"/> |
|
480 |
<Setter Property="Template"> |
|
481 |
<Setter.Value> |
|
482 |
<ControlTemplate TargetType="{x:Type Custom:SurfaceRepeatButton}"> |
|
483 |
<Grid> |
|
484 |
<Rectangle Fill="{TemplateBinding Background}" Stroke="{TemplateBinding BorderBrush}" StrokeThickness="{TemplateBinding BorderThickness}"/> |
|
485 |
</Grid> |
|
486 |
</ControlTemplate> |
|
487 |
</Setter.Value> |
|
488 |
</Setter> |
|
489 |
</Style> |
|
490 |
</Custom:SurfaceRepeatButton.Style> |
|
491 |
</Custom:SurfaceRepeatButton> |
|
492 |
</Custom:SurfaceTrack.IncreaseRepeatButton> |
|
493 |
<Custom:SurfaceTrack.Thumb> |
|
494 |
<Custom:SurfaceThumb x:Name="Thumb" HorizontalAlignment="Center" Margin="0,0,1,0" MinHeight="30" MinWidth="30" Width="30" Height="30" Foreground="Black" SnapsToDevicePixels="True"> |
|
495 |
<Custom:SurfaceThumb.Style> |
|
496 |
<Style TargetType="{x:Type Custom:SurfaceThumb}"> |
|
497 |
<Setter Property="Background" Value="Transparent"/> |
|
498 |
<Setter Property="Custom:ContactVisualizer.Adapter"> |
|
499 |
<Setter.Value> |
|
500 |
<Custom:ContactVisualizerRectangleAdapter RadiusX="15" RadiusY="15"/> |
|
501 |
</Setter.Value> |
|
502 |
</Setter> |
|
503 |
<Setter Property="Template"> |
|
504 |
<Setter.Value> |
|
505 |
<ControlTemplate TargetType="{x:Type Custom:SurfaceThumb}"> |
|
506 |
<ControlTemplate.Resources> |
|
507 |
<Storyboard x:Key="Press"> |
|
508 |
<DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="GlowBorder" Storyboard.TargetProperty="(UIElement.Opacity)"> |
|
509 |
<SplineDoubleKeyFrame KeyTime="00:00:00.1000000" Value="1"/> |
|
510 |
</DoubleAnimationUsingKeyFrames> |
|
511 |
<ThicknessAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="GlowBorder" Storyboard.TargetProperty="(FrameworkElement.Margin)"> |
|
512 |
<SplineThicknessKeyFrame KeyTime="00:00:00.1000000" Value="0"/> |
|
513 |
</ThicknessAnimationUsingKeyFrames> |
|
514 |
<ThicknessAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="Base" Storyboard.TargetProperty="(FrameworkElement.Margin)"> |
|
515 |
<SplineThicknessKeyFrame KeyTime="00:00:00.1000000" Value="0"/> |
|
516 |
</ThicknessAnimationUsingKeyFrames> |
|
517 |
<ThicknessAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="Button" Storyboard.TargetProperty="(FrameworkElement.Margin)"> |
|
518 |
<SplineThicknessKeyFrame KeyTime="00:00:00.1000000" Value="0"/> |
|
519 |
</ThicknessAnimationUsingKeyFrames> |
|
520 |
<ThicknessAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="RenderOverlay" Storyboard.TargetProperty="(FrameworkElement.Margin)"> |
|
521 |
<SplineThicknessKeyFrame KeyTime="00:00:00.1000000" Value="0"/> |
|
522 |
</ThicknessAnimationUsingKeyFrames> |
|
523 |
<DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="Base" Storyboard.TargetProperty="(UIElement.Opacity)"> |
|
524 |
<SplineDoubleKeyFrame KeyTime="00:00:00.1000000" Value="0"/> |
|
525 |
</DoubleAnimationUsingKeyFrames> |
|
526 |
<DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="Button" Storyboard.TargetProperty="(UIElement.Opacity)"> |
|
527 |
<SplineDoubleKeyFrame KeyTime="00:00:00.1000000" Value="0"/> |
|
528 |
</DoubleAnimationUsingKeyFrames> |
|
529 |
<DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="RenderOverlay" Storyboard.TargetProperty="(UIElement.Opacity)"> |
|
530 |
<SplineDoubleKeyFrame KeyTime="00:00:00.1000000" Value="0"/> |
|
531 |
</DoubleAnimationUsingKeyFrames> |
|
532 |
</Storyboard> |
|
533 |
<Storyboard x:Key="Release"> |
|
534 |
<DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="GlowBorder" Storyboard.TargetProperty="(UIElement.Opacity)"> |
|
535 |
<SplineDoubleKeyFrame KeyTime="00:00:00" Value="1"/> |
|
536 |
<SplineDoubleKeyFrame KeySpline="0.5,0.5,0.5,1" KeyTime="00:00:00.5000000" Value="0"/> |
|
537 |
</DoubleAnimationUsingKeyFrames> |
|
538 |
<ThicknessAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="GlowBorder" Storyboard.TargetProperty="(FrameworkElement.Margin)"> |
|
539 |
<SplineThicknessKeyFrame KeyTime="00:00:00" Value="0"/> |
|
540 |
<SplineThicknessKeyFrame KeySpline="0.5,0.5,0.5,1" KeyTime="00:00:00.5000000" Value="2"/> |
|
541 |
</ThicknessAnimationUsingKeyFrames> |
|
542 |
<ThicknessAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="Base" Storyboard.TargetProperty="(FrameworkElement.Margin)"> |
|
543 |
<SplineThicknessKeyFrame KeyTime="00:00:00" Value="0"/> |
|
544 |
<SplineThicknessKeyFrame KeySpline="0.5,0.5,0.5,1" KeyTime="00:00:00.5000000" Value="5"/> |
|
545 |
</ThicknessAnimationUsingKeyFrames> |
|
546 |
<ThicknessAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="Button" Storyboard.TargetProperty="(FrameworkElement.Margin)"> |
|
547 |
<SplineThicknessKeyFrame KeyTime="00:00:00" Value="0"/> |
|
548 |
<SplineThicknessKeyFrame KeySpline="0.5,0.5,0.5,1" KeyTime="00:00:00.5000000" Value="5"/> |
|
549 |
</ThicknessAnimationUsingKeyFrames> |
|
550 |
<ThicknessAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="RenderOverlay" Storyboard.TargetProperty="(FrameworkElement.Margin)"> |
|
551 |
<SplineThicknessKeyFrame KeyTime="00:00:00" Value="0"/> |
|
552 |
<SplineThicknessKeyFrame KeySpline="0.5,0.5,0.5,1" KeyTime="00:00:00.5000000" Value="6"/> |
|
553 |
</ThicknessAnimationUsingKeyFrames> |
|
554 |
<DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="Base" Storyboard.TargetProperty="(UIElement.Opacity)"> |
|
555 |
<SplineDoubleKeyFrame KeyTime="00:00:00" Value="0"/> |
|
556 |
<SplineDoubleKeyFrame KeySpline="0.5,0.5,0.5,1" KeyTime="00:00:00.5000000" Value="1"/> |
|
557 |
</DoubleAnimationUsingKeyFrames> |
|
558 |
<DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="Button" Storyboard.TargetProperty="(UIElement.Opacity)"> |
|
559 |
<SplineDoubleKeyFrame KeyTime="00:00:00" Value="0"/> |
|
560 |
<SplineDoubleKeyFrame KeySpline="0.5,0.5,0.5,1" KeyTime="00:00:00.5000000" Value="1"/> |
|
561 |
</DoubleAnimationUsingKeyFrames> |
|
562 |
<DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="RenderOverlay" Storyboard.TargetProperty="(UIElement.Opacity)"> |
|
563 |
<SplineDoubleKeyFrame KeyTime="00:00:00" Value="0"/> |
|
564 |
<SplineDoubleKeyFrame KeySpline="0.5,0.5,0.5,1" KeyTime="00:00:00.5000000" Value="1"/> |
|
565 |
</DoubleAnimationUsingKeyFrames> |
|
566 |
</Storyboard> |
|
567 |
</ControlTemplate.Resources> |
|
568 |
<Grid x:Name="Grid" Margin="1" SnapsToDevicePixels="True" Background="Transparent"> |
|
569 |
<Rectangle x:Name="Base" Fill="{TemplateBinding Background}" Stroke="{x:Null}" StrokeThickness="0" RadiusX="15" RadiusY="15" HorizontalAlignment="Stretch" Margin="5" VerticalAlignment="Stretch" Width="Auto" Height="Auto" SnapsToDevicePixels="True"/> |
|
570 |
<Rectangle x:Name="Button" Fill="#33A4B4BD" RadiusX="15" RadiusY="15" HorizontalAlignment="Stretch" Margin="5" VerticalAlignment="Stretch" Width="Auto" Height="Auto" SnapsToDevicePixels="True"> |
|
571 |
<Rectangle.Stroke> |
|
572 |
<LinearGradientBrush EndPoint="0,0" StartPoint="0,1"> |
|
573 |
<GradientStop Color="#66000000" Offset="0"/> |
|
574 |
<GradientStop Color="#33000000" Offset="1"/> |
|
575 |
</LinearGradientBrush> |
|
576 |
</Rectangle.Stroke> |
|
577 |
</Rectangle> |
|
578 |
<Rectangle x:Name="RenderOverlay" StrokeThickness="1" RadiusX="15" RadiusY="15" HorizontalAlignment="Stretch" Margin="6" VerticalAlignment="Stretch" Width="Auto" Height="Auto" Opacity="1" SnapsToDevicePixels="True"> |
|
579 |
<Rectangle.Stroke> |
|
580 |
<LinearGradientBrush EndPoint="0,1" StartPoint="0,0"> |
|
581 |
<GradientStop Color="#7FFFFFFF" Offset="0"/> |
|
582 |
<GradientStop Color="#0CFFFFFF" Offset="1"/> |
|
583 |
</LinearGradientBrush> |
|
584 |
</Rectangle.Stroke> |
|
585 |
<Rectangle.Fill> |
|
586 |
<LinearGradientBrush EndPoint="0.5,0" StartPoint="0.5,1"> |
|
587 |
<GradientStop Color="#26000000" Offset="0"/> |
|
588 |
<GradientStop Color="#4CFFFFFF" Offset="1"/> |
|
589 |
</LinearGradientBrush> |
|
590 |
</Rectangle.Fill> |
|
591 |
</Rectangle> |
|
592 |
<Microsoft_Surface_Presentation_Generic:SurfaceShadowChrome x:Name="GlowBorder" HorizontalAlignment="Stretch" Margin="2" VerticalAlignment="Stretch" Width="Auto" Height="Auto" Opacity="0" Color="White" CornerRadius="{Binding ActualHeight, ElementName=GlowBorder}"/> |
|
593 |
<Rectangle x:Name="Contact" Fill="Transparent" Stroke="{x:Null}"/> |
|
594 |
</Grid> |
|
595 |
<ControlTemplate.Triggers> |
|
596 |
<Trigger Property="IsFocused" Value="True"/> |
|
597 |
<Trigger Property="IsEnabled" Value="False"> |
|
598 |
<Setter Property="Fill" TargetName="Button" Value="#00000000"/> |
|
599 |
<Setter Property="Fill" TargetName="RenderOverlay" Value="#00000000"/> |
|
600 |
<Setter Property="Stroke" TargetName="Button" Value="#33000000"/> |
|
601 |
<Setter Property="Opacity" TargetName="RenderOverlay" Value="0.5"/> |
|
602 |
</Trigger> |
|
603 |
<Trigger Property="IsDragging" Value="True"> |
|
604 |
<Trigger.EnterActions> |
|
605 |
<BeginStoryboard> |
|
606 |
<Storyboard> |
|
607 |
<DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="GlowBorder" Storyboard.TargetProperty="(UIElement.Opacity)"> |
|
608 |
<SplineDoubleKeyFrame KeyTime="00:00:00.1000000" Value="1"/> |
|
609 |
</DoubleAnimationUsingKeyFrames> |
|
610 |
<ThicknessAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="GlowBorder" Storyboard.TargetProperty="(FrameworkElement.Margin)"> |
|
611 |
<SplineThicknessKeyFrame KeyTime="00:00:00.1000000" Value="0"/> |
|
612 |
</ThicknessAnimationUsingKeyFrames> |
|
613 |
<ThicknessAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="Base" Storyboard.TargetProperty="(FrameworkElement.Margin)"> |
|
614 |
<SplineThicknessKeyFrame KeyTime="00:00:00.1000000" Value="0"/> |
|
615 |
</ThicknessAnimationUsingKeyFrames> |
|
616 |
<ThicknessAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="Button" Storyboard.TargetProperty="(FrameworkElement.Margin)"> |
|
617 |
<SplineThicknessKeyFrame KeyTime="00:00:00.1000000" Value="0"/> |
|
618 |
</ThicknessAnimationUsingKeyFrames> |
|
619 |
<ThicknessAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="RenderOverlay" Storyboard.TargetProperty="(FrameworkElement.Margin)"> |
|
620 |
<SplineThicknessKeyFrame KeyTime="00:00:00.1000000" Value="0"/> |
|
621 |
</ThicknessAnimationUsingKeyFrames> |
|
622 |
<DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="Base" Storyboard.TargetProperty="(UIElement.Opacity)"> |
|
623 |
<SplineDoubleKeyFrame KeyTime="00:00:00.1000000" Value="0"/> |
|
624 |
</DoubleAnimationUsingKeyFrames> |
|
625 |
<DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="Button" Storyboard.TargetProperty="(UIElement.Opacity)"> |
|
626 |
<SplineDoubleKeyFrame KeyTime="00:00:00.1000000" Value="0"/> |
|
627 |
</DoubleAnimationUsingKeyFrames> |
|
628 |
<DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="RenderOverlay" Storyboard.TargetProperty="(UIElement.Opacity)"> |
|
629 |
<SplineDoubleKeyFrame KeyTime="00:00:00.1000000" Value="0"/> |
|
630 |
</DoubleAnimationUsingKeyFrames> |
|
631 |
</Storyboard> |
|
632 |
</BeginStoryboard> |
|
633 |
</Trigger.EnterActions> |
|
634 |
<Trigger.ExitActions> |
|
635 |
<BeginStoryboard> |
|
636 |
<Storyboard> |
|
637 |
<DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="GlowBorder" Storyboard.TargetProperty="(UIElement.Opacity)"> |
|
638 |
<SplineDoubleKeyFrame KeyTime="00:00:00" Value="1"/> |
|
639 |
<SplineDoubleKeyFrame KeySpline="0.5,0.5,0.5,1" KeyTime="00:00:00.5000000" Value="0"/> |
|
640 |
</DoubleAnimationUsingKeyFrames> |
|
641 |
<ThicknessAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="GlowBorder" Storyboard.TargetProperty="(FrameworkElement.Margin)"> |
|
642 |
<SplineThicknessKeyFrame KeyTime="00:00:00" Value="0"/> |
|
643 |
<SplineThicknessKeyFrame KeySpline="0.5,0.5,0.5,1" KeyTime="00:00:00.5000000" Value="2"/> |
|
644 |
</ThicknessAnimationUsingKeyFrames> |
|
645 |
<ThicknessAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="Base" Storyboard.TargetProperty="(FrameworkElement.Margin)"> |
|
646 |
<SplineThicknessKeyFrame KeyTime="00:00:00" Value="0"/> |
|
647 |
<SplineThicknessKeyFrame KeySpline="0.5,0.5,0.5,1" KeyTime="00:00:00.5000000" Value="5"/> |
|
648 |
</ThicknessAnimationUsingKeyFrames> |
|
649 |
<ThicknessAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="Button" Storyboard.TargetProperty="(FrameworkElement.Margin)"> |
|
650 |
<SplineThicknessKeyFrame KeyTime="00:00:00" Value="0"/> |
|
651 |
<SplineThicknessKeyFrame KeySpline="0.5,0.5,0.5,1" KeyTime="00:00:00.5000000" Value="5"/> |
|
652 |
</ThicknessAnimationUsingKeyFrames> |
|
653 |
<ThicknessAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="RenderOverlay" Storyboard.TargetProperty="(FrameworkElement.Margin)"> |
|
654 |
<SplineThicknessKeyFrame KeyTime="00:00:00" Value="0"/> |
|
655 |
<SplineThicknessKeyFrame KeySpline="0.5,0.5,0.5,1" KeyTime="00:00:00.5000000" Value="6"/> |
|
656 |
</ThicknessAnimationUsingKeyFrames> |
|
657 |
<DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="Base" Storyboard.TargetProperty="(UIElement.Opacity)"> |
|
658 |
<SplineDoubleKeyFrame KeyTime="00:00:00" Value="0"/> |
|
659 |
<SplineDoubleKeyFrame KeySpline="0.5,0.5,0.5,1" KeyTime="00:00:00.5000000" Value="1"/> |
|
660 |
</DoubleAnimationUsingKeyFrames> |
|
661 |
<DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="Button" Storyboard.TargetProperty="(UIElement.Opacity)"> |
|
662 |
<SplineDoubleKeyFrame KeyTime="00:00:00" Value="0"/> |
|
663 |
<SplineDoubleKeyFrame KeySpline="0.5,0.5,0.5,1" KeyTime="00:00:00.5000000" Value="1"/> |
|
664 |
</DoubleAnimationUsingKeyFrames> |
|
665 |
<DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="RenderOverlay" Storyboard.TargetProperty="(UIElement.Opacity)"> |
|
666 |
<SplineDoubleKeyFrame KeyTime="00:00:00" Value="0"/> |
|
667 |
<SplineDoubleKeyFrame KeySpline="0.5,0.5,0.5,1" KeyTime="00:00:00.5000000" Value="1"/> |
|
668 |
</DoubleAnimationUsingKeyFrames> |
|
669 |
</Storyboard> |
|
670 |
</BeginStoryboard> |
|
671 |
</Trigger.ExitActions> |
|
672 |
</Trigger> |
|
673 |
</ControlTemplate.Triggers> |
|
674 |
</ControlTemplate> |
|
675 |
</Setter.Value> |
|
676 |
</Setter> |
|
677 |
</Style> |
|
678 |
</Custom:SurfaceThumb.Style> |
|
679 |
</Custom:SurfaceThumb> |
|
680 |
</Custom:SurfaceTrack.Thumb> |
|
681 |
</Custom:SurfaceTrack> |
|
682 |
</Border> |
|
683 |
</Grid> |
|
684 |
<ControlTemplate.Triggers> |
|
685 |
<Trigger Property="TickPlacement" Value="TopLeft"> |
|
686 |
<Setter Property="Visibility" TargetName="TopTick" Value="Visible"/> |
|
687 |
</Trigger> |
|
688 |
<Trigger Property="TickPlacement" Value="BottomRight"> |
|
689 |
<Setter Property="Visibility" TargetName="BottomTick" Value="Visible"/> |
|
690 |
</Trigger> |
|
691 |
<Trigger Property="TickPlacement" Value="Both"> |
|
692 |
<Setter Property="Visibility" TargetName="TopTick" Value="Visible"/> |
|
693 |
<Setter Property="Visibility" TargetName="BottomTick" Value="Visible"/> |
|
694 |
</Trigger> |
|
695 |
<Trigger Property="IsMoveToPointEnabled" Value="True"> |
|
696 |
<Setter Property="Visibility" TargetName="SliderIncrease" Value="Collapsed"/> |
|
697 |
<Setter Property="Visibility" TargetName="SliderDecrease" Value="Collapsed"/> |
|
698 |
</Trigger> |
|
699 |
<Trigger Property="Custom:Contacts.IsAnyContactOrMouseCapturedWithin" SourceName="SliderIncrease" Value="True"> |
|
700 |
<Trigger.EnterActions> |
|
701 |
<BeginStoryboard> |
|
702 |
<Storyboard> |
|
703 |
<DoubleAnimation Duration="00:00:00.1000000" Storyboard.TargetName="TrackBkgd" Storyboard.TargetProperty="Width" To="19"/> |
|
704 |
<DoubleAnimation Duration="00:00:00.1000000" Storyboard.TargetName="TrackBkgd" Storyboard.TargetProperty="RadiusX" To="9"/> |
|
705 |
<DoubleAnimation Duration="00:00:00.1000000" Storyboard.TargetName="TrackBkgd" Storyboard.TargetProperty="RadiusY" To="9"/> |
|
706 |
</Storyboard> |
|
707 |
</BeginStoryboard> |
|
708 |
</Trigger.EnterActions> |
|
709 |
<Trigger.ExitActions> |
|
710 |
<BeginStoryboard> |
|
711 |
<Storyboard> |
|
712 |
<DoubleAnimation Duration="00:00:00.2000000" Storyboard.TargetName="TrackBkgd" Storyboard.TargetProperty="Width"/> |
|
713 |
<DoubleAnimation Duration="00:00:00.2000000" Storyboard.TargetName="TrackBkgd" Storyboard.TargetProperty="RadiusX"/> |
|
714 |
<DoubleAnimation Duration="00:00:00.2000000" Storyboard.TargetName="TrackBkgd" Storyboard.TargetProperty="RadiusY"/> |
|
715 |
</Storyboard> |
|
716 |
</BeginStoryboard> |
|
717 |
</Trigger.ExitActions> |
|
718 |
<Setter Property="Fill" TargetName="TrackBkgd" Value="#661B2022"/> |
|
719 |
</Trigger> |
|
720 |
<Trigger Property="Custom:Contacts.IsAnyContactOrMouseCapturedWithin" SourceName="SliderDecrease" Value="True"> |
|
721 |
<Trigger.EnterActions> |
|
722 |
<BeginStoryboard> |
|
723 |
<Storyboard> |
|
724 |
<DoubleAnimation Duration="00:00:00.1000000" Storyboard.TargetName="TrackBkgd" Storyboard.TargetProperty="Width" To="19"/> |
|
725 |
<DoubleAnimation Duration="00:00:00.1000000" Storyboard.TargetName="TrackBkgd" Storyboard.TargetProperty="RadiusX" To="9"/> |
|
726 |
<DoubleAnimation Duration="00:00:00.1000000" Storyboard.TargetName="TrackBkgd" Storyboard.TargetProperty="RadiusY" To="9"/> |
|
727 |
</Storyboard> |
|
728 |
</BeginStoryboard> |
|
729 |
</Trigger.EnterActions> |
|
730 |
<Trigger.ExitActions> |
|
731 |
<BeginStoryboard> |
|
732 |
<Storyboard> |
|
733 |
<DoubleAnimation Duration="00:00:00.2000000" Storyboard.TargetName="TrackBkgd" Storyboard.TargetProperty="Width"/> |
|
734 |
<DoubleAnimation Duration="00:00:00.2000000" Storyboard.TargetName="TrackBkgd" Storyboard.TargetProperty="RadiusX"/> |
|
735 |
<DoubleAnimation Duration="00:00:00.2000000" Storyboard.TargetName="TrackBkgd" Storyboard.TargetProperty="RadiusY"/> |
|
736 |
</Storyboard> |
|
737 |
</BeginStoryboard> |
|
738 |
</Trigger.ExitActions> |
|
739 |
<Setter Property="Fill" TargetName="TrackBkgd" Value="#661B2022"/> |
|
740 |
</Trigger> |
|
741 |
<MultiTrigger> |
|
742 |
<MultiTrigger.Conditions> |
|
743 |
<Condition Property="IsMoveToPointEnabled" Value="True"/> |
|
744 |
<Condition Property="IsAnyContactCaptured" Value="True"/> |
|
745 |
<Condition Property="Custom:Contacts.IsAnyContactOrMouseCapturedWithin" SourceName="Thumb" Value="True"/> |
|
746 |
</MultiTrigger.Conditions> |
|
747 |
<MultiTrigger.ExitActions> |
|
748 |
<BeginStoryboard> |
|
749 |
<Storyboard> |
|
750 |
<DoubleAnimation Duration="00:00:00.2000000" Storyboard.TargetName="TrackBkgd" Storyboard.TargetProperty="Width"/> |
|
751 |
<DoubleAnimation Duration="00:00:00.2000000" Storyboard.TargetName="TrackBkgd" Storyboard.TargetProperty="RadiusX"/> |
|
752 |
<DoubleAnimation Duration="00:00:00.2000000" Storyboard.TargetName="TrackBkgd" Storyboard.TargetProperty="RadiusY"/> |
|
753 |
</Storyboard> |
|
754 |
</BeginStoryboard> |
|
755 |
</MultiTrigger.ExitActions> |
|
756 |
<MultiTrigger.EnterActions> |
|
757 |
<BeginStoryboard> |
|
758 |
<Storyboard> |
|
759 |
<DoubleAnimation Duration="00:00:00.1000000" Storyboard.TargetName="TrackBkgd" Storyboard.TargetProperty="Width" To="19"/> |
|
760 |
<DoubleAnimation Duration="00:00:00.1000000" Storyboard.TargetName="TrackBkgd" Storyboard.TargetProperty="RadiusX" To="9"/> |
|
761 |
<DoubleAnimation Duration="00:00:00.1000000" Storyboard.TargetName="TrackBkgd" Storyboard.TargetProperty="RadiusY" To="9"/> |
|
762 |
</Storyboard> |
|
763 |
</BeginStoryboard> |
|
764 |
</MultiTrigger.EnterActions> |
|
765 |
</MultiTrigger> |
|
766 |
<Trigger Property="IsEnabled" Value="False"> |
|
767 |
<Setter Property="Foreground" TargetName="Thumb" Value="#A5333333"/> |
|
768 |
<Setter Property="Fill" TargetName="TrackBkgd" Value="#00000000"/> |
|
769 |
<Setter Property="Opacity" TargetName="TrackBkgd" Value="0.35"/> |
|
770 |
<Setter Property="Margin" TargetName="Thumb" Value="0"/> |
|
771 |
</Trigger> |
|
772 |
</ControlTemplate.Triggers> |
|
773 |
</ControlTemplate> |
|
774 |
</Setter.Value> |
|
775 |
</Setter> |
|
776 |
</Trigger> |
|
777 |
</Style.Triggers> |
|
778 |
</Style> |
|
779 |
</UserControl.Resources> |
|
10 | 780 |
|
146 | 781 |
<Grid x:Name="LayoutRoot" Width="Auto" Height="Auto" Background="{x:Null}"> |
782 |
<Custom:SurfaceSlider Height="Auto" x:Name="slider" Value="0.5" Width="Auto" |
|
92 | 783 |
Thumb.DragStarted="sliderPosition_DragStarted" Thumb.DragCompleted="sliderPosition_DragCompleted" ContactTapGesture="slider_ContactTapGesture" Background="#19FFFFFF" Style="{DynamicResource FingersDance.Control.Slider}" /> |
143 | 784 |
<vw:TimelineView x:Name="tv" Margin="0,15,0,0" Background="{x:Null}"/> |
151
5f011a5ce421
update characters because merge made strange things with encoding.
cavaliet
parents:
146
diff
changeset
|
785 |
<popup:UserControlClose x:Name="confirmCancelPopup" Question="Êtes-vous de sûr de vouloir effacer cette annotation ?" Visibility="Hidden" ConfirmYesOrNo="confirmCancelPopup_ConfirmYesOrNo" /> |
69 | 786 |
</Grid> |
10 | 787 |
</UserControl> |