markus / KCOM / Assets / RadGridViewStyleResourceDictionary.xaml @ 4fcb686a
이력 | 보기 | 이력해설 | 다운로드 (35.6 KB)
1 | 787a4489 | KangIngu | <ResourceDictionary
|
---|---|---|---|
2 | 4fcb686a | taeseongkim | xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" |
3 | xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" |
||
4 | xmlns:d="http://schemas.microsoft.com/expression/blend/2008" |
||
5 | xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" |
||
6 | xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation" |
||
7 | mc:Ignorable="d"> |
||
8 | <!-- Resource dictionary entries should be defined here. -->
|
||
9 | <SolidColorBrush x:Key="ControlOuterBorder" Color="#FF848484" /> |
||
10 | 787a4489 | KangIngu | <ControlTemplate x:Key="DetailsPresenterTemplate" TargetType="telerik:DetailsPresenter"> |
11 | 4fcb686a | taeseongkim | <Border
|
12 | x:Name="DetailsBorder" |
||
13 | Background="#FFF3A9A9" |
||
14 | BorderBrush="{StaticResource ControlOuterBorder}" |
||
15 | BorderThickness="0" |
||
16 | OpacityMask="Black"> |
||
17 | <Border Margin="0,0,0,0" BorderBrush="#FF728FB6"> |
||
18 | <ContentPresenter
|
||
19 | x:Name="PART_ContentPresenter" |
||
20 | Margin="{TemplateBinding Padding}" |
||
21 | HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}" |
||
22 | VerticalAlignment="{TemplateBinding VerticalContentAlignment}" /> |
||
23 | </Border>
|
||
24 | 787a4489 | KangIngu | <VisualStateManager.VisualStateGroups>
|
25 | <VisualStateGroup x:Name="DetailsStates"> |
||
26 | <VisualState x:Name="DetailsVisible"> |
||
27 | <Storyboard>
|
||
28 | 4fcb686a | taeseongkim | <ObjectAnimationUsingKeyFrames
|
29 | BeginTime="00:00:00" |
||
30 | Storyboard.TargetName="DetailsBorder" |
||
31 | Storyboard.TargetProperty="Visibility"> |
||
32 | 787a4489 | KangIngu | <DiscreteObjectKeyFrame KeyTime="0"> |
33 | <DiscreteObjectKeyFrame.Value>
|
||
34 | <Visibility>Visible</Visibility> |
||
35 | </DiscreteObjectKeyFrame.Value>
|
||
36 | </DiscreteObjectKeyFrame>
|
||
37 | </ObjectAnimationUsingKeyFrames>
|
||
38 | </Storyboard>
|
||
39 | </VisualState>
|
||
40 | 4fcb686a | taeseongkim | <VisualState x:Name="DetailsCollapsed" /> |
41 | 787a4489 | KangIngu | </VisualStateGroup>
|
42 | </VisualStateManager.VisualStateGroups>
|
||
43 | </Border>
|
||
44 | </ControlTemplate>
|
||
45 | 4fcb686a | taeseongkim | <LinearGradientBrush x:Key="GridView_RowDetailsBackground" StartPoint="0.5,0" EndPoint="0.5,1"> |
46 | <GradientStop Color="#FFC2C2C2" /> |
||
47 | <GradientStop Offset="0.3" Color="#FFF0F0F0" /> |
||
48 | 787a4489 | KangIngu | </LinearGradientBrush>
|
49 | 4fcb686a | taeseongkim | <SolidColorBrush x:Key="ControlInnerBorder" Color="White" /> |
50 | 787a4489 | KangIngu | <Style x:Key="DetailsPresenterStyle" TargetType="telerik:DetailsPresenter"> |
51 | 4fcb686a | taeseongkim | <Setter Property="Template" Value="{StaticResource DetailsPresenterTemplate}" /> |
52 | <Setter Property="Visibility" Value="Collapsed" /> |
||
53 | <Setter Property="IsTabStop" Value="False" /> |
||
54 | <Setter Property="Background" Value="{StaticResource GridView_RowDetailsBackground}" /> |
||
55 | <Setter Property="BorderBrush" Value="{StaticResource ControlInnerBorder}" /> |
||
56 | <Setter Property="BorderThickness" Value="1" /> |
||
57 | <Setter Property="Padding" Value="0" /> |
||
58 | <Setter Property="HorizontalContentAlignment" Value="Stretch" /> |
||
59 | 787a4489 | KangIngu | </Style>
|
60 | 4fcb686a | taeseongkim | <SolidColorBrush x:Key="ItemOuterBorder_Over" Color="#93C3F2" /> |
61 | <SolidColorBrush x:Key="ItemInnerBorder_Over" Color="#2181FF" /> |
||
62 | <SolidColorBrush x:Key="ItemBackground_Over" Color="Transparent" /> |
||
63 | <SolidColorBrush x:Key="ItemOuterBorder_Selected" Color="#93C3F2" /> |
||
64 | <SolidColorBrush x:Key="ItemInnerBorder_Selected" Color="#2181FF" /> |
||
65 | <SolidColorBrush x:Key="ItemBackground_Selected" Color="Transparent" /> |
||
66 | <SolidColorBrush x:Key="ItemOuterBorder_Invalid" Color="#FFCE7D7D" /> |
||
67 | <LinearGradientBrush x:Key="ItemInnerBorder_Invalid" StartPoint="0.5,0" EndPoint="0.5,1"> |
||
68 | <GradientStop Color="#FFEBF4FD" /> |
||
69 | <GradientStop Offset="1" Color="#FFDBEAFD" /> |
||
70 | 787a4489 | KangIngu | </LinearGradientBrush>
|
71 | 4fcb686a | taeseongkim | <LinearGradientBrush x:Key="ItemBackground_Invalid" StartPoint="0.5,0" EndPoint="0.5,1"> |
72 | <GradientStop Color="#FFFCDCDC" /> |
||
73 | <GradientStop Offset="1" Color="#FFFCC1C1" /> |
||
74 | 787a4489 | KangIngu | </LinearGradientBrush>
|
75 | 4fcb686a | taeseongkim | <telerik:BooleanToOpacityConverter x:Key="BooleanToOpacityConverter" /> |
76 | <telerik:Office_BlackTheme x:Key="Theme" /> |
||
77 | <telerik:BooleanToVisibilityConverter x:Key="BooleanToVisibilityConverter" /> |
||
78 | <telerik:GridLineWidthToThicknessConverter x:Key="GridLineWidthToThicknessConverter" /> |
||
79 | <SolidColorBrush x:Key="GridView_HierarchyBackground" Color="#FFBBBBBB" /> |
||
80 | <SolidColorBrush x:Key="GridView_RowIndicatorCellBackground" Color="#FFE4E4E4" /> |
||
81 | <SolidColorBrush x:Key="GridView_NavigatorIndicatorBackground" Color="#FF848484" /> |
||
82 | <SolidColorBrush x:Key="GridView_EditIndicatorBackground1" Color="#7F848484" /> |
||
83 | <SolidColorBrush x:Key="GridView_EditIndicatorBackground2" Color="#FFCBCBCB" /> |
||
84 | <SolidColorBrush x:Key="GridView_EditIndicatorBackground3" Color="#FF848484" /> |
||
85 | <SolidColorBrush x:Key="GridView_EditIndicatorBackground4" Color="White" /> |
||
86 | <LinearGradientBrush x:Key="GridView_ErrorIndicatorBackground1" StartPoint="0.5,0" EndPoint="0.5,1"> |
||
87 | <GradientStop Offset="0" Color="#FFFC9999" /> |
||
88 | <GradientStop Offset="1" Color="#FFC26666" /> |
||
89 | 787a4489 | KangIngu | </LinearGradientBrush>
|
90 | 4fcb686a | taeseongkim | <SolidColorBrush x:Key="GridView_ErrorIndicatorBackground2" Color="White" /> |
91 | <LinearGradientBrush x:Key="GridView_ErrorIndicatorBackground3" StartPoint="0.5,0" EndPoint="0.5,1"> |
||
92 | <GradientStop Offset="0" Color="Red" /> |
||
93 | <GradientStop Offset="1" Color="#FF990000" /> |
||
94 | 787a4489 | KangIngu | </LinearGradientBrush>
|
95 | <ControlTemplate x:Key="GridViewRow_ValidationToolTipTemplate" TargetType="ToolTip"> |
||
96 | 4fcb686a | taeseongkim | <Grid
|
97 | x:Name="Root" |
||
98 | Margin="5,0" |
||
99 | Opacity="0" |
||
100 | RenderTransformOrigin="0,0"> |
||
101 | 787a4489 | KangIngu | <Grid.RenderTransform>
|
102 | 4fcb686a | taeseongkim | <TranslateTransform x:Name="xform" X="-25" /> |
103 | 787a4489 | KangIngu | </Grid.RenderTransform>
|
104 | 4fcb686a | taeseongkim | <Border
|
105 | Margin="4,4,-4,-4" |
||
106 | Background="#052A2E31" |
||
107 | CornerRadius="5" /> |
||
108 | <Border
|
||
109 | Margin="3,3,-3,-3" |
||
110 | Background="#152A2E31" |
||
111 | CornerRadius="4" /> |
||
112 | <Border
|
||
113 | Margin="2,2,-2,-2" |
||
114 | Background="#252A2E31" |
||
115 | CornerRadius="3" /> |
||
116 | <Border
|
||
117 | Margin="1,1,-1,-1" |
||
118 | Background="#352A2E31" |
||
119 | CornerRadius="2" /> |
||
120 | <Border Background="#FFDC000C" CornerRadius="2" /> |
||
121 | <Border CornerRadius="2"> |
||
122 | <ItemsControl ItemsSource="{TemplateBinding Content}"> |
||
123 | <ItemsControl.ItemsPanel>
|
||
124 | <ItemsPanelTemplate>
|
||
125 | <StackPanel /> |
||
126 | </ItemsPanelTemplate>
|
||
127 | </ItemsControl.ItemsPanel>
|
||
128 | <ItemsControl.ItemTemplate>
|
||
129 | <DataTemplate>
|
||
130 | <TextBlock
|
||
131 | MaxWidth="250" |
||
132 | Margin="8,4,8,4" |
||
133 | Foreground="White" |
||
134 | Text="{Binding}" |
||
135 | TextWrapping="Wrap" /> |
||
136 | </DataTemplate>
|
||
137 | </ItemsControl.ItemTemplate>
|
||
138 | </ItemsControl>
|
||
139 | </Border>
|
||
140 | 787a4489 | KangIngu | <VisualStateManager.VisualStateGroups>
|
141 | <VisualStateGroup x:Name="OpenStates"> |
||
142 | <VisualStateGroup.Transitions>
|
||
143 | 4fcb686a | taeseongkim | <VisualTransition GeneratedDuration="0" /> |
144 | 787a4489 | KangIngu | <VisualTransition GeneratedDuration="0:0:0.2" To="Open"> |
145 | <Storyboard>
|
||
146 | 4fcb686a | taeseongkim | <DoubleAnimationUsingKeyFrames Storyboard.TargetName="xform" Storyboard.TargetProperty="X"> |
147 | <SplineDoubleKeyFrame KeyTime="0:0:0.2" Value="0" /> |
||
148 | 787a4489 | KangIngu | </DoubleAnimationUsingKeyFrames>
|
149 | 4fcb686a | taeseongkim | <DoubleAnimationUsingKeyFrames Storyboard.TargetName="Root" Storyboard.TargetProperty="Opacity"> |
150 | <SplineDoubleKeyFrame KeyTime="0:0:0.2" Value="1" /> |
||
151 | 787a4489 | KangIngu | </DoubleAnimationUsingKeyFrames>
|
152 | </Storyboard>
|
||
153 | </VisualTransition>
|
||
154 | </VisualStateGroup.Transitions>
|
||
155 | <VisualState x:Name="Closed"> |
||
156 | <Storyboard>
|
||
157 | 4fcb686a | taeseongkim | <DoubleAnimationUsingKeyFrames Storyboard.TargetName="Root" Storyboard.TargetProperty="Opacity"> |
158 | <SplineDoubleKeyFrame KeyTime="0" Value="0" /> |
||
159 | 787a4489 | KangIngu | </DoubleAnimationUsingKeyFrames>
|
160 | </Storyboard>
|
||
161 | </VisualState>
|
||
162 | <VisualState x:Name="Open"> |
||
163 | <Storyboard>
|
||
164 | 4fcb686a | taeseongkim | <DoubleAnimationUsingKeyFrames Storyboard.TargetName="xform" Storyboard.TargetProperty="X"> |
165 | <SplineDoubleKeyFrame KeyTime="0" Value="0" /> |
||
166 | 787a4489 | KangIngu | </DoubleAnimationUsingKeyFrames>
|
167 | 4fcb686a | taeseongkim | <DoubleAnimationUsingKeyFrames Storyboard.TargetName="Root" Storyboard.TargetProperty="Opacity"> |
168 | <SplineDoubleKeyFrame KeyTime="0" Value="1" /> |
||
169 | 787a4489 | KangIngu | </DoubleAnimationUsingKeyFrames>
|
170 | </Storyboard>
|
||
171 | </VisualState>
|
||
172 | </VisualStateGroup>
|
||
173 | </VisualStateManager.VisualStateGroups>
|
||
174 | </Grid>
|
||
175 | </ControlTemplate>
|
||
176 | 4fcb686a | taeseongkim | <LinearGradientBrush x:Key="GridView_RowIndicatorCellBackground_Selected" StartPoint="0.5,0" EndPoint="0.5,1"> |
177 | <GradientStop Offset="0" Color="White" /> |
||
178 | <GradientStop Offset="1" Color="#FFE4E4E4" /> |
||
179 | 787a4489 | KangIngu | </LinearGradientBrush>
|
180 | <ControlTemplate x:Key="GridViewRowTemplate" TargetType="telerik:GridViewRow"> |
||
181 | 4fcb686a | taeseongkim | <Border
|
182 | Background="{TemplateBinding Background}" |
||
183 | BorderBrush="{TemplateBinding BorderBrush}" |
||
184 | BorderThickness="{TemplateBinding BorderThickness}"> |
||
185 | <telerik:SelectiveScrollingGrid x:Name="grid"> |
||
186 | <telerik:SelectiveScrollingGrid.ColumnDefinitions>
|
||
187 | <ColumnDefinition Width="Auto" /> |
||
188 | <ColumnDefinition Width="Auto" /> |
||
189 | <ColumnDefinition Width="Auto" /> |
||
190 | <ColumnDefinition Width="*" /> |
||
191 | </telerik:SelectiveScrollingGrid.ColumnDefinitions>
|
||
192 | <telerik:SelectiveScrollingGrid.RowDefinitions>
|
||
193 | <RowDefinition Height="*" /> |
||
194 | <RowDefinition Height="Auto" /> |
||
195 | <RowDefinition Height="Auto" /> |
||
196 | <RowDefinition Height="Auto" /> |
||
197 | </telerik:SelectiveScrollingGrid.RowDefinitions>
|
||
198 | <Border
|
||
199 | x:Name="SelectionBackground" |
||
200 | Grid.Column="2" |
||
201 | Grid.ColumnSpan="2" |
||
202 | MinWidth="{Binding RenderWidth, RelativeSource={RelativeSource TemplatedParent}}" |
||
203 | Margin="{TemplateBinding Margin}" |
||
204 | Padding="{TemplateBinding Padding}" |
||
205 | HorizontalAlignment="{Binding RenderHorizontalAlignment, RelativeSource={RelativeSource TemplatedParent}}" |
||
206 | VerticalAlignment="{TemplateBinding VerticalContentAlignment}" |
||
207 | telerik:SelectiveScrollingGrid.SelectiveScrollingOrientation="Vertical" |
||
208 | Background="{TemplateBinding Background}" /> |
||
209 | <Border
|
||
210 | x:Name="Background_Over" |
||
211 | Grid.Column="2" |
||
212 | Grid.ColumnSpan="2" |
||
213 | MinWidth="{Binding RenderWidth, RelativeSource={RelativeSource TemplatedParent}}" |
||
214 | Margin="1,1,1,2" |
||
215 | HorizontalAlignment="{Binding RenderHorizontalAlignment, RelativeSource={RelativeSource TemplatedParent}}" |
||
216 | telerik:SelectiveScrollingGrid.SelectiveScrollingOrientation="Vertical" |
||
217 | BorderBrush="{StaticResource ItemOuterBorder_Over}" |
||
218 | BorderThickness="1" |
||
219 | CornerRadius="1" |
||
220 | Visibility="Collapsed"> |
||
221 | <Border
|
||
222 | Background="{StaticResource ItemBackground_Over}" |
||
223 | BorderBrush="{StaticResource ItemInnerBorder_Over}" |
||
224 | BorderThickness="1" /> |
||
225 | </Border>
|
||
226 | <Border
|
||
227 | x:Name="Background_Selected" |
||
228 | Grid.Column="2" |
||
229 | Grid.ColumnSpan="2" |
||
230 | MinWidth="{Binding RenderWidth, RelativeSource={RelativeSource TemplatedParent}}" |
||
231 | Margin="1,1,1,2" |
||
232 | HorizontalAlignment="{Binding RenderHorizontalAlignment, RelativeSource={RelativeSource TemplatedParent}}" |
||
233 | telerik:SelectiveScrollingGrid.SelectiveScrollingOrientation="Vertical" |
||
234 | BorderBrush="{StaticResource ItemOuterBorder_Selected}" |
||
235 | BorderThickness="1" |
||
236 | CornerRadius="1" |
||
237 | Visibility="Collapsed"> |
||
238 | <Border
|
||
239 | Background="{StaticResource ItemBackground_Selected}" |
||
240 | BorderBrush="{StaticResource ItemInnerBorder_Selected}" |
||
241 | BorderThickness="1" /> |
||
242 | </Border>
|
||
243 | <Border
|
||
244 | x:Name="Background_Invalid" |
||
245 | Grid.Column="2" |
||
246 | Grid.ColumnSpan="2" |
||
247 | MinWidth="{Binding RenderWidth, RelativeSource={RelativeSource TemplatedParent}}" |
||
248 | Margin="1,1,1,2" |
||
249 | HorizontalAlignment="{Binding RenderHorizontalAlignment, RelativeSource={RelativeSource TemplatedParent}}" |
||
250 | telerik:SelectiveScrollingGrid.SelectiveScrollingOrientation="Vertical" |
||
251 | BorderBrush="{StaticResource ItemOuterBorder_Invalid}" |
||
252 | BorderThickness="1" |
||
253 | CornerRadius="1" |
||
254 | Visibility="Collapsed"> |
||
255 | <Border
|
||
256 | Background="{StaticResource ItemBackground_Invalid}" |
||
257 | BorderBrush="{StaticResource ItemInnerBorder_Invalid}" |
||
258 | BorderThickness="1" /> |
||
259 | </Border>
|
||
260 | <telerik:GridViewToggleButton
|
||
261 | x:Name="PART_HierarchyExpandButton" |
||
262 | Grid.Column="2" |
||
263 | Width="25" |
||
264 | telerik:SelectiveScrollingGrid.SelectiveScrollingOrientation="Vertical" |
||
265 | telerik:StyleManager.Theme="{StaticResource Theme}" |
||
266 | IsChecked="{Binding IsExpanded, Mode=TwoWay, RelativeSource={RelativeSource TemplatedParent}}" |
||
267 | IsHitTestVisible="{Binding IsExpandable, RelativeSource={RelativeSource TemplatedParent}}" |
||
268 | IsTabStop="{TemplateBinding IsTabStop}" |
||
269 | Opacity="{Binding IsExpandable, Converter={StaticResource BooleanToOpacityConverter}, RelativeSource={RelativeSource TemplatedParent}}" |
||
270 | Visibility="{Binding HasHierarchy, Converter={StaticResource BooleanToVisibilityConverter}, RelativeSource={RelativeSource TemplatedParent}}" /> |
||
271 | <Border
|
||
272 | Grid.Column="2" |
||
273 | telerik:SelectiveScrollingGrid.SelectiveScrollingOrientation="Vertical" |
||
274 | Visibility="{Binding HasHierarchy, Converter={StaticResource BooleanToVisibilityConverter}, RelativeSource={RelativeSource TemplatedParent}}" /> |
||
275 | <telerik:DataCellsPresenter
|
||
276 | x:Name="PART_DataCellsPresenter" |
||
277 | Grid.Column="3" |
||
278 | telerik:StyleManager.Theme="{StaticResource Theme}" /> |
||
279 | <Border
|
||
280 | x:Name="PART_RowBorder" |
||
281 | Grid.RowSpan="4" |
||
282 | Grid.Column="1" |
||
283 | Grid.ColumnSpan="4" |
||
284 | MinWidth="{Binding RenderWidth, RelativeSource={RelativeSource TemplatedParent}}" |
||
285 | HorizontalAlignment="{Binding RenderHorizontalAlignment, RelativeSource={RelativeSource TemplatedParent}}" |
||
286 | VerticalAlignment="Bottom" |
||
287 | telerik:SelectiveScrollingGrid.SelectiveScrollingOrientation="Vertical" |
||
288 | BorderBrush="{StaticResource HorizontalGridLinesBrush}" |
||
289 | BorderThickness="{Binding HorizontalGridLinesWidth, ConverterParameter=Bottom, Converter={StaticResource GridLineWidthToThicknessConverter}, RelativeSource={RelativeSource TemplatedParent}}" /> |
||
290 | <Border
|
||
291 | Grid.Row="2" |
||
292 | Grid.Column="2" |
||
293 | Grid.ColumnSpan="2" |
||
294 | MaxWidth="30000" |
||
295 | Padding="6" |
||
296 | HorizontalAlignment="{Binding RenderHorizontalAlignment, RelativeSource={RelativeSource TemplatedParent}}" |
||
297 | telerik:SelectiveScrollingGrid.SelectiveScrollingClip="True" |
||
298 | Background="{StaticResource GridView_HierarchyBackground}" |
||
299 | BorderBrush="{StaticResource ControlOuterBorder}" |
||
300 | BorderThickness="0,1" |
||
301 | Visibility="{Binding IsExpanded, Converter={StaticResource BooleanToVisibilityConverter}, RelativeSource={RelativeSource TemplatedParent}}"> |
||
302 | <ContentPresenter x:Name="PART_HierarchyChildPresenter" telerik:SelectiveScrollingGrid.SelectiveScrollingClip="True" /> |
||
303 | </Border>
|
||
304 | <telerik:DetailsPresenter
|
||
305 | x:Name="PART_DetailsPresenter" |
||
306 | Grid.Row="1" |
||
307 | Grid.Column="2" |
||
308 | Grid.ColumnSpan="2" |
||
309 | MaxWidth="30000" |
||
310 | HorizontalAlignment="{Binding RenderHorizontalAlignment, RelativeSource={RelativeSource TemplatedParent}}" |
||
311 | telerik:SelectiveScrollingGrid.SelectiveScrollingClip="True" |
||
312 | telerik:StyleManager.Theme="{StaticResource Theme}" |
||
313 | Background="{TemplateBinding Background}" |
||
314 | BorderBrush="{x:Null}" |
||
315 | DetailsProvider="{Binding DetailsProvider}" /> |
||
316 | <telerik:IndentPresenter
|
||
317 | x:Name="PART_IndentPresenter" |
||
318 | Grid.RowSpan="4" |
||
319 | Grid.Column="1" |
||
320 | telerik:SelectiveScrollingGrid.SelectiveScrollingOrientation="Vertical" |
||
321 | telerik:StyleManager.Theme="{StaticResource Theme}" /> |
||
322 | <Border
|
||
323 | x:Name="PART_IndicatorPresenter" |
||
324 | Grid.RowSpan="3" |
||
325 | Grid.Column="0" |
||
326 | Width="25" |
||
327 | VerticalAlignment="Stretch" |
||
328 | telerik:SelectiveScrollingGrid.SelectiveScrollingOrientation="Vertical" |
||
329 | BorderBrush="{StaticResource ControlOuterBorder}" |
||
330 | BorderThickness="0,0,1,1" |
||
331 | Visibility="{TemplateBinding RowIndicatorVisibility}"> |
||
332 | <Border
|
||
333 | x:Name="NavigatorIndicatorBackground" |
||
334 | Background="{StaticResource GridView_RowIndicatorCellBackground}" |
||
335 | BorderBrush="{StaticResource ControlInnerBorder}" |
||
336 | BorderThickness="1"> |
||
337 | <Grid>
|
||
338 | <Grid
|
||
339 | x:Name="NavigatorIndicator" |
||
340 | Width="11" |
||
341 | Height="11" |
||
342 | HorizontalAlignment="Center" |
||
343 | VerticalAlignment="Center" |
||
344 | Visibility="Collapsed"> |
||
345 | <Path
|
||
346 | Width="8" |
||
347 | Height="8" |
||
348 | Margin="0" |
||
349 | HorizontalAlignment="Center" |
||
350 | VerticalAlignment="Center" |
||
351 | Data="F1 M 32.0234,6.66669L 24.2923,0.0248413L 28.3697,0.0248413L 32,3.14362L 36.1492,6.70819L 32,10.2728L 28.4664,13.3085L 24.2923,13.3085L 32.0234,6.66669 Z " |
||
352 | Fill="{StaticResource GridView_NavigatorIndicatorBackground}" |
||
353 | Stretch="Fill" /> |
||
354 | </Grid>
|
||
355 | <Grid
|
||
356 | x:Name="EditIndicator" |
||
357 | Width="16" |
||
358 | Height="10" |
||
359 | HorizontalAlignment="Center" |
||
360 | VerticalAlignment="Center" |
||
361 | Visibility="Collapsed"> |
||
362 | <Path
|
||
363 | Data="M14,9 L15,9 15,10 14,10 z M1,9 L2,9 2,10 1,10 z M15,8 L16,8 16,9 15,9 z M0,8 L1,8 1,9 0,9 z M15,1 L16,1 16,2 15,2 z M0,1 L1,1 1,2 0,2 z M14,0 L15,0 15,1 14,1 z M1,0 L2,0 2,1 1,1 z" |
||
364 | Fill="{StaticResource GridView_EditIndicatorBackground1}" |
||
365 | Stretch="Fill" /> |
||
366 | <Path
|
||
367 | Margin="1" |
||
368 | Data="M0.99999994,6.9999995 L2,6.9999995 3,6.9999995 4,6.9999995 5,6.9999995 6,6.9999995 7,6.9999995 8,6.9999995 9,6.9999995 10,6.9999995 11,6.9999995 12,6.9999995 13,6.9999995 13,7.9999995 12,7.9999995 11,7.9999995 10,7.9999995 9,7.9999995 8,7.9999995 7,7.9999995 6,7.9999995 5,7.9999995 4,7.9999995 3,7.9999995
2,7.9999995 0.99999994,7.9999995 z M13,0.99999994 L14,0.99999994 14,1.9999999 14,2.9999995 14,3.9999995 14,4.9999995 14,5.9999995 14,6.9999995 13,6.9999995 13,5.9999995 13,4.9999995 13,3.9999995 13,2.9999995 13,1.9999999 z M0,0.99999994 L0.99999994,0.99999994 0.99999994,1.9999999 0.99999994,2.9999995 0.99999994,3.9999995 0.99999994,4.9999995 0.99999994,5.9999995 0.99999994,6.9999995 0,6.9999995 0,5.9999995 0,4.9999995 0,3.9999995 0,2.9999995 0,1.9999999 z M11,0 L12,0 13,0 13,0.99999994 12,0.99999994 11,0.99999994 10,0.99999994 9,0.99999994 8,0.99999994 7,0.99999994 6,0.99999994 5,0.99999994 4,0.99999994 3,0.99999994 2,0.99999994 0.99999994,0.99999994 0.99999994,2.3841858E-07 2,2.3841858E-07 3,2.3841858E-07 4,2.3841858E-07 5,2.3841858E-07 6,2.3841858E-07 7,2.3841858E-07 8,2.3841858E-07
9,2.3841858E-07 10,2.3841858E-07 z" |
||
369 | Fill="{StaticResource GridView_EditIndicatorBackground2}" |
||
370 | Stretch="Fill" /> |
||
371 | <Path
|
||
372 | Data="M2,9 L3,9 4,9 5,9 6,9 7,9 8,9 9,9 10,9 11,9 12,9 13,9 14,9 14,10 13,10 12,10 11,10 10,10 9,10 8,10 7,10 6,10 5,10 4,10
3,10 2,10 z M14,8 L15,8 15,9 14,9 z M1,8 L2,8 2,9 1,9 z M15,2 L16,2 16,3 16,4 16,5 16,6 16,7 16,8 15,8 15,7 15,6 15,5 15,4 15,3 z M3,2 L4,2 5,2 6,2 6,3 5,3 5,4 5,5 5,6 5,7 6,7 6,8 5,8 4,8 3,8 3,7 4,7 4,6 4,5 4,4 4,3 3,3 z M0,2 L1,2 1,3 1,4 1,5 1,6 1,7 1,8 0,8 0,7 0,6 0,5 0,4 0,3 z M14,1 L15,1 15,2 14,2 z M1,1 L2,1 2,2 1,2 z M2,0 L3,0 4,0 5,0 6,0 7,0 8,0 9,0 10,0 11,0 12,0 13,0 14,0 14,1 13,1 12,1 11,1 10,1 9,1 8,1 7,1 6,1 5,1 4,1
3,1 2,1 z" |
||
373 | Fill="{StaticResource GridView_EditIndicatorBackground3}" |
||
374 | Stretch="Fill" /> |
||
375 | <Path
|
||
376 | Margin="2" |
||
377 | Data="M4,0 L5,0 6,0 7,0 8,0 9,0 10,0 11,0 12,0 12,1 12,2 12,3 12,4 12,5.0000001 12,6 11,6 10,6 9,6 8,6 7,6 6,6 5,6 4,6 4,5.0000001
3,5.0000001 3,4 3,3 3,2 3,1 4,1 z M0,0 L1,0 1,1 2,1 2,2 2,3 2,4 2,5.0000001 1,5.0000001 1,6 0,6 0,5.0000001 0,4 0,3 0,2 0,1 z" |
||
378 | Fill="{StaticResource GridView_EditIndicatorBackground4}" |
||
379 | Stretch="Fill" /> |
||
380 | </Grid>
|
||
381 | <Grid
|
||
382 | x:Name="ErrorIndicator" |
||
383 | Width="16" |
||
384 | Height="16" |
||
385 | HorizontalAlignment="Center" |
||
386 | VerticalAlignment="Center" |
||
387 | Visibility="Collapsed"> |
||
388 | <ToolTipService.ToolTip>
|
||
389 | <ToolTip
|
||
390 | x:Name="validationTooltip" |
||
391 | Content="{Binding Errors}" |
||
392 | Placement="Bottom" |
||
393 | Template="{StaticResource GridViewRow_ValidationToolTipTemplate}" /> |
||
394 | </ToolTipService.ToolTip>
|
||
395 | <Path
|
||
396 | Margin="1" |
||
397 | Data="M3,12.999999 L4,12.999999 5,12.999999 6,12.999999 7,12.999999 8,12.999999 9,12.999999 10,12.999999 11,12.999999 11,13.999999 10,13.999999 9,13.999999 8,13.999999 7,13.999999 6,13.999999 5,13.999999 4,13.999999 3,13.999999 z M11,11.999999 L12,11.999999 12,12.999999 11,12.999999 z M2.0000001,11.999999 L3,11.999999 3,12.999999 2.0000001,12.999999 z M12,10.999999 L13,10.999999 13,11.999999 12,11.999999 z M1,10.999999 L2.0000001,10.999999 2.0000001,11.999999 1,11.999999 z M13,2.9999992 L14,2.9999992 14,3.9999992 14,4.9999992 14,5.9999992 14,6.9999992 14,7.9999992 14,8.9999992 14,9.9999992 14,10.999999 13,10.999999 13,9.9999992 13,8.9999992 13,7.9999992 13,6.9999992 13,5.9999992 13,4.9999992 13,3.9999992 z M0,2.9999992 L1,2.9999992 1,3.9999992 1,4.9999992 1,5.9999992 1,6.9999992 1,7.9999992 1,8.9999992 1,9.9999992 1,10.999999 0,10.999999 0,9.9999992 0,8.9999992 0,7.9999992 0,6.9999992 0,5.9999992 0,4.9999992 0,3.9999992 z M12,1.9999999 L13,1.9999999 13,2.9999992 12,2.9999992 z M1,1.9999999 L2.0000001,1.9999999 2.0000001,2.9999992 1,2.9999992 z M11,0.99999994 L12,0.99999994 12,1.9999999 11,1.9999999 z M2.0000001,0.99999994 L2.9999998,0.99999994 2.9999998,1.9999999 2.0000001,1.9999999 z M2.9999998,0 L3.9999998,0 5,0 6,0 7,0 8,0 9,0 10,0 11,0 11,0.99999994 10,0.99999994 9,0.99999994 8,0.99999994 7,0.99999994 6,0.99999994 5,0.99999994 3.9999998,0.99999994 2.9999998,0.99999994 z" |
||
398 | Fill="{StaticResource GridView_ErrorIndicatorBackground1}" |
||
399 | Stretch="Fill" /> |
||
400 | <Path
|
||
401 | Margin="7,3" |
||
402 | Data="M1.4901161E-07,8 L1.0000001,8 2.0000002,8 2.0000002,9 2.0000002,10 1.0000003,10 1.0000003,9 1.0000001,10 1.4901161E-07,10 1.4901161E-07,9 z M1.4901161E-07,0 L1.0000001,0 2.0000002,0 2.0000002,1 2.0000002,2 2.0000002,3 2.0000002,4.0000001 2.0000002,5 2.0000002,5.9999999 2.0000002,7 1.0000001,7 1.4901161E-07,7 1.4901161E-07,5.9999999 1.4901161E-07,5 1.4901161E-07,4.0000001 1.4901161E-07,3 1.4901161E-07,2 0,1 z" |
||
403 | Fill="{StaticResource GridView_ErrorIndicatorBackground2}" |
||
404 | Stretch="Fill" /> |
||
405 | <Path
|
||
406 | Data="M4,15 L5,15 6,15 7,15 8,15 9,15 10,15 11,15 12,15 12,16 11,16 10,16 9,16 8,16 7,16 6,16 5,16 4,16 z M12,14 L13,14 13,15 12,15 z M3,14 L4,14 4,15 3,15 z M13,13 L14,13 14,14 13,14 z M2,13 L3,13 3,14 2,14 z M14,12 L15,12 15,13 14,13 z M1,12 L2,12 2,13 1,13 z M7,11 L7,12 7,13 8,13 9,13 9,12 9,11 8,11 z M15,4 L16,4 16,5 16,6 16,7 16,8 16,9 16,10 16,11 16,12 15,12 15,11 15,10 15,9 15,8 15,7 15,6 15,5 z M0,4 L1,4 1,5 1,6 1,7 1,8 1,9 1,10 1,11 1,12 0,12 0,11 0,10 0,9 0,8 0,7 0,6 0,5 z M14,3 L15,3 15,4 14,4 z M7,3 L7,4 7,5 7,6 7,7 7,8 7,9 7,10 8,10 9,10 9,9 9,8 9,7 9,6 9,5 9,4 9,3 8,3 z M1,3 L2,3 2,4 1,4 z M13,2 L14,2 14,3 13,3 z M4,2 L5,2 6,2 7,2 8,2 9,2 10,2 11,2 12,2 12,3 13,3 13,4 14,4 14,5 14,6 14,7 14,8 14,9 14,10 14,11 14,12 13,12 13,13 12,13
12,14 11,14 10,14 9,14 8,14 7,14 6,14 5,14 4,14 4,13 3,13 3,12 2,12 2,11 2,10 2,9 2,8 2,7 2,6 2,5 2,4 3,4 3,3
4,3 z M2,2 L3,2 3,3 2,3 z M12,1 L13,1 13,2 12,2 z M3,1 L4,1 4,2 3,2 z M4,0 L5,0 6,0 7,0 8,0 9,0 10,0 11,0 12,0 12,1 11,1 10,1 9,1 8,1 7,1 6,1 5,1 4,1 z" |
||
407 | Fill="{StaticResource GridView_ErrorIndicatorBackground3}" |
||
408 | Stretch="Fill" /> |
||
409 | </Grid>
|
||
410 | <Border
|
||
411 | x:Name="PART_RowResizer" |
||
412 | Height="2" |
||
413 | VerticalAlignment="Bottom" |
||
414 | Background="Transparent" |
||
415 | Cursor="SizeNS" /> |
||
416 | </Grid>
|
||
417 | </Border>
|
||
418 | </Border>
|
||
419 | </telerik:SelectiveScrollingGrid>
|
||
420 | 787a4489 | KangIngu | <VisualStateManager.VisualStateGroups>
|
421 | <VisualStateGroup x:Name="FocusStates"> |
||
422 | 4fcb686a | taeseongkim | <VisualState x:Name="Unfocused" /> |
423 | 787a4489 | KangIngu | <VisualState x:Name="Focused"> |
424 | <Storyboard>
|
||
425 | 4fcb686a | taeseongkim | <ObjectAnimationUsingKeyFrames Storyboard.TargetName="NavigatorIndicator" Storyboard.TargetProperty="(UIElement.Visibility)"> |
426 | 787a4489 | KangIngu | <DiscreteObjectKeyFrame KeyTime="0"> |
427 | <DiscreteObjectKeyFrame.Value>
|
||
428 | <Visibility>Visible</Visibility> |
||
429 | </DiscreteObjectKeyFrame.Value>
|
||
430 | </DiscreteObjectKeyFrame>
|
||
431 | </ObjectAnimationUsingKeyFrames>
|
||
432 | </Storyboard>
|
||
433 | </VisualState>
|
||
434 | </VisualStateGroup>
|
||
435 | <VisualStateGroup x:Name="SelectionStates"> |
||
436 | 4fcb686a | taeseongkim | <VisualState x:Name="Unselected" /> |
437 | 787a4489 | KangIngu | <VisualState x:Name="SelectedUnfocused"> |
438 | <Storyboard>
|
||
439 | 4fcb686a | taeseongkim | <ObjectAnimationUsingKeyFrames
|
440 | Storyboard.TargetName="Background_Over" |
||
441 | Storyboard.TargetProperty="(UIElement.Visibility)" |
||
442 | Duration="0"> |
||
443 | 787a4489 | KangIngu | <DiscreteObjectKeyFrame KeyTime="0"> |
444 | <DiscreteObjectKeyFrame.Value>
|
||
445 | <Visibility>Visible</Visibility> |
||
446 | </DiscreteObjectKeyFrame.Value>
|
||
447 | </DiscreteObjectKeyFrame>
|
||
448 | </ObjectAnimationUsingKeyFrames>
|
||
449 | </Storyboard>
|
||
450 | </VisualState>
|
||
451 | </VisualStateGroup>
|
||
452 | <VisualStateGroup x:Name="CommonStates"> |
||
453 | 4fcb686a | taeseongkim | <VisualState x:Name="Normal" /> |
454 | 787a4489 | KangIngu | <VisualState x:Name="MouseOver"> |
455 | <Storyboard>
|
||
456 | 4fcb686a | taeseongkim | <ObjectAnimationUsingKeyFrames
|
457 | Storyboard.TargetName="Background_Over" |
||
458 | Storyboard.TargetProperty="(UIElement.Visibility)" |
||
459 | Duration="0"> |
||
460 | 787a4489 | KangIngu | <DiscreteObjectKeyFrame KeyTime="0"> |
461 | <DiscreteObjectKeyFrame.Value>
|
||
462 | <Visibility>Visible</Visibility> |
||
463 | </DiscreteObjectKeyFrame.Value>
|
||
464 | </DiscreteObjectKeyFrame>
|
||
465 | </ObjectAnimationUsingKeyFrames>
|
||
466 | </Storyboard>
|
||
467 | </VisualState>
|
||
468 | <VisualState x:Name="Selected"> |
||
469 | <Storyboard>
|
||
470 | 4fcb686a | taeseongkim | <ObjectAnimationUsingKeyFrames
|
471 | Storyboard.TargetName="Background_Selected" |
||
472 | Storyboard.TargetProperty="(UIElement.Visibility)" |
||
473 | Duration="0"> |
||
474 | 787a4489 | KangIngu | <DiscreteObjectKeyFrame KeyTime="0"> |
475 | <DiscreteObjectKeyFrame.Value>
|
||
476 | <Visibility>Visible</Visibility> |
||
477 | </DiscreteObjectKeyFrame.Value>
|
||
478 | </DiscreteObjectKeyFrame>
|
||
479 | </ObjectAnimationUsingKeyFrames>
|
||
480 | 4fcb686a | taeseongkim | <ObjectAnimationUsingKeyFrames Storyboard.TargetName="NavigatorIndicatorBackground" Storyboard.TargetProperty="Background"> |
481 | <DiscreteObjectKeyFrame KeyTime="0:0:0" Value="{StaticResource GridView_RowIndicatorCellBackground_Selected}" /> |
||
482 | 787a4489 | KangIngu | </ObjectAnimationUsingKeyFrames>
|
483 | </Storyboard>
|
||
484 | </VisualState>
|
||
485 | </VisualStateGroup>
|
||
486 | <VisualStateGroup x:Name="ValueStates"> |
||
487 | 4fcb686a | taeseongkim | <VisualState x:Name="RowValid" /> |
488 | 787a4489 | KangIngu | <VisualState x:Name="RowInvalid"> |
489 | <Storyboard>
|
||
490 | 4fcb686a | taeseongkim | <ObjectAnimationUsingKeyFrames Storyboard.TargetName="Background_Invalid" Storyboard.TargetProperty="(UIElement.Visibility)"> |
491 | 787a4489 | KangIngu | <DiscreteObjectKeyFrame KeyTime="0"> |
492 | <DiscreteObjectKeyFrame.Value>
|
||
493 | <Visibility>Visible</Visibility> |
||
494 | </DiscreteObjectKeyFrame.Value>
|
||
495 | </DiscreteObjectKeyFrame>
|
||
496 | </ObjectAnimationUsingKeyFrames>
|
||
497 | 4fcb686a | taeseongkim | <ObjectAnimationUsingKeyFrames Storyboard.TargetName="ErrorIndicator" Storyboard.TargetProperty="(UIElement.Visibility)"> |
498 | 787a4489 | KangIngu | <DiscreteObjectKeyFrame KeyTime="0"> |
499 | <DiscreteObjectKeyFrame.Value>
|
||
500 | <Visibility>Visible</Visibility> |
||
501 | </DiscreteObjectKeyFrame.Value>
|
||
502 | </DiscreteObjectKeyFrame>
|
||
503 | </ObjectAnimationUsingKeyFrames>
|
||
504 | </Storyboard>
|
||
505 | </VisualState>
|
||
506 | </VisualStateGroup>
|
||
507 | <VisualStateGroup x:Name="EditStates"> |
||
508 | 4fcb686a | taeseongkim | <VisualState x:Name="ReadOnlyMode" /> |
509 | 787a4489 | KangIngu | <VisualState x:Name="EditMode"> |
510 | <Storyboard>
|
||
511 | 4fcb686a | taeseongkim | <ObjectAnimationUsingKeyFrames Storyboard.TargetName="EditIndicator" Storyboard.TargetProperty="Visibility"> |
512 | 787a4489 | KangIngu | <DiscreteObjectKeyFrame KeyTime="0"> |
513 | <DiscreteObjectKeyFrame.Value>
|
||
514 | <Visibility>Visible</Visibility> |
||
515 | </DiscreteObjectKeyFrame.Value>
|
||
516 | </DiscreteObjectKeyFrame>
|
||
517 | </ObjectAnimationUsingKeyFrames>
|
||
518 | </Storyboard>
|
||
519 | </VisualState>
|
||
520 | </VisualStateGroup>
|
||
521 | </VisualStateManager.VisualStateGroups>
|
||
522 | </Border>
|
||
523 | </ControlTemplate>
|
||
524 | 4fcb686a | taeseongkim | <SolidColorBrush x:Key="ItemBackground" Color="White" /> |
525 | <SolidColorBrush x:Key="GridView_GridLinesItemBorder" Color="#FFCBCBCB" /> |
||
526 | 787a4489 | KangIngu | <Style x:Key="GridViewRowStyle" TargetType="telerik:GridViewRow"> |
527 | 4fcb686a | taeseongkim | <Setter Property="IsTabStop" Value="False" /> |
528 | <Setter Property="Template" Value="{StaticResource GridViewRowTemplate}" /> |
||
529 | <Setter Property="Background" Value="{StaticResource ItemBackground}" /> |
||
530 | <Setter Property="BorderBrush" Value="{StaticResource GridView_GridLinesItemBorder}" /> |
||
531 | <Setter Property="BorderThickness" Value="0" /> |
||
532 | <Setter Property="AllowDrop" Value="True" /> |
||
533 | <Setter Property="FontWeight" Value="Normal" /> |
||
534 | <Setter Property="VerticalContentAlignment" Value="Stretch" /> |
||
535 | <Setter Property="HorizontalContentAlignment" Value="Stretch" /> |
||
536 | <Setter Property="Padding" Value="0" /> |
||
537 | 787a4489 | KangIngu | </Style>
|
538 | </ResourceDictionary> |