프로젝트

일반

사용자정보

개정판 4fcb686a

ID4fcb686a2d4740f5eee8d44f69429ab17bd7489f
상위 a7bee7cf
하위 5ba8f2d5

김태성이(가) 2년 이상 전에 추가함

issue #000 font가 적용 되지 않아 box size가 작게 출력되는 문제

Change-Id: Ie07531db96d56e8d5c2bbdbf0786d053ad39747c

차이점 보기:

KCOM/Resources/Theme_CustomControl.xaml
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">
1
<ResourceDictionary
2
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
3
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
4
    xmlns:System="clr-namespace:System;assembly=mscorlib"
5
    xmlns:Telerik_Windows_Controls_Chromes="clr-namespace:Telerik.Windows.Controls.Chromes;assembly=Telerik.Windows.Controls"
6
    xmlns:Telerik_Windows_Controls_Primitives="clr-namespace:Telerik.Windows.Controls.Primitives;assembly=Telerik.Windows.Controls.Navigation"
7
    xmlns:Telerik_Windows_Controls_TabControl="clr-namespace:Telerik.Windows.Controls.TabControl;assembly=Telerik.Windows.Controls.Navigation"
8
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
9
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
10
    xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation"
11
    mc:Ignorable="d">
9 12

  
10
    <Style TargetType="{x:Type telerik:RadPaneGroup}" x:Key="Style_RadPanelGroup">
13
    <Style x:Key="Style_RadPanelGroup" TargetType="{x:Type telerik:RadPaneGroup}">
11 14
        <!--<Setter Property="telerik:StyleManager.Theme" Value="Office2016"/>-->
12 15
        <Setter Property="Template">
13 16
            <Setter.Value>
14 17
                <ControlTemplate TargetType="{x:Type telerik:RadPaneGroup}">
15 18
                    <Grid>
16 19
                        <Grid.RowDefinitions>
17
                            <RowDefinition Height="*" MinHeight="20"/>
18
                            <RowDefinition Height="Auto"/>
20
                            <RowDefinition Height="*" MinHeight="20" />
21
                            <RowDefinition Height="Auto" />
19 22
                        </Grid.RowDefinitions>
23
                        <ContentControl
24
                            x:Name="ContentBackground"
25
                            Background="{TemplateBinding Background}"
26
                            BorderBrush="{TemplateBinding BorderBrush}"
27
                            BorderThickness="{TemplateBinding BorderThickness}">
28
                            <ContentControl.Style>
29
                                <Style TargetType="{x:Type ContentControl}">
30
                                    <Setter Property="Template">
31
                                        <Setter.Value>
32
                                            <ControlTemplate TargetType="{x:Type ContentControl}">
33
                                                <Border
34
                                                    x:Name="Root"
35
                                                    Background="{TemplateBinding Background}"
36
                                                    BorderBrush="{TemplateBinding BorderBrush}"
37
                                                    BorderThickness="{TemplateBinding BorderThickness}"
38
                                                    CornerRadius="2,2,2,0">
39
                                                    <ContentPresenter
40
                                                        Content="{TemplateBinding Content}"
41
                                                        ContentStringFormat="{TemplateBinding ContentStringFormat}"
42
                                                        ContentTemplate="{TemplateBinding ContentTemplate}" />
43
                                                </Border>
44
                                            </ControlTemplate>
45
                                        </Setter.Value>
46
                                    </Setter>
47
                                </Style>
48
                            </ContentControl.Style>
49
                            <Grid>
50
                                <Grid.RowDefinitions>
51
                                    <RowDefinition Height="Auto" />
52
                                    <RowDefinition Height="*" />
53
                                </Grid.RowDefinitions>
54
                                <Border Grid.Row="0" Visibility="{Binding SelectedItem.PaneHeaderVisibility, RelativeSource={RelativeSource TemplatedParent}}">
55
                                    <telerik:PaneHeader
56
                                        x:Name="HeaderElement"
57
                                        Grid.Row="0"
58
                                        MinHeight="16"
59
                                        SelectedPane="{TemplateBinding SelectedPane}">
60
                                        <telerik:StyleManager.Theme>
61
                                            <telerik:Office2016Theme />
62
                                        </telerik:StyleManager.Theme>
63
                                    </telerik:PaneHeader>
64
                                </Border>
65
                                <Grid Grid.Row="1">
66
                                    <ContentPresenter x:Name="ContentElement" ContentTemplate="{TemplateBinding SelectedContentTemplate}">
67
                                        <ContentPresenter.Visibility>
68
                                            <Binding Path="IsContentPreserved" RelativeSource="{RelativeSource TemplatedParent}">
69
                                                <Binding.Converter>
70
                                                    <telerik:InvertedBooleanToVisibilityConverter />
71
                                                </Binding.Converter>
72
                                            </Binding>
73
                                        </ContentPresenter.Visibility>
74
                                    </ContentPresenter>
75
                                    <Grid x:Name="ContentElementsPanel">
76
                                        <Grid.Visibility>
77
                                            <Binding Path="IsContentPreserved" RelativeSource="{RelativeSource TemplatedParent}">
78
                                                <Binding.Converter>
79
                                                    <telerik:BooleanToVisibilityConverter />
80
                                                </Binding.Converter>
81
                                            </Binding>
82
                                        </Grid.Visibility>
83
                                    </Grid>
84
                                </Grid>
85
                            </Grid>
86
                        </ContentControl>
87
                        <Border
88
                            x:Name="ItemsContainer"
89
                            Grid.Row="1"
90
                            Margin="0,-5,0,0"
91
                            Padding="0,0,1,0">
92
                            <ItemsPresenter x:Name="ItemsPresenterElement" />
93
                        </Border>
94
                        <telerik:RadGridResizer
95
                            x:Name="DockResizer"
96
                            Grid.RowSpan="2"
97
                            HorizontalAlignment="Left"
98
                            VerticalAlignment="Stretch"
99
                            Cursor="SizeWE"
100
                            Placement="Left"
101
                            ShowsPreview="True"
102
                            Visibility="Collapsed" />
20 103
                        <VisualStateManager.VisualStateGroups>
21 104
                            <VisualStateGroup x:Name="CommonStates">
22
                                <VisualState x:Name="Disabled"/>
23
                                <VisualState x:Name="Normal"/>
105
                                <VisualState x:Name="Disabled" />
106
                                <VisualState x:Name="Normal" />
24 107
                            </VisualStateGroup>
25 108
                            <VisualStateGroup x:Name="FocusStates">
26
                                <VisualState x:Name="Focused"/>
27
                                <VisualState x:Name="Unfocused"/>
109
                                <VisualState x:Name="Focused" />
110
                                <VisualState x:Name="Unfocused" />
28 111
                            </VisualStateGroup>
29 112
                            <VisualStateGroup x:Name="AutoCollapseStates">
30 113
                                <VisualState x:Name="SingleItem">
31 114
                                    <Storyboard>
32
                                        <ObjectAnimationUsingKeyFrames Duration="0" Storyboard.TargetProperty="Visibility" Storyboard.TargetName="ItemsContainer">
115
                                        <ObjectAnimationUsingKeyFrames
116
                                            Storyboard.TargetName="ItemsContainer"
117
                                            Storyboard.TargetProperty="Visibility"
118
                                            Duration="0">
33 119
                                            <DiscreteObjectKeyFrame KeyTime="0">
34 120
                                                <DiscreteObjectKeyFrame.Value>
35 121
                                                    <Visibility>Collapsed</Visibility>
......
38 124
                                        </ObjectAnimationUsingKeyFrames>
39 125
                                    </Storyboard>
40 126
                                </VisualState>
41
                                <VisualState x:Name="TwoOrMoreItems"/>
127
                                <VisualState x:Name="TwoOrMoreItems" />
42 128
                            </VisualStateGroup>
43 129
                            <VisualStateGroup x:Name="PaneHeaderVisibilityStates">
44 130
                                <VisualState x:Name="PaneHeaderHidden">
45 131
                                    <Storyboard>
46
                                        <ObjectAnimationUsingKeyFrames Duration="0" Storyboard.TargetProperty="Visibility" Storyboard.TargetName="HeaderElement">
132
                                        <ObjectAnimationUsingKeyFrames
133
                                            Storyboard.TargetName="HeaderElement"
134
                                            Storyboard.TargetProperty="Visibility"
135
                                            Duration="0">
47 136
                                            <DiscreteObjectKeyFrame KeyTime="0">
48 137
                                                <DiscreteObjectKeyFrame.Value>
49 138
                                                    <Visibility>Collapsed</Visibility>
......
52 141
                                        </ObjectAnimationUsingKeyFrames>
53 142
                                    </Storyboard>
54 143
                                </VisualState>
55
                                <VisualState x:Name="PaneHeaderVisible"/>
144
                                <VisualState x:Name="PaneHeaderVisible" />
56 145
                            </VisualStateGroup>
57 146
                            <VisualStateGroup x:Name="ResizerStates">
58 147
                                <VisualState x:Name="ResizerLeft">
59 148
                                    <Storyboard>
60 149
                                        <Storyboard>
61
                                            <ObjectAnimationUsingKeyFrames Duration="0" Storyboard.TargetProperty="Visibility" Storyboard.TargetName="DockResizer">
150
                                            <ObjectAnimationUsingKeyFrames
151
                                                Storyboard.TargetName="DockResizer"
152
                                                Storyboard.TargetProperty="Visibility"
153
                                                Duration="0">
62 154
                                                <DiscreteObjectKeyFrame KeyTime="0">
63 155
                                                    <DiscreteObjectKeyFrame.Value>
64 156
                                                        <Visibility>Visible</Visibility>
65 157
                                                    </DiscreteObjectKeyFrame.Value>
66 158
                                                </DiscreteObjectKeyFrame>
67 159
                                            </ObjectAnimationUsingKeyFrames>
68
                                            <ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="Width" Storyboard.TargetName="DockResizer">
160
                                            <ObjectAnimationUsingKeyFrames Storyboard.TargetName="DockResizer" Storyboard.TargetProperty="Width">
69 161
                                                <DiscreteObjectKeyFrame KeyTime="0">
70 162
                                                    <DiscreteObjectKeyFrame.Value>
71 163
                                                        <System:Double>4</System:Double>
72 164
                                                    </DiscreteObjectKeyFrame.Value>
73 165
                                                </DiscreteObjectKeyFrame>
74 166
                                            </ObjectAnimationUsingKeyFrames>
75
                                            <ObjectAnimationUsingKeyFrames Duration="0" Storyboard.TargetProperty="Margin" Storyboard.TargetName="ItemsContainer">
167
                                            <ObjectAnimationUsingKeyFrames
168
                                                Storyboard.TargetName="ItemsContainer"
169
                                                Storyboard.TargetProperty="Margin"
170
                                                Duration="0">
76 171
                                                <DiscreteObjectKeyFrame KeyTime="0">
77 172
                                                    <DiscreteObjectKeyFrame.Value>
78 173
                                                        <Thickness>4,-5,0,0</Thickness>
79 174
                                                    </DiscreteObjectKeyFrame.Value>
80 175
                                                </DiscreteObjectKeyFrame>
81 176
                                            </ObjectAnimationUsingKeyFrames>
82
                                            <ObjectAnimationUsingKeyFrames Duration="0" Storyboard.TargetProperty="Margin" Storyboard.TargetName="ContentBackground">
177
                                            <ObjectAnimationUsingKeyFrames
178
                                                Storyboard.TargetName="ContentBackground"
179
                                                Storyboard.TargetProperty="Margin"
180
                                                Duration="0">
83 181
                                                <DiscreteObjectKeyFrame KeyTime="0">
84 182
                                                    <DiscreteObjectKeyFrame.Value>
85 183
                                                        <Thickness>4,0,0,0</Thickness>
......
91 189
                                </VisualState>
92 190
                                <VisualState x:Name="ResizerTop">
93 191
                                    <Storyboard>
94
                                        <ObjectAnimationUsingKeyFrames Duration="0" Storyboard.TargetProperty="Visibility" Storyboard.TargetName="DockResizer">
192
                                        <ObjectAnimationUsingKeyFrames
193
                                            Storyboard.TargetName="DockResizer"
194
                                            Storyboard.TargetProperty="Visibility"
195
                                            Duration="0">
95 196
                                            <DiscreteObjectKeyFrame KeyTime="0">
96 197
                                                <DiscreteObjectKeyFrame.Value>
97 198
                                                    <Visibility>Visible</Visibility>
98 199
                                                </DiscreteObjectKeyFrame.Value>
99 200
                                            </DiscreteObjectKeyFrame>
100 201
                                        </ObjectAnimationUsingKeyFrames>
101
                                        <ObjectAnimationUsingKeyFrames Duration="0" Storyboard.TargetProperty="VerticalAlignment" Storyboard.TargetName="DockResizer">
202
                                        <ObjectAnimationUsingKeyFrames
203
                                            Storyboard.TargetName="DockResizer"
204
                                            Storyboard.TargetProperty="VerticalAlignment"
205
                                            Duration="0">
102 206
                                            <DiscreteObjectKeyFrame KeyTime="0">
103 207
                                                <DiscreteObjectKeyFrame.Value>
104 208
                                                    <VerticalAlignment>Top</VerticalAlignment>
105 209
                                                </DiscreteObjectKeyFrame.Value>
106 210
                                            </DiscreteObjectKeyFrame>
107 211
                                        </ObjectAnimationUsingKeyFrames>
108
                                        <ObjectAnimationUsingKeyFrames Duration="0" Storyboard.TargetProperty="HorizontalAlignment" Storyboard.TargetName="DockResizer">
212
                                        <ObjectAnimationUsingKeyFrames
213
                                            Storyboard.TargetName="DockResizer"
214
                                            Storyboard.TargetProperty="HorizontalAlignment"
215
                                            Duration="0">
109 216
                                            <DiscreteObjectKeyFrame KeyTime="0">
110 217
                                                <DiscreteObjectKeyFrame.Value>
111 218
                                                    <HorizontalAlignment>Stretch</HorizontalAlignment>
112 219
                                                </DiscreteObjectKeyFrame.Value>
113 220
                                            </DiscreteObjectKeyFrame>
114 221
                                        </ObjectAnimationUsingKeyFrames>
115
                                        <ObjectAnimationUsingKeyFrames Duration="0" Storyboard.TargetProperty="Placement" Storyboard.TargetName="DockResizer">
222
                                        <ObjectAnimationUsingKeyFrames
223
                                            Storyboard.TargetName="DockResizer"
224
                                            Storyboard.TargetProperty="Placement"
225
                                            Duration="0">
116 226
                                            <DiscreteObjectKeyFrame KeyTime="0">
117 227
                                                <DiscreteObjectKeyFrame.Value>
118 228
                                                    <Dock>Top</Dock>
119 229
                                                </DiscreteObjectKeyFrame.Value>
120 230
                                            </DiscreteObjectKeyFrame>
121 231
                                        </ObjectAnimationUsingKeyFrames>
122
                                        <ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="Height" Storyboard.TargetName="DockResizer">
232
                                        <ObjectAnimationUsingKeyFrames Storyboard.TargetName="DockResizer" Storyboard.TargetProperty="Height">
123 233
                                            <DiscreteObjectKeyFrame KeyTime="0">
124 234
                                                <DiscreteObjectKeyFrame.Value>
125 235
                                                    <System:Double>4</System:Double>
126 236
                                                </DiscreteObjectKeyFrame.Value>
127 237
                                            </DiscreteObjectKeyFrame>
128 238
                                        </ObjectAnimationUsingKeyFrames>
129
                                        <ObjectAnimationUsingKeyFrames Duration="0" Storyboard.TargetProperty="(Grid.RowSpan)" Storyboard.TargetName="DockResizer">
239
                                        <ObjectAnimationUsingKeyFrames
240
                                            Storyboard.TargetName="DockResizer"
241
                                            Storyboard.TargetProperty="(Grid.RowSpan)"
242
                                            Duration="0">
130 243
                                            <DiscreteObjectKeyFrame KeyTime="0">
131 244
                                                <DiscreteObjectKeyFrame.Value>
132 245
                                                    <System:Int32>1</System:Int32>
133 246
                                                </DiscreteObjectKeyFrame.Value>
134 247
                                            </DiscreteObjectKeyFrame>
135 248
                                        </ObjectAnimationUsingKeyFrames>
136
                                        <ObjectAnimationUsingKeyFrames Duration="0" Storyboard.TargetProperty="(Grid.Row)" Storyboard.TargetName="DockResizer">
249
                                        <ObjectAnimationUsingKeyFrames
250
                                            Storyboard.TargetName="DockResizer"
251
                                            Storyboard.TargetProperty="(Grid.Row)"
252
                                            Duration="0">
137 253
                                            <DiscreteObjectKeyFrame KeyTime="0">
138 254
                                                <DiscreteObjectKeyFrame.Value>
139 255
                                                    <System:Int32>0</System:Int32>
140 256
                                                </DiscreteObjectKeyFrame.Value>
141 257
                                            </DiscreteObjectKeyFrame>
142 258
                                        </ObjectAnimationUsingKeyFrames>
143
                                        <ObjectAnimationUsingKeyFrames Duration="0" Storyboard.TargetProperty="Margin" Storyboard.TargetName="ContentBackground">
259
                                        <ObjectAnimationUsingKeyFrames
260
                                            Storyboard.TargetName="ContentBackground"
261
                                            Storyboard.TargetProperty="Margin"
262
                                            Duration="0">
144 263
                                            <DiscreteObjectKeyFrame KeyTime="0">
145 264
                                                <DiscreteObjectKeyFrame.Value>
146 265
                                                    <Thickness>0,4,0,0</Thickness>
......
149 268
                                        </ObjectAnimationUsingKeyFrames>
150 269
                                    </Storyboard>
151 270
                                </VisualState>
152
                                <VisualState x:Name="HideResizer"/>
271
                                <VisualState x:Name="HideResizer" />
153 272
                            </VisualStateGroup>
154 273
                        </VisualStateManager.VisualStateGroups>
155
                        <ContentControl x:Name="ContentBackground" BorderBrush="{TemplateBinding BorderBrush}" BorderThickness="{TemplateBinding BorderThickness}" Background="{TemplateBinding Background}">
274
                    </Grid>
275
                </ControlTemplate>
276
            </Setter.Value>
277
        </Setter>
278
        <Setter Property="BottomTemplate">
279
            <Setter.Value>
280
                <ControlTemplate TargetType="{x:Type telerik:RadPaneGroup}">
281
                    <Grid>
282
                        <Grid.RowDefinitions>
283
                            <RowDefinition Height="*" MinHeight="20" />
284
                            <RowDefinition Height="Auto" />
285
                        </Grid.RowDefinitions>
286
                        <ContentControl
287
                            x:Name="ContentBackground"
288
                            Background="{TemplateBinding Background}"
289
                            BorderBrush="{TemplateBinding BorderBrush}"
290
                            BorderThickness="{TemplateBinding BorderThickness}">
156 291
                            <ContentControl.Style>
157 292
                                <Style TargetType="{x:Type ContentControl}">
158 293
                                    <Setter Property="Template">
159 294
                                        <Setter.Value>
160 295
                                            <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}"/>
296
                                                <Border
297
                                                    x:Name="Root"
298
                                                    Background="{TemplateBinding Background}"
299
                                                    BorderBrush="{TemplateBinding BorderBrush}"
300
                                                    BorderThickness="{TemplateBinding BorderThickness}"
301
                                                    CornerRadius="2,2,2,0">
302
                                                    <ContentPresenter
303
                                                        Content="{TemplateBinding Content}"
304
                                                        ContentStringFormat="{TemplateBinding ContentStringFormat}"
305
                                                        ContentTemplate="{TemplateBinding ContentTemplate}" />
163 306
                                                </Border>
164 307
                                            </ControlTemplate>
165 308
                                        </Setter.Value>
......
168 311
                            </ContentControl.Style>
169 312
                            <Grid>
170 313
                                <Grid.RowDefinitions>
171
                                    <RowDefinition Height="Auto"/>
172
                                    <RowDefinition Height="*"/>
314
                                    <RowDefinition Height="Auto" />
315
                                    <RowDefinition Height="*" />
173 316
                                </Grid.RowDefinitions>
174 317
                                <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}">
318
                                    <telerik:PaneHeader
319
                                        x:Name="HeaderElement"
320
                                        Grid.Row="0"
321
                                        MinHeight="16"
322
                                        SelectedPane="{TemplateBinding SelectedPane}">
176 323
                                        <telerik:StyleManager.Theme>
177
                                            <telerik:Office2016Theme/>
324
                                            <telerik:Office_BlackTheme />
178 325
                                        </telerik:StyleManager.Theme>
179 326
                                    </telerik:PaneHeader>
180 327
                                </Border>
......
183 330
                                        <ContentPresenter.Visibility>
184 331
                                            <Binding Path="IsContentPreserved" RelativeSource="{RelativeSource TemplatedParent}">
185 332
                                                <Binding.Converter>
186
                                                    <telerik:InvertedBooleanToVisibilityConverter/>
333
                                                    <telerik:InvertedBooleanToVisibilityConverter />
187 334
                                                </Binding.Converter>
188 335
                                            </Binding>
189 336
                                        </ContentPresenter.Visibility>
......
192 339
                                        <Grid.Visibility>
193 340
                                            <Binding Path="IsContentPreserved" RelativeSource="{RelativeSource TemplatedParent}">
194 341
                                                <Binding.Converter>
195
                                                    <telerik:BooleanToVisibilityConverter/>
342
                                                    <telerik:BooleanToVisibilityConverter />
196 343
                                                </Binding.Converter>
197 344
                                            </Binding>
198 345
                                        </Grid.Visibility>
......
200 347
                                </Grid>
201 348
                            </Grid>
202 349
                        </ContentControl>
203
                        <Border x:Name="ItemsContainer" Margin="0,-5,0,0" Padding="0,0,1,0" Grid.Row="1">
204
                            <ItemsPresenter x:Name="ItemsPresenterElement"/>
350
                        <Border
351
                            x:Name="ItemsContainer"
352
                            Grid.Row="1"
353
                            Margin="0,-5,0,0"
354
                            Padding="0,0,1,0">
355
                            <ItemsPresenter x:Name="ItemsPresenterElement" />
205 356
                        </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>
357
                        <telerik:RadGridResizer
358
                            x:Name="DockResizer"
359
                            Grid.RowSpan="2"
360
                            HorizontalAlignment="Left"
361
                            VerticalAlignment="Stretch"
362
                            Cursor="SizeWE"
363
                            Placement="Left"
364
                            ShowsPreview="True"
365
                            Visibility="Collapsed" />
219 366
                        <VisualStateManager.VisualStateGroups>
220 367
                            <VisualStateGroup x:Name="CommonStates">
221
                                <VisualState x:Name="Disabled"/>
222
                                <VisualState x:Name="Normal"/>
368
                                <VisualState x:Name="Disabled" />
369
                                <VisualState x:Name="Normal" />
223 370
                            </VisualStateGroup>
224 371
                            <VisualStateGroup x:Name="FocusStates">
225
                                <VisualState x:Name="Focused"/>
226
                                <VisualState x:Name="Unfocused"/>
372
                                <VisualState x:Name="Focused" />
373
                                <VisualState x:Name="Unfocused" />
227 374
                            </VisualStateGroup>
228 375
                            <VisualStateGroup x:Name="AutoCollapseStates">
229 376
                                <VisualState x:Name="SingleItem">
230 377
                                    <Storyboard>
231
                                        <ObjectAnimationUsingKeyFrames Duration="0" Storyboard.TargetProperty="Visibility" Storyboard.TargetName="ItemsContainer">
378
                                        <ObjectAnimationUsingKeyFrames
379
                                            Storyboard.TargetName="ItemsContainer"
380
                                            Storyboard.TargetProperty="Visibility"
381
                                            Duration="0">
232 382
                                            <DiscreteObjectKeyFrame KeyTime="0">
233 383
                                                <DiscreteObjectKeyFrame.Value>
234 384
                                                    <Visibility>Collapsed</Visibility>
......
237 387
                                        </ObjectAnimationUsingKeyFrames>
238 388
                                    </Storyboard>
239 389
                                </VisualState>
240
                                <VisualState x:Name="TwoOrMoreItems"/>
390
                                <VisualState x:Name="TwoOrMoreItems" />
241 391
                            </VisualStateGroup>
242 392
                            <VisualStateGroup x:Name="PaneHeaderVisibilityStates">
243 393
                                <VisualState x:Name="PaneHeaderHidden">
244 394
                                    <Storyboard>
245
                                        <ObjectAnimationUsingKeyFrames Duration="0" Storyboard.TargetProperty="Visibility" Storyboard.TargetName="HeaderElement">
395
                                        <ObjectAnimationUsingKeyFrames
396
                                            Storyboard.TargetName="HeaderElement"
397
                                            Storyboard.TargetProperty="Visibility"
398
                                            Duration="0">
246 399
                                            <DiscreteObjectKeyFrame KeyTime="0">
247 400
                                                <DiscreteObjectKeyFrame.Value>
248 401
                                                    <Visibility>Collapsed</Visibility>
......
251 404
                                        </ObjectAnimationUsingKeyFrames>
252 405
                                    </Storyboard>
253 406
                                </VisualState>
254
                                <VisualState x:Name="PaneHeaderVisible"/>
407
                                <VisualState x:Name="PaneHeaderVisible" />
255 408
                            </VisualStateGroup>
256 409
                            <VisualStateGroup x:Name="ResizerStates">
257 410
                                <VisualState x:Name="ResizerLeft">
258 411
                                    <Storyboard>
259 412
                                        <Storyboard>
260
                                            <ObjectAnimationUsingKeyFrames Duration="0" Storyboard.TargetProperty="Visibility" Storyboard.TargetName="DockResizer">
413
                                            <ObjectAnimationUsingKeyFrames
414
                                                Storyboard.TargetName="DockResizer"
415
                                                Storyboard.TargetProperty="Visibility"
416
                                                Duration="0">
261 417
                                                <DiscreteObjectKeyFrame KeyTime="0">
262 418
                                                    <DiscreteObjectKeyFrame.Value>
263 419
                                                        <Visibility>Visible</Visibility>
264 420
                                                    </DiscreteObjectKeyFrame.Value>
265 421
                                                </DiscreteObjectKeyFrame>
266 422
                                            </ObjectAnimationUsingKeyFrames>
267
                                            <ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="Width" Storyboard.TargetName="DockResizer">
423
                                            <ObjectAnimationUsingKeyFrames Storyboard.TargetName="DockResizer" Storyboard.TargetProperty="Width">
268 424
                                                <DiscreteObjectKeyFrame KeyTime="0">
269 425
                                                    <DiscreteObjectKeyFrame.Value>
270 426
                                                        <System:Double>4</System:Double>
271 427
                                                    </DiscreteObjectKeyFrame.Value>
272 428
                                                </DiscreteObjectKeyFrame>
273 429
                                            </ObjectAnimationUsingKeyFrames>
274
                                            <ObjectAnimationUsingKeyFrames Duration="0" Storyboard.TargetProperty="Margin" Storyboard.TargetName="ItemsContainer">
430
                                            <ObjectAnimationUsingKeyFrames
431
                                                Storyboard.TargetName="ItemsContainer"
432
                                                Storyboard.TargetProperty="Margin"
433
                                                Duration="0">
275 434
                                                <DiscreteObjectKeyFrame KeyTime="0">
276 435
                                                    <DiscreteObjectKeyFrame.Value>
277 436
                                                        <Thickness>4,-5,0,0</Thickness>
278 437
                                                    </DiscreteObjectKeyFrame.Value>
279 438
                                                </DiscreteObjectKeyFrame>
280 439
                                            </ObjectAnimationUsingKeyFrames>
281
                                            <ObjectAnimationUsingKeyFrames Duration="0" Storyboard.TargetProperty="Margin" Storyboard.TargetName="ContentBackground">
440
                                            <ObjectAnimationUsingKeyFrames
441
                                                Storyboard.TargetName="ContentBackground"
442
                                                Storyboard.TargetProperty="Margin"
443
                                                Duration="0">
282 444
                                                <DiscreteObjectKeyFrame KeyTime="0">
283 445
                                                    <DiscreteObjectKeyFrame.Value>
284 446
                                                        <Thickness>4,0,0,0</Thickness>
......
290 452
                                </VisualState>
291 453
                                <VisualState x:Name="ResizerTop">
292 454
                                    <Storyboard>
293
                                        <ObjectAnimationUsingKeyFrames Duration="0" Storyboard.TargetProperty="Visibility" Storyboard.TargetName="DockResizer">
455
                                        <ObjectAnimationUsingKeyFrames
456
                                            Storyboard.TargetName="DockResizer"
457
                                            Storyboard.TargetProperty="Visibility"
458
                                            Duration="0">
294 459
                                            <DiscreteObjectKeyFrame KeyTime="0">
295 460
                                                <DiscreteObjectKeyFrame.Value>
296 461
                                                    <Visibility>Visible</Visibility>
297 462
                                                </DiscreteObjectKeyFrame.Value>
298 463
                                            </DiscreteObjectKeyFrame>
299 464
                                        </ObjectAnimationUsingKeyFrames>
300
                                        <ObjectAnimationUsingKeyFrames Duration="0" Storyboard.TargetProperty="VerticalAlignment" Storyboard.TargetName="DockResizer">
465
                                        <ObjectAnimationUsingKeyFrames
466
                                            Storyboard.TargetName="DockResizer"
467
                                            Storyboard.TargetProperty="VerticalAlignment"
468
                                            Duration="0">
301 469
                                            <DiscreteObjectKeyFrame KeyTime="0">
302 470
                                                <DiscreteObjectKeyFrame.Value>
303 471
                                                    <VerticalAlignment>Top</VerticalAlignment>
304 472
                                                </DiscreteObjectKeyFrame.Value>
305 473
                                            </DiscreteObjectKeyFrame>
306 474
                                        </ObjectAnimationUsingKeyFrames>
307
                                        <ObjectAnimationUsingKeyFrames Duration="0" Storyboard.TargetProperty="HorizontalAlignment" Storyboard.TargetName="DockResizer">
475
                                        <ObjectAnimationUsingKeyFrames
476
                                            Storyboard.TargetName="DockResizer"
477
                                            Storyboard.TargetProperty="HorizontalAlignment"
478
                                            Duration="0">
308 479
                                            <DiscreteObjectKeyFrame KeyTime="0">
309 480
                                                <DiscreteObjectKeyFrame.Value>
310 481
                                                    <HorizontalAlignment>Stretch</HorizontalAlignment>
311 482
                                                </DiscreteObjectKeyFrame.Value>
312 483
                                            </DiscreteObjectKeyFrame>
313 484
                                        </ObjectAnimationUsingKeyFrames>
314
                                        <ObjectAnimationUsingKeyFrames Duration="0" Storyboard.TargetProperty="Placement" Storyboard.TargetName="DockResizer">
485
                                        <ObjectAnimationUsingKeyFrames
486
                                            Storyboard.TargetName="DockResizer"
487
                                            Storyboard.TargetProperty="Placement"
488
                                            Duration="0">
315 489
                                            <DiscreteObjectKeyFrame KeyTime="0">
316 490
                                                <DiscreteObjectKeyFrame.Value>
317 491
                                                    <Dock>Top</Dock>
318 492
                                                </DiscreteObjectKeyFrame.Value>
319 493
                                            </DiscreteObjectKeyFrame>
320 494
                                        </ObjectAnimationUsingKeyFrames>
321
                                        <ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="Height" Storyboard.TargetName="DockResizer">
495
                                        <ObjectAnimationUsingKeyFrames Storyboard.TargetName="DockResizer" Storyboard.TargetProperty="Height">
322 496
                                            <DiscreteObjectKeyFrame KeyTime="0">
323 497
                                                <DiscreteObjectKeyFrame.Value>
324 498
                                                    <System:Double>4</System:Double>
325 499
                                                </DiscreteObjectKeyFrame.Value>
326 500
                                            </DiscreteObjectKeyFrame>
327 501
                                        </ObjectAnimationUsingKeyFrames>
328
                                        <ObjectAnimationUsingKeyFrames Duration="0" Storyboard.TargetProperty="(Grid.RowSpan)" Storyboard.TargetName="DockResizer">
502
                                        <ObjectAnimationUsingKeyFrames
503
                                            Storyboard.TargetName="DockResizer"
504
                                            Storyboard.TargetProperty="(Grid.RowSpan)"
505
                                            Duration="0">
329 506
                                            <DiscreteObjectKeyFrame KeyTime="0">
330 507
                                                <DiscreteObjectKeyFrame.Value>
331 508
                                                    <System:Int32>1</System:Int32>
332 509
                                                </DiscreteObjectKeyFrame.Value>
333 510
                                            </DiscreteObjectKeyFrame>
334 511
                                        </ObjectAnimationUsingKeyFrames>
335
                                        <ObjectAnimationUsingKeyFrames Duration="0" Storyboard.TargetProperty="(Grid.Row)" Storyboard.TargetName="DockResizer">
512
                                        <ObjectAnimationUsingKeyFrames
513
                                            Storyboard.TargetName="DockResizer"
514
                                            Storyboard.TargetProperty="(Grid.Row)"
515
                                            Duration="0">
336 516
                                            <DiscreteObjectKeyFrame KeyTime="0">
337 517
                                                <DiscreteObjectKeyFrame.Value>
338 518
                                                    <System:Int32>0</System:Int32>
339 519
                                                </DiscreteObjectKeyFrame.Value>
340 520
                                            </DiscreteObjectKeyFrame>
341 521
                                        </ObjectAnimationUsingKeyFrames>
342
                                        <ObjectAnimationUsingKeyFrames Duration="0" Storyboard.TargetProperty="Margin" Storyboard.TargetName="ContentBackground">
522
                                        <ObjectAnimationUsingKeyFrames
523
                                            Storyboard.TargetName="ContentBackground"
524
                                            Storyboard.TargetProperty="Margin"
525
                                            Duration="0">
343 526
                                            <DiscreteObjectKeyFrame KeyTime="0">
344 527
                                                <DiscreteObjectKeyFrame.Value>
345 528
                                                    <Thickness>0,4,0,0</Thickness>
......
348 531
                                        </ObjectAnimationUsingKeyFrames>
349 532
                                    </Storyboard>
350 533
                                </VisualState>
351
                                <VisualState x:Name="HideResizer"/>
534
                                <VisualState x:Name="HideResizer" />
352 535
                            </VisualStateGroup>
353 536
                        </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 537
                    </Grid>
407 538
                </ControlTemplate>
408 539
            </Setter.Value>
......
412 543
                <ControlTemplate TargetType="{x:Type telerik:RadPaneGroup}">
413 544
                    <Grid>
414 545
                        <Grid.RowDefinitions>
415
                            <RowDefinition Height="Auto"/>
416
                            <RowDefinition Height="*"/>
546
                            <RowDefinition Height="Auto" />
547
                            <RowDefinition Height="*" />
417 548
                        </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">
549
                        <ContentControl
550
                            x:Name="ContentBackground"
551
                            Grid.Row="1"
552
                            Background="{TemplateBinding Background}"
553
                            BorderBrush="{TemplateBinding BorderBrush}"
554
                            BorderThickness="{TemplateBinding BorderThickness}">
544 555
                            <ContentControl.Style>
545 556
                                <Style TargetType="{x:Type ContentControl}">
546 557
                                    <Setter Property="Template">
547 558
                                        <Setter.Value>
548 559
                                            <ControlTemplate TargetType="{x:Type ContentControl}">
549
                                                <Border x:Name="Root" BorderBrush="{TemplateBinding BorderBrush}" BorderThickness="{TemplateBinding BorderThickness}" Background="{TemplateBinding Background}" CornerRadius="0,2,2,2">
560
                                                <Border
561
                                                    x:Name="Root"
562
                                                    Background="{TemplateBinding Background}"
563
                                                    BorderBrush="{TemplateBinding BorderBrush}"
564
                                                    BorderThickness="{TemplateBinding BorderThickness}"
565
                                                    CornerRadius="0,2,2,2">
550 566
                                                    <!--	<Border x:Name="BorderLayer3" BorderBrush="White" BorderThickness="2" CornerRadius="0,1,1,1">
551 567
															<Border x:Name="BorderLayer2" BorderBrush="#FFF0F0F0" BorderThickness="2" CornerRadius="0">
552 568
																<Border x:Name="BorderLayer1" BorderBrush="#FF848484" BorderThickness="1" CornerRadius="0">
......
555 571
															</Border>
556 572
														</Border>
557 573
														-->
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}"/>
574
                                                    <Border
575
                                                        x:Name="BorderLayer3"
576
                                                        BorderBrush="White"
577
                                                        BorderThickness="2"
578
                                                        CornerRadius="0,1,1,1">
579
                                                        <Border
580
                                                            x:Name="BorderLayer2"
581
                                                            BorderBrush="#FFF0F0F0"
582
                                                            BorderThickness="2"
583
                                                            CornerRadius="0">
584
                                                            <ContentPresenter
585
                                                                Content="{TemplateBinding Content}"
586
                                                                ContentStringFormat="{TemplateBinding ContentStringFormat}"
587
                                                                ContentTemplate="{TemplateBinding ContentTemplate}" />
561 588
                                                        </Border>
562 589
                                                    </Border>
563 590
                                                </Border>
......
571 598
                                    <ContentPresenter.Visibility>
572 599
                                        <Binding Path="IsContentPreserved" RelativeSource="{RelativeSource TemplatedParent}">
573 600
                                            <Binding.Converter>
574
                                                <telerik:InvertedBooleanToVisibilityConverter/>
601
                                                <telerik:InvertedBooleanToVisibilityConverter />
575 602
                                            </Binding.Converter>
576 603
                                        </Binding>
577 604
                                    </ContentPresenter.Visibility>
......
580 607
                                    <Grid.Visibility>
581 608
                                        <Binding Path="IsContentPreserved" RelativeSource="{RelativeSource TemplatedParent}">
582 609
                                            <Binding.Converter>
583
                                                <telerik:BooleanToVisibilityConverter/>
610
                                                <telerik:BooleanToVisibilityConverter />
584 611
                                            </Binding.Converter>
585 612
                                        </Binding>
586 613
                                    </Grid.Visibility>
......
589 616
                        </ContentControl>
590 617
                        <Grid x:Name="Header" Grid.Row="0">
591 618
                            <Grid.ColumnDefinitions>
592
                                <ColumnDefinition Width="Auto"/>
593
                                <ColumnDefinition Width="*"/>
594
                                <ColumnDefinition Width="Auto"/>
595
                                <ColumnDefinition Width="Auto"/>
596
                                <ColumnDefinition Width="Auto"/>
619
                                <ColumnDefinition Width="Auto" />
620
                                <ColumnDefinition Width="*" />
621
                                <ColumnDefinition Width="Auto" />
622
                                <ColumnDefinition Width="Auto" />
623
                                <ColumnDefinition Width="Auto" />
597 624
                            </Grid.ColumnDefinitions>
598
                            <RepeatButton x:Name="LeftScrollButtonElement" Grid.Column="0" Visibility="{Binding ComputedHorizontalScrollBarVisibility, ElementName=ScrollViewerElement}">
625
                            <RepeatButton
626
                                x:Name="LeftScrollButtonElement"
627
                                Grid.Column="0"
628
                                Visibility="{Binding ComputedHorizontalScrollBarVisibility, ElementName=ScrollViewerElement}">
599 629
                                <RepeatButton.Style>
600 630
                                    <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"/>
631
                                        <Setter Property="Width" Value="17" />
632
                                        <Setter Property="Height" Value="17" />
633
                                        <Setter Property="Margin" Value="1" />
634
                                        <Setter Property="IsTabStop" Value="False" />
635
                                        <Setter Property="SnapsToDevicePixels" Value="True" />
606 636
                                        <Setter Property="Template">
607 637
                                            <Setter.Value>
608 638
                                                <ControlTemplate TargetType="{x:Type RepeatButton}">
609 639
                                                    <Grid x:Name="LayoutRoot">
640
                                                        <Telerik_Windows_Controls_Chromes:ButtonChrome
641
                                                            RenderMouseOver="{TemplateBinding IsMouseOver}"
642
                                                            RenderNormal="False"
643
                                                            RenderPressed="{TemplateBinding IsPressed}">
644
                                                            <telerik:StyleManager.Theme>
645
                                                                <telerik:Office_BlackTheme />
646
                                                            </telerik:StyleManager.Theme>
647
                                                        </Telerik_Windows_Controls_Chromes:ButtonChrome>
648
                                                        <Path
649
                                                            x:Name="BackgroundIcon"
650
                                                            Width="7"
651
                                                            Height="7"
652
                                                            Margin="0,2,0,0"
653
                                                            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"
654
                                                            Fill="White" />
655
                                                        <Path
656
                                                            x:Name="ForegroundIcon"
657
                                                            Width="7"
658
                                                            Height="7"
659
                                                            Margin="0,1"
660
                                                            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"
661
                                                            Fill="Black" />
610 662
                                                        <VisualStateManager.VisualStateGroups>
611 663
                                                            <VisualStateGroup x:Name="CommonStates">
612 664
                                                                <VisualState x:Name="Disabled">
613 665
                                                                    <Storyboard>
614
                                                                        <ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="Fill" Storyboard.TargetName="ForegroundIcon">
666
                                                                        <ObjectAnimationUsingKeyFrames Storyboard.TargetName="ForegroundIcon" Storyboard.TargetProperty="Fill">
615 667
                                                                            <DiscreteObjectKeyFrame KeyTime="0">
616 668
                                                                                <DiscreteObjectKeyFrame.Value>
617
                                                                                    <SolidColorBrush Color="#FF8D8D8D"/>
669
                                                                                    <SolidColorBrush Color="#FF8D8D8D" />
618 670
                                                                                </DiscreteObjectKeyFrame.Value>
619 671
                                                                            </DiscreteObjectKeyFrame>
620 672
                                                                        </ObjectAnimationUsingKeyFrames>
621
                                                                        <ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="Fill" Storyboard.TargetName="BackgroundIcon">
673
                                                                        <ObjectAnimationUsingKeyFrames Storyboard.TargetName="BackgroundIcon" Storyboard.TargetProperty="Fill">
622 674
                                                                            <DiscreteObjectKeyFrame KeyTime="0">
623 675
                                                                                <DiscreteObjectKeyFrame.Value>
624
                                                                                    <SolidColorBrush Color="White"/>
676
                                                                                    <SolidColorBrush Color="White" />
625 677
                                                                                </DiscreteObjectKeyFrame.Value>
626 678
                                                                            </DiscreteObjectKeyFrame>
627 679
                                                                        </ObjectAnimationUsingKeyFrames>
628 680
                                                                    </Storyboard>
629 681
                                                                </VisualState>
630
                                                                <VisualState x:Name="Normal"/>
682
                                                                <VisualState x:Name="Normal" />
631 683
                                                                <VisualState x:Name="MouseOver">
632 684
                                                                    <Storyboard>
633
                                                                        <ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="Fill" Storyboard.TargetName="ForegroundIcon">
685
                                                                        <ObjectAnimationUsingKeyFrames Storyboard.TargetName="ForegroundIcon" Storyboard.TargetProperty="Fill">
634 686
                                                                            <DiscreteObjectKeyFrame KeyTime="0">
635 687
                                                                                <DiscreteObjectKeyFrame.Value>
636
                                                                                    <SolidColorBrush Color="Black"/>
688
                                                                                    <SolidColorBrush Color="Black" />
637 689
                                                                                </DiscreteObjectKeyFrame.Value>
638 690
                                                                            </DiscreteObjectKeyFrame>
639 691
                                                                        </ObjectAnimationUsingKeyFrames>
640
                                                                        <ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="Fill" Storyboard.TargetName="BackgroundIcon">
692
                                                                        <ObjectAnimationUsingKeyFrames Storyboard.TargetName="BackgroundIcon" Storyboard.TargetProperty="Fill">
641 693
                                                                            <DiscreteObjectKeyFrame KeyTime="0">
642 694
                                                                                <DiscreteObjectKeyFrame.Value>
643
                                                                                    <SolidColorBrush Color="White"/>
695
                                                                                    <SolidColorBrush Color="White" />
644 696
                                                                                </DiscreteObjectKeyFrame.Value>
645 697
                                                                            </DiscreteObjectKeyFrame>
646 698
                                                                        </ObjectAnimationUsingKeyFrames>
......
648 700
                                                                </VisualState>
649 701
                                                                <VisualState x:Name="Pressed">
650 702
                                                                    <Storyboard>
651
                                                                        <ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="Fill" Storyboard.TargetName="ForegroundIcon">
703
                                                                        <ObjectAnimationUsingKeyFrames Storyboard.TargetName="ForegroundIcon" Storyboard.TargetProperty="Fill">
652 704
                                                                            <DiscreteObjectKeyFrame KeyTime="0">
653 705
                                                                                <DiscreteObjectKeyFrame.Value>
654
                                                                                    <SolidColorBrush Color="Black"/>
706
                                                                                    <SolidColorBrush Color="Black" />
655 707
                                                                                </DiscreteObjectKeyFrame.Value>
656 708
                                                                            </DiscreteObjectKeyFrame>
657 709
                                                                        </ObjectAnimationUsingKeyFrames>
658
                                                                        <ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="Fill" Storyboard.TargetName="BackgroundIcon">
710
                                                                        <ObjectAnimationUsingKeyFrames Storyboard.TargetName="BackgroundIcon" Storyboard.TargetProperty="Fill">
659 711
                                                                            <DiscreteObjectKeyFrame KeyTime="0">
660 712
                                                                                <DiscreteObjectKeyFrame.Value>
661
                                                                                    <SolidColorBrush Color="White"/>
713
                                                                                    <SolidColorBrush Color="White" />
662 714
                                                                                </DiscreteObjectKeyFrame.Value>
663 715
                                                                            </DiscreteObjectKeyFrame>
664 716
                                                                        </ObjectAnimationUsingKeyFrames>
......
666 718
                                                                </VisualState>
667 719
                                                            </VisualStateGroup>
668 720
                                                        </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 721
                                                    </Grid>
677 722
                                                </ControlTemplate>
678 723
                                            </Setter.Value>
......
680 725
                                    </Style>
681 726
                                </RepeatButton.Style>
682 727
                            </RepeatButton>
683
                            <ScrollViewer x:Name="ScrollViewerElement" Grid.Column="1" HorizontalScrollBarVisibility="{Binding (ScrollViewer.HorizontalScrollBarVisibility), RelativeSource={RelativeSource TemplatedParent}}" Margin="0,-2">
728
                            <ScrollViewer
729
                                x:Name="ScrollViewerElement"
730
                                Grid.Column="1"
731
                                Margin="0,-2"
732
                                HorizontalScrollBarVisibility="{Binding (ScrollViewer.HorizontalScrollBarVisibility), RelativeSource={RelativeSource TemplatedParent}}">
684 733
                                <ScrollViewer.Template>
685 734
                                    <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"/>
735
                                        <ScrollContentPresenter
736
                                            x:Name="ScrollContentPresenter"
737
                                            Margin="0,0,1,0"
738
                                            CanHorizontallyScroll="False"
739
                                            CanVerticallyScroll="False"
740
                                            Content="{TemplateBinding Content}"
741
                                            ContentTemplate="{TemplateBinding ContentTemplate}" />
687 742
                                    </ControlTemplate>
688 743
                                </ScrollViewer.Template>
689
                                <ItemsPresenter x:Name="ItemsPresenterElement" Margin="0,2"/>
744
                                <ItemsPresenter x:Name="ItemsPresenterElement" Margin="0,2" />
690 745
                            </ScrollViewer>
691
                            <RepeatButton x:Name="RightScrollButtonElement" Grid.Column="2" Visibility="{Binding ComputedHorizontalScrollBarVisibility, ElementName=ScrollViewerElement}">
746
                            <RepeatButton
747
                                x:Name="RightScrollButtonElement"
748
                                Grid.Column="2"
749
                                Visibility="{Binding ComputedHorizontalScrollBarVisibility, ElementName=ScrollViewerElement}">
692 750
                                <RepeatButton.Style>
693 751
                                    <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"/>
752
                                        <Setter Property="Width" Value="17" />
753
                                        <Setter Property="Height" Value="17" />
754
                                        <Setter Property="Margin" Value="1" />
755
                                        <Setter Property="IsTabStop" Value="False" />
756
                                        <Setter Property="SnapsToDevicePixels" Value="True" />
699 757
                                        <Setter Property="Template">
700 758
                                            <Setter.Value>
701 759
                                                <ControlTemplate TargetType="{x:Type RepeatButton}">
702 760
                                                    <Grid x:Name="LayoutRoot">
761
                                                        <Telerik_Windows_Controls_Chromes:ButtonChrome
762
                                                            RenderMouseOver="{TemplateBinding IsMouseOver}"
763
                                                            RenderNormal="False"
764
                                                            RenderPressed="{TemplateBinding IsPressed}">
765
                                                            <telerik:StyleManager.Theme>
766
                                                                <telerik:Office_BlackTheme />
767
                                                            </telerik:StyleManager.Theme>
768
                                                        </Telerik_Windows_Controls_Chromes:ButtonChrome>
769
                                                        <Path
770
                                                            x:Name="BackgroundIcon"
771
                                                            Width="7"
772
                                                            Height="7"
773
                                                            Margin="0,2,0,0"
774
                                                            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"
775
                                                            Fill="White" />
776
                                                        <Path
777
                                                            x:Name="ForegroundIcon"
778
                                                            Width="7"
779
                                                            Height="7"
780
                                                            Margin="0,1"
781
                                                            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"
782
                                                            Fill="Black" />
703 783
                                                        <VisualStateManager.VisualStateGroups>
704 784
                                                            <VisualStateGroup x:Name="CommonStates">
705 785
                                                                <VisualState x:Name="Disabled">
706 786
                                                                    <Storyboard>
707
                                                                        <ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="Fill" Storyboard.TargetName="ForegroundIcon">
787
                                                                        <ObjectAnimationUsingKeyFrames Storyboard.TargetName="ForegroundIcon" Storyboard.TargetProperty="Fill">
708 788
                                                                            <DiscreteObjectKeyFrame KeyTime="0">
709 789
                                                                                <DiscreteObjectKeyFrame.Value>
710
                                                                                    <SolidColorBrush Color="#FF8D8D8D"/>
790
                                                                                    <SolidColorBrush Color="#FF8D8D8D" />
711 791
                                                                                </DiscreteObjectKeyFrame.Value>
712 792
                                                                            </DiscreteObjectKeyFrame>
713 793
                                                                        </ObjectAnimationUsingKeyFrames>
714
                                                                        <ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="Fill" Storyboard.TargetName="BackgroundIcon">
794
                                                                        <ObjectAnimationUsingKeyFrames Storyboard.TargetName="BackgroundIcon" Storyboard.TargetProperty="Fill">
715 795
                                                                            <DiscreteObjectKeyFrame KeyTime="0">
716 796
                                                                                <DiscreteObjectKeyFrame.Value>
717
                                                                                    <SolidColorBrush Color="White"/>
797
                                                                                    <SolidColorBrush Color="White" />
718 798
                                                                                </DiscreteObjectKeyFrame.Value>
719 799
                                                                            </DiscreteObjectKeyFrame>
720 800
                                                                        </ObjectAnimationUsingKeyFrames>
721 801
                                                                    </Storyboard>
722 802
                                                                </VisualState>
723
                                                                <VisualState x:Name="Normal"/>
803
                                                                <VisualState x:Name="Normal" />
724 804
                                                                <VisualState x:Name="MouseOver">
725 805
                                                                    <Storyboard>
726
                                                                        <ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="Fill" Storyboard.TargetName="ForegroundIcon">
806
                                                                        <ObjectAnimationUsingKeyFrames Storyboard.TargetName="ForegroundIcon" Storyboard.TargetProperty="Fill">
727 807
                                                                            <DiscreteObjectKeyFrame KeyTime="0">
728 808
                                                                                <DiscreteObjectKeyFrame.Value>
729
                                                                                    <SolidColorBrush Color="Black"/>
809
                                                                                    <SolidColorBrush Color="Black" />
730 810
                                                                                </DiscreteObjectKeyFrame.Value>
731 811
                                                                            </DiscreteObjectKeyFrame>
732 812
                                                                        </ObjectAnimationUsingKeyFrames>
733
                                                                        <ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="Fill" Storyboard.TargetName="BackgroundIcon">
813
                                                                        <ObjectAnimationUsingKeyFrames Storyboard.TargetName="BackgroundIcon" Storyboard.TargetProperty="Fill">
734 814
                                                                            <DiscreteObjectKeyFrame KeyTime="0">
735 815
                                                                                <DiscreteObjectKeyFrame.Value>
736
                                                                                    <SolidColorBrush Color="White"/>
816
                                                                                    <SolidColorBrush Color="White" />
737 817
                                                                                </DiscreteObjectKeyFrame.Value>
738 818
                                                                            </DiscreteObjectKeyFrame>
739 819
                                                                        </ObjectAnimationUsingKeyFrames>
......
741 821
                                                                </VisualState>
742 822
                                                                <VisualState x:Name="Pressed">
743 823
                                                                    <Storyboard>
744
                                                                        <ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="Fill" Storyboard.TargetName="ForegroundIcon">
824
                                                                        <ObjectAnimationUsingKeyFrames Storyboard.TargetName="ForegroundIcon" Storyboard.TargetProperty="Fill">
745 825
                                                                            <DiscreteObjectKeyFrame KeyTime="0">
746 826
                                                                                <DiscreteObjectKeyFrame.Value>
747
                                                                                    <SolidColorBrush Color="Black"/>
827
                                                                                    <SolidColorBrush Color="Black" />
748 828
                                                                                </DiscreteObjectKeyFrame.Value>
749 829
                                                                            </DiscreteObjectKeyFrame>
750 830
                                                                        </ObjectAnimationUsingKeyFrames>
751
                                                                        <ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="Fill" Storyboard.TargetName="BackgroundIcon">
831
                                                                        <ObjectAnimationUsingKeyFrames Storyboard.TargetName="BackgroundIcon" Storyboard.TargetProperty="Fill">
752 832
                                                                            <DiscreteObjectKeyFrame KeyTime="0">
753 833
                                                                                <DiscreteObjectKeyFrame.Value>
754
                                                                                    <SolidColorBrush Color="White"/>
834
                                                                                    <SolidColorBrush Color="White" />
755 835
                                                                                </DiscreteObjectKeyFrame.Value>
756 836
                                                                            </DiscreteObjectKeyFrame>
757 837
                                                                        </ObjectAnimationUsingKeyFrames>
......
759 839
                                                                </VisualState>
760 840
                                                            </VisualStateGroup>
761 841
                                                        </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 842
                                                    </Grid>
770 843
                                                </ControlTemplate>
771 844
                                            </Setter.Value>
......
773 846
                                    </Style>
774 847
                                </RepeatButton.Style>
775 848
                            </RepeatButton>
776
                            <ToggleButton x:Name="DropDownButtonElement" Grid.Column="3" IsChecked="{Binding IsDropDownOpen, Mode=TwoWay, RelativeSource={RelativeSource TemplatedParent}}" Visibility="Collapsed">
849
                            <ToggleButton
850
                                x:Name="DropDownButtonElement"
851
                                Grid.Column="3"
852
                                IsChecked="{Binding IsDropDownOpen, Mode=TwoWay, RelativeSource={RelativeSource TemplatedParent}}"
853
                                Visibility="Collapsed">
777 854
                                <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"/>
855
                                    <Telerik_Windows_Controls_TabControl:DropDownMenu
856
                                        x:Name="DropDownMenuElement"
857
                                        ClickToOpen="True"
858
                                        DisplayMemberPath="{TemplateBinding DropDownDisplayMemberPath}"
859
                                        ItemTemplate="{TemplateBinding ItemDropDownContentTemplate}"
860
                                        Placement="Bottom"
861
                                        StaysOpen="False"
862
                                        Style="{TemplateBinding DropDownStyle}" />
779 863
                                </telerik:RadContextMenu.ContextMenu>
780 864
                                <ToggleButton.Style>
781 865
                                    <Style TargetType="{x:Type ToggleButton}">
782
                                        <Setter Property="Width" Value="17"/>
783
                                        <Setter Property="Height" Value="17"/>
784
                                        <Setter Property="Margin" Value="1"/>
866
                                        <Setter Property="Width" Value="17" />
867
                                        <Setter Property="Height" Value="17" />
868
                                        <Setter Property="Margin" Value="1" />
785 869
                                        <Setter Property="Template">
786 870
                                            <Setter.Value>
787 871
                                                <ControlTemplate TargetType="{x:Type ToggleButton}">
788 872
                                                    <Grid>
873
                                                        <Telerik_Windows_Controls_Chromes:ButtonChrome
874
                                                            RenderChecked="{TemplateBinding IsChecked}"
875
                                                            RenderMouseOver="{TemplateBinding IsMouseOver}"
876
                                                            RenderNormal="False"
877
                                                            RenderPressed="{TemplateBinding IsPressed}">
878
                                                            <telerik:StyleManager.Theme>
879
                                                                <telerik:Office_BlackTheme />
880
                                                            </telerik:StyleManager.Theme>
881
                                                        </Telerik_Windows_Controls_Chromes:ButtonChrome>
882
                                                        <Path
883
                                                            x:Name="BackgroundIcon"
884
                                                            Width="7"
885
                                                            Height="7"
886
                                                            Margin="0,2,0,0"
887
                                                            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"
888
                                                            Fill="White" />
889
                                                        <Path
890
                                                            x:Name="ForegroundIcon"
891
                                                            Width="7"
892
                                                            Height="7"
893
                                                            Margin="0,1"
894
                                                            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"
895
                                                            Fill="Black" />
789 896
                                                        <VisualStateManager.VisualStateGroups>
790 897
                                                            <VisualStateGroup x:Name="CommonStates">
791 898
                                                                <VisualState x:Name="Disabled">
792 899
                                                                    <Storyboard>
793
                                                                        <ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="Fill" Storyboard.TargetName="ForegroundIcon">
900
                                                                        <ObjectAnimationUsingKeyFrames Storyboard.TargetName="ForegroundIcon" Storyboard.TargetProperty="Fill">
794 901
                                                                            <DiscreteObjectKeyFrame KeyTime="0">
795 902
                                                                                <DiscreteObjectKeyFrame.Value>
796
                                                                                    <SolidColorBrush Color="#FF8D8D8D"/>
903
                                                                                    <SolidColorBrush Color="#FF8D8D8D" />
797 904
                                                                                </DiscreteObjectKeyFrame.Value>
798 905
                                                                            </DiscreteObjectKeyFrame>
799 906
                                                                        </ObjectAnimationUsingKeyFrames>
800
                                                                        <ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="Fill" Storyboard.TargetName="BackgroundIcon">
907
                                                                        <ObjectAnimationUsingKeyFrames Storyboard.TargetName="BackgroundIcon" Storyboard.TargetProperty="Fill">
801 908
                                                                            <DiscreteObjectKeyFrame KeyTime="0">
802 909
                                                                                <DiscreteObjectKeyFrame.Value>
803
                                                                                    <SolidColorBrush Color="White"/>
910
                                                                                    <SolidColorBrush Color="White" />
804 911
                                                                                </DiscreteObjectKeyFrame.Value>
805 912
                                                                            </DiscreteObjectKeyFrame>
806 913
                                                                        </ObjectAnimationUsingKeyFrames>
807 914
                                                                    </Storyboard>
808 915
                                                                </VisualState>
809
                                                                <VisualState x:Name="Normal"/>
916
                                                                <VisualState x:Name="Normal" />
810 917
                                                                <VisualState x:Name="MouseOver">
811 918
                                                                    <Storyboard>
812
                                                                        <ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="Fill" Storyboard.TargetName="ForegroundIcon">
919
                                                                        <ObjectAnimationUsingKeyFrames Storyboard.TargetName="ForegroundIcon" Storyboard.TargetProperty="Fill">
813 920
                                                                            <DiscreteObjectKeyFrame KeyTime="0">
814 921
                                                                                <DiscreteObjectKeyFrame.Value>
815
                                                                                    <SolidColorBrush Color="Black"/>
922
                                                                                    <SolidColorBrush Color="Black" />
816 923
                                                                                </DiscreteObjectKeyFrame.Value>
817 924
                                                                            </DiscreteObjectKeyFrame>
818 925
                                                                        </ObjectAnimationUsingKeyFrames>
819
                                                                        <ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="Fill" Storyboard.TargetName="BackgroundIcon">
926
                                                                        <ObjectAnimationUsingKeyFrames Storyboard.TargetName="BackgroundIcon" Storyboard.TargetProperty="Fill">
820 927
                                                                            <DiscreteObjectKeyFrame KeyTime="0">
821 928
                                                                                <DiscreteObjectKeyFrame.Value>
822
                                                                                    <SolidColorBrush Color="White"/>
929
                                                                                    <SolidColorBrush Color="White" />
823 930
                                                                                </DiscreteObjectKeyFrame.Value>
824 931
                                                                            </DiscreteObjectKeyFrame>
825 932
                                                                        </ObjectAnimationUsingKeyFrames>
......
827 934
                                                                </VisualState>
828 935
                                                                <VisualState x:Name="Pressed">
829 936
                                                                    <Storyboard>
830
                                                                        <ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="Fill" Storyboard.TargetName="ForegroundIcon">
937
                                                                        <ObjectAnimationUsingKeyFrames Storyboard.TargetName="ForegroundIcon" Storyboard.TargetProperty="Fill">
831 938
                                                                            <DiscreteObjectKeyFrame KeyTime="0">
832 939
                                                                                <DiscreteObjectKeyFrame.Value>
833
                                                                                    <SolidColorBrush Color="Black"/>
940
                                                                                    <SolidColorBrush Color="Black" />
834 941
                                                                                </DiscreteObjectKeyFrame.Value>
835 942
                                                                            </DiscreteObjectKeyFrame>
836 943
                                                                        </ObjectAnimationUsingKeyFrames>
837
                                                                        <ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="Fill" Storyboard.TargetName="BackgroundIcon">
944
                                                                        <ObjectAnimationUsingKeyFrames Storyboard.TargetName="BackgroundIcon" Storyboard.TargetProperty="Fill">
838 945
                                                                            <DiscreteObjectKeyFrame KeyTime="0">
839 946
                                                                                <DiscreteObjectKeyFrame.Value>
840
                                                                                    <SolidColorBrush Color="White"/>
947
                                                                                    <SolidColorBrush Color="White" />
841 948
                                                                                </DiscreteObjectKeyFrame.Value>
842 949
                                                                            </DiscreteObjectKeyFrame>
843 950
                                                                        </ObjectAnimationUsingKeyFrames>
......
845 952
                                                                </VisualState>
846 953
                                                            </VisualStateGroup>
847 954
                                                        </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 955
                                                    </Grid>
856 956
                                                </ControlTemplate>
857 957
                                            </Setter.Value>
......
859 959
                                    </Style>
860 960
                                </ToggleButton.Style>
861 961
                            </ToggleButton>
862
                            <telerik:RadButton x:Name="CloseButton" Grid.Column="4" Command="telerik:RadDockingCommands.Close" InnerCornerRadius="0">
962
                            <telerik:RadButton
963
                                x:Name="CloseButton"
964
                                Grid.Column="4"
965
                                Command="telerik:RadDockingCommands.Close"
966
                                InnerCornerRadius="0">
863 967
                                <telerik:RadButton.Style>
864 968
                                    <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"/>
969
                                        <Setter Property="Width" Value="17" />
970
                                        <Setter Property="Height" Value="17" />
971
                                        <Setter Property="Margin" Value="1" />
972
                                        <Setter Property="IsTabStop" Value="False" />
973
                                        <Setter Property="SnapsToDevicePixels" Value="True" />
870 974
                                        <Setter Property="Template">
871 975
                                            <Setter.Value>
872 976
                                                <ControlTemplate TargetType="{x:Type telerik:RadButton}">
873 977
                                                    <Grid x:Name="LayoutRoot">
978
                                                        <Telerik_Windows_Controls_Chromes:ButtonChrome
979
                                                            RenderMouseOver="{TemplateBinding IsMouseOver}"
980
                                                            RenderNormal="False"
981
                                                            RenderPressed="{TemplateBinding IsPressed}">
982
                                                            <telerik:StyleManager.Theme>
983
                                                                <telerik:Office_BlackTheme />
984
                                                            </telerik:StyleManager.Theme>
985
                                                        </Telerik_Windows_Controls_Chromes:ButtonChrome>
986
                                                        <Path
987
                                                            x:Name="BackgroundIcon"
988
                                                            Width="8"
989
                                                            Height="7"
990
                                                            Margin="0,2,0,0"
991
                                                            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"
992
                                                            Fill="White" />
993
                                                        <Path
994
                                                            x:Name="ForegroundIcon"
995
                                                            Width="8"
996
                                                            Height="7"
997
                                                            Margin="0,1"
998
                                                            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"
999
                                                            Fill="Black" />
874 1000
                                                        <VisualStateManager.VisualStateGroups>
875 1001
                                                            <VisualStateGroup x:Name="CommonStates">
876 1002
                                                                <VisualState x:Name="Disabled">
877 1003
                                                                    <Storyboard>
878
                                                                        <ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="Fill" Storyboard.TargetName="ForegroundIcon">
1004
                                                                        <ObjectAnimationUsingKeyFrames Storyboard.TargetName="ForegroundIcon" Storyboard.TargetProperty="Fill">
879 1005
                                                                            <DiscreteObjectKeyFrame KeyTime="0">
880 1006
                                                                                <DiscreteObjectKeyFrame.Value>
881
                                                                                    <SolidColorBrush Color="#FF8D8D8D"/>
1007
                                                                                    <SolidColorBrush Color="#FF8D8D8D" />
882 1008
                                                                                </DiscreteObjectKeyFrame.Value>
883 1009
                                                                            </DiscreteObjectKeyFrame>
884 1010
                                                                        </ObjectAnimationUsingKeyFrames>
885
                                                                        <ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="Fill" Storyboard.TargetName="BackgroundIcon">
1011
                                                                        <ObjectAnimationUsingKeyFrames Storyboard.TargetName="BackgroundIcon" Storyboard.TargetProperty="Fill">
886 1012
                                                                            <DiscreteObjectKeyFrame KeyTime="0">
887 1013
                                                                                <DiscreteObjectKeyFrame.Value>
888
                                                                                    <SolidColorBrush Color="White"/>
1014
                                                                                    <SolidColorBrush Color="White" />
889 1015
                                                                                </DiscreteObjectKeyFrame.Value>
890 1016
                                                                            </DiscreteObjectKeyFrame>
891 1017
                                                                        </ObjectAnimationUsingKeyFrames>
892 1018
                                                                    </Storyboard>
893 1019
                                                                </VisualState>
894
                                                                <VisualState x:Name="Normal"/>
1020
                                                                <VisualState x:Name="Normal" />
895 1021
                                                                <VisualState x:Name="MouseOver">
896 1022
                                                                    <Storyboard>
897
                                                                        <ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="Fill" Storyboard.TargetName="ForegroundIcon">
1023
                                                                        <ObjectAnimationUsingKeyFrames Storyboard.TargetName="ForegroundIcon" Storyboard.TargetProperty="Fill">
898 1024
                                                                            <DiscreteObjectKeyFrame KeyTime="0">
899 1025
                                                                                <DiscreteObjectKeyFrame.Value>
900
                                                                                    <SolidColorBrush Color="Black"/>
1026
                                                                                    <SolidColorBrush Color="Black" />
901 1027
                                                                                </DiscreteObjectKeyFrame.Value>
902 1028
                                                                            </DiscreteObjectKeyFrame>
903 1029
                                                                        </ObjectAnimationUsingKeyFrames>
904
                                                                        <ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="Fill" Storyboard.TargetName="BackgroundIcon">
1030
                                                                        <ObjectAnimationUsingKeyFrames Storyboard.TargetName="BackgroundIcon" Storyboard.TargetProperty="Fill">
905 1031
                                                                            <DiscreteObjectKeyFrame KeyTime="0">
906 1032
                                                                                <DiscreteObjectKeyFrame.Value>
907
                                                                                    <SolidColorBrush Color="White"/>
1033
                                                                                    <SolidColorBrush Color="White" />
908 1034
                                                                                </DiscreteObjectKeyFrame.Value>
909 1035
                                                                            </DiscreteObjectKeyFrame>
910 1036
                                                                        </ObjectAnimationUsingKeyFrames>
......
912 1038
                                                                </VisualState>
913 1039
                                                                <VisualState x:Name="Pressed">
914 1040
                                                                    <Storyboard>
915
                                                                        <ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="Fill" Storyboard.TargetName="ForegroundIcon">
1041
                                                                        <ObjectAnimationUsingKeyFrames Storyboard.TargetName="ForegroundIcon" Storyboard.TargetProperty="Fill">
916 1042
                                                                            <DiscreteObjectKeyFrame KeyTime="0">
917 1043
                                                                                <DiscreteObjectKeyFrame.Value>
918
                                                                                    <SolidColorBrush Color="Black"/>
1044
                                                                                    <SolidColorBrush Color="Black" />
919 1045
                                                                                </DiscreteObjectKeyFrame.Value>
920 1046
                                                                            </DiscreteObjectKeyFrame>
921 1047
                                                                        </ObjectAnimationUsingKeyFrames>
922
                                                                        <ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="Fill" Storyboard.TargetName="BackgroundIcon">
1048
                                                                        <ObjectAnimationUsingKeyFrames Storyboard.TargetName="BackgroundIcon" Storyboard.TargetProperty="Fill">
923 1049
                                                                            <DiscreteObjectKeyFrame KeyTime="0">
924 1050
                                                                                <DiscreteObjectKeyFrame.Value>
925
                                                                                    <SolidColorBrush Color="White"/>
1051
                                                                                    <SolidColorBrush Color="White" />
926 1052
                                                                                </DiscreteObjectKeyFrame.Value>
927 1053
                                                                            </DiscreteObjectKeyFrame>
928 1054
                                                                        </ObjectAnimationUsingKeyFrames>
......
930 1056
                                                                </VisualState>
931 1057
                                                            </VisualStateGroup>
932 1058
                                                        </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 1059
                                                    </Grid>
941 1060
                                                </ControlTemplate>
942 1061
                                            </Setter.Value>
......
946 1065
                                <telerik:RadButton.Visibility>
947 1066
                                    <Binding Path="IsEnabled" RelativeSource="{RelativeSource Self}">
948 1067
                                        <Binding.Converter>
949
                                            <telerik:BooleanToVisibilityConverter/>
1068
                                            <telerik:BooleanToVisibilityConverter />
950 1069
                                        </Binding.Converter>
951 1070
                                    </Binding>
952 1071
                                </telerik:RadButton.Visibility>
953 1072
                            </telerik:RadButton>
954 1073
                        </Grid>
955
                        <telerik:RadGridResizer x:Name="DockResizer" Cursor="SizeWE" HorizontalAlignment="Left" Placement="Left" Grid.RowSpan="2" ShowsPreview="True" Visibility="Collapsed" VerticalAlignment="Stretch"/>
1074
                        <telerik:RadGridResizer
1075
                            x:Name="DockResizer"
1076
                            Grid.RowSpan="2"
1077
                            HorizontalAlignment="Left"
1078
                            VerticalAlignment="Stretch"
1079
                            Cursor="SizeWE"
1080
                            Placement="Left"
1081
                            ShowsPreview="True"
1082
                            Visibility="Collapsed" />
1083
                        <VisualStateManager.VisualStateGroups>
1084
                            <VisualStateGroup x:Name="CommonStates">
1085
                                <VisualState x:Name="Disabled" />
1086
                                <VisualState x:Name="Normal" />
1087
                            </VisualStateGroup>
1088
                            <VisualStateGroup x:Name="DropDownDisplayStates">
1089
                                <VisualState x:Name="DropDownButtonCollapsed">
1090
                                    <Storyboard>
1091
                                        <ObjectAnimationUsingKeyFrames
1092
                                            Storyboard.TargetName="DropDownButtonElement"
1093
                                            Storyboard.TargetProperty="Visibility"
1094
                                            Duration="0">
1095
                                            <DiscreteObjectKeyFrame KeyTime="0">
1096
                                                <DiscreteObjectKeyFrame.Value>
1097
                                                    <Visibility>Collapsed</Visibility>
1098
                                                </DiscreteObjectKeyFrame.Value>
1099
                                            </DiscreteObjectKeyFrame>
1100
                                        </ObjectAnimationUsingKeyFrames>
1101
                                    </Storyboard>
1102
                                </VisualState>
1103
                                <VisualState x:Name="DropDownButtonVisible">
1104
                                    <Storyboard>
1105
                                        <ObjectAnimationUsingKeyFrames
1106
                                            Storyboard.TargetName="DropDownButtonElement"
1107
                                            Storyboard.TargetProperty="Visibility"
1108
                                            Duration="0">
1109
                                            <DiscreteObjectKeyFrame KeyTime="0">
1110
                                                <DiscreteObjectKeyFrame.Value>
1111
                                                    <Visibility>Visible</Visibility>
1112
                                                </DiscreteObjectKeyFrame.Value>
1113
                                            </DiscreteObjectKeyFrame>
1114
                                        </ObjectAnimationUsingKeyFrames>
1115
                                    </Storyboard>
1116
                                </VisualState>
1117
                            </VisualStateGroup>
1118
                            <VisualStateGroup x:Name="ResizerStates">
1119
                                <VisualState x:Name="ResizerLeft">
1120
                                    <Storyboard>
1121
                                        <ObjectAnimationUsingKeyFrames
1122
                                            Storyboard.TargetName="DockResizer"
1123
                                            Storyboard.TargetProperty="Visibility"
1124
                                            Duration="0">
1125
                                            <DiscreteObjectKeyFrame KeyTime="0">
1126
                                                <DiscreteObjectKeyFrame.Value>
1127
                                                    <Visibility>Visible</Visibility>
1128
                                                </DiscreteObjectKeyFrame.Value>
1129
                                            </DiscreteObjectKeyFrame>
1130
                                        </ObjectAnimationUsingKeyFrames>
1131
                                        <ObjectAnimationUsingKeyFrames Storyboard.TargetName="DockResizer" Storyboard.TargetProperty="Width">
1132
                                            <DiscreteObjectKeyFrame KeyTime="0">
1133
                                                <DiscreteObjectKeyFrame.Value>
1134
                                                    <System:Double>4</System:Double>
1135
                                                </DiscreteObjectKeyFrame.Value>
1136
                                            </DiscreteObjectKeyFrame>
1137
                                        </ObjectAnimationUsingKeyFrames>
1138
                                        <ObjectAnimationUsingKeyFrames
1139
                                            Storyboard.TargetName="ItemsPresenterElement"
1140
                                            Storyboard.TargetProperty="Margin"
1141
                                            Duration="0">
1142
                                            <DiscreteObjectKeyFrame KeyTime="0">
... 이 차이점은 표시할 수 있는 최대 줄수를 초과해서 이 차이점은 잘렸습니다.

내보내기 Unified diff

클립보드 이미지 추가 (최대 크기: 500 MB)