|
0
|
1 |
<ResourceDictionary
|
|
|
2 |
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
|
|
3 |
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
|
|
4 |
xmlns:System="clr-namespace:System;assembly=mscorlib"
|
|
|
5 |
xmlns:Berico_Windows_Controls="clr-namespace:Berico.Windows.Controls;assembly=Berico.Windows.Controls"
|
|
|
6 |
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
|
|
7 |
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
|
|
8 |
mc:Ignorable="d">
|
|
|
9 |
<!-- Resource dictionary entries should be defined here. -->
|
|
|
10 |
|
|
|
11 |
|
|
|
12 |
|
|
|
13 |
<Style x:Key="HorizontalListBox" TargetType="ListBox">
|
|
|
14 |
<Setter Property="ItemsPanel">
|
|
|
15 |
<Setter.Value>
|
|
|
16 |
<ItemsPanelTemplate>
|
|
|
17 |
<StackPanel Orientation="Horizontal"
|
|
|
18 |
VerticalAlignment="Center"
|
|
|
19 |
HorizontalAlignment="Center"/>
|
|
|
20 |
</ItemsPanelTemplate>
|
|
|
21 |
</Setter.Value>
|
|
|
22 |
</Setter>
|
|
|
23 |
</Style>
|
|
|
24 |
|
|
|
25 |
|
|
|
26 |
<Style x:Key="HorizontalLowerThumb" TargetType="Thumb">
|
|
|
27 |
<Setter Property="Background" Value="#FF1F3B53"/>
|
|
|
28 |
<Setter Property="BorderThickness" Value="1,1,0,0"/>
|
|
|
29 |
<Setter Property="IsTabStop" Value="False"/>
|
|
|
30 |
<Setter Property="BorderBrush">
|
|
|
31 |
<Setter.Value>
|
|
|
32 |
<LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
|
|
|
33 |
<GradientStop Color="#FFA3AEB9" Offset="0"/>
|
|
|
34 |
<GradientStop Color="#FF8399A9" Offset="0.375"/>
|
|
|
35 |
<GradientStop Color="#FF718597" Offset="0.375"/>
|
|
|
36 |
<GradientStop Color="#FF617584" Offset="1"/>
|
|
|
37 |
</LinearGradientBrush>
|
|
|
38 |
</Setter.Value>
|
|
|
39 |
</Setter>
|
|
|
40 |
<Setter Property="Template">
|
|
|
41 |
<Setter.Value>
|
|
|
42 |
<ControlTemplate TargetType="Thumb">
|
|
|
43 |
<Grid d:DesignHeight="18.167" Width="5">
|
|
|
44 |
<VisualStateManager.VisualStateGroups>
|
|
|
45 |
<VisualStateGroup x:Name="CommonStates1">
|
|
|
46 |
<VisualState x:Name="Normal1"/>
|
|
|
47 |
<VisualState x:Name="MouseOver1">
|
|
|
48 |
<Storyboard>
|
|
|
49 |
<DoubleAnimationUsingKeyFrames Storyboard.TargetName="BackgroundAnimation" Storyboard.TargetProperty="Opacity">
|
|
|
50 |
<SplineDoubleKeyFrame KeyTime="0" Value="1"/>
|
|
|
51 |
</DoubleAnimationUsingKeyFrames>
|
|
|
52 |
<ColorAnimationUsingKeyFrames Storyboard.TargetName="BackgroundGradient" Storyboard.TargetProperty="(Shape.Fill).(GradientBrush.GradientStops)[1].(GradientStop.Color)">
|
|
|
53 |
<SplineColorKeyFrame KeyTime="0" Value="#F2FFFFFF"/>
|
|
|
54 |
</ColorAnimationUsingKeyFrames>
|
|
|
55 |
<ColorAnimationUsingKeyFrames Storyboard.TargetName="BackgroundGradient" Storyboard.TargetProperty="(Shape.Fill).(GradientBrush.GradientStops)[2].(GradientStop.Color)">
|
|
|
56 |
<SplineColorKeyFrame KeyTime="0" Value="#CCFFFFFF"/>
|
|
|
57 |
</ColorAnimationUsingKeyFrames>
|
|
|
58 |
<ColorAnimationUsingKeyFrames Storyboard.TargetName="BackgroundGradient" Storyboard.TargetProperty="(Shape.Fill).(GradientBrush.GradientStops)[3].(GradientStop.Color)">
|
|
|
59 |
<SplineColorKeyFrame KeyTime="0" Value="#7FFFFFFF"/>
|
|
|
60 |
</ColorAnimationUsingKeyFrames>
|
|
|
61 |
</Storyboard>
|
|
|
62 |
</VisualState>
|
|
|
63 |
<VisualState x:Name="Pressed1">
|
|
|
64 |
<Storyboard>
|
|
|
65 |
<ColorAnimationUsingKeyFrames Storyboard.TargetName="Background" Storyboard.TargetProperty="(Border.Background).(SolidColorBrush.Color)">
|
|
|
66 |
<SplineColorKeyFrame KeyTime="0" Value="#FF6DBDD1"/>
|
|
|
67 |
</ColorAnimationUsingKeyFrames>
|
|
|
68 |
<DoubleAnimationUsingKeyFrames Storyboard.TargetName="BackgroundAnimation" Storyboard.TargetProperty="Opacity">
|
|
|
69 |
<SplineDoubleKeyFrame KeyTime="0" Value="1"/>
|
|
|
70 |
</DoubleAnimationUsingKeyFrames>
|
|
|
71 |
<ColorAnimationUsingKeyFrames Storyboard.TargetName="BackgroundGradient" Storyboard.TargetProperty="(Shape.Fill).(GradientBrush.GradientStops)[0].(GradientStop.Color)">
|
|
|
72 |
<SplineColorKeyFrame KeyTime="0" Value="#D8FFFFFF"/>
|
|
|
73 |
</ColorAnimationUsingKeyFrames>
|
|
|
74 |
<ColorAnimationUsingKeyFrames Storyboard.TargetName="BackgroundGradient" Storyboard.TargetProperty="(Shape.Fill).(GradientBrush.GradientStops)[1].(GradientStop.Color)">
|
|
|
75 |
<SplineColorKeyFrame KeyTime="0" Value="#C6FFFFFF"/>
|
|
|
76 |
</ColorAnimationUsingKeyFrames>
|
|
|
77 |
<ColorAnimationUsingKeyFrames Storyboard.TargetName="BackgroundGradient" Storyboard.TargetProperty="(Shape.Fill).(GradientBrush.GradientStops)[2].(GradientStop.Color)">
|
|
|
78 |
<SplineColorKeyFrame KeyTime="0" Value="#8CFFFFFF"/>
|
|
|
79 |
</ColorAnimationUsingKeyFrames>
|
|
|
80 |
<ColorAnimationUsingKeyFrames Storyboard.TargetName="BackgroundGradient" Storyboard.TargetProperty="(Shape.Fill).(GradientBrush.GradientStops)[3].(GradientStop.Color)">
|
|
|
81 |
<SplineColorKeyFrame KeyTime="0" Value="#3FFFFFFF"/>
|
|
|
82 |
</ColorAnimationUsingKeyFrames>
|
|
|
83 |
</Storyboard>
|
|
|
84 |
</VisualState>
|
|
|
85 |
<VisualState x:Name="Disabled1">
|
|
|
86 |
<Storyboard>
|
|
|
87 |
<DoubleAnimationUsingKeyFrames Storyboard.TargetName="DisabledVisualElement" Storyboard.TargetProperty="Opacity">
|
|
|
88 |
<SplineDoubleKeyFrame KeyTime="0" Value=".55"/>
|
|
|
89 |
</DoubleAnimationUsingKeyFrames>
|
|
|
90 |
</Storyboard>
|
|
|
91 |
</VisualState>
|
|
|
92 |
</VisualStateGroup>
|
|
|
93 |
<VisualStateGroup x:Name="FocusStates1">
|
|
|
94 |
<VisualState x:Name="Focused1">
|
|
|
95 |
<Storyboard>
|
|
|
96 |
<DoubleAnimationUsingKeyFrames Storyboard.TargetName="FocusVisualElement" Storyboard.TargetProperty="Opacity">
|
|
|
97 |
<SplineDoubleKeyFrame KeyTime="0" Value="1"/>
|
|
|
98 |
</DoubleAnimationUsingKeyFrames>
|
|
|
99 |
</Storyboard>
|
|
|
100 |
</VisualState>
|
|
|
101 |
<VisualState x:Name="Unfocused1"/>
|
|
|
102 |
</VisualStateGroup>
|
|
|
103 |
</VisualStateManager.VisualStateGroups>
|
|
|
104 |
<Border x:Name="Background1" HorizontalAlignment="Left" Margin="-1,-1,0,-1" Width="4" BorderThickness="{TemplateBinding BorderThickness}">
|
|
|
105 |
<Path Fill="#FF787878" Stretch="Fill" StrokeThickness="1" UseLayoutRounding="False" Data="M1,1 L7.25,9.625 L1,18.875 z" Margin="0,0,-1,0.125"/>
|
|
|
106 |
</Border>
|
|
|
107 |
<Rectangle x:Name="DisabledVisualElement1" Fill="White" RadiusX="2" RadiusY="2" HorizontalAlignment="Left" Width="4" IsHitTestVisible="false" Opacity="0"/>
|
|
|
108 |
<Rectangle x:Name="FocusVisualElement1" Stroke="#FF6DBDD1" StrokeThickness="1" RadiusX="1" RadiusY="1" HorizontalAlignment="Left" Margin="0,1" Width="4" IsHitTestVisible="false" Opacity="0"/>
|
|
|
109 |
</Grid>
|
|
|
110 |
</ControlTemplate>
|
|
|
111 |
</Setter.Value>
|
|
|
112 |
</Setter>
|
|
|
113 |
</Style>
|
|
|
114 |
<Style x:Key="HorizontalUpperThumb" TargetType="Thumb">
|
|
|
115 |
<Setter Property="Background" Value="#FF1F3B53"/>
|
|
|
116 |
<Setter Property="BorderThickness" Value="1"/>
|
|
|
117 |
<Setter Property="IsTabStop" Value="False"/>
|
|
|
118 |
<Setter Property="BorderBrush">
|
|
|
119 |
<Setter.Value>
|
|
|
120 |
<LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
|
|
|
121 |
<GradientStop Color="#FFA3AEB9" Offset="0"/>
|
|
|
122 |
<GradientStop Color="#FF8399A9" Offset="0.375"/>
|
|
|
123 |
<GradientStop Color="#FF718597" Offset="0.375"/>
|
|
|
124 |
<GradientStop Color="#FF617584" Offset="1"/>
|
|
|
125 |
</LinearGradientBrush>
|
|
|
126 |
</Setter.Value>
|
|
|
127 |
</Setter>
|
|
|
128 |
<Setter Property="Template">
|
|
|
129 |
<Setter.Value>
|
|
|
130 |
<ControlTemplate TargetType="Thumb">
|
|
|
131 |
<Grid d:DesignHeight="18.167" Width="5">
|
|
|
132 |
<VisualStateManager.VisualStateGroups>
|
|
|
133 |
<VisualStateGroup x:Name="CommonStates1">
|
|
|
134 |
<VisualState x:Name="Normal1"/>
|
|
|
135 |
<VisualState x:Name="MouseOver1">
|
|
|
136 |
<Storyboard>
|
|
|
137 |
<DoubleAnimationUsingKeyFrames Storyboard.TargetName="BackgroundAnimation" Storyboard.TargetProperty="Opacity">
|
|
|
138 |
<SplineDoubleKeyFrame KeyTime="0" Value="1"/>
|
|
|
139 |
</DoubleAnimationUsingKeyFrames>
|
|
|
140 |
<ColorAnimationUsingKeyFrames Storyboard.TargetName="BackgroundGradient" Storyboard.TargetProperty="(Shape.Fill).(GradientBrush.GradientStops)[1].(GradientStop.Color)">
|
|
|
141 |
<SplineColorKeyFrame KeyTime="0" Value="#F2FFFFFF"/>
|
|
|
142 |
</ColorAnimationUsingKeyFrames>
|
|
|
143 |
<ColorAnimationUsingKeyFrames Storyboard.TargetName="BackgroundGradient" Storyboard.TargetProperty="(Shape.Fill).(GradientBrush.GradientStops)[2].(GradientStop.Color)">
|
|
|
144 |
<SplineColorKeyFrame KeyTime="0" Value="#CCFFFFFF"/>
|
|
|
145 |
</ColorAnimationUsingKeyFrames>
|
|
|
146 |
<ColorAnimationUsingKeyFrames Storyboard.TargetName="BackgroundGradient" Storyboard.TargetProperty="(Shape.Fill).(GradientBrush.GradientStops)[3].(GradientStop.Color)">
|
|
|
147 |
<SplineColorKeyFrame KeyTime="0" Value="#7FFFFFFF"/>
|
|
|
148 |
</ColorAnimationUsingKeyFrames>
|
|
|
149 |
</Storyboard>
|
|
|
150 |
</VisualState>
|
|
|
151 |
<VisualState x:Name="Pressed1">
|
|
|
152 |
<Storyboard>
|
|
|
153 |
<ColorAnimationUsingKeyFrames Storyboard.TargetName="Background" Storyboard.TargetProperty="(Border.Background).(SolidColorBrush.Color)">
|
|
|
154 |
<SplineColorKeyFrame KeyTime="0" Value="#FF6DBDD1"/>
|
|
|
155 |
</ColorAnimationUsingKeyFrames>
|
|
|
156 |
<DoubleAnimationUsingKeyFrames Storyboard.TargetName="BackgroundAnimation" Storyboard.TargetProperty="Opacity">
|
|
|
157 |
<SplineDoubleKeyFrame KeyTime="0" Value="1"/>
|
|
|
158 |
</DoubleAnimationUsingKeyFrames>
|
|
|
159 |
<ColorAnimationUsingKeyFrames Storyboard.TargetName="BackgroundGradient" Storyboard.TargetProperty="(Shape.Fill).(GradientBrush.GradientStops)[0].(GradientStop.Color)">
|
|
|
160 |
<SplineColorKeyFrame KeyTime="0" Value="#D8FFFFFF"/>
|
|
|
161 |
</ColorAnimationUsingKeyFrames>
|
|
|
162 |
<ColorAnimationUsingKeyFrames Storyboard.TargetName="BackgroundGradient" Storyboard.TargetProperty="(Shape.Fill).(GradientBrush.GradientStops)[1].(GradientStop.Color)">
|
|
|
163 |
<SplineColorKeyFrame KeyTime="0" Value="#C6FFFFFF"/>
|
|
|
164 |
</ColorAnimationUsingKeyFrames>
|
|
|
165 |
<ColorAnimationUsingKeyFrames Storyboard.TargetName="BackgroundGradient" Storyboard.TargetProperty="(Shape.Fill).(GradientBrush.GradientStops)[2].(GradientStop.Color)">
|
|
|
166 |
<SplineColorKeyFrame KeyTime="0" Value="#8CFFFFFF"/>
|
|
|
167 |
</ColorAnimationUsingKeyFrames>
|
|
|
168 |
<ColorAnimationUsingKeyFrames Storyboard.TargetName="BackgroundGradient" Storyboard.TargetProperty="(Shape.Fill).(GradientBrush.GradientStops)[3].(GradientStop.Color)">
|
|
|
169 |
<SplineColorKeyFrame KeyTime="0" Value="#3FFFFFFF"/>
|
|
|
170 |
</ColorAnimationUsingKeyFrames>
|
|
|
171 |
</Storyboard>
|
|
|
172 |
</VisualState>
|
|
|
173 |
<VisualState x:Name="Disabled1">
|
|
|
174 |
<Storyboard>
|
|
|
175 |
<DoubleAnimationUsingKeyFrames Storyboard.TargetName="DisabledVisualElement" Storyboard.TargetProperty="Opacity">
|
|
|
176 |
<SplineDoubleKeyFrame KeyTime="0" Value=".55"/>
|
|
|
177 |
</DoubleAnimationUsingKeyFrames>
|
|
|
178 |
</Storyboard>
|
|
|
179 |
</VisualState>
|
|
|
180 |
</VisualStateGroup>
|
|
|
181 |
<VisualStateGroup x:Name="FocusStates1">
|
|
|
182 |
<VisualState x:Name="Focused1">
|
|
|
183 |
<Storyboard>
|
|
|
184 |
<DoubleAnimationUsingKeyFrames Storyboard.TargetName="FocusVisualElement" Storyboard.TargetProperty="Opacity">
|
|
|
185 |
<SplineDoubleKeyFrame KeyTime="0" Value="1"/>
|
|
|
186 |
</DoubleAnimationUsingKeyFrames>
|
|
|
187 |
</Storyboard>
|
|
|
188 |
</VisualState>
|
|
|
189 |
<VisualState x:Name="Unfocused1"/>
|
|
|
190 |
</VisualStateGroup>
|
|
|
191 |
<VisualStateGroup x:Name="CommonStates">
|
|
|
192 |
<VisualState x:Name="Normal"/>
|
|
|
193 |
<VisualState x:Name="MouseOver"/>
|
|
|
194 |
<VisualState x:Name="Pressed"/>
|
|
|
195 |
<VisualState x:Name="Disabled"/>
|
|
|
196 |
</VisualStateGroup>
|
|
|
197 |
<VisualStateGroup x:Name="FocusStates">
|
|
|
198 |
<VisualState x:Name="Unfocused"/>
|
|
|
199 |
<VisualState x:Name="Focused"/>
|
|
|
200 |
</VisualStateGroup>
|
|
|
201 |
</VisualStateManager.VisualStateGroups>
|
|
|
202 |
<Border x:Name="Background1" HorizontalAlignment="Left" Width="5" BorderThickness="{TemplateBinding BorderThickness}">
|
|
|
203 |
<Path Fill="#FF787878" Stretch="Fill" StrokeThickness="1" UseLayoutRounding="False" Data="M1,1 L7.25,9.625 L1,18.875 z" Margin="-0.969,-1,0,-1" RenderTransformOrigin="0.5,0.5">
|
|
|
204 |
<Path.RenderTransform>
|
|
|
205 |
<TransformGroup>
|
|
|
206 |
<ScaleTransform ScaleX="-1"/>
|
|
|
207 |
<SkewTransform/>
|
|
|
208 |
<RotateTransform/>
|
|
|
209 |
<TranslateTransform/>
|
|
|
210 |
</TransformGroup>
|
|
|
211 |
</Path.RenderTransform>
|
|
|
212 |
</Path>
|
|
|
213 |
</Border>
|
|
|
214 |
<Rectangle x:Name="DisabledVisualElement1" Fill="White" RadiusX="2" RadiusY="2" HorizontalAlignment="Left" Width="4" IsHitTestVisible="false" Opacity="0"/>
|
|
|
215 |
<Rectangle x:Name="FocusVisualElement1" Stroke="#FF6DBDD1" StrokeThickness="1" RadiusX="1" RadiusY="1" HorizontalAlignment="Left" Margin="0,1" Width="4" IsHitTestVisible="false" Opacity="0"/>
|
|
|
216 |
</Grid>
|
|
|
217 |
</ControlTemplate>
|
|
|
218 |
</Setter.Value>
|
|
|
219 |
</Setter>
|
|
|
220 |
</Style>
|
|
|
221 |
|
|
|
222 |
|
|
|
223 |
<Style x:Key="Template_AnnotationMakerEditSlider" TargetType="Berico_Windows_Controls:Slider">
|
|
|
224 |
<Setter Property="BorderThickness" Value="1"/>
|
|
|
225 |
<Setter Property="LowerRangeValue" Value="2"/>
|
|
|
226 |
<Setter Property="UpperRangeValue" Value="8"/>
|
|
|
227 |
<Setter Property="Maximum" Value="10"/>
|
|
|
228 |
<Setter Property="Minimum" Value="0"/>
|
|
|
229 |
<Setter Property="Value" Value="5"/>
|
|
|
230 |
<Setter Property="BorderBrush">
|
|
|
231 |
<Setter.Value>
|
|
|
232 |
<LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
|
|
|
233 |
<GradientStop Color="#FFA3AEB9" Offset="0"/>
|
|
|
234 |
<GradientStop Color="#FF8399A9" Offset="0.375"/>
|
|
|
235 |
<GradientStop Color="#FF718597" Offset="0.375"/>
|
|
|
236 |
<GradientStop Color="#FF617584" Offset="1"/>
|
|
|
237 |
</LinearGradientBrush>
|
|
|
238 |
</Setter.Value>
|
|
|
239 |
</Setter>
|
|
|
240 |
<Setter Property="IsTabStop" Value="False"/>
|
|
|
241 |
<Setter Property="Template">
|
|
|
242 |
<Setter.Value>
|
|
|
243 |
<ControlTemplate TargetType="Berico_Windows_Controls:Slider">
|
|
|
244 |
<Grid x:Name="LayoutRoot">
|
|
|
245 |
<Grid.Resources>
|
|
|
246 |
<ControlTemplate x:Key="RepeatButtonTemplate" TargetType="RepeatButton">
|
|
|
247 |
<Grid x:Name="LayoutRoot" Opacity="0" Background="Transparent"/>
|
|
|
248 |
</ControlTemplate>
|
|
|
249 |
<ControlTemplate x:Key="FillThumbTemplate" TargetType="Thumb">
|
|
|
250 |
<Grid x:Name="LayoutRoot">
|
|
|
251 |
<VisualStateManager.VisualStateGroups>
|
|
|
252 |
<VisualStateGroup x:Name="CommonStates">
|
|
|
253 |
<VisualState x:Name="Normal"/>
|
|
|
254 |
<VisualState x:Name="MouseOver"/>
|
|
|
255 |
<VisualState x:Name="Disabled">
|
|
|
256 |
<Storyboard>
|
|
|
257 |
<ObjectAnimationUsingKeyFrames Duration="0" Storyboard.TargetName="DisabledOverlay" Storyboard.TargetProperty="Visibility">
|
|
|
258 |
<DiscreteObjectKeyFrame KeyTime="0">
|
|
|
259 |
<DiscreteObjectKeyFrame.Value>
|
|
|
260 |
<Visibility>Visible</Visibility>
|
|
|
261 |
</DiscreteObjectKeyFrame.Value>
|
|
|
262 |
</DiscreteObjectKeyFrame>
|
|
|
263 |
</ObjectAnimationUsingKeyFrames>
|
|
|
264 |
</Storyboard>
|
|
|
265 |
</VisualState>
|
|
|
266 |
</VisualStateGroup>
|
|
|
267 |
</VisualStateManager.VisualStateGroups>
|
|
|
268 |
<Rectangle Fill="Red" Stroke="#FFA3AEB9"/>
|
|
|
269 |
<Rectangle x:Name="DisabledOverlay" Fill="White" Stroke="#FFA3AEB9" Opacity=".55" Visibility="Collapsed"/>
|
|
|
270 |
</Grid>
|
|
|
271 |
</ControlTemplate>
|
|
|
272 |
</Grid.Resources>
|
|
|
273 |
<VisualStateManager.VisualStateGroups>
|
|
|
274 |
<VisualStateGroup x:Name="CommonStates">
|
|
|
275 |
<VisualState x:Name="Normal"/>
|
|
|
276 |
<VisualState x:Name="MouseOver"/>
|
|
|
277 |
<VisualState x:Name="Disabled">
|
|
|
278 |
<Storyboard>
|
|
|
279 |
<ObjectAnimationUsingKeyFrames Duration="0" Storyboard.TargetName="HorizontalTrackRectangleDisabledOverlay" Storyboard.TargetProperty="Visibility">
|
|
|
280 |
<DiscreteObjectKeyFrame KeyTime="0">
|
|
|
281 |
<DiscreteObjectKeyFrame.Value>
|
|
|
282 |
<Visibility>Visible</Visibility>
|
|
|
283 |
</DiscreteObjectKeyFrame.Value>
|
|
|
284 |
</DiscreteObjectKeyFrame>
|
|
|
285 |
</ObjectAnimationUsingKeyFrames>
|
|
|
286 |
<ObjectAnimationUsingKeyFrames Duration="0" Storyboard.TargetName="VerticalTrackRectangleDisabledOverlay" Storyboard.TargetProperty="Visibility">
|
|
|
287 |
<DiscreteObjectKeyFrame KeyTime="0">
|
|
|
288 |
<DiscreteObjectKeyFrame.Value>
|
|
|
289 |
<Visibility>Visible</Visibility>
|
|
|
290 |
</DiscreteObjectKeyFrame.Value>
|
|
|
291 |
</DiscreteObjectKeyFrame>
|
|
|
292 |
</ObjectAnimationUsingKeyFrames>
|
|
|
293 |
</Storyboard>
|
|
|
294 |
</VisualState>
|
|
|
295 |
</VisualStateGroup>
|
|
|
296 |
</VisualStateManager.VisualStateGroups>
|
|
|
297 |
<Popup x:Name="ValueTipPopup" Height="Auto" HorizontalAlignment="Stretch" VerticalAlignment="Stretch" Width="Auto">
|
|
|
298 |
<Grid x:Name="ValueTipPopupRoot" Height="Auto" Width="Auto">
|
|
|
299 |
<Border Height="Auto" HorizontalAlignment="Center" Margin="0,0,2,2" VerticalAlignment="Center" Width="Auto" Background="White" BorderBrush="#FF000000" BorderThickness="1,1,1,1" Padding="0,0,0,0">
|
|
|
300 |
<TextBlock x:Name="ValueTipTextBlock" Margin="2" FontSize="10">
|
|
|
301 |
<TextBlock.RenderTransform>
|
|
|
302 |
<TransformGroup>
|
|
|
303 |
<RotateTransform x:Name="ValueTipRotateTransform" Angle="0"/>
|
|
|
304 |
</TransformGroup>
|
|
|
305 |
</TextBlock.RenderTransform>
|
|
|
306 |
</TextBlock>
|
|
|
307 |
</Border>
|
|
|
308 |
</Grid>
|
|
|
309 |
</Popup>
|
|
|
310 |
<Grid x:Name="HorizontalTemplate">
|
|
|
311 |
<Grid.ColumnDefinitions>
|
|
|
312 |
<ColumnDefinition Width="Auto"/>
|
|
|
313 |
<ColumnDefinition Width="*"/>
|
|
|
314 |
<ColumnDefinition Width="Auto"/>
|
|
|
315 |
</Grid.ColumnDefinitions>
|
|
|
316 |
<Grid x:Name="HorizontalSingleThumbTemplate" Background="{TemplateBinding Background}" Grid.Column="1">
|
|
|
317 |
<Grid.ColumnDefinitions>
|
|
|
318 |
<ColumnDefinition Width="Auto"/>
|
|
|
319 |
<ColumnDefinition Width="Auto"/>
|
|
|
320 |
<ColumnDefinition Width="*"/>
|
|
|
321 |
</Grid.ColumnDefinitions>
|
|
|
322 |
<Rectangle x:Name="HorizontalSingleThumbTrackRectangle" Fill="#FFE6EFF7" Stroke="#FFA3AEB9" StrokeThickness="{TemplateBinding BorderThickness}" RadiusX="1" RadiusY="1" Height="3" Margin="5,0,5,0" Grid.Column="0" Grid.ColumnSpan="3"/>
|
|
|
323 |
<Rectangle x:Name="HorizontalTrackRectangleDisabledOverlay" Fill="White" RadiusX="1" RadiusY="1" Height="3" Margin="5,0,5,0" Opacity=".55" Visibility="Collapsed" Grid.Column="0" Grid.ColumnSpan="3"/>
|
|
|
324 |
<RepeatButton x:Name="HorizontalSingleThumbLargeChangeDecreaseRepeatButton" IsTabStop="False" Template="{StaticResource RepeatButtonTemplate}" Grid.Column="0"/>
|
|
|
325 |
<Thumb x:Name="HorizontalThumb" IsTabStop="True" Height="18" Width="11" Grid.Column="1"/>
|
|
|
326 |
<RepeatButton x:Name="HorizontalSingleThumbLargeChangeIncreaseRepeatButton" IsTabStop="False" Template="{StaticResource RepeatButtonTemplate}" Grid.Column="2"/>
|
|
|
327 |
</Grid>
|
|
|
328 |
<Grid x:Name="HorizontalRangeTemplate" Visibility="Collapsed" Background="{TemplateBinding Background}" Grid.Column="1">
|
|
|
329 |
<Grid.ColumnDefinitions>
|
|
|
330 |
<ColumnDefinition Width="Auto"/>
|
|
|
331 |
<ColumnDefinition Width="Auto"/>
|
|
|
332 |
<ColumnDefinition Width="Auto"/>
|
|
|
333 |
<ColumnDefinition Width="Auto"/>
|
|
|
334 |
<ColumnDefinition Width="*"/>
|
|
|
335 |
</Grid.ColumnDefinitions>
|
|
|
336 |
<Rectangle x:Name="HorizontalRangeTrackRectangle" StrokeThickness="{TemplateBinding BorderThickness}" RadiusX="1" RadiusY="1" Height="3" Margin="5,0,5,0" Grid.Column="0" Grid.ColumnSpan="5"/>
|
|
|
337 |
<RepeatButton x:Name="HorizontalRangeLargeChangeDecreaseRepeatButton" IsTabStop="False" Template="{StaticResource RepeatButtonTemplate}" Grid.Column="0"/>
|
|
|
338 |
<Thumb x:Name="HorizontalLowerThumb" IsTabStop="True" Height="18" Width="5" Grid.Column="1" Style="{StaticResource HorizontalLowerThumb}"/>
|
|
|
339 |
<Thumb x:Name="HorizontalRangeThumb" Template="{StaticResource FillThumbTemplate}" Height="10" Grid.Column="2"/>
|
|
|
340 |
<Thumb x:Name="HorizontalUpperThumb" IsTabStop="True" Height="18" Width="5" Grid.Column="3" Style="{StaticResource HorizontalUpperThumb}"/>
|
|
|
341 |
<RepeatButton x:Name="HorizontalRangeLargeChangeIncreaseRepeatButton" IsTabStop="False" Template="{StaticResource RepeatButtonTemplate}" Grid.Column="4"/>
|
|
|
342 |
</Grid>
|
|
|
343 |
</Grid>
|
|
|
344 |
<Grid x:Name="VerticalTemplate" Visibility="Collapsed">
|
|
|
345 |
<Grid.RowDefinitions>
|
|
|
346 |
<RowDefinition Height="Auto"/>
|
|
|
347 |
<RowDefinition Height="*"/>
|
|
|
348 |
<RowDefinition Height="Auto"/>
|
|
|
349 |
</Grid.RowDefinitions>
|
|
|
350 |
<RepeatButton x:Name="VerticalDecreaseHandle" FontSize="9" HorizontalContentAlignment="Center" IsTabStop="False" VerticalContentAlignment="Center" Height="15" Margin="0,2,0,0" Width="15" Content="-" Grid.Row="2"/>
|
|
|
351 |
<Grid x:Name="VerticalSingleThumbTemplate" Background="{TemplateBinding Background}" Grid.Row="1">
|
|
|
352 |
<Grid.RowDefinitions>
|
|
|
353 |
<RowDefinition Height="*"/>
|
|
|
354 |
<RowDefinition Height="Auto"/>
|
|
|
355 |
<RowDefinition Height="Auto"/>
|
|
|
356 |
</Grid.RowDefinitions>
|
|
|
357 |
<Rectangle x:Name="VerticalSingleThumbTrackRectangle" Fill="#FFE6EFF7" Stroke="#FFA3AEB9" StrokeThickness="{TemplateBinding BorderThickness}" RadiusX="1" RadiusY="1" Margin="0,5,0,5" Width="3" Grid.Row="0" Grid.RowSpan="3"/>
|
|
|
358 |
<Rectangle x:Name="VerticalTrackRectangleDisabledOverlay" Fill="White" RadiusX="1" RadiusY="1" Margin="0,5,0,5" Width="3" Opacity=".55" Visibility="Collapsed" Grid.Row="0" Grid.RowSpan="3"/>
|
|
|
359 |
<RepeatButton x:Name="VerticalSingleThumbLargeChangeDecreaseRepeatButton" IsTabStop="False" Template="{StaticResource RepeatButtonTemplate}" Grid.Row="2"/>
|
|
|
360 |
<Thumb x:Name="VerticalThumb" IsTabStop="True" Height="11" Width="18" Grid.Row="1"/>
|
|
|
361 |
<RepeatButton x:Name="VerticalSingleThumbLargeChangeIncreaseRepeatButton" IsTabStop="False" Template="{StaticResource RepeatButtonTemplate}" Grid.Row="0"/>
|
|
|
362 |
</Grid>
|
|
|
363 |
<Grid x:Name="VerticalRangeTemplate" Visibility="Collapsed" Background="{TemplateBinding Background}" Grid.Row="1">
|
|
|
364 |
<Grid.RowDefinitions>
|
|
|
365 |
<RowDefinition Height="*"/>
|
|
|
366 |
<RowDefinition Height="Auto"/>
|
|
|
367 |
<RowDefinition Height="Auto"/>
|
|
|
368 |
<RowDefinition Height="Auto"/>
|
|
|
369 |
<RowDefinition Height="Auto"/>
|
|
|
370 |
</Grid.RowDefinitions>
|
|
|
371 |
<Rectangle x:Name="VerticalRangeTrackRectangle" Fill="#FFE6EFF7" Stroke="#FFA3AEB9" StrokeThickness="{TemplateBinding BorderThickness}" RadiusX="1" RadiusY="1" Margin="0,5,0,5" Width="3" Grid.Row="0" Grid.RowSpan="5"/>
|
|
|
372 |
<RepeatButton x:Name="VerticalRangeLargeChangeDecreaseRepeatButton" IsTabStop="False" Template="{StaticResource RepeatButtonTemplate}" Grid.Row="4"/>
|
|
|
373 |
<Thumb x:Name="VerticalLowerThumb" IsTabStop="True" Height="11" Width="18" Grid.Row="3"/>
|
|
|
374 |
<Thumb x:Name="VerticalRangeThumb" Template="{StaticResource FillThumbTemplate}" Width="3" Grid.Row="2"/>
|
|
|
375 |
<Thumb x:Name="VerticalUpperThumb" IsTabStop="True" Height="11" Width="18" Grid.Row="1"/>
|
|
|
376 |
<RepeatButton x:Name="VerticalRangeLargeChangeIncreaseRepeatButton" IsTabStop="False" Template="{StaticResource RepeatButtonTemplate}" Grid.Row="0"/>
|
|
|
377 |
</Grid>
|
|
|
378 |
<RepeatButton x:Name="VerticalIncreaseHandle" FontSize="9" HorizontalContentAlignment="Center" IsTabStop="False" VerticalContentAlignment="Center" Height="15" Margin="0,2,0,0" Width="15" Content="+" Grid.Row="0"/>
|
|
|
379 |
</Grid>
|
|
|
380 |
</Grid>
|
|
|
381 |
</ControlTemplate>
|
|
|
382 |
</Setter.Value>
|
|
|
383 |
</Setter>
|
|
|
384 |
<Setter Property="Background" Value="{x:Null}"/>
|
|
|
385 |
</Style>
|
|
|
386 |
|
|
|
387 |
|
|
|
388 |
</ResourceDictionary> |