markus / KCOM / Resources / Theme_CustomControl.xaml @ 40a810fc
이력 | 보기 | 이력해설 | 다운로드 (213 KB)
1 |
<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" |
---|---|
2 |
xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation" |
3 |
xmlns:Telerik_Windows_Controls_TabControl="clr-namespace:Telerik.Windows.Controls.TabControl;assembly=Telerik.Windows.Controls.Navigation" |
4 |
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" |
5 |
xmlns:System="clr-namespace:System;assembly=mscorlib" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" |
6 |
mc:Ignorable="d" |
7 |
xmlns:Telerik_Windows_Controls_Chromes="clr-namespace:Telerik.Windows.Controls.Chromes;assembly=Telerik.Windows.Controls" |
8 |
xmlns:Telerik_Windows_Controls_Primitives="clr-namespace:Telerik.Windows.Controls.Primitives;assembly=Telerik.Windows.Controls.Navigation"> |
9 |
|
10 |
<Style TargetType="{x:Type telerik:RadPaneGroup}" x:Key="Style_RadPanelGroup"> |
11 |
<!--<Setter Property="telerik:StyleManager.Theme" Value="Office2016"/>-->
|
12 |
<Setter Property="Template"> |
13 |
<Setter.Value>
|
14 |
<ControlTemplate TargetType="{x:Type telerik:RadPaneGroup}"> |
15 |
<Grid>
|
16 |
<Grid.RowDefinitions>
|
17 |
<RowDefinition Height="*" MinHeight="20"/> |
18 |
<RowDefinition Height="Auto"/> |
19 |
</Grid.RowDefinitions>
|
20 |
<VisualStateManager.VisualStateGroups>
|
21 |
<VisualStateGroup x:Name="CommonStates"> |
22 |
<VisualState x:Name="Disabled"/> |
23 |
<VisualState x:Name="Normal"/> |
24 |
</VisualStateGroup>
|
25 |
<VisualStateGroup x:Name="FocusStates"> |
26 |
<VisualState x:Name="Focused"/> |
27 |
<VisualState x:Name="Unfocused"/> |
28 |
</VisualStateGroup>
|
29 |
<VisualStateGroup x:Name="AutoCollapseStates"> |
30 |
<VisualState x:Name="SingleItem"> |
31 |
<Storyboard>
|
32 |
<ObjectAnimationUsingKeyFrames Duration="0" Storyboard.TargetProperty="Visibility" Storyboard.TargetName="ItemsContainer"> |
33 |
<DiscreteObjectKeyFrame KeyTime="0"> |
34 |
<DiscreteObjectKeyFrame.Value>
|
35 |
<Visibility>Collapsed</Visibility> |
36 |
</DiscreteObjectKeyFrame.Value>
|
37 |
</DiscreteObjectKeyFrame>
|
38 |
</ObjectAnimationUsingKeyFrames>
|
39 |
</Storyboard>
|
40 |
</VisualState>
|
41 |
<VisualState x:Name="TwoOrMoreItems"/> |
42 |
</VisualStateGroup>
|
43 |
<VisualStateGroup x:Name="PaneHeaderVisibilityStates"> |
44 |
<VisualState x:Name="PaneHeaderHidden"> |
45 |
<Storyboard>
|
46 |
<ObjectAnimationUsingKeyFrames Duration="0" Storyboard.TargetProperty="Visibility" Storyboard.TargetName="HeaderElement"> |
47 |
<DiscreteObjectKeyFrame KeyTime="0"> |
48 |
<DiscreteObjectKeyFrame.Value>
|
49 |
<Visibility>Collapsed</Visibility> |
50 |
</DiscreteObjectKeyFrame.Value>
|
51 |
</DiscreteObjectKeyFrame>
|
52 |
</ObjectAnimationUsingKeyFrames>
|
53 |
</Storyboard>
|
54 |
</VisualState>
|
55 |
<VisualState x:Name="PaneHeaderVisible"/> |
56 |
</VisualStateGroup>
|
57 |
<VisualStateGroup x:Name="ResizerStates"> |
58 |
<VisualState x:Name="ResizerLeft"> |
59 |
<Storyboard>
|
60 |
<Storyboard>
|
61 |
<ObjectAnimationUsingKeyFrames Duration="0" Storyboard.TargetProperty="Visibility" Storyboard.TargetName="DockResizer"> |
62 |
<DiscreteObjectKeyFrame KeyTime="0"> |
63 |
<DiscreteObjectKeyFrame.Value>
|
64 |
<Visibility>Visible</Visibility> |
65 |
</DiscreteObjectKeyFrame.Value>
|
66 |
</DiscreteObjectKeyFrame>
|
67 |
</ObjectAnimationUsingKeyFrames>
|
68 |
<ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="Width" Storyboard.TargetName="DockResizer"> |
69 |
<DiscreteObjectKeyFrame KeyTime="0"> |
70 |
<DiscreteObjectKeyFrame.Value>
|
71 |
<System:Double>4</System:Double> |
72 |
</DiscreteObjectKeyFrame.Value>
|
73 |
</DiscreteObjectKeyFrame>
|
74 |
</ObjectAnimationUsingKeyFrames>
|
75 |
<ObjectAnimationUsingKeyFrames Duration="0" Storyboard.TargetProperty="Margin" Storyboard.TargetName="ItemsContainer"> |
76 |
<DiscreteObjectKeyFrame KeyTime="0"> |
77 |
<DiscreteObjectKeyFrame.Value>
|
78 |
<Thickness>4,-5,0,0</Thickness> |
79 |
</DiscreteObjectKeyFrame.Value>
|
80 |
</DiscreteObjectKeyFrame>
|
81 |
</ObjectAnimationUsingKeyFrames>
|
82 |
<ObjectAnimationUsingKeyFrames Duration="0" Storyboard.TargetProperty="Margin" Storyboard.TargetName="ContentBackground"> |
83 |
<DiscreteObjectKeyFrame KeyTime="0"> |
84 |
<DiscreteObjectKeyFrame.Value>
|
85 |
<Thickness>4,0,0,0</Thickness> |
86 |
</DiscreteObjectKeyFrame.Value>
|
87 |
</DiscreteObjectKeyFrame>
|
88 |
</ObjectAnimationUsingKeyFrames>
|
89 |
</Storyboard>
|
90 |
</Storyboard>
|
91 |
</VisualState>
|
92 |
<VisualState x:Name="ResizerTop"> |
93 |
<Storyboard>
|
94 |
<ObjectAnimationUsingKeyFrames Duration="0" Storyboard.TargetProperty="Visibility" Storyboard.TargetName="DockResizer"> |
95 |
<DiscreteObjectKeyFrame KeyTime="0"> |
96 |
<DiscreteObjectKeyFrame.Value>
|
97 |
<Visibility>Visible</Visibility> |
98 |
</DiscreteObjectKeyFrame.Value>
|
99 |
</DiscreteObjectKeyFrame>
|
100 |
</ObjectAnimationUsingKeyFrames>
|
101 |
<ObjectAnimationUsingKeyFrames Duration="0" Storyboard.TargetProperty="VerticalAlignment" Storyboard.TargetName="DockResizer"> |
102 |
<DiscreteObjectKeyFrame KeyTime="0"> |
103 |
<DiscreteObjectKeyFrame.Value>
|
104 |
<VerticalAlignment>Top</VerticalAlignment> |
105 |
</DiscreteObjectKeyFrame.Value>
|
106 |
</DiscreteObjectKeyFrame>
|
107 |
</ObjectAnimationUsingKeyFrames>
|
108 |
<ObjectAnimationUsingKeyFrames Duration="0" Storyboard.TargetProperty="HorizontalAlignment" Storyboard.TargetName="DockResizer"> |
109 |
<DiscreteObjectKeyFrame KeyTime="0"> |
110 |
<DiscreteObjectKeyFrame.Value>
|
111 |
<HorizontalAlignment>Stretch</HorizontalAlignment> |
112 |
</DiscreteObjectKeyFrame.Value>
|
113 |
</DiscreteObjectKeyFrame>
|
114 |
</ObjectAnimationUsingKeyFrames>
|
115 |
<ObjectAnimationUsingKeyFrames Duration="0" Storyboard.TargetProperty="Placement" Storyboard.TargetName="DockResizer"> |
116 |
<DiscreteObjectKeyFrame KeyTime="0"> |
117 |
<DiscreteObjectKeyFrame.Value>
|
118 |
<Dock>Top</Dock> |
119 |
</DiscreteObjectKeyFrame.Value>
|
120 |
</DiscreteObjectKeyFrame>
|
121 |
</ObjectAnimationUsingKeyFrames>
|
122 |
<ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="Height" Storyboard.TargetName="DockResizer"> |
123 |
<DiscreteObjectKeyFrame KeyTime="0"> |
124 |
<DiscreteObjectKeyFrame.Value>
|
125 |
<System:Double>4</System:Double> |
126 |
</DiscreteObjectKeyFrame.Value>
|
127 |
</DiscreteObjectKeyFrame>
|
128 |
</ObjectAnimationUsingKeyFrames>
|
129 |
<ObjectAnimationUsingKeyFrames Duration="0" Storyboard.TargetProperty="(Grid.RowSpan)" Storyboard.TargetName="DockResizer"> |
130 |
<DiscreteObjectKeyFrame KeyTime="0"> |
131 |
<DiscreteObjectKeyFrame.Value>
|
132 |
<System:Int32>1</System:Int32> |
133 |
</DiscreteObjectKeyFrame.Value>
|
134 |
</DiscreteObjectKeyFrame>
|
135 |
</ObjectAnimationUsingKeyFrames>
|
136 |
<ObjectAnimationUsingKeyFrames Duration="0" Storyboard.TargetProperty="(Grid.Row)" Storyboard.TargetName="DockResizer"> |
137 |
<DiscreteObjectKeyFrame KeyTime="0"> |
138 |
<DiscreteObjectKeyFrame.Value>
|
139 |
<System:Int32>0</System:Int32> |
140 |
</DiscreteObjectKeyFrame.Value>
|
141 |
</DiscreteObjectKeyFrame>
|
142 |
</ObjectAnimationUsingKeyFrames>
|
143 |
<ObjectAnimationUsingKeyFrames Duration="0" Storyboard.TargetProperty="Margin" Storyboard.TargetName="ContentBackground"> |
144 |
<DiscreteObjectKeyFrame KeyTime="0"> |
145 |
<DiscreteObjectKeyFrame.Value>
|
146 |
<Thickness>0,4,0,0</Thickness> |
147 |
</DiscreteObjectKeyFrame.Value>
|
148 |
</DiscreteObjectKeyFrame>
|
149 |
</ObjectAnimationUsingKeyFrames>
|
150 |
</Storyboard>
|
151 |
</VisualState>
|
152 |
<VisualState x:Name="HideResizer"/> |
153 |
</VisualStateGroup>
|
154 |
</VisualStateManager.VisualStateGroups>
|
155 |
<ContentControl x:Name="ContentBackground" BorderBrush="{TemplateBinding BorderBrush}" BorderThickness="{TemplateBinding BorderThickness}" Background="{TemplateBinding Background}"> |
156 |
<ContentControl.Style>
|
157 |
<Style TargetType="{x:Type ContentControl}"> |
158 |
<Setter Property="Template"> |
159 |
<Setter.Value>
|
160 |
<ControlTemplate TargetType="{x:Type ContentControl}"> |
161 |
<Border x:Name="Root" BorderBrush="{TemplateBinding BorderBrush}" BorderThickness="{TemplateBinding BorderThickness}" Background="{TemplateBinding Background}" CornerRadius="2,2,2,0"> |
162 |
<ContentPresenter ContentTemplate="{TemplateBinding ContentTemplate}" Content="{TemplateBinding Content}" ContentStringFormat="{TemplateBinding ContentStringFormat}"/> |
163 |
</Border>
|
164 |
</ControlTemplate>
|
165 |
</Setter.Value>
|
166 |
</Setter>
|
167 |
</Style>
|
168 |
</ContentControl.Style>
|
169 |
<Grid>
|
170 |
<Grid.RowDefinitions>
|
171 |
<RowDefinition Height="Auto"/> |
172 |
<RowDefinition Height="*"/> |
173 |
</Grid.RowDefinitions>
|
174 |
<Border Grid.Row="0" Visibility="{Binding SelectedItem.PaneHeaderVisibility, RelativeSource={RelativeSource TemplatedParent}}"> |
175 |
<telerik:PaneHeader x:Name="HeaderElement" MinHeight="16" Grid.Row="0" SelectedPane="{TemplateBinding SelectedPane}"> |
176 |
<telerik:StyleManager.Theme>
|
177 |
<telerik:Office2016Theme/> |
178 |
</telerik:StyleManager.Theme>
|
179 |
</telerik:PaneHeader>
|
180 |
</Border>
|
181 |
<Grid Grid.Row="1"> |
182 |
<ContentPresenter x:Name="ContentElement" ContentTemplate="{TemplateBinding SelectedContentTemplate}"> |
183 |
<ContentPresenter.Visibility>
|
184 |
<Binding Path="IsContentPreserved" RelativeSource="{RelativeSource TemplatedParent}"> |
185 |
<Binding.Converter>
|
186 |
<telerik:InvertedBooleanToVisibilityConverter/> |
187 |
</Binding.Converter>
|
188 |
</Binding>
|
189 |
</ContentPresenter.Visibility>
|
190 |
</ContentPresenter>
|
191 |
<Grid x:Name="ContentElementsPanel"> |
192 |
<Grid.Visibility>
|
193 |
<Binding Path="IsContentPreserved" RelativeSource="{RelativeSource TemplatedParent}"> |
194 |
<Binding.Converter>
|
195 |
<telerik:BooleanToVisibilityConverter/> |
196 |
</Binding.Converter>
|
197 |
</Binding>
|
198 |
</Grid.Visibility>
|
199 |
</Grid>
|
200 |
</Grid>
|
201 |
</Grid>
|
202 |
</ContentControl>
|
203 |
<Border x:Name="ItemsContainer" Margin="0,-5,0,0" Padding="0,0,1,0" Grid.Row="1"> |
204 |
<ItemsPresenter x:Name="ItemsPresenterElement"/> |
205 |
</Border>
|
206 |
<telerik:RadGridResizer x:Name="DockResizer" Cursor="SizeWE" HorizontalAlignment="Left" Placement="Left" Grid.RowSpan="2" ShowsPreview="True" Visibility="Collapsed" VerticalAlignment="Stretch"/> |
207 |
</Grid>
|
208 |
</ControlTemplate>
|
209 |
</Setter.Value>
|
210 |
</Setter>
|
211 |
<Setter Property="BottomTemplate"> |
212 |
<Setter.Value>
|
213 |
<ControlTemplate TargetType="{x:Type telerik:RadPaneGroup}"> |
214 |
<Grid>
|
215 |
<Grid.RowDefinitions>
|
216 |
<RowDefinition Height="*" MinHeight="20"/> |
217 |
<RowDefinition Height="Auto"/> |
218 |
</Grid.RowDefinitions>
|
219 |
<VisualStateManager.VisualStateGroups>
|
220 |
<VisualStateGroup x:Name="CommonStates"> |
221 |
<VisualState x:Name="Disabled"/> |
222 |
<VisualState x:Name="Normal"/> |
223 |
</VisualStateGroup>
|
224 |
<VisualStateGroup x:Name="FocusStates"> |
225 |
<VisualState x:Name="Focused"/> |
226 |
<VisualState x:Name="Unfocused"/> |
227 |
</VisualStateGroup>
|
228 |
<VisualStateGroup x:Name="AutoCollapseStates"> |
229 |
<VisualState x:Name="SingleItem"> |
230 |
<Storyboard>
|
231 |
<ObjectAnimationUsingKeyFrames Duration="0" Storyboard.TargetProperty="Visibility" Storyboard.TargetName="ItemsContainer"> |
232 |
<DiscreteObjectKeyFrame KeyTime="0"> |
233 |
<DiscreteObjectKeyFrame.Value>
|
234 |
<Visibility>Collapsed</Visibility> |
235 |
</DiscreteObjectKeyFrame.Value>
|
236 |
</DiscreteObjectKeyFrame>
|
237 |
</ObjectAnimationUsingKeyFrames>
|
238 |
</Storyboard>
|
239 |
</VisualState>
|
240 |
<VisualState x:Name="TwoOrMoreItems"/> |
241 |
</VisualStateGroup>
|
242 |
<VisualStateGroup x:Name="PaneHeaderVisibilityStates"> |
243 |
<VisualState x:Name="PaneHeaderHidden"> |
244 |
<Storyboard>
|
245 |
<ObjectAnimationUsingKeyFrames Duration="0" Storyboard.TargetProperty="Visibility" Storyboard.TargetName="HeaderElement"> |
246 |
<DiscreteObjectKeyFrame KeyTime="0"> |
247 |
<DiscreteObjectKeyFrame.Value>
|
248 |
<Visibility>Collapsed</Visibility> |
249 |
</DiscreteObjectKeyFrame.Value>
|
250 |
</DiscreteObjectKeyFrame>
|
251 |
</ObjectAnimationUsingKeyFrames>
|
252 |
</Storyboard>
|
253 |
</VisualState>
|
254 |
<VisualState x:Name="PaneHeaderVisible"/> |
255 |
</VisualStateGroup>
|
256 |
<VisualStateGroup x:Name="ResizerStates"> |
257 |
<VisualState x:Name="ResizerLeft"> |
258 |
<Storyboard>
|
259 |
<Storyboard>
|
260 |
<ObjectAnimationUsingKeyFrames Duration="0" Storyboard.TargetProperty="Visibility" Storyboard.TargetName="DockResizer"> |
261 |
<DiscreteObjectKeyFrame KeyTime="0"> |
262 |
<DiscreteObjectKeyFrame.Value>
|
263 |
<Visibility>Visible</Visibility> |
264 |
</DiscreteObjectKeyFrame.Value>
|
265 |
</DiscreteObjectKeyFrame>
|
266 |
</ObjectAnimationUsingKeyFrames>
|
267 |
<ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="Width" Storyboard.TargetName="DockResizer"> |
268 |
<DiscreteObjectKeyFrame KeyTime="0"> |
269 |
<DiscreteObjectKeyFrame.Value>
|
270 |
<System:Double>4</System:Double> |
271 |
</DiscreteObjectKeyFrame.Value>
|
272 |
</DiscreteObjectKeyFrame>
|
273 |
</ObjectAnimationUsingKeyFrames>
|
274 |
<ObjectAnimationUsingKeyFrames Duration="0" Storyboard.TargetProperty="Margin" Storyboard.TargetName="ItemsContainer"> |
275 |
<DiscreteObjectKeyFrame KeyTime="0"> |
276 |
<DiscreteObjectKeyFrame.Value>
|
277 |
<Thickness>4,-5,0,0</Thickness> |
278 |
</DiscreteObjectKeyFrame.Value>
|
279 |
</DiscreteObjectKeyFrame>
|
280 |
</ObjectAnimationUsingKeyFrames>
|
281 |
<ObjectAnimationUsingKeyFrames Duration="0" Storyboard.TargetProperty="Margin" Storyboard.TargetName="ContentBackground"> |
282 |
<DiscreteObjectKeyFrame KeyTime="0"> |
283 |
<DiscreteObjectKeyFrame.Value>
|
284 |
<Thickness>4,0,0,0</Thickness> |
285 |
</DiscreteObjectKeyFrame.Value>
|
286 |
</DiscreteObjectKeyFrame>
|
287 |
</ObjectAnimationUsingKeyFrames>
|
288 |
</Storyboard>
|
289 |
</Storyboard>
|
290 |
</VisualState>
|
291 |
<VisualState x:Name="ResizerTop"> |
292 |
<Storyboard>
|
293 |
<ObjectAnimationUsingKeyFrames Duration="0" Storyboard.TargetProperty="Visibility" Storyboard.TargetName="DockResizer"> |
294 |
<DiscreteObjectKeyFrame KeyTime="0"> |
295 |
<DiscreteObjectKeyFrame.Value>
|
296 |
<Visibility>Visible</Visibility> |
297 |
</DiscreteObjectKeyFrame.Value>
|
298 |
</DiscreteObjectKeyFrame>
|
299 |
</ObjectAnimationUsingKeyFrames>
|
300 |
<ObjectAnimationUsingKeyFrames Duration="0" Storyboard.TargetProperty="VerticalAlignment" Storyboard.TargetName="DockResizer"> |
301 |
<DiscreteObjectKeyFrame KeyTime="0"> |
302 |
<DiscreteObjectKeyFrame.Value>
|
303 |
<VerticalAlignment>Top</VerticalAlignment> |
304 |
</DiscreteObjectKeyFrame.Value>
|
305 |
</DiscreteObjectKeyFrame>
|
306 |
</ObjectAnimationUsingKeyFrames>
|
307 |
<ObjectAnimationUsingKeyFrames Duration="0" Storyboard.TargetProperty="HorizontalAlignment" Storyboard.TargetName="DockResizer"> |
308 |
<DiscreteObjectKeyFrame KeyTime="0"> |
309 |
<DiscreteObjectKeyFrame.Value>
|
310 |
<HorizontalAlignment>Stretch</HorizontalAlignment> |
311 |
</DiscreteObjectKeyFrame.Value>
|
312 |
</DiscreteObjectKeyFrame>
|
313 |
</ObjectAnimationUsingKeyFrames>
|
314 |
<ObjectAnimationUsingKeyFrames Duration="0" Storyboard.TargetProperty="Placement" Storyboard.TargetName="DockResizer"> |
315 |
<DiscreteObjectKeyFrame KeyTime="0"> |
316 |
<DiscreteObjectKeyFrame.Value>
|
317 |
<Dock>Top</Dock> |
318 |
</DiscreteObjectKeyFrame.Value>
|
319 |
</DiscreteObjectKeyFrame>
|
320 |
</ObjectAnimationUsingKeyFrames>
|
321 |
<ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="Height" Storyboard.TargetName="DockResizer"> |
322 |
<DiscreteObjectKeyFrame KeyTime="0"> |
323 |
<DiscreteObjectKeyFrame.Value>
|
324 |
<System:Double>4</System:Double> |
325 |
</DiscreteObjectKeyFrame.Value>
|
326 |
</DiscreteObjectKeyFrame>
|
327 |
</ObjectAnimationUsingKeyFrames>
|
328 |
<ObjectAnimationUsingKeyFrames Duration="0" Storyboard.TargetProperty="(Grid.RowSpan)" Storyboard.TargetName="DockResizer"> |
329 |
<DiscreteObjectKeyFrame KeyTime="0"> |
330 |
<DiscreteObjectKeyFrame.Value>
|
331 |
<System:Int32>1</System:Int32> |
332 |
</DiscreteObjectKeyFrame.Value>
|
333 |
</DiscreteObjectKeyFrame>
|
334 |
</ObjectAnimationUsingKeyFrames>
|
335 |
<ObjectAnimationUsingKeyFrames Duration="0" Storyboard.TargetProperty="(Grid.Row)" Storyboard.TargetName="DockResizer"> |
336 |
<DiscreteObjectKeyFrame KeyTime="0"> |
337 |
<DiscreteObjectKeyFrame.Value>
|
338 |
<System:Int32>0</System:Int32> |
339 |
</DiscreteObjectKeyFrame.Value>
|
340 |
</DiscreteObjectKeyFrame>
|
341 |
</ObjectAnimationUsingKeyFrames>
|
342 |
<ObjectAnimationUsingKeyFrames Duration="0" Storyboard.TargetProperty="Margin" Storyboard.TargetName="ContentBackground"> |
343 |
<DiscreteObjectKeyFrame KeyTime="0"> |
344 |
<DiscreteObjectKeyFrame.Value>
|
345 |
<Thickness>0,4,0,0</Thickness> |
346 |
</DiscreteObjectKeyFrame.Value>
|
347 |
</DiscreteObjectKeyFrame>
|
348 |
</ObjectAnimationUsingKeyFrames>
|
349 |
</Storyboard>
|
350 |
</VisualState>
|
351 |
<VisualState x:Name="HideResizer"/> |
352 |
</VisualStateGroup>
|
353 |
</VisualStateManager.VisualStateGroups>
|
354 |
<ContentControl x:Name="ContentBackground" BorderBrush="{TemplateBinding BorderBrush}" BorderThickness="{TemplateBinding BorderThickness}" Background="{TemplateBinding Background}"> |
355 |
<ContentControl.Style>
|
356 |
<Style TargetType="{x:Type ContentControl}"> |
357 |
<Setter Property="Template"> |
358 |
<Setter.Value>
|
359 |
<ControlTemplate TargetType="{x:Type ContentControl}"> |
360 |
<Border x:Name="Root" BorderBrush="{TemplateBinding BorderBrush}" BorderThickness="{TemplateBinding BorderThickness}" Background="{TemplateBinding Background}" CornerRadius="2,2,2,0"> |
361 |
<ContentPresenter ContentTemplate="{TemplateBinding ContentTemplate}" Content="{TemplateBinding Content}" ContentStringFormat="{TemplateBinding ContentStringFormat}"/> |
362 |
</Border>
|
363 |
</ControlTemplate>
|
364 |
</Setter.Value>
|
365 |
</Setter>
|
366 |
</Style>
|
367 |
</ContentControl.Style>
|
368 |
<Grid>
|
369 |
<Grid.RowDefinitions>
|
370 |
<RowDefinition Height="Auto"/> |
371 |
<RowDefinition Height="*"/> |
372 |
</Grid.RowDefinitions>
|
373 |
<Border Grid.Row="0" Visibility="{Binding SelectedItem.PaneHeaderVisibility, RelativeSource={RelativeSource TemplatedParent}}"> |
374 |
<telerik:PaneHeader x:Name="HeaderElement" MinHeight="16" Grid.Row="0" SelectedPane="{TemplateBinding SelectedPane}"> |
375 |
<telerik:StyleManager.Theme>
|
376 |
<telerik:Office_BlackTheme/> |
377 |
</telerik:StyleManager.Theme>
|
378 |
</telerik:PaneHeader>
|
379 |
</Border>
|
380 |
<Grid Grid.Row="1"> |
381 |
<ContentPresenter x:Name="ContentElement" ContentTemplate="{TemplateBinding SelectedContentTemplate}"> |
382 |
<ContentPresenter.Visibility>
|
383 |
<Binding Path="IsContentPreserved" RelativeSource="{RelativeSource TemplatedParent}"> |
384 |
<Binding.Converter>
|
385 |
<telerik:InvertedBooleanToVisibilityConverter/> |
386 |
</Binding.Converter>
|
387 |
</Binding>
|
388 |
</ContentPresenter.Visibility>
|
389 |
</ContentPresenter>
|
390 |
<Grid x:Name="ContentElementsPanel"> |
391 |
<Grid.Visibility>
|
392 |
<Binding Path="IsContentPreserved" RelativeSource="{RelativeSource TemplatedParent}"> |
393 |
<Binding.Converter>
|
394 |
<telerik:BooleanToVisibilityConverter/> |
395 |
</Binding.Converter>
|
396 |
</Binding>
|
397 |
</Grid.Visibility>
|
398 |
</Grid>
|
399 |
</Grid>
|
400 |
</Grid>
|
401 |
</ContentControl>
|
402 |
<Border x:Name="ItemsContainer" Margin="0,-5,0,0" Padding="0,0,1,0" Grid.Row="1"> |
403 |
<ItemsPresenter x:Name="ItemsPresenterElement"/> |
404 |
</Border>
|
405 |
<telerik:RadGridResizer x:Name="DockResizer" Cursor="SizeWE" HorizontalAlignment="Left" Placement="Left" Grid.RowSpan="2" ShowsPreview="True" Visibility="Collapsed" VerticalAlignment="Stretch"/> |
406 |
</Grid>
|
407 |
</ControlTemplate>
|
408 |
</Setter.Value>
|
409 |
</Setter>
|
410 |
<Setter Property="TopTemplate"> |
411 |
<Setter.Value>
|
412 |
<ControlTemplate TargetType="{x:Type telerik:RadPaneGroup}"> |
413 |
<Grid>
|
414 |
<Grid.RowDefinitions>
|
415 |
<RowDefinition Height="Auto"/> |
416 |
<RowDefinition Height="*"/> |
417 |
</Grid.RowDefinitions>
|
418 |
<VisualStateManager.VisualStateGroups>
|
419 |
<VisualStateGroup x:Name="CommonStates"> |
420 |
<VisualState x:Name="Disabled"/> |
421 |
<VisualState x:Name="Normal"/> |
422 |
</VisualStateGroup>
|
423 |
<VisualStateGroup x:Name="DropDownDisplayStates"> |
424 |
<VisualState x:Name="DropDownButtonCollapsed"> |
425 |
<Storyboard>
|
426 |
<ObjectAnimationUsingKeyFrames Duration="0" Storyboard.TargetProperty="Visibility" Storyboard.TargetName="DropDownButtonElement"> |
427 |
<DiscreteObjectKeyFrame KeyTime="0"> |
428 |
<DiscreteObjectKeyFrame.Value>
|
429 |
<Visibility>Collapsed</Visibility> |
430 |
</DiscreteObjectKeyFrame.Value>
|
431 |
</DiscreteObjectKeyFrame>
|
432 |
</ObjectAnimationUsingKeyFrames>
|
433 |
</Storyboard>
|
434 |
</VisualState>
|
435 |
<VisualState x:Name="DropDownButtonVisible"> |
436 |
<Storyboard>
|
437 |
<ObjectAnimationUsingKeyFrames Duration="0" Storyboard.TargetProperty="Visibility" Storyboard.TargetName="DropDownButtonElement"> |
438 |
<DiscreteObjectKeyFrame KeyTime="0"> |
439 |
<DiscreteObjectKeyFrame.Value>
|
440 |
<Visibility>Visible</Visibility> |
441 |
</DiscreteObjectKeyFrame.Value>
|
442 |
</DiscreteObjectKeyFrame>
|
443 |
</ObjectAnimationUsingKeyFrames>
|
444 |
</Storyboard>
|
445 |
</VisualState>
|
446 |
</VisualStateGroup>
|
447 |
<VisualStateGroup x:Name="ResizerStates"> |
448 |
<VisualState x:Name="ResizerLeft"> |
449 |
<Storyboard>
|
450 |
<ObjectAnimationUsingKeyFrames Duration="0" Storyboard.TargetProperty="Visibility" Storyboard.TargetName="DockResizer"> |
451 |
<DiscreteObjectKeyFrame KeyTime="0"> |
452 |
<DiscreteObjectKeyFrame.Value>
|
453 |
<Visibility>Visible</Visibility> |
454 |
</DiscreteObjectKeyFrame.Value>
|
455 |
</DiscreteObjectKeyFrame>
|
456 |
</ObjectAnimationUsingKeyFrames>
|
457 |
<ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="Width" Storyboard.TargetName="DockResizer"> |
458 |
<DiscreteObjectKeyFrame KeyTime="0"> |
459 |
<DiscreteObjectKeyFrame.Value>
|
460 |
<System:Double>4</System:Double> |
461 |
</DiscreteObjectKeyFrame.Value>
|
462 |
</DiscreteObjectKeyFrame>
|
463 |
</ObjectAnimationUsingKeyFrames>
|
464 |
<ObjectAnimationUsingKeyFrames Duration="0" Storyboard.TargetProperty="Margin" Storyboard.TargetName="ItemsPresenterElement"> |
465 |
<DiscreteObjectKeyFrame KeyTime="0"> |
466 |
<DiscreteObjectKeyFrame.Value>
|
467 |
<Thickness>4,2,0,2</Thickness> |
468 |
</DiscreteObjectKeyFrame.Value>
|
469 |
</DiscreteObjectKeyFrame>
|
470 |
</ObjectAnimationUsingKeyFrames>
|
471 |
<ObjectAnimationUsingKeyFrames Duration="0" Storyboard.TargetProperty="Margin" Storyboard.TargetName="ContentBackground"> |
472 |
<DiscreteObjectKeyFrame KeyTime="0"> |
473 |
<DiscreteObjectKeyFrame.Value>
|
474 |
<Thickness>4,0,0,0</Thickness> |
475 |
</DiscreteObjectKeyFrame.Value>
|
476 |
</DiscreteObjectKeyFrame>
|
477 |
</ObjectAnimationUsingKeyFrames>
|
478 |
</Storyboard>
|
479 |
</VisualState>
|
480 |
<VisualState x:Name="ResizerTop"> |
481 |
<Storyboard>
|
482 |
<ObjectAnimationUsingKeyFrames Duration="0" Storyboard.TargetProperty="Visibility" Storyboard.TargetName="DockResizer"> |
483 |
<DiscreteObjectKeyFrame KeyTime="0"> |
484 |
<DiscreteObjectKeyFrame.Value>
|
485 |
<Visibility>Visible</Visibility> |
486 |
</DiscreteObjectKeyFrame.Value>
|
487 |
</DiscreteObjectKeyFrame>
|
488 |
</ObjectAnimationUsingKeyFrames>
|
489 |
<ObjectAnimationUsingKeyFrames Duration="0" Storyboard.TargetProperty="VerticalAlignment" Storyboard.TargetName="DockResizer"> |
490 |
<DiscreteObjectKeyFrame KeyTime="0"> |
491 |
<DiscreteObjectKeyFrame.Value>
|
492 |
<VerticalAlignment>Top</VerticalAlignment> |
493 |
</DiscreteObjectKeyFrame.Value>
|
494 |
</DiscreteObjectKeyFrame>
|
495 |
</ObjectAnimationUsingKeyFrames>
|
496 |
<ObjectAnimationUsingKeyFrames Duration="0" Storyboard.TargetProperty="HorizontalAlignment" Storyboard.TargetName="DockResizer"> |
497 |
<DiscreteObjectKeyFrame KeyTime="0"> |
498 |
<DiscreteObjectKeyFrame.Value>
|
499 |
<HorizontalAlignment>Stretch</HorizontalAlignment> |
500 |
</DiscreteObjectKeyFrame.Value>
|
501 |
</DiscreteObjectKeyFrame>
|
502 |
</ObjectAnimationUsingKeyFrames>
|
503 |
<ObjectAnimationUsingKeyFrames Duration="0" Storyboard.TargetProperty="Placement" Storyboard.TargetName="DockResizer"> |
504 |
<DiscreteObjectKeyFrame KeyTime="0"> |
505 |
<DiscreteObjectKeyFrame.Value>
|
506 |
<Dock>Top</Dock> |
507 |
</DiscreteObjectKeyFrame.Value>
|
508 |
</DiscreteObjectKeyFrame>
|
509 |
</ObjectAnimationUsingKeyFrames>
|
510 |
<ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="Height" Storyboard.TargetName="DockResizer"> |
511 |
<DiscreteObjectKeyFrame KeyTime="0"> |
512 |
<DiscreteObjectKeyFrame.Value>
|
513 |
<System:Double>4</System:Double> |
514 |
</DiscreteObjectKeyFrame.Value>
|
515 |
</DiscreteObjectKeyFrame>
|
516 |
</ObjectAnimationUsingKeyFrames>
|
517 |
<ObjectAnimationUsingKeyFrames Duration="0" Storyboard.TargetProperty="(Grid.RowSpan)" Storyboard.TargetName="DockResizer"> |
518 |
<DiscreteObjectKeyFrame KeyTime="0"> |
519 |
<DiscreteObjectKeyFrame.Value>
|
520 |
<System:Int32>1</System:Int32> |
521 |
</DiscreteObjectKeyFrame.Value>
|
522 |
</DiscreteObjectKeyFrame>
|
523 |
</ObjectAnimationUsingKeyFrames>
|
524 |
<ObjectAnimationUsingKeyFrames Duration="0" Storyboard.TargetProperty="(Grid.Row)" Storyboard.TargetName="DockResizer"> |
525 |
<DiscreteObjectKeyFrame KeyTime="0"> |
526 |
<DiscreteObjectKeyFrame.Value>
|
527 |
<System:Int32>0</System:Int32> |
528 |
</DiscreteObjectKeyFrame.Value>
|
529 |
</DiscreteObjectKeyFrame>
|
530 |
</ObjectAnimationUsingKeyFrames>
|
531 |
<ObjectAnimationUsingKeyFrames Duration="0" Storyboard.TargetProperty="Margin" Storyboard.TargetName="Header"> |
532 |
<DiscreteObjectKeyFrame KeyTime="0"> |
533 |
<DiscreteObjectKeyFrame.Value>
|
534 |
<Thickness>0,4,0,0</Thickness> |
535 |
</DiscreteObjectKeyFrame.Value>
|
536 |
</DiscreteObjectKeyFrame>
|
537 |
</ObjectAnimationUsingKeyFrames>
|
538 |
</Storyboard>
|
539 |
</VisualState>
|
540 |
<VisualState x:Name="HideResizer"/> |
541 |
</VisualStateGroup>
|
542 |
</VisualStateManager.VisualStateGroups>
|
543 |
<ContentControl x:Name="ContentBackground" BorderBrush="{TemplateBinding BorderBrush}" BorderThickness="{TemplateBinding BorderThickness}" Background="{TemplateBinding Background}" Grid.Row="1"> |
544 |
<ContentControl.Style>
|
545 |
<Style TargetType="{x:Type ContentControl}"> |
546 |
<Setter Property="Template"> |
547 |
<Setter.Value>
|
548 |
<ControlTemplate TargetType="{x:Type ContentControl}"> |
549 |
<Border x:Name="Root" BorderBrush="{TemplateBinding BorderBrush}" BorderThickness="{TemplateBinding BorderThickness}" Background="{TemplateBinding Background}" CornerRadius="0,2,2,2"> |
550 |
<!-- <Border x:Name="BorderLayer3" BorderBrush="White" BorderThickness="2" CornerRadius="0,1,1,1">
|
551 |
<Border x:Name="BorderLayer2" BorderBrush="#FFF0F0F0" BorderThickness="2" CornerRadius="0">
|
552 |
<Border x:Name="BorderLayer1" BorderBrush="#FF848484" BorderThickness="1" CornerRadius="0">
|
553 |
<ContentPresenter ContentTemplate="{TemplateBinding ContentTemplate}" Content="{TemplateBinding Content}" ContentStringFormat="{TemplateBinding ContentStringFormat}"/>
|
554 |
</Border>
|
555 |
</Border>
|
556 |
</Border>
|
557 |
-->
|
558 |
<Border x:Name="BorderLayer3" BorderBrush="White" BorderThickness="2" CornerRadius="0,1,1,1"> |
559 |
<Border x:Name="BorderLayer2" BorderBrush="#FFF0F0F0" BorderThickness="2" CornerRadius="0"> |
560 |
<ContentPresenter ContentTemplate="{TemplateBinding ContentTemplate}" Content="{TemplateBinding Content}" ContentStringFormat="{TemplateBinding ContentStringFormat}"/> |
561 |
</Border>
|
562 |
</Border>
|
563 |
</Border>
|
564 |
</ControlTemplate>
|
565 |
</Setter.Value>
|
566 |
</Setter>
|
567 |
</Style>
|
568 |
</ContentControl.Style>
|
569 |
<Grid>
|
570 |
<ContentPresenter x:Name="ContentElement" ContentTemplate="{TemplateBinding SelectedContentTemplate}"> |
571 |
<ContentPresenter.Visibility>
|
572 |
<Binding Path="IsContentPreserved" RelativeSource="{RelativeSource TemplatedParent}"> |
573 |
<Binding.Converter>
|
574 |
<telerik:InvertedBooleanToVisibilityConverter/> |
575 |
</Binding.Converter>
|
576 |
</Binding>
|
577 |
</ContentPresenter.Visibility>
|
578 |
</ContentPresenter>
|
579 |
<Grid x:Name="ContentElementsPanel"> |
580 |
<Grid.Visibility>
|
581 |
<Binding Path="IsContentPreserved" RelativeSource="{RelativeSource TemplatedParent}"> |
582 |
<Binding.Converter>
|
583 |
<telerik:BooleanToVisibilityConverter/> |
584 |
</Binding.Converter>
|
585 |
</Binding>
|
586 |
</Grid.Visibility>
|
587 |
</Grid>
|
588 |
</Grid>
|
589 |
</ContentControl>
|
590 |
<Grid x:Name="Header" Grid.Row="0"> |
591 |
<Grid.ColumnDefinitions>
|
592 |
<ColumnDefinition Width="Auto"/> |
593 |
<ColumnDefinition Width="*"/> |
594 |
<ColumnDefinition Width="Auto"/> |
595 |
<ColumnDefinition Width="Auto"/> |
596 |
<ColumnDefinition Width="Auto"/> |
597 |
</Grid.ColumnDefinitions>
|
598 |
<RepeatButton x:Name="LeftScrollButtonElement" Grid.Column="0" Visibility="{Binding ComputedHorizontalScrollBarVisibility, ElementName=ScrollViewerElement}"> |
599 |
<RepeatButton.Style>
|
600 |
<Style TargetType="{x:Type RepeatButton}"> |
601 |
<Setter Property="Width" Value="17"/> |
602 |
<Setter Property="Height" Value="17"/> |
603 |
<Setter Property="Margin" Value="1"/> |
604 |
<Setter Property="IsTabStop" Value="False"/> |
605 |
<Setter Property="SnapsToDevicePixels" Value="True"/> |
606 |
<Setter Property="Template"> |
607 |
<Setter.Value>
|
608 |
<ControlTemplate TargetType="{x:Type RepeatButton}"> |
609 |
<Grid x:Name="LayoutRoot"> |
610 |
<VisualStateManager.VisualStateGroups>
|
611 |
<VisualStateGroup x:Name="CommonStates"> |
612 |
<VisualState x:Name="Disabled"> |
613 |
<Storyboard>
|
614 |
<ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="Fill" Storyboard.TargetName="ForegroundIcon"> |
615 |
<DiscreteObjectKeyFrame KeyTime="0"> |
616 |
<DiscreteObjectKeyFrame.Value>
|
617 |
<SolidColorBrush Color="#FF8D8D8D"/> |
618 |
</DiscreteObjectKeyFrame.Value>
|
619 |
</DiscreteObjectKeyFrame>
|
620 |
</ObjectAnimationUsingKeyFrames>
|
621 |
<ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="Fill" Storyboard.TargetName="BackgroundIcon"> |
622 |
<DiscreteObjectKeyFrame KeyTime="0"> |
623 |
<DiscreteObjectKeyFrame.Value>
|
624 |
<SolidColorBrush Color="White"/> |
625 |
</DiscreteObjectKeyFrame.Value>
|
626 |
</DiscreteObjectKeyFrame>
|
627 |
</ObjectAnimationUsingKeyFrames>
|
628 |
</Storyboard>
|
629 |
</VisualState>
|
630 |
<VisualState x:Name="Normal"/> |
631 |
<VisualState x:Name="MouseOver"> |
632 |
<Storyboard>
|
633 |
<ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="Fill" Storyboard.TargetName="ForegroundIcon"> |
634 |
<DiscreteObjectKeyFrame KeyTime="0"> |
635 |
<DiscreteObjectKeyFrame.Value>
|
636 |
<SolidColorBrush Color="Black"/> |
637 |
</DiscreteObjectKeyFrame.Value>
|
638 |
</DiscreteObjectKeyFrame>
|
639 |
</ObjectAnimationUsingKeyFrames>
|
640 |
<ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="Fill" Storyboard.TargetName="BackgroundIcon"> |
641 |
<DiscreteObjectKeyFrame KeyTime="0"> |
642 |
<DiscreteObjectKeyFrame.Value>
|
643 |
<SolidColorBrush Color="White"/> |
644 |
</DiscreteObjectKeyFrame.Value>
|
645 |
</DiscreteObjectKeyFrame>
|
646 |
</ObjectAnimationUsingKeyFrames>
|
647 |
</Storyboard>
|
648 |
</VisualState>
|
649 |
<VisualState x:Name="Pressed"> |
650 |
<Storyboard>
|
651 |
<ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="Fill" Storyboard.TargetName="ForegroundIcon"> |
652 |
<DiscreteObjectKeyFrame KeyTime="0"> |
653 |
<DiscreteObjectKeyFrame.Value>
|
654 |
<SolidColorBrush Color="Black"/> |
655 |
</DiscreteObjectKeyFrame.Value>
|
656 |
</DiscreteObjectKeyFrame>
|
657 |
</ObjectAnimationUsingKeyFrames>
|
658 |
<ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="Fill" Storyboard.TargetName="BackgroundIcon"> |
659 |
<DiscreteObjectKeyFrame KeyTime="0"> |
660 |
<DiscreteObjectKeyFrame.Value>
|
661 |
<SolidColorBrush Color="White"/> |
662 |
</DiscreteObjectKeyFrame.Value>
|
663 |
</DiscreteObjectKeyFrame>
|
664 |
</ObjectAnimationUsingKeyFrames>
|
665 |
</Storyboard>
|
666 |
</VisualState>
|
667 |
</VisualStateGroup>
|
668 |
</VisualStateManager.VisualStateGroups>
|
669 |
<Telerik_Windows_Controls_Chromes:ButtonChrome RenderNormal="False" RenderMouseOver="{TemplateBinding IsMouseOver}" RenderPressed="{TemplateBinding IsPressed}"> |
670 |
<telerik:StyleManager.Theme>
|
671 |
<telerik:Office_BlackTheme/> |
672 |
</telerik:StyleManager.Theme>
|
673 |
</Telerik_Windows_Controls_Chromes:ButtonChrome>
|
674 |
<Path x:Name="BackgroundIcon" Data="M6,0L6,7 5,7 5,6 4,6 4,5 3,5 3,4 2,4 2,3 3,3 3,2 4,2 4,1 5,1 5,0z" Fill="White" Height="7" Margin="0,2,0,0" Width="7"/> |
675 |
<Path x:Name="ForegroundIcon" Data="M6,0L6,7 5,7 5,6 4,6 4,5 3,5 3,4 2,4 2,3 3,3 3,2 4,2 4,1 5,1 5,0z" Fill="Black" Height="7" Margin="0,1" Width="7"/> |
676 |
</Grid>
|
677 |
</ControlTemplate>
|
678 |
</Setter.Value>
|
679 |
</Setter>
|
680 |
</Style>
|
681 |
</RepeatButton.Style>
|
682 |
</RepeatButton>
|
683 |
<ScrollViewer x:Name="ScrollViewerElement" Grid.Column="1" HorizontalScrollBarVisibility="{Binding (ScrollViewer.HorizontalScrollBarVisibility), RelativeSource={RelativeSource TemplatedParent}}" Margin="0,-2"> |
684 |
<ScrollViewer.Template>
|
685 |
<ControlTemplate TargetType="{x:Type ScrollViewer}"> |
686 |
<ScrollContentPresenter x:Name="ScrollContentPresenter" CanHorizontallyScroll="False" CanVerticallyScroll="False" ContentTemplate="{TemplateBinding ContentTemplate}" Content="{TemplateBinding Content}" Margin="0,0,1,0"/> |
687 |
</ControlTemplate>
|
688 |
</ScrollViewer.Template>
|
689 |
<ItemsPresenter x:Name="ItemsPresenterElement" Margin="0,2"/> |
690 |
</ScrollViewer>
|
691 |
<RepeatButton x:Name="RightScrollButtonElement" Grid.Column="2" Visibility="{Binding ComputedHorizontalScrollBarVisibility, ElementName=ScrollViewerElement}"> |
692 |
<RepeatButton.Style>
|
693 |
<Style TargetType="{x:Type RepeatButton}"> |
694 |
<Setter Property="Width" Value="17"/> |
695 |
<Setter Property="Height" Value="17"/> |
696 |
<Setter Property="Margin" Value="1"/> |
697 |
<Setter Property="IsTabStop" Value="False"/> |
698 |
<Setter Property="SnapsToDevicePixels" Value="True"/> |
699 |
<Setter Property="Template"> |
700 |
<Setter.Value>
|
701 |
<ControlTemplate TargetType="{x:Type RepeatButton}"> |
702 |
<Grid x:Name="LayoutRoot"> |
703 |
<VisualStateManager.VisualStateGroups>
|
704 |
<VisualStateGroup x:Name="CommonStates"> |
705 |
<VisualState x:Name="Disabled"> |
706 |
<Storyboard>
|
707 |
<ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="Fill" Storyboard.TargetName="ForegroundIcon"> |
708 |
<DiscreteObjectKeyFrame KeyTime="0"> |
709 |
<DiscreteObjectKeyFrame.Value>
|
710 |
<SolidColorBrush Color="#FF8D8D8D"/> |
711 |
</DiscreteObjectKeyFrame.Value>
|
712 |
</DiscreteObjectKeyFrame>
|
713 |
</ObjectAnimationUsingKeyFrames>
|
714 |
<ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="Fill" Storyboard.TargetName="BackgroundIcon"> |
715 |
<DiscreteObjectKeyFrame KeyTime="0"> |
716 |
<DiscreteObjectKeyFrame.Value>
|
717 |
<SolidColorBrush Color="White"/> |
718 |
</DiscreteObjectKeyFrame.Value>
|
719 |
</DiscreteObjectKeyFrame>
|
720 |
</ObjectAnimationUsingKeyFrames>
|
721 |
</Storyboard>
|
722 |
</VisualState>
|
723 |
<VisualState x:Name="Normal"/> |
724 |
<VisualState x:Name="MouseOver"> |
725 |
<Storyboard>
|
726 |
<ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="Fill" Storyboard.TargetName="ForegroundIcon"> |
727 |
<DiscreteObjectKeyFrame KeyTime="0"> |
728 |
<DiscreteObjectKeyFrame.Value>
|
729 |
<SolidColorBrush Color="Black"/> |
730 |
</DiscreteObjectKeyFrame.Value>
|
731 |
</DiscreteObjectKeyFrame>
|
732 |
</ObjectAnimationUsingKeyFrames>
|
733 |
<ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="Fill" Storyboard.TargetName="BackgroundIcon"> |
734 |
<DiscreteObjectKeyFrame KeyTime="0"> |
735 |
<DiscreteObjectKeyFrame.Value>
|
736 |
<SolidColorBrush Color="White"/> |
737 |
</DiscreteObjectKeyFrame.Value>
|
738 |
</DiscreteObjectKeyFrame>
|
739 |
</ObjectAnimationUsingKeyFrames>
|
740 |
</Storyboard>
|
741 |
</VisualState>
|
742 |
<VisualState x:Name="Pressed"> |
743 |
<Storyboard>
|
744 |
<ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="Fill" Storyboard.TargetName="ForegroundIcon"> |
745 |
<DiscreteObjectKeyFrame KeyTime="0"> |
746 |
<DiscreteObjectKeyFrame.Value>
|
747 |
<SolidColorBrush Color="Black"/> |
748 |
</DiscreteObjectKeyFrame.Value>
|
749 |
</DiscreteObjectKeyFrame>
|
750 |
</ObjectAnimationUsingKeyFrames>
|
751 |
<ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="Fill" Storyboard.TargetName="BackgroundIcon"> |
752 |
<DiscreteObjectKeyFrame KeyTime="0"> |
753 |
<DiscreteObjectKeyFrame.Value>
|
754 |
<SolidColorBrush Color="White"/> |
755 |
</DiscreteObjectKeyFrame.Value>
|
756 |
</DiscreteObjectKeyFrame>
|
757 |
</ObjectAnimationUsingKeyFrames>
|
758 |
</Storyboard>
|
759 |
</VisualState>
|
760 |
</VisualStateGroup>
|
761 |
</VisualStateManager.VisualStateGroups>
|
762 |
<Telerik_Windows_Controls_Chromes:ButtonChrome RenderNormal="False" RenderMouseOver="{TemplateBinding IsMouseOver}" RenderPressed="{TemplateBinding IsPressed}"> |
763 |
<telerik:StyleManager.Theme>
|
764 |
<telerik:Office_BlackTheme/> |
765 |
</telerik:StyleManager.Theme>
|
766 |
</Telerik_Windows_Controls_Chromes:ButtonChrome>
|
767 |
<Path x:Name="BackgroundIcon" Data="M1,0L1,7 2,7 2,6 3,6 3,5 4,5 4,4 5,4 5,3 4,3 4,2 3,2 3,1 2,1 2,0z" Fill="White" Height="7" Margin="0,2,0,0" Width="7"/> |
768 |
<Path x:Name="ForegroundIcon" Data="M1,0L1,7 2,7 2,6 3,6 3,5 4,5 4,4 5,4 5,3 4,3 4,2 3,2 3,1 2,1 2,0z" Fill="Black" Height="7" Margin="0,1" Width="7"/> |
769 |
</Grid>
|
770 |
</ControlTemplate>
|
771 |
</Setter.Value>
|
772 |
</Setter>
|
773 |
</Style>
|
774 |
</RepeatButton.Style>
|
775 |
</RepeatButton>
|
776 |
<ToggleButton x:Name="DropDownButtonElement" Grid.Column="3" IsChecked="{Binding IsDropDownOpen, Mode=TwoWay, RelativeSource={RelativeSource TemplatedParent}}" Visibility="Collapsed"> |
777 |
<telerik:RadContextMenu.ContextMenu>
|
778 |
<Telerik_Windows_Controls_TabControl:DropDownMenu x:Name="DropDownMenuElement" ClickToOpen="True" DisplayMemberPath="{TemplateBinding DropDownDisplayMemberPath}" ItemTemplate="{TemplateBinding ItemDropDownContentTemplate}" Placement="Bottom" Style="{TemplateBinding DropDownStyle}" StaysOpen="False"/> |
779 |
</telerik:RadContextMenu.ContextMenu>
|
780 |
<ToggleButton.Style>
|
781 |
<Style TargetType="{x:Type ToggleButton}"> |
782 |
<Setter Property="Width" Value="17"/> |
783 |
<Setter Property="Height" Value="17"/> |
784 |
<Setter Property="Margin" Value="1"/> |
785 |
<Setter Property="Template"> |
786 |
<Setter.Value>
|
787 |
<ControlTemplate TargetType="{x:Type ToggleButton}"> |
788 |
<Grid>
|
789 |
<VisualStateManager.VisualStateGroups>
|
790 |
<VisualStateGroup x:Name="CommonStates"> |
791 |
<VisualState x:Name="Disabled"> |
792 |
<Storyboard>
|
793 |
<ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="Fill" Storyboard.TargetName="ForegroundIcon"> |
794 |
<DiscreteObjectKeyFrame KeyTime="0"> |
795 |
<DiscreteObjectKeyFrame.Value>
|
796 |
<SolidColorBrush Color="#FF8D8D8D"/> |
797 |
</DiscreteObjectKeyFrame.Value>
|
798 |
</DiscreteObjectKeyFrame>
|
799 |
</ObjectAnimationUsingKeyFrames>
|
800 |
<ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="Fill" Storyboard.TargetName="BackgroundIcon"> |
801 |
<DiscreteObjectKeyFrame KeyTime="0"> |
802 |
<DiscreteObjectKeyFrame.Value>
|
803 |
<SolidColorBrush Color="White"/> |
804 |
</DiscreteObjectKeyFrame.Value>
|
805 |
</DiscreteObjectKeyFrame>
|
806 |
</ObjectAnimationUsingKeyFrames>
|
807 |
</Storyboard>
|
808 |
</VisualState>
|
809 |
<VisualState x:Name="Normal"/> |
810 |
<VisualState x:Name="MouseOver"> |
811 |
<Storyboard>
|
812 |
<ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="Fill" Storyboard.TargetName="ForegroundIcon"> |
813 |
<DiscreteObjectKeyFrame KeyTime="0"> |
814 |
<DiscreteObjectKeyFrame.Value>
|
815 |
<SolidColorBrush Color="Black"/> |
816 |
</DiscreteObjectKeyFrame.Value>
|
817 |
</DiscreteObjectKeyFrame>
|
818 |
</ObjectAnimationUsingKeyFrames>
|
819 |
<ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="Fill" Storyboard.TargetName="BackgroundIcon"> |
820 |
<DiscreteObjectKeyFrame KeyTime="0"> |
821 |
<DiscreteObjectKeyFrame.Value>
|
822 |
<SolidColorBrush Color="White"/> |
823 |
</DiscreteObjectKeyFrame.Value>
|
824 |
</DiscreteObjectKeyFrame>
|
825 |
</ObjectAnimationUsingKeyFrames>
|
826 |
</Storyboard>
|
827 |
</VisualState>
|
828 |
<VisualState x:Name="Pressed"> |
829 |
<Storyboard>
|
830 |
<ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="Fill" Storyboard.TargetName="ForegroundIcon"> |
831 |
<DiscreteObjectKeyFrame KeyTime="0"> |
832 |
<DiscreteObjectKeyFrame.Value>
|
833 |
<SolidColorBrush Color="Black"/> |
834 |
</DiscreteObjectKeyFrame.Value>
|
835 |
</DiscreteObjectKeyFrame>
|
836 |
</ObjectAnimationUsingKeyFrames>
|
837 |
<ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="Fill" Storyboard.TargetName="BackgroundIcon"> |
838 |
<DiscreteObjectKeyFrame KeyTime="0"> |
839 |
<DiscreteObjectKeyFrame.Value>
|
840 |
<SolidColorBrush Color="White"/> |
841 |
</DiscreteObjectKeyFrame.Value>
|
842 |
</DiscreteObjectKeyFrame>
|
843 |
</ObjectAnimationUsingKeyFrames>
|
844 |
</Storyboard>
|
845 |
</VisualState>
|
846 |
</VisualStateGroup>
|
847 |
</VisualStateManager.VisualStateGroups>
|
848 |
<Telerik_Windows_Controls_Chromes:ButtonChrome RenderNormal="False" RenderMouseOver="{TemplateBinding IsMouseOver}" RenderPressed="{TemplateBinding IsPressed}" RenderChecked="{TemplateBinding IsChecked}"> |
849 |
<telerik:StyleManager.Theme>
|
850 |
<telerik:Office_BlackTheme/> |
851 |
</telerik:StyleManager.Theme>
|
852 |
</Telerik_Windows_Controls_Chromes:ButtonChrome>
|
853 |
<Path x:Name="BackgroundIcon" Data="M0,2L7,2 7,3 6,3 6,4 5,4 5,5 4,5 4,6 3,6 3,5 2,5 2,4 1,4 1,3 0,3z M0,0L7,0 7,1 0,1z" Fill="White" Height="7" Margin="0,2,0,0" Width="7"/> |
854 |
<Path x:Name="ForegroundIcon" Data="M0,2L7,2 7,3 6,3 6,4 5,4 5,5 4,5 4,6 3,6 3,5 2,5 2,4 1,4 1,3 0,3z M0,0L7,0 7,1 0,1z" Fill="Black" Height="7" Margin="0,1" Width="7"/> |
855 |
</Grid>
|
856 |
</ControlTemplate>
|
857 |
</Setter.Value>
|
858 |
</Setter>
|
859 |
</Style>
|
860 |
</ToggleButton.Style>
|
861 |
</ToggleButton>
|
862 |
<telerik:RadButton x:Name="CloseButton" Grid.Column="4" Command="telerik:RadDockingCommands.Close" InnerCornerRadius="0"> |
863 |
<telerik:RadButton.Style>
|
864 |
<Style TargetType="{x:Type telerik:RadButton}"> |
865 |
<Setter Property="Width" Value="17"/> |
866 |
<Setter Property="Height" Value="17"/> |
867 |
<Setter Property="Margin" Value="1"/> |
868 |
<Setter Property="IsTabStop" Value="False"/> |
869 |
<Setter Property="SnapsToDevicePixels" Value="True"/> |
870 |
<Setter Property="Template"> |
871 |
<Setter.Value>
|
872 |
<ControlTemplate TargetType="{x:Type telerik:RadButton}"> |
873 |
<Grid x:Name="LayoutRoot"> |
874 |
<VisualStateManager.VisualStateGroups>
|
875 |
<VisualStateGroup x:Name="CommonStates"> |
876 |
<VisualState x:Name="Disabled"> |
877 |
<Storyboard>
|
878 |
<ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="Fill" Storyboard.TargetName="ForegroundIcon"> |
879 |
<DiscreteObjectKeyFrame KeyTime="0"> |
880 |
<DiscreteObjectKeyFrame.Value>
|
881 |
<SolidColorBrush Color="#FF8D8D8D"/> |
882 |
</DiscreteObjectKeyFrame.Value>
|
883 |
</DiscreteObjectKeyFrame>
|
884 |
</ObjectAnimationUsingKeyFrames>
|
885 |
<ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="Fill" Storyboard.TargetName="BackgroundIcon"> |
886 |
<DiscreteObjectKeyFrame KeyTime="0"> |
887 |
<DiscreteObjectKeyFrame.Value>
|
888 |
<SolidColorBrush Color="White"/> |
889 |
</DiscreteObjectKeyFrame.Value>
|
890 |
</DiscreteObjectKeyFrame>
|
891 |
</ObjectAnimationUsingKeyFrames>
|
892 |
</Storyboard>
|
893 |
</VisualState>
|
894 |
<VisualState x:Name="Normal"/> |
895 |
<VisualState x:Name="MouseOver"> |
896 |
<Storyboard>
|
897 |
<ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="Fill" Storyboard.TargetName="ForegroundIcon"> |
898 |
<DiscreteObjectKeyFrame KeyTime="0"> |
899 |
<DiscreteObjectKeyFrame.Value>
|
900 |
<SolidColorBrush Color="Black"/> |
901 |
</DiscreteObjectKeyFrame.Value>
|
902 |
</DiscreteObjectKeyFrame>
|
903 |
</ObjectAnimationUsingKeyFrames>
|
904 |
<ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="Fill" Storyboard.TargetName="BackgroundIcon"> |
905 |
<DiscreteObjectKeyFrame KeyTime="0"> |
906 |
<DiscreteObjectKeyFrame.Value>
|
907 |
<SolidColorBrush Color="White"/> |
908 |
</DiscreteObjectKeyFrame.Value>
|
909 |
</DiscreteObjectKeyFrame>
|
910 |
</ObjectAnimationUsingKeyFrames>
|
911 |
</Storyboard>
|
912 |
</VisualState>
|
913 |
<VisualState x:Name="Pressed"> |
914 |
<Storyboard>
|
915 |
<ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="Fill" Storyboard.TargetName="ForegroundIcon"> |
916 |
<DiscreteObjectKeyFrame KeyTime="0"> |
917 |
<DiscreteObjectKeyFrame.Value>
|
918 |
<SolidColorBrush Color="Black"/> |
919 |
</DiscreteObjectKeyFrame.Value>
|
920 |
</DiscreteObjectKeyFrame>
|
921 |
</ObjectAnimationUsingKeyFrames>
|
922 |
<ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="Fill" Storyboard.TargetName="BackgroundIcon"> |
923 |
<DiscreteObjectKeyFrame KeyTime="0"> |
924 |
<DiscreteObjectKeyFrame.Value>
|
925 |
<SolidColorBrush Color="White"/> |
926 |
</DiscreteObjectKeyFrame.Value>
|
927 |
</DiscreteObjectKeyFrame>
|
928 |
</ObjectAnimationUsingKeyFrames>
|
929 |
</Storyboard>
|
930 |
</VisualState>
|
931 |
</VisualStateGroup>
|
932 |
</VisualStateManager.VisualStateGroups>
|
933 |
<Telerik_Windows_Controls_Chromes:ButtonChrome RenderNormal="False" RenderMouseOver="{TemplateBinding IsMouseOver}" RenderPressed="{TemplateBinding IsPressed}"> |
934 |
<telerik:StyleManager.Theme>
|
935 |
<telerik:Office_BlackTheme/> |
936 |
</telerik:StyleManager.Theme>
|
937 |
</Telerik_Windows_Controls_Chromes:ButtonChrome>
|
938 |
<Path x:Name="BackgroundIcon" Data="M0,0L2,0 2,1 3,1 3,2 5,2 5,1 6,1 6,0 8,0 8,1 7,1 7,2 6,2 6,3 5,3 5,4 6,4 6,5 6,5 7,5 7,6 8,6 8,7 6,7 6,6 5,6 5,5 3,5 3,6 2,6 2,7 0,7 0,6 1,6 1,5 2,5 2,4 3,4 3,3 2,3 2,2 1,2 1,1 0,1z" Fill="White" Height="7" Margin="0,2,0,0" Width="8"/> |
939 |
<Path x:Name="ForegroundIcon" Data="M0,0L2,0 2,1 3,1 3,2 5,2 5,1 6,1 6,0 8,0 8,1 7,1 7,2 6,2 6,3 5,3 5,4 6,4 6,5 6,5 7,5 7,6 8,6 8,7 6,7 6,6 5,6 5,5 3,5 3,6 2,6 2,7 0,7 0,6 1,6 1,5 2,5 2,4 3,4 3,3 2,3 2,2 1,2 1,1 0,1z" Fill="Black" Height="7" Margin="0,1" Width="8"/> |
940 |
</Grid>
|
941 |
</ControlTemplate>
|
942 |
</Setter.Value>
|
943 |
</Setter>
|
944 |
</Style>
|
945 |
</telerik:RadButton.Style>
|
946 |
<telerik:RadButton.Visibility>
|
947 |
<Binding Path="IsEnabled" RelativeSource="{RelativeSource Self}"> |
948 |
<Binding.Converter>
|
949 |
<telerik:BooleanToVisibilityConverter/> |
950 |
</Binding.Converter>
|
951 |
</Binding>
|
952 |
</telerik:RadButton.Visibility>
|
953 |
</telerik:RadButton>
|
954 |
</Grid>
|
955 |
<telerik:RadGridResizer x:Name="DockResizer" Cursor="SizeWE" HorizontalAlignment="Left" Placement="Left" Grid.RowSpan="2" ShowsPreview="True" Visibility="Collapsed" VerticalAlignment="Stretch"/> |
956 |
</Grid>
|
957 |
</ControlTemplate>
|
958 |
</Setter.Value>
|
959 |
</Setter>
|
960 |
<!--<Setter Property="DocumentHostTemplate">
|
961 |
<Setter.Value>
|
962 |
<ControlTemplate TargetType="{x:Type telerik:RadPaneGroup}">
|
963 |
<Grid Margin="0,0,0,0">
|
964 |
<Grid.RowDefinitions>
|
965 |
<RowDefinition Height="Auto"/>
|
966 |
<RowDefinition Height="*"/>
|
967 |
</Grid.RowDefinitions>
|
968 |
<VisualStateManager.VisualStateGroups>
|
969 |
<VisualStateGroup x:Name="CommonStates">
|
970 |
<VisualState x:Name="Disabled"/>
|
971 |
<VisualState x:Name="Normal"/>
|
972 |
</VisualStateGroup>
|
973 |
<VisualStateGroup x:Name="DropDownDisplayStates">
|
974 |
<VisualState x:Name="DropDownButtonCollapsed">
|
975 |
<Storyboard>
|
976 |
<ObjectAnimationUsingKeyFrames Duration="0" Storyboard.TargetProperty="Visibility" Storyboard.TargetName="DropDownButtonElement">
|
977 |
<DiscreteObjectKeyFrame KeyTime="0">
|
978 |
<DiscreteObjectKeyFrame.Value>
|
979 |
<Visibility>Collapsed</Visibility>
|
980 |
</DiscreteObjectKeyFrame.Value>
|
981 |
</DiscreteObjectKeyFrame>
|
982 |
</ObjectAnimationUsingKeyFrames>
|
983 |
</Storyboard>
|
984 |
</VisualState>
|
985 |
<VisualState x:Name="DropDownButtonVisible">
|
986 |
<Storyboard>
|
987 |
<ObjectAnimationUsingKeyFrames Duration="0" Storyboard.TargetProperty="Visibility" Storyboard.TargetName="DropDownButtonElement">
|
988 |
<DiscreteObjectKeyFrame KeyTime="0">
|
989 |
<DiscreteObjectKeyFrame.Value>
|
990 |
<Visibility>Visible</Visibility>
|
991 |
</DiscreteObjectKeyFrame.Value>
|
992 |
</DiscreteObjectKeyFrame>
|
993 |
</ObjectAnimationUsingKeyFrames>
|
994 |
</Storyboard>
|
995 |
</VisualState>
|
996 |
</VisualStateGroup>
|
997 |
<VisualStateGroup x:Name="ResizerStates">
|
998 |
<VisualState x:Name="ResizerLeft">
|
999 |
<Storyboard>
|
1000 |
<ObjectAnimationUsingKeyFrames Duration="0" Storyboard.TargetProperty="Visibility" Storyboard.TargetName="DockResizer">
|
1001 |
<DiscreteObjectKeyFrame KeyTime="0">
|
1002 |
<DiscreteObjectKeyFrame.Value>
|
1003 |
<Visibility>Visible</Visibility>
|
1004 |
</DiscreteObjectKeyFrame.Value>
|
1005 |
</DiscreteObjectKeyFrame>
|
1006 |
</ObjectAnimationUsingKeyFrames>
|
1007 |
<ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="Width" Storyboard.TargetName="DockResizer">
|
1008 |
<DiscreteObjectKeyFrame KeyTime="0">
|
1009 |
<DiscreteObjectKeyFrame.Value>
|
1010 |
<System:Double>4</System:Double>
|
1011 |
</DiscreteObjectKeyFrame.Value>
|
1012 |
</DiscreteObjectKeyFrame>
|
1013 |
</ObjectAnimationUsingKeyFrames>
|
1014 |
<ObjectAnimationUsingKeyFrames Duration="0" Storyboard.TargetProperty="Margin" Storyboard.TargetName="ItemsPresenterElement">
|
1015 |
<DiscreteObjectKeyFrame KeyTime="0">
|
1016 |
<DiscreteObjectKeyFrame.Value>
|
1017 |
<Thickness>4,2,0,2</Thickness>
|
1018 |
</DiscreteObjectKeyFrame.Value>
|
1019 |
</DiscreteObjectKeyFrame>
|
1020 |
</ObjectAnimationUsingKeyFrames>
|
1021 |
<ObjectAnimationUsingKeyFrames Duration="0" Storyboard.TargetProperty="Margin" Storyboard.TargetName="ContentBackground">
|
1022 |
<DiscreteObjectKeyFrame KeyTime="0">
|
1023 |
<DiscreteObjectKeyFrame.Value>
|
1024 |
<Thickness>4,0,0,0</Thickness>
|
1025 |
</DiscreteObjectKeyFrame.Value>
|
1026 |
</DiscreteObjectKeyFrame>
|
1027 |
</ObjectAnimationUsingKeyFrames>
|
1028 |
</Storyboard>
|
1029 |
</VisualState>
|
1030 |
<VisualState x:Name="ResizerTop">
|
1031 |
<Storyboard>
|
1032 |
<ObjectAnimationUsingKeyFrames Duration="0" Storyboard.TargetProperty="Visibility" Storyboard.TargetName="DockResizer">
|
1033 |
<DiscreteObjectKeyFrame KeyTime="0">
|
1034 |
<DiscreteObjectKeyFrame.Value>
|
1035 |
<Visibility>Visible</Visibility>
|
1036 |
</DiscreteObjectKeyFrame.Value>
|
1037 |
</DiscreteObjectKeyFrame>
|
1038 |
</ObjectAnimationUsingKeyFrames>
|
1039 |
<ObjectAnimationUsingKeyFrames Duration="0" Storyboard.TargetProperty="VerticalAlignment" Storyboard.TargetName="DockResizer">
|
1040 |
<DiscreteObjectKeyFrame KeyTime="0">
|
1041 |
<DiscreteObjectKeyFrame.Value>
|
1042 |
<VerticalAlignment>Top</VerticalAlignment>
|
1043 |
</DiscreteObjectKeyFrame.Value>
|
1044 |
</DiscreteObjectKeyFrame>
|
1045 |
</ObjectAnimationUsingKeyFrames>
|
1046 |
<ObjectAnimationUsingKeyFrames Duration="0" Storyboard.TargetProperty="HorizontalAlignment" Storyboard.TargetName="DockResizer">
|
1047 |
<DiscreteObjectKeyFrame KeyTime="0">
|
1048 |
<DiscreteObjectKeyFrame.Value>
|
1049 |
<HorizontalAlignment>Stretch</HorizontalAlignment>
|
1050 |
</DiscreteObjectKeyFrame.Value>
|
1051 |
</DiscreteObjectKeyFrame>
|
1052 |
</ObjectAnimationUsingKeyFrames>
|
1053 |
<ObjectAnimationUsingKeyFrames Duration="0" Storyboard.TargetProperty="Placement" Storyboard.TargetName="DockResizer">
|
1054 |
<DiscreteObjectKeyFrame KeyTime="0">
|
1055 |
<DiscreteObjectKeyFrame.Value>
|
1056 |
<Dock>Top</Dock>
|
1057 |
</DiscreteObjectKeyFrame.Value>
|
1058 |
</DiscreteObjectKeyFrame>
|
1059 |
</ObjectAnimationUsingKeyFrames>
|
1060 |
<ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="Height" Storyboard.TargetName="DockResizer">
|
1061 |
<DiscreteObjectKeyFrame KeyTime="0">
|
1062 |
<DiscreteObjectKeyFrame.Value>
|
1063 |
<System:Double>4</System:Double>
|
1064 |
</DiscreteObjectKeyFrame.Value>
|
1065 |
</DiscreteObjectKeyFrame>
|
1066 |
</ObjectAnimationUsingKeyFrames>
|
1067 |
<ObjectAnimationUsingKeyFrames Duration="0" Storyboard.TargetProperty="(Grid.RowSpan)" Storyboard.TargetName="DockResizer">
|
1068 |
<DiscreteObjectKeyFrame KeyTime="0">
|
1069 |
<DiscreteObjectKeyFrame.Value>
|
1070 |
<System:Int32>1</System:Int32>
|
1071 |
</DiscreteObjectKeyFrame.Value>
|
1072 |
</DiscreteObjectKeyFrame>
|
1073 |
</ObjectAnimationUsingKeyFrames>
|
1074 |
<ObjectAnimationUsingKeyFrames Duration="0" Storyboard.TargetProperty="(Grid.Row)" Storyboard.TargetName="DockResizer">
|
1075 |
<DiscreteObjectKeyFrame KeyTime="0">
|
1076 |
<DiscreteObjectKeyFrame.Value>
|
1077 |
<System:Int32>0</System:Int32>
|
1078 |
</DiscreteObjectKeyFrame.Value>
|
1079 |
</DiscreteObjectKeyFrame>
|
1080 |
</ObjectAnimationUsingKeyFrames>
|
1081 |
<ObjectAnimationUsingKeyFrames Duration="0" Storyboard.TargetProperty="Margin" Storyboard.TargetName="Header">
|
1082 |
<DiscreteObjectKeyFrame KeyTime="0">
|
1083 |
<DiscreteObjectKeyFrame.Value>
|
1084 |
<Thickness>0,4,0,0</Thickness>
|
1085 |
</DiscreteObjectKeyFrame.Value>
|
1086 |
</DiscreteObjectKeyFrame>
|
1087 |
</ObjectAnimationUsingKeyFrames>
|
1088 |
</Storyboard>
|
1089 |
</VisualState>
|
1090 |
<VisualState x:Name="HideResizer"/>
|
1091 |
</VisualStateGroup>
|
1092 |
</VisualStateManager.VisualStateGroups>
|
1093 |
--><!--<ContentControl x:Name="ContentBackground" BorderBrush="{TemplateBinding BorderBrush}" BorderThickness="{TemplateBinding BorderThickness}" Background="{TemplateBinding Background}" Grid.Row="1">--><!-- |
1094 |
<ContentControl x:Name="ContentBackground" BorderBrush="{TemplateBinding BorderBrush}" BorderThickness="{TemplateBinding BorderThickness}" Background="{TemplateBinding Background}" Grid.Row="1">
|
1095 |
<ContentControl.Style>
|
1096 |
<Style TargetType="{x:Type ContentControl}">
|
1097 |
<Setter Property="Template">
|
1098 |
<Setter.Value>
|
1099 |
<ControlTemplate TargetType="{x:Type ContentControl}">
|
1100 |
--><!--<Border x:Name="Root" BorderBrush="{TemplateBinding BorderBrush}" BorderThickness="{TemplateBinding BorderThickness}" Background="{TemplateBinding Background}" CornerRadius="0,2,2,2">--><!-- |
1101 |
<Border x:Name="Root" BorderThickness="0">
|
1102 |
--><!--<Border x:Name="BorderLayer3" BorderBrush="White" BorderThickness="2" CornerRadius="0,1,1,1"> |
1103 |
<Border x:Name="BorderLayer2" BorderBrush="#FFF0F0F0" BorderThickness="2" CornerRadius="0">
|
1104 |
<Border x:Name="BorderLayer1" BorderBrush="#FF848484" BorderThickness="1" CornerRadius="0">
|
1105 |
<ContentPresenter ContentTemplate="{TemplateBinding ContentTemplate}" Content="{TemplateBinding Content}" ContentStringFormat="{TemplateBinding ContentStringFormat}"/>
|
1106 |
</Border>
|
1107 |
</Border>
|
1108 |
</Border>--><!-- |
1109 |
<Border x:Name="BorderLayer3" BorderBrush="White" BorderThickness="0" CornerRadius="0,1,1,1">
|
1110 |
<Border x:Name="BorderLayer2" BorderBrush="{TemplateBinding BorderBrush}" BorderThickness="0" CornerRadius="0">
|
1111 |
<Border x:Name="BorderLayer1" BorderBrush="#ffcccedb" BorderThickness="1.5" CornerRadius="0" Margin="0,1,0,0">
|
1112 |
<ContentPresenter ContentTemplate="{TemplateBinding ContentTemplate}" Content="{TemplateBinding Content}" ContentStringFormat="{TemplateBinding ContentStringFormat}"/>
|
1113 |
</Border>
|
1114 |
</Border>
|
1115 |
</Border>
|
1116 |
--><!--<Border x:Name="BorderLayer3" BorderBrush="White" BorderThickness="2" CornerRadius="0,1,1,1"> |
1117 |
<Border x:Name="BorderLayer2" BorderBrush="#FFF0F0F0" BorderThickness="2" CornerRadius="0">
|
1118 |
<ContentPresenter ContentTemplate="{TemplateBinding ContentTemplate}" Content="{TemplateBinding Content}" ContentStringFormat="{TemplateBinding ContentStringFormat}"/>
|
1119 |
</Border>
|
1120 |
</Border>-->
|
1121 |
<!--<Border x:Name="BorderLayer3" BorderBrush="{TemplateBinding BorderBrush}" BorderThickness="0" CornerRadius="0,1,1,1"> --><!--조장원--><!-- |
1122 |
<Border x:Name="BorderLayer2" BorderBrush="#ffcccedb" BorderThickness="1.5,1.5,1.5,1" CornerRadius="0">
|
1123 |
<ContentPresenter ContentTemplate="{TemplateBinding ContentTemplate}" Content="{TemplateBinding Content}" ContentStringFormat="{TemplateBinding ContentStringFormat}"/>
|
1124 |
</Border>
|
1125 |
</Border>--><!-- |
1126 |
</Border>
|
1127 |
</ControlTemplate>
|
1128 |
</Setter.Value>
|
1129 |
</Setter>
|
1130 |
</Style>
|
1131 |
</ContentControl.Style>
|
1132 |
<Grid>
|
1133 |
<ContentPresenter x:Name="ContentElement" ContentTemplate="{TemplateBinding SelectedContentTemplate}">
|
1134 |
<ContentPresenter.Visibility>
|
1135 |
<Binding Path="IsContentPreserved" RelativeSource="{RelativeSource TemplatedParent}">
|
1136 |
<Binding.Converter>
|
1137 |
<telerik:InvertedBooleanToVisibilityConverter/>
|
1138 |
</Binding.Converter>
|
1139 |
</Binding>
|
1140 |
</ContentPresenter.Visibility>
|
1141 |
</ContentPresenter>
|
1142 |
<Grid x:Name="ContentElementsPanel">
|
1143 |
<Grid.Visibility>
|
1144 |
<Binding Path="IsContentPreserved" RelativeSource="{RelativeSource TemplatedParent}">
|
1145 |
<Binding.Converter>
|
1146 |
<telerik:BooleanToVisibilityConverter/>
|
1147 |
</Binding.Converter>
|
1148 |
</Binding>
|
1149 |
</Grid.Visibility>
|
1150 |
</Grid>
|
1151 |
</Grid>
|
1152 |
</ContentControl>
|
1153 |
<Grid x:Name="Header" Grid.Row="0">
|
1154 |
<Grid.ColumnDefinitions>
|
1155 |
<ColumnDefinition Width="Auto"/>
|
1156 |
<ColumnDefinition Width="*"/>
|
1157 |
<ColumnDefinition Width="Auto"/>
|
1158 |
<ColumnDefinition Width="Auto"/>
|
1159 |
<ColumnDefinition Width="Auto"/>
|
1160 |
</Grid.ColumnDefinitions>
|
1161 |
<RepeatButton x:Name="LeftScrollButtonElement" Grid.Column="0" Visibility="{Binding ComputedHorizontalScrollBarVisibility, ElementName=ScrollViewerElement}">
|
1162 |
<RepeatButton.Style>
|
1163 |
<Style TargetType="{x:Type RepeatButton}">
|
1164 |
<Setter Property="Width" Value="17"/>
|
1165 |
<Setter Property="Height" Value="17"/>
|
1166 |
<Setter Property="Margin" Value="1"/>
|
1167 |
<Setter Property="IsTabStop" Value="False"/>
|
1168 |
<Setter Property="SnapsToDevicePixels" Value="True"/>
|
1169 |
<Setter Property="Template">
|
1170 |
<Setter.Value>
|
1171 |
<ControlTemplate TargetType="{x:Type RepeatButton}">
|
1172 |
<Grid x:Name="LayoutRoot">
|
1173 |
<VisualStateManager.VisualStateGroups>
|
1174 |
<VisualStateGroup x:Name="CommonStates">
|
1175 |
<VisualState x:Name="Disabled">
|
1176 |
<Storyboard>
|
1177 |
<ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="Fill" Storyboard.TargetName="ForegroundIcon">
|
1178 |
<DiscreteObjectKeyFrame KeyTime="0">
|
1179 |
<DiscreteObjectKeyFrame.Value>
|
1180 |
<SolidColorBrush Color="#FF8D8D8D"/>
|
1181 |
</DiscreteObjectKeyFrame.Value>
|
1182 |
</DiscreteObjectKeyFrame>
|
1183 |
</ObjectAnimationUsingKeyFrames>
|
1184 |
<ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="Fill" Storyboard.TargetName="BackgroundIcon">
|
1185 |
<DiscreteObjectKeyFrame KeyTime="0">
|
1186 |
<DiscreteObjectKeyFrame.Value>
|
1187 |
<SolidColorBrush Color="White"/>
|
1188 |
</DiscreteObjectKeyFrame.Value>
|
1189 |
</DiscreteObjectKeyFrame>
|
1190 |
</ObjectAnimationUsingKeyFrames>
|
1191 |
</Storyboard>
|
1192 |
</VisualState>
|
1193 |
<VisualState x:Name="Normal"/>
|
1194 |
<VisualState x:Name="MouseOver">
|
1195 |
<Storyboard>
|
1196 |
<ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="Fill" Storyboard.TargetName="ForegroundIcon">
|
1197 |
<DiscreteObjectKeyFrame KeyTime="0">
|
1198 |
<DiscreteObjectKeyFrame.Value>
|
1199 |
<SolidColorBrush Color="Black"/>
|
1200 |
</DiscreteObjectKeyFrame.Value>
|
1201 |
</DiscreteObjectKeyFrame>
|
1202 |
</ObjectAnimationUsingKeyFrames>
|
1203 |
<ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="Fill" Storyboard.TargetName="BackgroundIcon">
|
1204 |
<DiscreteObjectKeyFrame KeyTime="0">
|
1205 |
<DiscreteObjectKeyFrame.Value>
|
1206 |
<SolidColorBrush Color="White"/>
|
1207 |
</DiscreteObjectKeyFrame.Value>
|
1208 |
</DiscreteObjectKeyFrame>
|
1209 |
</ObjectAnimationUsingKeyFrames>
|
1210 |
</Storyboard>
|
1211 |
</VisualState>
|
1212 |
<VisualState x:Name="Pressed">
|
1213 |
<Storyboard>
|
1214 |
<ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="Fill" Storyboard.TargetName="ForegroundIcon">
|
1215 |
<DiscreteObjectKeyFrame KeyTime="0">
|
1216 |
<DiscreteObjectKeyFrame.Value>
|
1217 |
<SolidColorBrush Color="Black"/>
|
1218 |
</DiscreteObjectKeyFrame.Value>
|
1219 |
</DiscreteObjectKeyFrame>
|
1220 |
</ObjectAnimationUsingKeyFrames>
|
1221 |
<ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="Fill" Storyboard.TargetName="BackgroundIcon">
|
1222 |
<DiscreteObjectKeyFrame KeyTime="0">
|
1223 |
<DiscreteObjectKeyFrame.Value>
|
1224 |
<SolidColorBrush Color="White"/>
|
1225 |
</DiscreteObjectKeyFrame.Value>
|
1226 |
</DiscreteObjectKeyFrame>
|
1227 |
</ObjectAnimationUsingKeyFrames>
|
1228 |
</Storyboard>
|
1229 |
</VisualState>
|
1230 |
</VisualStateGroup>
|
1231 |
</VisualStateManager.VisualStateGroups>
|
1232 |
<Telerik_Windows_Controls_Chromes:ButtonChrome RenderNormal="False" RenderMouseOver="{TemplateBinding IsMouseOver}" RenderPressed="{TemplateBinding IsPressed}">
|
1233 |
<telerik:StyleManager.Theme>
|
1234 |
<telerik:Office_BlackTheme/>
|
1235 |
</telerik:StyleManager.Theme>
|
1236 |
</Telerik_Windows_Controls_Chromes:ButtonChrome>
|
1237 |
<Path x:Name="BackgroundIcon" Data="M6,0L6,7 5,7 5,6 4,6 4,5 3,5 3,4 2,4 2,3 3,3 3,2 4,2 4,1 5,1 5,0z" Fill="White" Height="7" Margin="0,2,0,0" Width="7"/>
|
1238 |
<Path x:Name="ForegroundIcon" Data="M6,0L6,7 5,7 5,6 4,6 4,5 3,5 3,4 2,4 2,3 3,3 3,2 4,2 4,1 5,1 5,0z" Fill="Black" Height="7" Margin="0,1" Width="7"/>
|
1239 |
</Grid>
|
1240 |
</ControlTemplate>
|
1241 |
</Setter.Value>
|
1242 |
</Setter>
|
1243 |
</Style>
|
1244 |
</RepeatButton.Style>
|
1245 |
</RepeatButton>
|
1246 |
<ScrollViewer x:Name="ScrollViewerElement" Grid.Column="1" HorizontalScrollBarVisibility="{Binding (ScrollViewer.HorizontalScrollBarVisibility), RelativeSource={RelativeSource TemplatedParent}}" Margin="0,-2">
|
1247 |
<ScrollViewer.Template>
|
1248 |
<ControlTemplate TargetType="{x:Type ScrollViewer}">
|
1249 |
<ScrollContentPresenter x:Name="ScrollContentPresenter" CanHorizontallyScroll="False" CanVerticallyScroll="False" ContentTemplate="{TemplateBinding ContentTemplate}" Content="{TemplateBinding Content}" Margin="0,0,1,0"/>
|
1250 |
</ControlTemplate>
|
1251 |
</ScrollViewer.Template>
|
1252 |
<ItemsPresenter x:Name="ItemsPresenterElement" Margin="0,2"/>
|
1253 |
</ScrollViewer>
|
1254 |
<RepeatButton x:Name="RightScrollButtonElement" Grid.Column="2" Visibility="{Binding ComputedHorizontalScrollBarVisibility, ElementName=ScrollViewerElement}">
|
1255 |
<RepeatButton.Style>
|
1256 |
<Style TargetType="{x:Type RepeatButton}">
|
1257 |
<Setter Property="Width" Value="17"/>
|
1258 |
<Setter Property="Height" Value="17"/>
|
1259 |
<Setter Property="Margin" Value="1"/>
|
1260 |
<Setter Property="IsTabStop" Value="False"/>
|
1261 |
<Setter Property="SnapsToDevicePixels" Value="True"/>
|
1262 |
<Setter Property="Template">
|
1263 |
<Setter.Value>
|
1264 |
<ControlTemplate TargetType="{x:Type RepeatButton}">
|
1265 |
<Grid x:Name="LayoutRoot">
|
1266 |
<VisualStateManager.VisualStateGroups>
|
1267 |
<VisualStateGroup x:Name="CommonStates">
|
1268 |
<VisualState x:Name="Disabled">
|
1269 |
<Storyboard>
|
1270 |
<ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="Fill" Storyboard.TargetName="ForegroundIcon">
|
1271 |
<DiscreteObjectKeyFrame KeyTime="0">
|
1272 |
<DiscreteObjectKeyFrame.Value>
|
1273 |
<SolidColorBrush Color="#FF8D8D8D"/>
|
1274 |
</DiscreteObjectKeyFrame.Value>
|
1275 |
</DiscreteObjectKeyFrame>
|
1276 |
</ObjectAnimationUsingKeyFrames>
|
1277 |
<ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="Fill" Storyboard.TargetName="BackgroundIcon">
|
1278 |
<DiscreteObjectKeyFrame KeyTime="0">
|
1279 |
<DiscreteObjectKeyFrame.Value>
|
1280 |
<SolidColorBrush Color="White"/>
|
1281 |
</DiscreteObjectKeyFrame.Value>
|
1282 |
</DiscreteObjectKeyFrame>
|
1283 |
</ObjectAnimationUsingKeyFrames>
|
1284 |
</Storyboard>
|
1285 |
</VisualState>
|
1286 |
<VisualState x:Name="Normal"/>
|
1287 |
<VisualState x:Name="MouseOver">
|
1288 |
<Storyboard>
|
1289 |
<ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="Fill" Storyboard.TargetName="ForegroundIcon">
|
1290 |
<DiscreteObjectKeyFrame KeyTime="0">
|
1291 |
<DiscreteObjectKeyFrame.Value>
|
1292 |
<SolidColorBrush Color="Black"/>
|
1293 |
</DiscreteObjectKeyFrame.Value>
|
1294 |
</DiscreteObjectKeyFrame>
|
1295 |
</ObjectAnimationUsingKeyFrames>
|
1296 |
<ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="Fill" Storyboard.TargetName="BackgroundIcon">
|
1297 |
<DiscreteObjectKeyFrame KeyTime="0">
|
1298 |
<DiscreteObjectKeyFrame.Value>
|
1299 |
<SolidColorBrush Color="White"/>
|
1300 |
</DiscreteObjectKeyFrame.Value>
|
1301 |
</DiscreteObjectKeyFrame>
|
1302 |
</ObjectAnimationUsingKeyFrames>
|
1303 |
</Storyboard>
|
1304 |
</VisualState>
|
1305 |
<VisualState x:Name="Pressed">
|
1306 |
<Storyboard>
|
1307 |
<ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="Fill" Storyboard.TargetName="ForegroundIcon">
|
1308 |
<DiscreteObjectKeyFrame KeyTime="0">
|
1309 |
<DiscreteObjectKeyFrame.Value>
|
1310 |
<SolidColorBrush Color="Black"/>
|
1311 |
</DiscreteObjectKeyFrame.Value>
|
1312 |
</DiscreteObjectKeyFrame>
|
1313 |
</ObjectAnimationUsingKeyFrames>
|
1314 |
<ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="Fill" Storyboard.TargetName="BackgroundIcon">
|
1315 |
<DiscreteObjectKeyFrame KeyTime="0">
|
1316 |
<DiscreteObjectKeyFrame.Value>
|
1317 |
<SolidColorBrush Color="White"/>
|
1318 |
</DiscreteObjectKeyFrame.Value>
|
1319 |
</DiscreteObjectKeyFrame>
|
1320 |
</ObjectAnimationUsingKeyFrames>
|
1321 |
</Storyboard>
|
1322 |
</VisualState>
|
1323 |
</VisualStateGroup>
|
1324 |
</VisualStateManager.VisualStateGroups>
|
1325 |
<Telerik_Windows_Controls_Chromes:ButtonChrome RenderNormal="False" RenderMouseOver="{TemplateBinding IsMouseOver}" RenderPressed="{TemplateBinding IsPressed}">
|
1326 |
<telerik:StyleManager.Theme>
|
1327 |
<telerik:Office_BlackTheme/>
|
1328 |
</telerik:StyleManager.Theme>
|
1329 |
</Telerik_Windows_Controls_Chromes:ButtonChrome>
|
1330 |
<Path x:Name="BackgroundIcon" Data="M1,0L1,7 2,7 2,6 3,6 3,5 4,5 4,4 5,4 5,3 4,3 4,2 3,2 3,1 2,1 2,0z" Fill="White" Height="7" Margin="0,2,0,0" Width="7"/>
|
1331 |
<Path x:Name="ForegroundIcon" Data="M1,0L1,7 2,7 2,6 3,6 3,5 4,5 4,4 5,4 5,3 4,3 4,2 3,2 3,1 2,1 2,0z" Fill="Black" Height="7" Margin="0,1" Width="7"/>
|
1332 |
</Grid>
|
1333 |
</ControlTemplate>
|
1334 |
</Setter.Value>
|
1335 |
</Setter>
|
1336 |
</Style>
|
1337 |
</RepeatButton.Style>
|
1338 |
</RepeatButton>
|
1339 |
<ToggleButton x:Name="DropDownButtonElement" Grid.Column="3" IsChecked="{Binding IsDropDownOpen, Mode=TwoWay, RelativeSource={RelativeSource TemplatedParent}}" Visibility="Collapsed">
|
1340 |
<telerik:RadContextMenu.ContextMenu>
|
1341 |
<Telerik_Windows_Controls_TabControl:DropDownMenu x:Name="DropDownMenuElement" ClickToOpen="True" DisplayMemberPath="{TemplateBinding DropDownDisplayMemberPath}" ItemTemplate="{TemplateBinding ItemDropDownContentTemplate}" Placement="Bottom" Style="{TemplateBinding DropDownStyle}" StaysOpen="False"/>
|
1342 |
</telerik:RadContextMenu.ContextMenu>
|
1343 |
<ToggleButton.Style>
|
1344 |
<Style TargetType="{x:Type ToggleButton}">
|
1345 |
<Setter Property="Width" Value="17"/>
|
1346 |
<Setter Property="Height" Value="17"/>
|
1347 |
<Setter Property="Margin" Value="1"/>
|
1348 |
<Setter Property="Template">
|
1349 |
<Setter.Value>
|
1350 |
<ControlTemplate TargetType="{x:Type ToggleButton}">
|
1351 |
<Grid>
|
1352 |
<VisualStateManager.VisualStateGroups>
|
1353 |
<VisualStateGroup x:Name="CommonStates">
|
1354 |
<VisualState x:Name="Disabled">
|
1355 |
<Storyboard>
|
1356 |
<ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="Fill" Storyboard.TargetName="ForegroundIcon">
|
1357 |
<DiscreteObjectKeyFrame KeyTime="0">
|
1358 |
<DiscreteObjectKeyFrame.Value>
|
1359 |
<SolidColorBrush Color="#FF8D8D8D"/>
|
1360 |
</DiscreteObjectKeyFrame.Value>
|
1361 |
</DiscreteObjectKeyFrame>
|
1362 |
</ObjectAnimationUsingKeyFrames>
|
1363 |
<ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="Fill" Storyboard.TargetName="BackgroundIcon">
|
1364 |
<DiscreteObjectKeyFrame KeyTime="0">
|
1365 |
<DiscreteObjectKeyFrame.Value>
|
1366 |
<SolidColorBrush Color="White"/>
|
1367 |
</DiscreteObjectKeyFrame.Value>
|
1368 |
</DiscreteObjectKeyFrame>
|
1369 |
</ObjectAnimationUsingKeyFrames>
|
1370 |
</Storyboard>
|
1371 |
</VisualState>
|
1372 |
<VisualState x:Name="Normal"/>
|
1373 |
<VisualState x:Name="MouseOver">
|
1374 |
<Storyboard>
|
1375 |
<ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="Fill" Storyboard.TargetName="ForegroundIcon">
|
1376 |
<DiscreteObjectKeyFrame KeyTime="0">
|
1377 |
<DiscreteObjectKeyFrame.Value>
|
1378 |
<SolidColorBrush Color="Black"/>
|
1379 |
</DiscreteObjectKeyFrame.Value>
|
1380 |
</DiscreteObjectKeyFrame>
|
1381 |
</ObjectAnimationUsingKeyFrames>
|
1382 |
<ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="Fill" Storyboard.TargetName="BackgroundIcon">
|
1383 |
<DiscreteObjectKeyFrame KeyTime="0">
|
1384 |
<DiscreteObjectKeyFrame.Value>
|
1385 |
<SolidColorBrush Color="White"/>
|
1386 |
</DiscreteObjectKeyFrame.Value>
|
1387 |
</DiscreteObjectKeyFrame>
|
1388 |
</ObjectAnimationUsingKeyFrames>
|
1389 |
</Storyboard>
|
1390 |
</VisualState>
|
1391 |
<VisualState x:Name="Pressed">
|
1392 |
<Storyboard>
|
1393 |
<ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="Fill" Storyboard.TargetName="ForegroundIcon">
|
1394 |
<DiscreteObjectKeyFrame KeyTime="0">
|
1395 |
<DiscreteObjectKeyFrame.Value>
|
1396 |
<SolidColorBrush Color="Black"/>
|
1397 |
</DiscreteObjectKeyFrame.Value>
|
1398 |
</DiscreteObjectKeyFrame>
|
1399 |
</ObjectAnimationUsingKeyFrames>
|
1400 |
<ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="Fill" Storyboard.TargetName="BackgroundIcon">
|
1401 |
<DiscreteObjectKeyFrame KeyTime="0">
|
1402 |
<DiscreteObjectKeyFrame.Value>
|
1403 |
<SolidColorBrush Color="White"/>
|
1404 |
</DiscreteObjectKeyFrame.Value>
|
1405 |
</DiscreteObjectKeyFrame>
|
1406 |
</ObjectAnimationUsingKeyFrames>
|
1407 |
</Storyboard>
|
1408 |
</VisualState>
|
1409 |
</VisualStateGroup>
|
1410 |
</VisualStateManager.VisualStateGroups>
|
1411 |
<Telerik_Windows_Controls_Chromes:ButtonChrome RenderNormal="False" RenderMouseOver="{TemplateBinding IsMouseOver}" RenderPressed="{TemplateBinding IsPressed}" RenderChecked="{TemplateBinding IsChecked}">
|
1412 |
<telerik:StyleManager.Theme>
|
1413 |
<telerik:Office_BlackTheme/>
|
1414 |
</telerik:StyleManager.Theme>
|
1415 |
</Telerik_Windows_Controls_Chromes:ButtonChrome>
|
1416 |
<Path x:Name="BackgroundIcon" Data="M0,2L7,2 7,3 6,3 6,4 5,4 5,5 4,5 4,6 3,6 3,5 2,5 2,4 1,4 1,3 0,3z M0,0L7,0 7,1 0,1z" Fill="White" Height="7" Margin="0,2,0,0" Width="7"/>
|
1417 |
<Path x:Name="ForegroundIcon" Data="M0,2L7,2 7,3 6,3 6,4 5,4 5,5 4,5 4,6 3,6 3,5 2,5 2,4 1,4 1,3 0,3z M0,0L7,0 7,1 0,1z" Fill="Black" Height="7" Margin="0,1" Width="7"/>
|
1418 |
</Grid>
|
1419 |
</ControlTemplate>
|
1420 |
</Setter.Value>
|
1421 |
</Setter>
|
1422 |
</Style>
|
1423 |
</ToggleButton.Style>
|
1424 |
</ToggleButton>
|
1425 |
<telerik:RadButton x:Name="CloseButton" Grid.Column="4" Command="telerik:RadDockingCommands.Close" InnerCornerRadius="0">
|
1426 |
<telerik:RadButton.Style>
|
1427 |
<Style TargetType="{x:Type telerik:RadButton}">
|
1428 |
<Setter Property="Width" Value="17"/>
|
1429 |
<Setter Property="Height" Value="17"/>
|
1430 |
<Setter Property="Margin" Value="1"/>
|
1431 |
<Setter Property="IsTabStop" Value="False"/>
|
1432 |
<Setter Property="SnapsToDevicePixels" Value="True"/>
|
1433 |
<Setter Property="Template">
|
1434 |
<Setter.Value>
|
1435 |
<ControlTemplate TargetType="{x:Type telerik:RadButton}">
|
1436 |
<Grid x:Name="LayoutRoot">
|
1437 |
<VisualStateManager.VisualStateGroups>
|
1438 |
<VisualStateGroup x:Name="CommonStates">
|
1439 |
<VisualState x:Name="Disabled">
|
1440 |
<Storyboard>
|
1441 |
<ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="Fill" Storyboard.TargetName="ForegroundIcon">
|
1442 |
<DiscreteObjectKeyFrame KeyTime="0">
|
1443 |
<DiscreteObjectKeyFrame.Value>
|
1444 |
<SolidColorBrush Color="#FF8D8D8D"/>
|
1445 |
</DiscreteObjectKeyFrame.Value>
|
1446 |
</DiscreteObjectKeyFrame>
|
1447 |
</ObjectAnimationUsingKeyFrames>
|
1448 |
<ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="Fill" Storyboard.TargetName="BackgroundIcon">
|
1449 |
<DiscreteObjectKeyFrame KeyTime="0">
|
1450 |
<DiscreteObjectKeyFrame.Value>
|
1451 |
<SolidColorBrush Color="White"/>
|
1452 |
</DiscreteObjectKeyFrame.Value>
|
1453 |
</DiscreteObjectKeyFrame>
|
1454 |
</ObjectAnimationUsingKeyFrames>
|
1455 |
</Storyboard>
|
1456 |
</VisualState>
|
1457 |
<VisualState x:Name="Normal"/>
|
1458 |
<VisualState x:Name="MouseOver">
|
1459 |
<Storyboard>
|
1460 |
<ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="Fill" Storyboard.TargetName="ForegroundIcon">
|
1461 |
<DiscreteObjectKeyFrame KeyTime="0">
|
1462 |
<DiscreteObjectKeyFrame.Value>
|
1463 |
<SolidColorBrush Color="Black"/>
|
1464 |
</DiscreteObjectKeyFrame.Value>
|
1465 |
</DiscreteObjectKeyFrame>
|
1466 |
</ObjectAnimationUsingKeyFrames>
|
1467 |
<ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="Fill" Storyboard.TargetName="BackgroundIcon">
|
1468 |
<DiscreteObjectKeyFrame KeyTime="0">
|
1469 |
<DiscreteObjectKeyFrame.Value>
|
1470 |
<SolidColorBrush Color="White"/>
|
1471 |
</DiscreteObjectKeyFrame.Value>
|
1472 |
</DiscreteObjectKeyFrame>
|
1473 |
</ObjectAnimationUsingKeyFrames>
|
1474 |
</Storyboard>
|
1475 |
</VisualState>
|
1476 |
<VisualState x:Name="Pressed">
|
1477 |
<Storyboard>
|
1478 |
<ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="Fill" Storyboard.TargetName="ForegroundIcon">
|
1479 |
<DiscreteObjectKeyFrame KeyTime="0">
|
1480 |
<DiscreteObjectKeyFrame.Value>
|
1481 |
<SolidColorBrush Color="Black"/>
|
1482 |
</DiscreteObjectKeyFrame.Value>
|
1483 |
</DiscreteObjectKeyFrame>
|
1484 |
</ObjectAnimationUsingKeyFrames>
|
1485 |
<ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="Fill" Storyboard.TargetName="BackgroundIcon">
|
1486 |
<DiscreteObjectKeyFrame KeyTime="0">
|
1487 |
<DiscreteObjectKeyFrame.Value>
|
1488 |
<SolidColorBrush Color="White"/>
|
1489 |
</DiscreteObjectKeyFrame.Value>
|
1490 |
</DiscreteObjectKeyFrame>
|
1491 |
</ObjectAnimationUsingKeyFrames>
|
1492 |
</Storyboard>
|
1493 |
</VisualState>
|
1494 |
</VisualStateGroup>
|
1495 |
</VisualStateManager.VisualStateGroups>
|
1496 |
<Telerik_Windows_Controls_Chromes:ButtonChrome RenderNormal="False" RenderMouseOver="{TemplateBinding IsMouseOver}" RenderPressed="{TemplateBinding IsPressed}">
|
1497 |
<telerik:StyleManager.Theme>
|
1498 |
<telerik:Office_BlackTheme/>
|
1499 |
</telerik:StyleManager.Theme>
|
1500 |
</Telerik_Windows_Controls_Chromes:ButtonChrome>
|
1501 |
<Path x:Name="BackgroundIcon" Data="M0,0L2,0 2,1 3,1 3,2 5,2 5,1 6,1 6,0 8,0 8,1 7,1 7,2 6,2 6,3 5,3 5,4 6,4 6,5 6,5 7,5 7,6 8,6 8,7 6,7 6,6 5,6 5,5 3,5 3,6 2,6 2,7 0,7 0,6 1,6 1,5 2,5 2,4 3,4 3,3 2,3 2,2 1,2 1,1 0,1z" Fill="White" Height="7" Margin="0,2,0,0" Width="8"/>
|
1502 |
<Path x:Name="ForegroundIcon" Data="M0,0L2,0 2,1 3,1 3,2 5,2 5,1 6,1 6,0 8,0 8,1 7,1 7,2 6,2 6,3 5,3 5,4 6,4 6,5 6,5 7,5 7,6 8,6 8,7 6,7 6,6 5,6 5,5 3,5 3,6 2,6 2,7 0,7 0,6 1,6 1,5 2,5 2,4 3,4 3,3 2,3 2,2 1,2 1,1 0,1z" Fill="Black" Height="7" Margin="0,1" Width="8"/>
|
1503 |
</Grid>
|
1504 |
</ControlTemplate>
|
1505 |
</Setter.Value>
|
1506 |
</Setter>
|
1507 |
</Style>
|
1508 |
</telerik:RadButton.Style>
|
1509 |
<telerik:RadButton.Visibility>
|
1510 |
<Binding Path="IsEnabled" RelativeSource="{RelativeSource Self}">
|
1511 |
<Binding.Converter>
|
1512 |
<telerik:BooleanToVisibilityConverter/>
|
1513 |
</Binding.Converter>
|
1514 |
</Binding>
|
1515 |
</telerik:RadButton.Visibility>
|
1516 |
</telerik:RadButton>
|
1517 |
</Grid>
|
1518 |
<telerik:RadGridResizer x:Name="DockResizer" Cursor="SizeWE" HorizontalAlignment="Left" Placement="Left" Grid.RowSpan="2" ShowsPreview="True" Visibility="Collapsed" VerticalAlignment="Stretch"/>
|
1519 |
</Grid>
|
1520 |
</ControlTemplate>
|
1521 |
</Setter.Value>
|
1522 |
</Setter>-->
|
1523 |
<Setter Property="LeftTemplate"> |
1524 |
<Setter.Value>
|
1525 |
<ControlTemplate TargetType="{x:Type telerik:RadPaneGroup}"> |
1526 |
<Grid>
|
1527 |
<Grid.RowDefinitions>
|
1528 |
<RowDefinition Height="*" MinHeight="20"/> |
1529 |
<RowDefinition Height="Auto"/> |
1530 |
</Grid.RowDefinitions>
|
1531 |
<VisualStateManager.VisualStateGroups>
|
1532 |
<VisualStateGroup x:Name="CommonStates"> |
1533 |
<VisualState x:Name="Disabled"/> |
1534 |
<VisualState x:Name="Normal"/> |
1535 |
</VisualStateGroup>
|
1536 |
<VisualStateGroup x:Name="FocusStates"> |
1537 |
<VisualState x:Name="Focused"/> |
1538 |
<VisualState x:Name="Unfocused"/> |
1539 |
</VisualStateGroup>
|
1540 |
<VisualStateGroup x:Name="AutoCollapseStates"> |
1541 |
<VisualState x:Name="SingleItem"> |
1542 |
<Storyboard>
|
1543 |
<ObjectAnimationUsingKeyFrames Duration="0" Storyboard.TargetProperty="Visibility" Storyboard.TargetName="ItemsContainer"> |
1544 |
<DiscreteObjectKeyFrame KeyTime="0"> |
1545 |
<DiscreteObjectKeyFrame.Value>
|
1546 |
<Visibility>Collapsed</Visibility> |
1547 |
</DiscreteObjectKeyFrame.Value>
|
1548 |
</DiscreteObjectKeyFrame>
|
1549 |
</ObjectAnimationUsingKeyFrames>
|
1550 |
</Storyboard>
|
1551 |
</VisualState>
|
1552 |
<VisualState x:Name="TwoOrMoreItems"/> |
1553 |
</VisualStateGroup>
|
1554 |
<VisualStateGroup x:Name="PaneHeaderVisibilityStates"> |
1555 |
<VisualState x:Name="PaneHeaderHidden"> |
1556 |
<Storyboard>
|
1557 |
<ObjectAnimationUsingKeyFrames Duration="0" Storyboard.TargetProperty="Visibility" Storyboard.TargetName="HeaderElement"> |
1558 |
<DiscreteObjectKeyFrame KeyTime="0"> |
1559 |
<DiscreteObjectKeyFrame.Value>
|
1560 |
<Visibility>Collapsed</Visibility> |
1561 |
</DiscreteObjectKeyFrame.Value>
|
1562 |
</DiscreteObjectKeyFrame>
|
1563 |
</ObjectAnimationUsingKeyFrames>
|
1564 |
</Storyboard>
|
1565 |
</VisualState>
|
1566 |
<VisualState x:Name="PaneHeaderVisible"/> |
1567 |
</VisualStateGroup>
|
1568 |
<VisualStateGroup x:Name="ResizerStates"> |
1569 |
<VisualState x:Name="ResizerLeft"> |
1570 |
<Storyboard>
|
1571 |
<Storyboard>
|
1572 |
<ObjectAnimationUsingKeyFrames Duration="0" Storyboard.TargetProperty="Visibility" Storyboard.TargetName="DockResizer"> |
1573 |
<DiscreteObjectKeyFrame KeyTime="0"> |
1574 |
<DiscreteObjectKeyFrame.Value>
|
1575 |
<Visibility>Visible</Visibility> |
1576 |
</DiscreteObjectKeyFrame.Value>
|
1577 |
</DiscreteObjectKeyFrame>
|
1578 |
</ObjectAnimationUsingKeyFrames>
|
1579 |
<ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="Width" Storyboard.TargetName="DockResizer"> |
1580 |
<DiscreteObjectKeyFrame KeyTime="0"> |
1581 |
<DiscreteObjectKeyFrame.Value>
|
1582 |
<System:Double>4</System:Double> |
1583 |
</DiscreteObjectKeyFrame.Value>
|
1584 |
</DiscreteObjectKeyFrame>
|
1585 |
</ObjectAnimationUsingKeyFrames>
|
1586 |
<ObjectAnimationUsingKeyFrames Duration="0" Storyboard.TargetProperty="Margin" Storyboard.TargetName="ItemsContainer"> |
1587 |
<DiscreteObjectKeyFrame KeyTime="0"> |
1588 |
<DiscreteObjectKeyFrame.Value>
|
1589 |
<Thickness>4,-5,0,0</Thickness> |
1590 |
</DiscreteObjectKeyFrame.Value>
|
1591 |
</DiscreteObjectKeyFrame>
|
1592 |
</ObjectAnimationUsingKeyFrames>
|
1593 |
<ObjectAnimationUsingKeyFrames Duration="0" Storyboard.TargetProperty="Margin" Storyboard.TargetName="ContentBackground"> |
1594 |
<DiscreteObjectKeyFrame KeyTime="0"> |
1595 |
<DiscreteObjectKeyFrame.Value>
|
1596 |
<Thickness>4,0,0,0</Thickness> |
1597 |
</DiscreteObjectKeyFrame.Value>
|
1598 |
</DiscreteObjectKeyFrame>
|
1599 |
</ObjectAnimationUsingKeyFrames>
|
1600 |
</Storyboard>
|
1601 |
</Storyboard>
|
1602 |
</VisualState>
|
1603 |
<VisualState x:Name="ResizerTop"> |
1604 |
<Storyboard>
|
1605 |
<ObjectAnimationUsingKeyFrames Duration="0" Storyboard.TargetProperty="Visibility" Storyboard.TargetName="DockResizer"> |
1606 |
<DiscreteObjectKeyFrame KeyTime="0"> |
1607 |
<DiscreteObjectKeyFrame.Value>
|
1608 |
<Visibility>Visible</Visibility> |
1609 |
</DiscreteObjectKeyFrame.Value>
|
1610 |
</DiscreteObjectKeyFrame>
|
1611 |
</ObjectAnimationUsingKeyFrames>
|
1612 |
<ObjectAnimationUsingKeyFrames Duration="0" Storyboard.TargetProperty="VerticalAlignment" Storyboard.TargetName="DockResizer"> |
1613 |
<DiscreteObjectKeyFrame KeyTime="0"> |
1614 |
<DiscreteObjectKeyFrame.Value>
|
1615 |
<VerticalAlignment>Top</VerticalAlignment> |
1616 |
</DiscreteObjectKeyFrame.Value>
|
1617 |
</DiscreteObjectKeyFrame>
|
1618 |
</ObjectAnimationUsingKeyFrames>
|
1619 |
<ObjectAnimationUsingKeyFrames Duration="0" Storyboard.TargetProperty="HorizontalAlignment" Storyboard.TargetName="DockResizer"> |
1620 |
<DiscreteObjectKeyFrame KeyTime="0"> |
1621 |
<DiscreteObjectKeyFrame.Value>
|
1622 |
<HorizontalAlignment>Stretch</HorizontalAlignment> |
1623 |
</DiscreteObjectKeyFrame.Value>
|
1624 |
</DiscreteObjectKeyFrame>
|
1625 |
</ObjectAnimationUsingKeyFrames>
|
1626 |
<ObjectAnimationUsingKeyFrames Duration="0" Storyboard.TargetProperty="Placement" Storyboard.TargetName="DockResizer"> |
1627 |
<DiscreteObjectKeyFrame KeyTime="0"> |
1628 |
<DiscreteObjectKeyFrame.Value>
|
1629 |
<Dock>Top</Dock> |
1630 |
</DiscreteObjectKeyFrame.Value>
|
1631 |
</DiscreteObjectKeyFrame>
|
1632 |
</ObjectAnimationUsingKeyFrames>
|
1633 |
<ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="Height" Storyboard.TargetName="DockResizer"> |
1634 |
<DiscreteObjectKeyFrame KeyTime="0"> |
1635 |
<DiscreteObjectKeyFrame.Value>
|
1636 |
<System:Double>4</System:Double> |
1637 |
</DiscreteObjectKeyFrame.Value>
|
1638 |
</DiscreteObjectKeyFrame>
|
1639 |
</ObjectAnimationUsingKeyFrames>
|
1640 |
<ObjectAnimationUsingKeyFrames Duration="0" Storyboard.TargetProperty="(Grid.RowSpan)" Storyboard.TargetName="DockResizer"> |
1641 |
<DiscreteObjectKeyFrame KeyTime="0"> |
1642 |
<DiscreteObjectKeyFrame.Value>
|
1643 |
<System:Int32>1</System:Int32> |
1644 |
</DiscreteObjectKeyFrame.Value>
|
1645 |
</DiscreteObjectKeyFrame>
|
1646 |
</ObjectAnimationUsingKeyFrames>
|
1647 |
<ObjectAnimationUsingKeyFrames Duration="0" Storyboard.TargetProperty="(Grid.Row)" Storyboard.TargetName="DockResizer"> |
1648 |
<DiscreteObjectKeyFrame KeyTime="0"> |
1649 |
<DiscreteObjectKeyFrame.Value>
|
1650 |
<System:Int32>0</System:Int32> |
1651 |
</DiscreteObjectKeyFrame.Value>
|
1652 |
</DiscreteObjectKeyFrame>
|
1653 |
</ObjectAnimationUsingKeyFrames>
|
1654 |
<ObjectAnimationUsingKeyFrames Duration="0" Storyboard.TargetProperty="Margin" Storyboard.TargetName="ContentBackground"> |
1655 |
<DiscreteObjectKeyFrame KeyTime="0"> |
1656 |
<DiscreteObjectKeyFrame.Value>
|
1657 |
<Thickness>0,4,0,0</Thickness> |
1658 |
</DiscreteObjectKeyFrame.Value>
|
1659 |
</DiscreteObjectKeyFrame>
|
1660 |
</ObjectAnimationUsingKeyFrames>
|
1661 |
</Storyboard>
|
1662 |
</VisualState>
|
1663 |
<VisualState x:Name="HideResizer"/> |
1664 |
</VisualStateGroup>
|
1665 |
</VisualStateManager.VisualStateGroups>
|
1666 |
<ContentControl x:Name="ContentBackground" BorderBrush="{TemplateBinding BorderBrush}" BorderThickness="{TemplateBinding BorderThickness}" Background="{TemplateBinding Background}"> |
1667 |
<ContentControl.Style>
|
1668 |
<Style TargetType="{x:Type ContentControl}"> |
1669 |
<Setter Property="Template"> |
1670 |
<Setter.Value>
|
1671 |
<ControlTemplate TargetType="{x:Type ContentControl}"> |
1672 |
<Border x:Name="Root" BorderBrush="{TemplateBinding BorderBrush}" BorderThickness="{TemplateBinding BorderThickness}" Background="{TemplateBinding Background}" CornerRadius="2,2,2,0"> |
1673 |
<ContentPresenter ContentTemplate="{TemplateBinding ContentTemplate}" Content="{TemplateBinding Content}" ContentStringFormat="{TemplateBinding ContentStringFormat}"/> |
1674 |
</Border>
|
1675 |
</ControlTemplate>
|
1676 |
</Setter.Value>
|
1677 |
</Setter>
|
1678 |
</Style>
|
1679 |
</ContentControl.Style>
|
1680 |
<Grid>
|
1681 |
<Grid.RowDefinitions>
|
1682 |
<RowDefinition Height="Auto"/> |
1683 |
<RowDefinition Height="*"/> |
1684 |
</Grid.RowDefinitions>
|
1685 |
<Border Grid.Row="0" Visibility="{Binding SelectedItem.PaneHeaderVisibility, RelativeSource={RelativeSource TemplatedParent}}"> |
1686 |
<telerik:PaneHeader x:Name="HeaderElement" MinHeight="16" Grid.Row="0" SelectedPane="{TemplateBinding SelectedPane}"> |
1687 |
<telerik:StyleManager.Theme>
|
1688 |
<telerik:Office_BlackTheme/> |
1689 |
</telerik:StyleManager.Theme>
|
1690 |
</telerik:PaneHeader>
|
1691 |
</Border>
|
1692 |
<Grid Grid.Row="1"> |
1693 |
<ContentPresenter x:Name="ContentElement" ContentTemplate="{TemplateBinding SelectedContentTemplate}"> |
1694 |
<ContentPresenter.Visibility>
|
1695 |
<Binding Path="IsContentPreserved" RelativeSource="{RelativeSource TemplatedParent}"> |
1696 |
<Binding.Converter>
|
1697 |
<telerik:InvertedBooleanToVisibilityConverter/> |
1698 |
</Binding.Converter>
|
1699 |
</Binding>
|
1700 |
</ContentPresenter.Visibility>
|
1701 |
</ContentPresenter>
|
1702 |
<Grid x:Name="ContentElementsPanel"> |
1703 |
<Grid.Visibility>
|
1704 |
<Binding Path="IsContentPreserved" RelativeSource="{RelativeSource TemplatedParent}"> |
1705 |
<Binding.Converter>
|
1706 |
<telerik:BooleanToVisibilityConverter/> |
1707 |
</Binding.Converter>
|
1708 |
</Binding>
|
1709 |
</Grid.Visibility>
|
1710 |
</Grid>
|
1711 |
</Grid>
|
1712 |
</Grid>
|
1713 |
</ContentControl>
|
1714 |
<Border x:Name="ItemsContainer" Margin="0,-5,0,0" Padding="0,0,1,0" Grid.Row="1"> |
1715 |
<ItemsPresenter x:Name="ItemsPresenterElement"/> |
1716 |
</Border>
|
1717 |
<telerik:RadGridResizer x:Name="DockResizer" Cursor="SizeWE" HorizontalAlignment="Left" Placement="Left" Grid.RowSpan="2" ShowsPreview="True" Visibility="Collapsed" VerticalAlignment="Stretch"/> |
1718 |
</Grid>
|
1719 |
</ControlTemplate>
|
1720 |
</Setter.Value>
|
1721 |
</Setter>
|
1722 |
<Setter Property="RightTemplate"> |
1723 |
<Setter.Value>
|
1724 |
<ControlTemplate TargetType="{x:Type telerik:RadPaneGroup}"> |
1725 |
<Grid>
|
1726 |
<Grid.RowDefinitions>
|
1727 |
<RowDefinition Height="*" MinHeight="20"/> |
1728 |
<RowDefinition Height="Auto"/> |
1729 |
</Grid.RowDefinitions>
|
1730 |
<VisualStateManager.VisualStateGroups>
|
1731 |
<VisualStateGroup x:Name="CommonStates"> |
1732 |
<VisualState x:Name="Disabled"/> |
1733 |
<VisualState x:Name="Normal"/> |
1734 |
</VisualStateGroup>
|
1735 |
<VisualStateGroup x:Name="FocusStates"> |
1736 |
<VisualState x:Name="Focused"/> |
1737 |
<VisualState x:Name="Unfocused"/> |
1738 |
</VisualStateGroup>
|
1739 |
<VisualStateGroup x:Name="AutoCollapseStates"> |
1740 |
<VisualState x:Name="SingleItem"> |
1741 |
<Storyboard>
|
1742 |
<ObjectAnimationUsingKeyFrames Duration="0" Storyboard.TargetProperty="Visibility" Storyboard.TargetName="ItemsContainer"> |
1743 |
<DiscreteObjectKeyFrame KeyTime="0"> |
1744 |
<DiscreteObjectKeyFrame.Value>
|
1745 |
<Visibility>Collapsed</Visibility> |
1746 |
</DiscreteObjectKeyFrame.Value>
|
1747 |
</DiscreteObjectKeyFrame>
|
1748 |
</ObjectAnimationUsingKeyFrames>
|
1749 |
</Storyboard>
|
1750 |
</VisualState>
|
1751 |
<VisualState x:Name="TwoOrMoreItems"/> |
1752 |
</VisualStateGroup>
|
1753 |
<VisualStateGroup x:Name="PaneHeaderVisibilityStates"> |
1754 |
<VisualState x:Name="PaneHeaderHidden"> |
1755 |
<Storyboard>
|
1756 |
<ObjectAnimationUsingKeyFrames Duration="0" Storyboard.TargetProperty="Visibility" Storyboard.TargetName="HeaderElement"> |
1757 |
<DiscreteObjectKeyFrame KeyTime="0"> |
1758 |
<DiscreteObjectKeyFrame.Value>
|
1759 |
<Visibility>Collapsed</Visibility> |
1760 |
</DiscreteObjectKeyFrame.Value>
|
1761 |
</DiscreteObjectKeyFrame>
|
1762 |
</ObjectAnimationUsingKeyFrames>
|
1763 |
</Storyboard>
|
1764 |
</VisualState>
|
1765 |
<VisualState x:Name="PaneHeaderVisible"/> |
1766 |
</VisualStateGroup>
|
1767 |
<VisualStateGroup x:Name="ResizerStates"> |
1768 |
<VisualState x:Name="ResizerLeft"> |
1769 |
<Storyboard>
|
1770 |
<Storyboard>
|
1771 |
<ObjectAnimationUsingKeyFrames Duration="0" Storyboard.TargetProperty="Visibility" Storyboard.TargetName="DockResizer"> |
1772 |
<DiscreteObjectKeyFrame KeyTime="0"> |
1773 |
<DiscreteObjectKeyFrame.Value>
|
1774 |
<Visibility>Visible</Visibility> |
1775 |
</DiscreteObjectKeyFrame.Value>
|
1776 |
</DiscreteObjectKeyFrame>
|
1777 |
</ObjectAnimationUsingKeyFrames>
|
1778 |
<ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="Width" Storyboard.TargetName="DockResizer"> |
1779 |
<DiscreteObjectKeyFrame KeyTime="0"> |
1780 |
<DiscreteObjectKeyFrame.Value>
|
1781 |
<System:Double>4</System:Double> |
1782 |
</DiscreteObjectKeyFrame.Value>
|
1783 |
</DiscreteObjectKeyFrame>
|
1784 |
</ObjectAnimationUsingKeyFrames>
|
1785 |
<ObjectAnimationUsingKeyFrames Duration="0" Storyboard.TargetProperty="Margin" Storyboard.TargetName="ItemsContainer"> |
1786 |
<DiscreteObjectKeyFrame KeyTime="0"> |
1787 |
<DiscreteObjectKeyFrame.Value>
|
1788 |
<Thickness>4,-5,0,0</Thickness> |
1789 |
</DiscreteObjectKeyFrame.Value>
|
1790 |
</DiscreteObjectKeyFrame>
|
1791 |
</ObjectAnimationUsingKeyFrames>
|
1792 |
<ObjectAnimationUsingKeyFrames Duration="0" Storyboard.TargetProperty="Margin" Storyboard.TargetName="ContentBackground"> |
1793 |
<DiscreteObjectKeyFrame KeyTime="0"> |
1794 |
<DiscreteObjectKeyFrame.Value>
|
1795 |
<Thickness>4,0,0,0</Thickness> |
1796 |
</DiscreteObjectKeyFrame.Value>
|
1797 |
</DiscreteObjectKeyFrame>
|
1798 |
</ObjectAnimationUsingKeyFrames>
|
1799 |
</Storyboard>
|
1800 |
</Storyboard>
|
1801 |
</VisualState>
|
1802 |
<VisualState x:Name="ResizerTop"> |
1803 |
<Storyboard>
|
1804 |
<ObjectAnimationUsingKeyFrames Duration="0" Storyboard.TargetProperty="Visibility" Storyboard.TargetName="DockResizer"> |
1805 |
<DiscreteObjectKeyFrame KeyTime="0"> |
1806 |
<DiscreteObjectKeyFrame.Value>
|
1807 |
<Visibility>Visible</Visibility> |
1808 |
</DiscreteObjectKeyFrame.Value>
|
1809 |
</DiscreteObjectKeyFrame>
|
1810 |
</ObjectAnimationUsingKeyFrames>
|
1811 |
<ObjectAnimationUsingKeyFrames Duration="0" Storyboard.TargetProperty="VerticalAlignment" Storyboard.TargetName="DockResizer"> |
1812 |
<DiscreteObjectKeyFrame KeyTime="0"> |
1813 |
<DiscreteObjectKeyFrame.Value>
|
1814 |
<VerticalAlignment>Top</VerticalAlignment> |
1815 |
</DiscreteObjectKeyFrame.Value>
|
1816 |
</DiscreteObjectKeyFrame>
|
1817 |
</ObjectAnimationUsingKeyFrames>
|
1818 |
<ObjectAnimationUsingKeyFrames Duration="0" Storyboard.TargetProperty="HorizontalAlignment" Storyboard.TargetName="DockResizer"> |
1819 |
<DiscreteObjectKeyFrame KeyTime="0"> |
1820 |
<DiscreteObjectKeyFrame.Value>
|
1821 |
<HorizontalAlignment>Stretch</HorizontalAlignment> |
1822 |
</DiscreteObjectKeyFrame.Value>
|
1823 |
</DiscreteObjectKeyFrame>
|
1824 |
</ObjectAnimationUsingKeyFrames>
|
1825 |
<ObjectAnimationUsingKeyFrames Duration="0" Storyboard.TargetProperty="Placement" Storyboard.TargetName="DockResizer"> |
1826 |
<DiscreteObjectKeyFrame KeyTime="0"> |
1827 |
<DiscreteObjectKeyFrame.Value>
|
1828 |
<Dock>Top</Dock> |
1829 |
</DiscreteObjectKeyFrame.Value>
|
1830 |
</DiscreteObjectKeyFrame>
|
1831 |
</ObjectAnimationUsingKeyFrames>
|
1832 |
<ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="Height" Storyboard.TargetName="DockResizer"> |
1833 |
<DiscreteObjectKeyFrame KeyTime="0"> |
1834 |
<DiscreteObjectKeyFrame.Value>
|
1835 |
<System:Double>4</System:Double> |
1836 |
</DiscreteObjectKeyFrame.Value>
|
1837 |
</DiscreteObjectKeyFrame>
|
1838 |
</ObjectAnimationUsingKeyFrames>
|
1839 |
<ObjectAnimationUsingKeyFrames Duration="0" Storyboard.TargetProperty="(Grid.RowSpan)" Storyboard.TargetName="DockResizer"> |
1840 |
<DiscreteObjectKeyFrame KeyTime="0"> |
1841 |
<DiscreteObjectKeyFrame.Value>
|
1842 |
<System:Int32>1</System:Int32> |
1843 |
</DiscreteObjectKeyFrame.Value>
|
1844 |
</DiscreteObjectKeyFrame>
|
1845 |
</ObjectAnimationUsingKeyFrames>
|
1846 |
<ObjectAnimationUsingKeyFrames Duration="0" Storyboard.TargetProperty="(Grid.Row)" Storyboard.TargetName="DockResizer"> |
1847 |
<DiscreteObjectKeyFrame KeyTime="0"> |
1848 |
<DiscreteObjectKeyFrame.Value>
|
1849 |
<System:Int32>0</System:Int32> |
1850 |
</DiscreteObjectKeyFrame.Value>
|
1851 |
</DiscreteObjectKeyFrame>
|
1852 |
</ObjectAnimationUsingKeyFrames>
|
1853 |
<ObjectAnimationUsingKeyFrames Duration="0" Storyboard.TargetProperty="Margin" Storyboard.TargetName="ContentBackground"> |
1854 |
<DiscreteObjectKeyFrame KeyTime="0"> |
1855 |
<DiscreteObjectKeyFrame.Value>
|
1856 |
<Thickness>0,4,0,0</Thickness> |
1857 |
</DiscreteObjectKeyFrame.Value>
|
1858 |
</DiscreteObjectKeyFrame>
|
1859 |
</ObjectAnimationUsingKeyFrames>
|
1860 |
</Storyboard>
|
1861 |
</VisualState>
|
1862 |
<VisualState x:Name="HideResizer"/> |
1863 |
</VisualStateGroup>
|
1864 |
</VisualStateManager.VisualStateGroups>
|
1865 |
<ContentControl x:Name="ContentBackground" BorderBrush="{TemplateBinding BorderBrush}" BorderThickness="{TemplateBinding BorderThickness}" Background="{TemplateBinding Background}"> |
1866 |
<ContentControl.Style>
|
1867 |
<Style TargetType="{x:Type ContentControl}"> |
1868 |
<Setter Property="Template"> |
1869 |
<Setter.Value>
|
1870 |
<ControlTemplate TargetType="{x:Type ContentControl}"> |
1871 |
<Border x:Name="Root" BorderBrush="{TemplateBinding BorderBrush}" BorderThickness="{TemplateBinding BorderThickness}" Background="{TemplateBinding Background}" CornerRadius="2,2,2,0"> |
1872 |
<ContentPresenter ContentTemplate="{TemplateBinding ContentTemplate}" Content="{TemplateBinding Content}" ContentStringFormat="{TemplateBinding ContentStringFormat}"/> |
1873 |
</Border>
|
1874 |
</ControlTemplate>
|
1875 |
</Setter.Value>
|
1876 |
</Setter>
|
1877 |
</Style>
|
1878 |
</ContentControl.Style>
|
1879 |
<Grid>
|
1880 |
<Grid.RowDefinitions>
|
1881 |
<RowDefinition Height="Auto"/> |
1882 |
<RowDefinition Height="*"/> |
1883 |
</Grid.RowDefinitions>
|
1884 |
<Border Grid.Row="0" Visibility="{Binding SelectedItem.PaneHeaderVisibility, RelativeSource={RelativeSource TemplatedParent}}"> |
1885 |
<telerik:PaneHeader x:Name="HeaderElement" MinHeight="16" Grid.Row="0" SelectedPane="{TemplateBinding SelectedPane}"> |
1886 |
<telerik:StyleManager.Theme>
|
1887 |
<telerik:Office_BlackTheme/> |
1888 |
</telerik:StyleManager.Theme>
|
1889 |
</telerik:PaneHeader>
|
1890 |
</Border>
|
1891 |
<Grid Grid.Row="1"> |
1892 |
<ContentPresenter x:Name="ContentElement" ContentTemplate="{TemplateBinding SelectedContentTemplate}"> |
1893 |
<ContentPresenter.Visibility>
|
1894 |
<Binding Path="IsContentPreserved" RelativeSource="{RelativeSource TemplatedParent}"> |
1895 |
<Binding.Converter>
|
1896 |
<telerik:InvertedBooleanToVisibilityConverter/> |
1897 |
</Binding.Converter>
|
1898 |
</Binding>
|
1899 |
</ContentPresenter.Visibility>
|
1900 |
</ContentPresenter>
|
1901 |
<Grid x:Name="ContentElementsPanel"> |
1902 |
<Grid.Visibility>
|
1903 |
<Binding Path="IsContentPreserved" RelativeSource="{RelativeSource TemplatedParent}"> |
1904 |
<Binding.Converter>
|
1905 |
<telerik:BooleanToVisibilityConverter/> |
1906 |
</Binding.Converter>
|
1907 |
</Binding>
|
1908 |
</Grid.Visibility>
|
1909 |
</Grid>
|
1910 |
</Grid>
|
1911 |
</Grid>
|
1912 |
</ContentControl>
|
1913 |
<Border x:Name="ItemsContainer" Margin="0,-5,0,0" Padding="0,0,1,0" Grid.Row="1"> |
1914 |
<ItemsPresenter x:Name="ItemsPresenterElement"/> |
1915 |
</Border>
|
1916 |
<telerik:RadGridResizer x:Name="DockResizer" Cursor="SizeWE" HorizontalAlignment="Left" Placement="Left" Grid.RowSpan="2" ShowsPreview="True" Visibility="Collapsed" VerticalAlignment="Stretch"/> |
1917 |
</Grid>
|
1918 |
</ControlTemplate>
|
1919 |
</Setter.Value>
|
1920 |
</Setter>
|
1921 |
<Setter Property="ItemsPanel"> |
1922 |
<Setter.Value>
|
1923 |
<ItemsPanelTemplate>
|
1924 |
<Telerik_Windows_Controls_Primitives:TabStripPanel IsItemsHost="True"/> |
1925 |
</ItemsPanelTemplate>
|
1926 |
</Setter.Value>
|
1927 |
</Setter>
|
1928 |
<Setter Property="BorderThickness" Value="1"/> |
1929 |
<Setter Property="BorderBrush" Value="DarkGray"/> |
1930 |
<Setter Property="Background" Value="Transparent"/> |
1931 |
<Setter Property="HorizontalAlignment" Value="Stretch"/> |
1932 |
<Setter Property="VerticalAlignment" Value="Stretch"/> |
1933 |
<Setter Property="Align" Value="Left"/> |
1934 |
<Setter Property="TabStripPlacement" Value="Bottom"/> |
1935 |
<Setter Property="AllTabsEqualHeight" Value="True"/> |
1936 |
<Setter Property="BackgroundVisibility" Value="Visible"/> |
1937 |
<Setter Property="MinWidth" Value="15"/> |
1938 |
<Setter Property="MinHeight" Value="15"/> |
1939 |
</Style>
|
1940 |
|
1941 |
<!--<SolidColorBrush x:Key="BackgroundNormal2" Color="White" />-->
|
1942 |
<SolidColorBrush x:Key="BackgroundNormal2" Color="#c64138" /> |
1943 |
|
1944 |
<LinearGradientBrush x:Key="ThumbBackground2" EndPoint="0.5,1" StartPoint="0.5,0"> |
1945 |
<GradientStop Color="#FFFFFFFF" Offset="0"/> |
1946 |
<GradientStop Color="#FFDEDEDE" Offset="1"/> |
1947 |
</LinearGradientBrush>
|
1948 |
|
1949 |
<SolidColorBrush Color="#FF989898" x:Key="BorderBrushNormal2" /> |
1950 |
|
1951 |
|
1952 |
<!--<SolidColorBrush x:Key="ThumbBackgroundChecked2" Color="#FFFFC92B"/>-->
|
1953 |
<SolidColorBrush x:Key="ThumbBackgroundChecked2" Color="#FF4CDA64"/> |
1954 |
<LinearGradientBrush x:Key="ThumbBackgroundMouseOver1" EndPoint="0.5,1" StartPoint="0.5,0"> |
1955 |
<GradientStop Color="#FFFFFBDA" Offset="0"/> |
1956 |
<GradientStop Color="#FFFEEBAE" Offset="0.50"/> |
1957 |
<GradientStop Color="#FFFFD25A" Offset="0.50"/> |
1958 |
<GradientStop Color="#FFFFFBA3" Offset="1"/> |
1959 |
</LinearGradientBrush>
|
1960 |
|
1961 |
|
1962 |
<Style x:Key="RadToggleSwtichButtonStyle" TargetType="telerik:RadToggleButton"> |
1963 |
<Setter Property="BorderThickness" Value="1"/> |
1964 |
<!--<Setter Property="Padding" Value="10 1"/>-->
|
1965 |
<Setter Property="FocusVisualStyle" Value="{x:Null}"/> |
1966 |
<Setter Property="FontSize" Value="10"/> |
1967 |
<Setter Property="FontFamily" Value="Segoe UI"/> |
1968 |
<Setter Property="FontWeight" Value="SemiBold"/> |
1969 |
<Setter Property="VerticalContentAlignment" Value="Center"/> |
1970 |
<Setter Property="HorizontalContentAlignment" Value="Right"/> |
1971 |
<Setter Property="Background" Value="{StaticResource BackgroundNormal2}"/> |
1972 |
<Setter Property="BorderBrush" Value="{StaticResource BorderBrushNormal2}"/> |
1973 |
<Setter Property="BorderThickness" Value="1"/> |
1974 |
<Setter Property="Foreground" Value="#FF989898"/> |
1975 |
<Setter Property="Cursor" Value="Hand"/> |
1976 |
<Setter Property="MinHeight" Value="20"/> |
1977 |
<Setter Property="MinWidth" Value="53"/> |
1978 |
<Setter Property="Template"> |
1979 |
<Setter.Value>
|
1980 |
<ControlTemplate TargetType="telerik:RadToggleButton"> |
1981 |
<Grid>
|
1982 |
<VisualStateManager.VisualStateGroups>
|
1983 |
<VisualStateGroup x:Name="CheckStates"> |
1984 |
<VisualStateGroup.Transitions>
|
1985 |
<VisualTransition From="Unchecked" To="Checked"> |
1986 |
<Storyboard>
|
1987 |
<DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[3].(TranslateTransform.X)" Storyboard.TargetName="Thumb"> |
1988 |
<EasingDoubleKeyFrame KeyTime="0" Value="0"/> |
1989 |
<EasingDoubleKeyFrame KeyTime="0:0:0.6" Value="45"> |
1990 |
<EasingDoubleKeyFrame.EasingFunction>
|
1991 |
<QuinticEase EasingMode="EaseOut"/> |
1992 |
</EasingDoubleKeyFrame.EasingFunction>
|
1993 |
</EasingDoubleKeyFrame>
|
1994 |
</DoubleAnimationUsingKeyFrames>
|
1995 |
|
1996 |
<DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[3].(TranslateTransform.X)" Storyboard.TargetName="Content"> |
1997 |
<EasingDoubleKeyFrame KeyTime="0" Value="0"/> |
1998 |
<EasingDoubleKeyFrame KeyTime="0:0:0.1" Value="0"/> |
1999 |
<EasingDoubleKeyFrame KeyTime="0:0:0.6" Value="-1"> |
2000 |
<EasingDoubleKeyFrame.EasingFunction>
|
2001 |
<CircleEase EasingMode="EaseOut"/> |
2002 |
</EasingDoubleKeyFrame.EasingFunction>
|
2003 |
</EasingDoubleKeyFrame>
|
2004 |
</DoubleAnimationUsingKeyFrames>
|
2005 |
|
2006 |
<DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.Opacity)" Storyboard.TargetName="Content"> |
2007 |
<EasingDoubleKeyFrame KeyTime="0" Value="0"/> |
2008 |
<EasingDoubleKeyFrame KeyTime="0:0:0.1" Value="0"/> |
2009 |
<EasingDoubleKeyFrame KeyTime="0:0:0.2" Value="0.05"/> |
2010 |
<EasingDoubleKeyFrame KeyTime="0:0:0.6" Value="1"> |
2011 |
<EasingDoubleKeyFrame.EasingFunction>
|
2012 |
<CircleEase EasingMode="EaseOut"/> |
2013 |
</EasingDoubleKeyFrame.EasingFunction>
|
2014 |
</EasingDoubleKeyFrame>
|
2015 |
</DoubleAnimationUsingKeyFrames>
|
2016 |
</Storyboard>
|
2017 |
</VisualTransition>
|
2018 |
<VisualTransition From="Checked" To="UnChecked"> |
2019 |
<Storyboard>
|
2020 |
<DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[3].(TranslateTransform.X)" Storyboard.TargetName="Thumb"> |
2021 |
<EasingDoubleKeyFrame KeyTime="0" Value="45"/> |
2022 |
<EasingDoubleKeyFrame KeyTime="0:0:0.6" Value="0"> |
2023 |
<EasingDoubleKeyFrame.EasingFunction>
|
2024 |
<QuinticEase EasingMode="EaseOut"/> |
2025 |
</EasingDoubleKeyFrame.EasingFunction>
|
2026 |
</EasingDoubleKeyFrame>
|
2027 |
</DoubleAnimationUsingKeyFrames>
|
2028 |
<DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[3].(TranslateTransform.X)" Storyboard.TargetName="Content"> |
2029 |
<EasingDoubleKeyFrame KeyTime="0" Value="-1"/> |
2030 |
<EasingDoubleKeyFrame KeyTime="0:0:0.6" Value="0"> |
2031 |
<EasingDoubleKeyFrame.EasingFunction>
|
2032 |
<CircleEase EasingMode="EaseOut"/> |
2033 |
</EasingDoubleKeyFrame.EasingFunction>
|
2034 |
</EasingDoubleKeyFrame>
|
2035 |
</DoubleAnimationUsingKeyFrames>
|
2036 |
|
2037 |
<DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.Opacity)" Storyboard.TargetName="Content"> |
2038 |
<EasingDoubleKeyFrame KeyTime="0" Value="0"/> |
2039 |
<EasingDoubleKeyFrame KeyTime="0:0:0.1" Value="0"/> |
2040 |
<EasingDoubleKeyFrame KeyTime="0:0:0.2" Value="0.05"/> |
2041 |
<EasingDoubleKeyFrame KeyTime="0:0:0.6" Value="1"> |
2042 |
<EasingDoubleKeyFrame.EasingFunction>
|
2043 |
<CircleEase EasingMode="EaseOut"/> |
2044 |
</EasingDoubleKeyFrame.EasingFunction>
|
2045 |
</EasingDoubleKeyFrame>
|
2046 |
</DoubleAnimationUsingKeyFrames>
|
2047 |
</Storyboard>
|
2048 |
</VisualTransition>
|
2049 |
</VisualStateGroup.Transitions>
|
2050 |
<VisualState x:Name="Checked"> |
2051 |
<Storyboard>
|
2052 |
<DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[3].(TranslateTransform.X)" Storyboard.TargetName="Thumb"> |
2053 |
<EasingDoubleKeyFrame KeyTime="0" Value="45"/> |
2054 |
<EasingDoubleKeyFrame KeyTime="0:0:0.6" Value="45"> |
2055 |
<EasingDoubleKeyFrame.EasingFunction>
|
2056 |
<QuinticEase EasingMode="EaseOut"/> |
2057 |
</EasingDoubleKeyFrame.EasingFunction>
|
2058 |
</EasingDoubleKeyFrame>
|
2059 |
</DoubleAnimationUsingKeyFrames>
|
2060 |
|
2061 |
<DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[3].(TranslateTransform.X)" Storyboard.TargetName="Content"> |
2062 |
<EasingDoubleKeyFrame KeyTime="0" Value="-1"/> |
2063 |
<EasingDoubleKeyFrame KeyTime="0:0:0.6" Value="-1" /> |
2064 |
</DoubleAnimationUsingKeyFrames>
|
2065 |
|
2066 |
<DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.Opacity)" Storyboard.TargetName="Content"> |
2067 |
<EasingDoubleKeyFrame KeyTime="0" Value="1"/> |
2068 |
</DoubleAnimationUsingKeyFrames>
|
2069 |
</Storyboard>
|
2070 |
</VisualState>
|
2071 |
<VisualState x:Name="Unchecked"> |
2072 |
<Storyboard>
|
2073 |
|
2074 |
</Storyboard>
|
2075 |
</VisualState>
|
2076 |
</VisualStateGroup>
|
2077 |
</VisualStateManager.VisualStateGroups>
|
2078 |
<Grid SnapsToDevicePixels="True"> |
2079 |
<Border x:Name="Track" Background="{TemplateBinding Background}" BorderBrush="{TemplateBinding BorderBrush}" BorderThickness="{TemplateBinding BorderThickness}" CornerRadius="10" /> |
2080 |
|
2081 |
<Border x:Name="Thumb" Background="{StaticResource ThumbBackground2}" Width="25" Height="25" |
2082 |
HorizontalAlignment="Left" BorderBrush="{TemplateBinding BorderBrush}" |
2083 |
BorderThickness="{TemplateBinding BorderThickness}" |
2084 |
RenderTransformOrigin="0.5,0.5" |
2085 |
CornerRadius="10"> |
2086 |
<Border.RenderTransform>
|
2087 |
<TransformGroup>
|
2088 |
<ScaleTransform/> |
2089 |
<SkewTransform/> |
2090 |
<RotateTransform/> |
2091 |
<TranslateTransform/> |
2092 |
</TransformGroup>
|
2093 |
</Border.RenderTransform>
|
2094 |
<Path x:Name="path" Data="M0.5,0.5 L0.5,15.1 M2.5,0.5 L2.5,15.1 M4.5,0.5 L4.5,15.1 M6.5,0.5 L6.5,15.1" |
2095 |
HorizontalAlignment="Center" Height="7" Stroke="{TemplateBinding BorderBrush}" StrokeThickness="1" VerticalAlignment="Center" |
2096 |
Width="7" Margin="0 1 0 0" Stretch="Fill" SnapsToDevicePixels="True" /> |
2097 |
</Border>
|
2098 |
</Grid>
|
2099 |
|
2100 |
<ContentPresenter x:Name="Content" |
2101 |
Margin="{TemplateBinding Padding}" |
2102 |
Content="{TemplateBinding Content}" |
2103 |
ContentTemplate="{TemplateBinding ContentTemplate}" |
2104 |
VerticalAlignment="{TemplateBinding VerticalContentAlignment}" |
2105 |
HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}" |
2106 |
ContentTemplateSelector="{TemplateBinding ContentTemplateSelector}" |
2107 |
ContentStringFormat="{TemplateBinding ContentStringFormat}" |
2108 |
RecognizesAccessKey="True"> |
2109 |
<ContentPresenter.RenderTransform>
|
2110 |
<TransformGroup>
|
2111 |
<ScaleTransform/> |
2112 |
<SkewTransform/> |
2113 |
<RotateTransform/> |
2114 |
<TranslateTransform/> |
2115 |
</TransformGroup>
|
2116 |
</ContentPresenter.RenderTransform>
|
2117 |
</ContentPresenter>
|
2118 |
</Grid>
|
2119 |
<ControlTemplate.Triggers>
|
2120 |
<Trigger Property="IsMouseOver" Value="True"> |
2121 |
<Setter TargetName="Thumb" Property="Background" Value="{StaticResource ThumbBackgroundMouseOver1}" /> |
2122 |
</Trigger>
|
2123 |
|
2124 |
<Trigger Property="IsChecked" Value="True"> |
2125 |
<Setter TargetName="Content" Property="HorizontalAlignment" Value="Left" /> |
2126 |
<Setter TargetName="Track" Property="Background" Value="{StaticResource ThumbBackgroundChecked2}" /> |
2127 |
<Setter TargetName="Content" Property="TextBlock.Foreground" Value="#333333" /> |
2128 |
</Trigger>
|
2129 |
|
2130 |
</ControlTemplate.Triggers>
|
2131 |
</ControlTemplate>
|
2132 |
</Setter.Value>
|
2133 |
</Setter>
|
2134 |
</Style>
|
2135 |
|
2136 |
<ControlTemplate x:Key="TabControlTemplate" |
2137 |
TargetType="telerik:LayoutControlTabGroup"> |
2138 |
<Grid>
|
2139 |
<Grid>
|
2140 |
<Grid.ColumnDefinitions>
|
2141 |
<ColumnDefinition Width="Auto" /> |
2142 |
<ColumnDefinition Width="*" /> |
2143 |
</Grid.ColumnDefinitions>
|
2144 |
<!--<Border x:Name="ContentBorder"
|
2145 |
Grid.Column="1"
|
2146 |
BorderBrush="{TemplateBinding BorderBrush}"
|
2147 |
BorderThickness="{TemplateBinding BorderThickness}"
|
2148 |
Background="{TemplateBinding Background}"
|
2149 |
Padding="{TemplateBinding Padding}">
|
2150 |
<ContentControl x:Name="PART_ContentElement" Content="{TemplateBinding SelectedItem}" />
|
2151 |
</Border-->
|
2152 |
|
2153 |
<Border x:Name="ContentBorder" |
2154 |
Grid.Column="1" |
2155 |
BorderBrush="{TemplateBinding BorderBrush}" |
2156 |
BorderThickness="0" |
2157 |
Padding="0" |
2158 |
Background="{TemplateBinding Background}"> |
2159 |
<ContentControl x:Name="PART_ContentElement" Content="{TemplateBinding SelectedItem}" /> |
2160 |
</Border>
|
2161 |
|
2162 |
<telerik:LayoutTransformControl x:Name="HeaderDockedElement" |
2163 |
Margin="0 0 -2 0"> |
2164 |
<telerik:LayoutTransformControl.LayoutTransform>
|
2165 |
<RotateTransform Angle="-90" /> |
2166 |
</telerik:LayoutTransformControl.LayoutTransform>
|
2167 |
<Grid>
|
2168 |
<Border x:Name="HeaderBackground" /> |
2169 |
<ItemsPresenter HorizontalAlignment="Right" FlowDirection="RightToLeft"/> |
2170 |
</Grid>
|
2171 |
</telerik:LayoutTransformControl>
|
2172 |
</Grid>
|
2173 |
</Grid>
|
2174 |
</ControlTemplate>
|
2175 |
|
2176 |
<ControlTemplate x:Key="RadExpanderControlTemplate" TargetType="telerik:RadExpander"> |
2177 |
<Grid HorizontalAlignment="{TemplateBinding HorizontalAlignment}" VerticalAlignment="{TemplateBinding VerticalAlignment}"> |
2178 |
|
2179 |
<VisualStateManager.VisualStateGroups>
|
2180 |
<VisualStateGroup x:Name="CommonStateGroup"> |
2181 |
<VisualState x:Name="Normal" /> |
2182 |
<VisualState x:Name="Disabled"> |
2183 |
<Storyboard>
|
2184 |
<ObjectAnimationUsingKeyFrames Duration="0:0:0" |
2185 |
Storyboard.TargetName="InnerCircle" |
2186 |
Storyboard.TargetProperty="Stroke"> |
2187 |
<DiscreteObjectKeyFrame KeyTime="0:0:0" Value="{StaticResource ControlInnerBorder_Disabled}" /> |
2188 |
</ObjectAnimationUsingKeyFrames>
|
2189 |
<DoubleAnimation Storyboard.TargetName="Content" |
2190 |
Storyboard.TargetProperty="Opacity" |
2191 |
To=".5" /> |
2192 |
<DoubleAnimation Storyboard.TargetName="HeaderContent" |
2193 |
Storyboard.TargetProperty="Opacity" |
2194 |
To=".5" /> |
2195 |
</Storyboard>
|
2196 |
</VisualState>
|
2197 |
</VisualStateGroup>
|
2198 |
<VisualStateGroup x:Name="HeaderStateGroup"> |
2199 |
<VisualState x:Name="NormalHeader" /> |
2200 |
<VisualState x:Name="MouseOverHeader"> |
2201 |
<Storyboard>
|
2202 |
<ObjectAnimationUsingKeyFrames Duration="0:0:0" |
2203 |
Storyboard.TargetName="InnerCircle" |
2204 |
Storyboard.TargetProperty="Stroke"> |
2205 |
<DiscreteObjectKeyFrame KeyTime="0:0:0" Value="{StaticResource ControlInnerBorder_MouseOver}" /> |
2206 |
</ObjectAnimationUsingKeyFrames>
|
2207 |
</Storyboard>
|
2208 |
</VisualState>
|
2209 |
<VisualState x:Name="PressedHeader"> |
2210 |
<Storyboard>
|
2211 |
<ObjectAnimationUsingKeyFrames Duration="0:0:0" |
2212 |
Storyboard.TargetName="InnerCircle" |
2213 |
Storyboard.TargetProperty="Stroke"> |
2214 |
<DiscreteObjectKeyFrame KeyTime="0:0:0" Value="{StaticResource ControlInnerBorder_Pressed}" /> |
2215 |
</ObjectAnimationUsingKeyFrames>
|
2216 |
</Storyboard>
|
2217 |
</VisualState>
|
2218 |
</VisualStateGroup>
|
2219 |
<VisualStateGroup x:Name="HeaderOrientationGroup"> |
2220 |
<VisualState x:Name="HorizontalOrientation"> |
2221 |
<Storyboard>
|
2222 |
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="HeaderContentTransform" Storyboard.TargetProperty="LayoutTransform"> |
2223 |
<DiscreteObjectKeyFrame KeyTime="0"> |
2224 |
<DiscreteObjectKeyFrame.Value>
|
2225 |
<RotateTransform Angle="0" /> |
2226 |
</DiscreteObjectKeyFrame.Value>
|
2227 |
</DiscreteObjectKeyFrame>
|
2228 |
</ObjectAnimationUsingKeyFrames>
|
2229 |
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="HeaderContentTransform" Storyboard.TargetProperty="(Grid.Column)"> |
2230 |
<DiscreteObjectKeyFrame KeyTime="0"> |
2231 |
<DiscreteObjectKeyFrame.Value>
|
2232 |
<System:Int32>1</System:Int32> |
2233 |
</DiscreteObjectKeyFrame.Value>
|
2234 |
</DiscreteObjectKeyFrame>
|
2235 |
</ObjectAnimationUsingKeyFrames>
|
2236 |
</Storyboard>
|
2237 |
</VisualState>
|
2238 |
<VisualState x:Name="VerticalOrientation"> |
2239 |
<Storyboard>
|
2240 |
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="HeaderContentTransform" Storyboard.TargetProperty="LayoutTransform"> |
2241 |
<DiscreteObjectKeyFrame KeyTime="0"> |
2242 |
<DiscreteObjectKeyFrame.Value>
|
2243 |
<RotateTransform Angle="90" /> |
2244 |
</DiscreteObjectKeyFrame.Value>
|
2245 |
</DiscreteObjectKeyFrame>
|
2246 |
</ObjectAnimationUsingKeyFrames>
|
2247 |
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="HeaderContentTransform" Storyboard.TargetProperty="(Grid.Row)"> |
2248 |
<DiscreteObjectKeyFrame KeyTime="0"> |
2249 |
<DiscreteObjectKeyFrame.Value>
|
2250 |
<System:Int32>1</System:Int32> |
2251 |
</DiscreteObjectKeyFrame.Value>
|
2252 |
</DiscreteObjectKeyFrame>
|
2253 |
</ObjectAnimationUsingKeyFrames>
|
2254 |
</Storyboard>
|
2255 |
</VisualState>
|
2256 |
</VisualStateGroup>
|
2257 |
<VisualStateGroup x:Name="ExpandStateGroup"> |
2258 |
<VisualState x:Name="Expanded"> |
2259 |
<Storyboard>
|
2260 |
<DoubleAnimation Duration="0:0:0.2" |
2261 |
Storyboard.TargetName="arrow" |
2262 |
Storyboard.TargetProperty="(FrameworkElement.RenderTransform).Angle" |
2263 |
To="180" /> |
2264 |
<ColorAnimation d:IsOptimized="True" |
2265 |
Duration="0" |
2266 |
Storyboard.TargetName="OuterCircle" |
2267 |
Storyboard.TargetProperty="(Shape.Stroke).(SolidColorBrush.Color)" |
2268 |
To="#FF1FA3EB" /> |
2269 |
</Storyboard>
|
2270 |
</VisualState>
|
2271 |
<VisualState x:Name="Collapsed"> |
2272 |
<Storyboard>
|
2273 |
<DoubleAnimation Duration="0:0:0.2" |
2274 |
Storyboard.TargetName="arrow" |
2275 |
Storyboard.TargetProperty="(FrameworkElement.RenderTransform).Angle" |
2276 |
To="0" /> |
2277 |
</Storyboard>
|
2278 |
</VisualState>
|
2279 |
</VisualStateGroup>
|
2280 |
<VisualStateGroup x:Name="ExpandDirectionStates"> |
2281 |
<VisualStateGroup.Transitions>
|
2282 |
<VisualTransition>
|
2283 |
<Storyboard>
|
2284 |
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="Content" Storyboard.TargetProperty="(Grid.Row)"> |
2285 |
<DiscreteObjectKeyFrame KeyTime="0"> |
2286 |
<DiscreteObjectKeyFrame.Value>
|
2287 |
<System:Int32>0</System:Int32> |
2288 |
</DiscreteObjectKeyFrame.Value>
|
2289 |
</DiscreteObjectKeyFrame>
|
2290 |
</ObjectAnimationUsingKeyFrames>
|
2291 |
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="Content" Storyboard.TargetProperty="(Grid.Column)"> |
2292 |
<DiscreteObjectKeyFrame KeyTime="0"> |
2293 |
<DiscreteObjectKeyFrame.Value>
|
2294 |
<System:Int32>0</System:Int32> |
2295 |
</DiscreteObjectKeyFrame.Value>
|
2296 |
</DiscreteObjectKeyFrame>
|
2297 |
</ObjectAnimationUsingKeyFrames>
|
2298 |
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="HeaderButton" Storyboard.TargetProperty="(Grid.Row)"> |
2299 |
<DiscreteObjectKeyFrame KeyTime="0"> |
2300 |
<DiscreteObjectKeyFrame.Value>
|
2301 |
<System:Int32>0</System:Int32> |
2302 |
</DiscreteObjectKeyFrame.Value>
|
2303 |
</DiscreteObjectKeyFrame>
|
2304 |
</ObjectAnimationUsingKeyFrames>
|
2305 |
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="HeaderButton" Storyboard.TargetProperty="(Grid.Column)"> |
2306 |
<DiscreteObjectKeyFrame KeyTime="0"> |
2307 |
<DiscreteObjectKeyFrame.Value>
|
2308 |
<System:Int32>0</System:Int32> |
2309 |
</DiscreteObjectKeyFrame.Value>
|
2310 |
</DiscreteObjectKeyFrame>
|
2311 |
</ObjectAnimationUsingKeyFrames>
|
2312 |
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="col0" Storyboard.TargetProperty="Width"> |
2313 |
<DiscreteObjectKeyFrame KeyTime="0"> |
2314 |
<DiscreteObjectKeyFrame.Value>
|
2315 |
<GridLength>Auto</GridLength> |
2316 |
</DiscreteObjectKeyFrame.Value>
|
2317 |
</DiscreteObjectKeyFrame>
|
2318 |
</ObjectAnimationUsingKeyFrames>
|
2319 |
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="col1" Storyboard.TargetProperty="Width"> |
2320 |
<DiscreteObjectKeyFrame KeyTime="0"> |
2321 |
<DiscreteObjectKeyFrame.Value>
|
2322 |
<GridLength>Auto</GridLength> |
2323 |
</DiscreteObjectKeyFrame.Value>
|
2324 |
</DiscreteObjectKeyFrame>
|
2325 |
</ObjectAnimationUsingKeyFrames>
|
2326 |
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="row0" Storyboard.TargetProperty="Height"> |
2327 |
<DiscreteObjectKeyFrame KeyTime="0"> |
2328 |
<DiscreteObjectKeyFrame.Value>
|
2329 |
<GridLength>Auto</GridLength> |
2330 |
</DiscreteObjectKeyFrame.Value>
|
2331 |
</DiscreteObjectKeyFrame>
|
2332 |
</ObjectAnimationUsingKeyFrames>
|
2333 |
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="row1" Storyboard.TargetProperty="Height"> |
2334 |
<DiscreteObjectKeyFrame KeyTime="0"> |
2335 |
<DiscreteObjectKeyFrame.Value>
|
2336 |
<GridLength>Auto</GridLength> |
2337 |
</DiscreteObjectKeyFrame.Value>
|
2338 |
</DiscreteObjectKeyFrame>
|
2339 |
</ObjectAnimationUsingKeyFrames>
|
2340 |
</Storyboard>
|
2341 |
</VisualTransition>
|
2342 |
</VisualStateGroup.Transitions>
|
2343 |
<VisualState x:Name="DirectionLeft"> |
2344 |
<Storyboard>
|
2345 |
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="col0" Storyboard.TargetProperty="Width"> |
2346 |
<DiscreteObjectKeyFrame KeyTime="0"> |
2347 |
<DiscreteObjectKeyFrame.Value>
|
2348 |
<GridLength>*</GridLength> |
2349 |
</DiscreteObjectKeyFrame.Value>
|
2350 |
</DiscreteObjectKeyFrame>
|
2351 |
</ObjectAnimationUsingKeyFrames>
|
2352 |
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="row0" Storyboard.TargetProperty="Height"> |
2353 |
<DiscreteObjectKeyFrame KeyTime="0"> |
2354 |
<DiscreteObjectKeyFrame.Value>
|
2355 |
<GridLength>*</GridLength> |
2356 |
</DiscreteObjectKeyFrame.Value>
|
2357 |
</DiscreteObjectKeyFrame>
|
2358 |
</ObjectAnimationUsingKeyFrames>
|
2359 |
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="HeaderButton" Storyboard.TargetProperty="(Grid.Column)"> |
2360 |
<DiscreteObjectKeyFrame KeyTime="0"> |
2361 |
<DiscreteObjectKeyFrame.Value>
|
2362 |
<System:Int32>1</System:Int32> |
2363 |
</DiscreteObjectKeyFrame.Value>
|
2364 |
</DiscreteObjectKeyFrame>
|
2365 |
</ObjectAnimationUsingKeyFrames>
|
2366 |
<DoubleAnimation Duration="0:0:0" |
2367 |
Storyboard.TargetName="arrowPanel" |
2368 |
Storyboard.TargetProperty="(FrameworkElement.RenderTransform).Angle" |
2369 |
To="90" /> |
2370 |
</Storyboard>
|
2371 |
</VisualState>
|
2372 |
<VisualState x:Name="DirectionRight"> |
2373 |
<Storyboard>
|
2374 |
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="col1" Storyboard.TargetProperty="Width"> |
2375 |
<DiscreteObjectKeyFrame KeyTime="0"> |
2376 |
<DiscreteObjectKeyFrame.Value>
|
2377 |
<GridLength>*</GridLength> |
2378 |
</DiscreteObjectKeyFrame.Value>
|
2379 |
</DiscreteObjectKeyFrame>
|
2380 |
</ObjectAnimationUsingKeyFrames>
|
2381 |
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="row0" Storyboard.TargetProperty="Height"> |
2382 |
<DiscreteObjectKeyFrame KeyTime="0"> |
2383 |
<DiscreteObjectKeyFrame.Value>
|
2384 |
<GridLength>*</GridLength> |
2385 |
</DiscreteObjectKeyFrame.Value>
|
2386 |
</DiscreteObjectKeyFrame>
|
2387 |
</ObjectAnimationUsingKeyFrames>
|
2388 |
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="Content" Storyboard.TargetProperty="(Grid.Column)"> |
2389 |
<DiscreteObjectKeyFrame KeyTime="0"> |
2390 |
<DiscreteObjectKeyFrame.Value>
|
2391 |
<System:Int32>1</System:Int32> |
2392 |
</DiscreteObjectKeyFrame.Value>
|
2393 |
</DiscreteObjectKeyFrame>
|
2394 |
</ObjectAnimationUsingKeyFrames>
|
2395 |
<DoubleAnimation Duration="0:0:0" |
2396 |
Storyboard.TargetName="arrowPanel" |
2397 |
Storyboard.TargetProperty="(FrameworkElement.RenderTransform).Angle" |
2398 |
To="-90" /> |
2399 |
</Storyboard>
|
2400 |
</VisualState>
|
2401 |
<VisualState x:Name="DirectionUp"> |
2402 |
<Storyboard>
|
2403 |
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="col0" Storyboard.TargetProperty="Width"> |
2404 |
<DiscreteObjectKeyFrame KeyTime="0"> |
2405 |
<DiscreteObjectKeyFrame.Value>
|
2406 |
<GridLength>*</GridLength> |
2407 |
</DiscreteObjectKeyFrame.Value>
|
2408 |
</DiscreteObjectKeyFrame>
|
2409 |
</ObjectAnimationUsingKeyFrames>
|
2410 |
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="row0" Storyboard.TargetProperty="Height"> |
2411 |
<DiscreteObjectKeyFrame KeyTime="0"> |
2412 |
<DiscreteObjectKeyFrame.Value>
|
2413 |
<GridLength>*</GridLength> |
2414 |
</DiscreteObjectKeyFrame.Value>
|
2415 |
</DiscreteObjectKeyFrame>
|
2416 |
</ObjectAnimationUsingKeyFrames>
|
2417 |
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="HeaderButton" Storyboard.TargetProperty="(Grid.Row)"> |
2418 |
<DiscreteObjectKeyFrame KeyTime="0"> |
2419 |
<DiscreteObjectKeyFrame.Value>
|
2420 |
<System:Int32>1</System:Int32> |
2421 |
</DiscreteObjectKeyFrame.Value>
|
2422 |
</DiscreteObjectKeyFrame>
|
2423 |
</ObjectAnimationUsingKeyFrames>
|
2424 |
<DoubleAnimation Duration="0:0:0" |
2425 |
Storyboard.TargetName="arrowPanel" |
2426 |
Storyboard.TargetProperty="(FrameworkElement.RenderTransform).Angle" |
2427 |
To="180" /> |
2428 |
</Storyboard>
|
2429 |
</VisualState>
|
2430 |
<VisualState x:Name="DirectionDown"> |
2431 |
<Storyboard>
|
2432 |
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="col0" Storyboard.TargetProperty="Width"> |
2433 |
<DiscreteObjectKeyFrame KeyTime="0"> |
2434 |
<DiscreteObjectKeyFrame.Value>
|
2435 |
<GridLength>*</GridLength> |
2436 |
</DiscreteObjectKeyFrame.Value>
|
2437 |
</DiscreteObjectKeyFrame>
|
2438 |
</ObjectAnimationUsingKeyFrames>
|
2439 |
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="row1" Storyboard.TargetProperty="Height"> |
2440 |
<DiscreteObjectKeyFrame KeyTime="0"> |
2441 |
<DiscreteObjectKeyFrame.Value>
|
2442 |
<GridLength>*</GridLength> |
2443 |
</DiscreteObjectKeyFrame.Value>
|
2444 |
</DiscreteObjectKeyFrame>
|
2445 |
</ObjectAnimationUsingKeyFrames>
|
2446 |
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="Content" Storyboard.TargetProperty="(Grid.Row)"> |
2447 |
<DiscreteObjectKeyFrame KeyTime="0"> |
2448 |
<DiscreteObjectKeyFrame.Value>
|
2449 |
<System:Int32>1</System:Int32> |
2450 |
</DiscreteObjectKeyFrame.Value>
|
2451 |
</DiscreteObjectKeyFrame>
|
2452 |
</ObjectAnimationUsingKeyFrames>
|
2453 |
</Storyboard>
|
2454 |
</VisualState>
|
2455 |
</VisualStateGroup>
|
2456 |
</VisualStateManager.VisualStateGroups>
|
2457 |
|
2458 |
<Border Background="{TemplateBinding Background}" BorderBrush="{TemplateBinding BorderBrush}"> |
2459 |
<Grid>
|
2460 |
<Grid.RowDefinitions>
|
2461 |
<RowDefinition x:Name="row0" Height="Auto" /> |
2462 |
<RowDefinition x:Name="row1" Height="Auto" /> |
2463 |
</Grid.RowDefinitions>
|
2464 |
<Grid.ColumnDefinitions>
|
2465 |
<ColumnDefinition x:Name="col0" Width="Auto" /> |
2466 |
<ColumnDefinition x:Name="col1" Width="Auto" /> |
2467 |
</Grid.ColumnDefinitions>
|
2468 |
|
2469 |
<telerik:RadToggleButton x:Name="HeaderButton" |
2470 |
HorizontalAlignment="{TemplateBinding HorizontalHeaderAlignment}" |
2471 |
VerticalAlignment="{TemplateBinding VerticalHeaderAlignment}" |
2472 |
HorizontalContentAlignment="{TemplateBinding HorizontalHeaderAlignment}" |
2473 |
VerticalContentAlignment="{TemplateBinding VerticalHeaderAlignment}" |
2474 |
Background="Transparent" |
2475 |
ClickMode="{TemplateBinding ClickMode}" |
2476 |
FontFamily="{TemplateBinding FontFamily}" |
2477 |
FontSize="{TemplateBinding FontSize}" |
2478 |
FontStretch="{TemplateBinding FontStretch}" |
2479 |
FontStyle="{TemplateBinding FontStyle}" |
2480 |
FontWeight="{TemplateBinding FontWeight}" |
2481 |
Foreground="{TemplateBinding Foreground}" |
2482 |
IsChecked="{Binding IsExpanded, |
2483 |
Mode=TwoWay,
|
2484 |
RelativeSource={RelativeSource TemplatedParent}}"
|
2485 |
IsTabStop="{TemplateBinding IsTabStop}" |
2486 |
Padding="{TemplateBinding Padding}" |
2487 |
TabIndex="{TemplateBinding TabIndex}" |
2488 |
Template="{StaticResource ToggleTemplate}"> |
2489 |
|
2490 |
<Grid x:Name="HeaderPanel" Background="Transparent"> |
2491 |
<Grid.RowDefinitions>
|
2492 |
<RowDefinition Height="Auto" /> |
2493 |
<RowDefinition Height="*" /> |
2494 |
</Grid.RowDefinitions>
|
2495 |
<Grid.ColumnDefinitions>
|
2496 |
<ColumnDefinition Width="Auto" /> |
2497 |
<ColumnDefinition Width="*" /> |
2498 |
</Grid.ColumnDefinitions>
|
2499 |
|
2500 |
<Grid Grid.Row="0" |
2501 |
Grid.Column="0" |
2502 |
HorizontalAlignment="Left"> |
2503 |
<Ellipse x:Name="OuterCircle" |
2504 |
Width="13" |
2505 |
Height="13" |
2506 |
HorizontalAlignment="Center" |
2507 |
VerticalAlignment="Center" |
2508 |
Fill="#eeeef2" |
2509 |
Stroke="#cccedb" /> |
2510 |
<Ellipse x:Name="InnerCircle" |
2511 |
Width="11" Fill="#eeeef2" |
2512 |
Height="11" |
2513 |
Stroke="{StaticResource ControlInnerBorder_Normal}" /> |
2514 |
|
2515 |
<Grid x:Name="arrowPanel" |
2516 |
Width="7" |
2517 |
Height="4" |
2518 |
RenderTransformOrigin=".5 .5"> |
2519 |
<Grid.RenderTransform>
|
2520 |
<RotateTransform /> |
2521 |
</Grid.RenderTransform>
|
2522 |
<Path x:Name="arrow" |
2523 |
Data="M0,0 L0.67,0 4,2.67 7.25,0 8,0 8,0.67 4,4 0,0.75 z" |
2524 |
Fill="#FF3B4950" |
2525 |
RenderTransformOrigin="0.5,0.5" |
2526 |
Stretch="Fill"> |
2527 |
<Path.RenderTransform>
|
2528 |
<RotateTransform Angle="0" /> |
2529 |
</Path.RenderTransform>
|
2530 |
</Path>
|
2531 |
</Grid>
|
2532 |
</Grid>
|
2533 |
<telerik:LayoutTransformControl x:Name="HeaderContentTransform" |
2534 |
Grid.Row="0" |
2535 |
Grid.Column="0" |
2536 |
RenderTransformOrigin=".5 .5"> |
2537 |
<ContentPresenter x:Name="HeaderContent" |
2538 |
Grid.Column="1" |
2539 |
Margin="3,0,0,0" |
2540 |
HorizontalAlignment="Stretch" |
2541 |
VerticalAlignment="Stretch" |
2542 |
Content="{TemplateBinding Header}" |
2543 |
ContentTemplate="{TemplateBinding HeaderTemplate}" /> |
2544 |
</telerik:LayoutTransformControl>
|
2545 |
|
2546 |
</Grid>
|
2547 |
</telerik:RadToggleButton>
|
2548 |
|
2549 |
<ContentPresenter x:Name="Content" |
2550 |
HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}" |
2551 |
VerticalAlignment="{TemplateBinding VerticalContentAlignment}" |
2552 |
Content="{TemplateBinding Content}" |
2553 |
ContentTemplate="{TemplateBinding ContentTemplate}" |
2554 |
Visibility="Collapsed" /> |
2555 |
</Grid>
|
2556 |
</Border>
|
2557 |
</Grid>
|
2558 |
|
2559 |
</ControlTemplate>
|
2560 |
<SolidColorBrush x:Key="ControlBackground" Color="#FFFFFFFF" /> |
2561 |
<SolidColorBrush x:Key="ControlForeground_Normal" Color="#FF000000" /> |
2562 |
<SolidColorBrush x:Key="ControlOuterBorder_Normal" Color="#FF848484" /> |
2563 |
<SolidColorBrush x:Key="ControlInnerBorder_Normal" Color="#FFFFFFFF" /> |
2564 |
<SolidColorBrush x:Key="ControlElement_Normal" Color="#FF000000" /> |
2565 |
<SolidColorBrush x:Key="ControlElement_MouseOver" Color="#FF000000" /> |
2566 |
<SolidColorBrush x:Key="ControlInnerBorder_MouseOver" Color="#FFFFFFFF" /> |
2567 |
<SolidColorBrush x:Key="ControlInnerBorder_Disabled" Color="Transparent" /> |
2568 |
<LinearGradientBrush x:Key="ControlOuterBorder_Pressed" StartPoint="0.5,0" EndPoint="0.5,1"> |
2569 |
<GradientStop Color="#FF282828" /> |
2570 |
<GradientStop Offset="1" Color="#FF5F5F5F" /> |
2571 |
</LinearGradientBrush>
|
2572 |
<LinearGradientBrush x:Key="ControlInnerBorder_Pressed" StartPoint="0.5,0" EndPoint="0.5,1"> |
2573 |
<GradientStop Color="#FFB69A78" /> |
2574 |
<GradientStop Offset="0.126" Color="#FFFFE17A" /> |
2575 |
</LinearGradientBrush>
|
2576 |
<LinearGradientBrush x:Key="ControlBackground_Pressed" StartPoint="0.5,0" EndPoint="0.5,1"> |
2577 |
<GradientStop Offset="0" Color="#FFFFDCAB" /> |
2578 |
<GradientStop Offset="0.5" Color="#FFFFD18F" /> |
2579 |
<GradientStop Offset="0.5" Color="#FFFE9227" /> |
2580 |
<GradientStop Offset="0" Color="#FFFFBA74" /> |
2581 |
</LinearGradientBrush>
|
2582 |
<ControlTemplate x:Key="ToggleTemplate" TargetType="telerik:RadToggleButton"> |
2583 |
<ContentPresenter x:Name="Content" |
2584 |
Margin="{TemplateBinding Padding}" |
2585 |
HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}" |
2586 |
VerticalAlignment="{TemplateBinding VerticalContentAlignment}" |
2587 |
Content="{TemplateBinding Content}" |
2588 |
ContentTemplate="{TemplateBinding ContentTemplate}" /> |
2589 |
</ControlTemplate>
|
2590 |
</ResourceDictionary>
|