markus / KCOM / Controls / Sample.xaml @ 299f2c11
이력 | 보기 | 이력해설 | 다운로드 (58.4 KB)
1 | 43e1d368 | taeseongkim | <UserControl
|
---|---|---|---|
2 | x:Class="KCOM.Controls.Sample" |
||
3 | xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" |
||
4 | xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" |
||
5 | xmlns:System="clr-namespace:System;assembly=mscorlib" |
||
6 | xmlns:common="clr-namespace:KCOM.Common" |
||
7 | xmlns:controls="clr-namespace:KCOM.Controls" |
||
8 | xmlns:converter="clr-namespace:KCOM.Common.Converter" |
||
9 | xmlns:d="http://schemas.microsoft.com/expression/blend/2008" |
||
10 | xmlns:local="clr-namespace:KCOM.Controls" |
||
11 | xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" |
||
12 | xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation" |
||
13 | x:Name="userControl" |
||
14 | d:DesignHeight="600" |
||
15 | d:DesignWidth="200" |
||
16 | AllowDrop="False" |
||
17 | Background="#f5f5f5" |
||
18 | mc:Ignorable="d"> |
||
19 | 787a4489 | KangIngu | <UserControl.Resources>
|
20 | 43e1d368 | taeseongkim | <converter:ColorListToBrushConverter x:Key="ColorListToBrushConverter" /> |
21 | <converter:CommentTypeImgConverter x:Key="converterTypeImageConverter" /> |
||
22 | <converter:MarkupDataToConverter x:Key="markupDataConverter" /> |
||
23 | <converter:MarginCorrectionConverter x:Key="marginConverter" /> |
||
24 | <SolidColorBrush x:Key="ListTextSelectedColor" x:Shared="False" /> |
||
25 | <SolidColorBrush x:Key="ListSelectedColor" x:Shared="False" /> |
||
26 | 787a4489 | KangIngu | <Style x:Key="ItemContainerStyle" TargetType="{x:Type telerik:RadListBoxItem}"> |
27 | c8dd192f | taeseongkim | <Setter Property="HorizontalContentAlignment" Value="Stretch" /> |
28 | 787a4489 | KangIngu | <Setter Property="Template"> |
29 | <Setter.Value>
|
||
30 | <ControlTemplate TargetType="{x:Type telerik:RadListBoxItem}"> |
||
31 | c8dd192f | taeseongkim | <Grid VerticalAlignment="Stretch"> |
32 | 43e1d368 | taeseongkim | <Border
|
33 | x:Name="myBorder" |
||
34 | Margin="0" |
||
35 | Padding="0" |
||
36 | VerticalAlignment="Center" |
||
37 | c8dd192f | taeseongkim | SnapsToDevicePixels="True"> |
38 | 43e1d368 | taeseongkim | <Border.Style>
|
39 | <Style TargetType="{x:Type Border}"> |
||
40 | <Setter Property="BorderThickness" Value="3,3,3,3" /> |
||
41 | <Setter Property="BorderBrush" Value="Transparent" /> |
||
42 | </Style>
|
||
43 | </Border.Style>
|
||
44 | <ContentPresenter Margin="2" /> |
||
45 | </Border>
|
||
46 | c8dd192f | taeseongkim | </Grid>
|
47 | 787a4489 | KangIngu | <ControlTemplate.Triggers>
|
48 | <Trigger Property="IsSelected" Value="true"> |
||
49 | 43e1d368 | taeseongkim | <Setter TargetName="myBorder" Property="BorderBrush" Value="{DynamicResource KCOMColor_AccentBrush}" /> |
50 | 787a4489 | KangIngu | </Trigger>
|
51 | </ControlTemplate.Triggers>
|
||
52 | </ControlTemplate>
|
||
53 | </Setter.Value>
|
||
54 | </Setter>
|
||
55 | 2007ecaa | taeseongkim | <!--<Style.Triggers>
|
56 | <DataTrigger Binding="{Binding Visible}" Value="Collapsed">
|
||
57 | <Setter Property="Visibility" Value="Collapsed"/>
|
||
58 | </DataTrigger>
|
||
59 | </Style.Triggers>-->
|
||
60 | 787a4489 | KangIngu | </Style>
|
61 | d18ea2bd | taeseongkim | <ControlTemplate x:Key="RadExpanderControlTemplate1" TargetType="{x:Type telerik:RadExpander}"> |
62 | 787a4489 | KangIngu | <Grid HorizontalAlignment="{TemplateBinding HorizontalAlignment}" VerticalAlignment="{TemplateBinding VerticalAlignment}"> |
63 | 43e1d368 | taeseongkim | <Border Background="{TemplateBinding Background}" BorderBrush="{TemplateBinding BorderBrush}"> |
64 | <Grid>
|
||
65 | <Grid.RowDefinitions>
|
||
66 | <RowDefinition x:Name="row0" Height="Auto" /> |
||
67 | <RowDefinition x:Name="row1" Height="Auto" /> |
||
68 | </Grid.RowDefinitions>
|
||
69 | <Grid.ColumnDefinitions>
|
||
70 | <ColumnDefinition x:Name="col0" Width="Auto" /> |
||
71 | <ColumnDefinition x:Name="col1" Width="Auto" /> |
||
72 | </Grid.ColumnDefinitions>
|
||
73 | |||
74 | <telerik:RadToggleButton
|
||
75 | x:Name="HeaderButton" |
||
76 | Padding="{TemplateBinding Padding}" |
||
77 | HorizontalAlignment="{TemplateBinding HorizontalHeaderAlignment}" |
||
78 | VerticalAlignment="{TemplateBinding VerticalHeaderAlignment}" |
||
79 | HorizontalContentAlignment="{TemplateBinding HorizontalHeaderAlignment}" |
||
80 | VerticalContentAlignment="{TemplateBinding VerticalHeaderAlignment}" |
||
81 | Background="Transparent" |
||
82 | ClickMode="{TemplateBinding ClickMode}" |
||
83 | FontFamily="{TemplateBinding FontFamily}" |
||
84 | FontSize="{TemplateBinding FontSize}" |
||
85 | FontStretch="{TemplateBinding FontStretch}" |
||
86 | FontStyle="{TemplateBinding FontStyle}" |
||
87 | FontWeight="{TemplateBinding FontWeight}" |
||
88 | Foreground="{TemplateBinding Foreground}" |
||
89 | IsChecked="{Binding IsExpanded, Mode=TwoWay, RelativeSource={RelativeSource TemplatedParent}}" |
||
90 | IsTabStop="{TemplateBinding IsTabStop}" |
||
91 | TabIndex="{TemplateBinding TabIndex}" |
||
92 | Template="{StaticResource ToggleTemplate}"> |
||
93 | |||
94 | <Grid x:Name="HeaderPanel" Background="Transparent"> |
||
95 | <Grid.RowDefinitions>
|
||
96 | <RowDefinition Height="Auto" /> |
||
97 | <RowDefinition Height="*" /> |
||
98 | </Grid.RowDefinitions>
|
||
99 | <Grid.ColumnDefinitions>
|
||
100 | <ColumnDefinition Width="Auto" /> |
||
101 | <ColumnDefinition Width="*" /> |
||
102 | </Grid.ColumnDefinitions>
|
||
103 | |||
104 | <Grid
|
||
105 | Grid.Row="0" |
||
106 | Grid.Column="0" |
||
107 | HorizontalAlignment="Left"> |
||
108 | <Ellipse
|
||
109 | x:Name="OuterCircle" |
||
110 | Width="13" |
||
111 | Height="13" |
||
112 | HorizontalAlignment="Center" |
||
113 | VerticalAlignment="Center" |
||
114 | Fill="{StaticResource ControlBackground}" |
||
115 | Stroke="#FFD6D4D4" /> |
||
116 | <Ellipse
|
||
117 | x:Name="InnerCircle" |
||
118 | Width="11" |
||
119 | Height="11" |
||
120 | Margin="1,2" |
||
121 | Stroke="{StaticResource ControlInnerBorder_Normal}" /> |
||
122 | |||
123 | <Grid
|
||
124 | x:Name="arrowPanel" |
||
125 | Width="7" |
||
126 | Height="4" |
||
127 | RenderTransformOrigin=".5 .5"> |
||
128 | <Grid.RenderTransform>
|
||
129 | <RotateTransform /> |
||
130 | </Grid.RenderTransform>
|
||
131 | <Path
|
||
132 | x:Name="arrow" |
||
133 | Data="M0,0 L0.67,0 4,2.67 7.25,0 8,0 8,0.67 4,4 0,0.75 z" |
||
134 | Fill="#FF25A0DA" |
||
135 | RenderTransformOrigin="0.5,0.5" |
||
136 | Stretch="Fill"> |
||
137 | <Path.RenderTransform>
|
||
138 | <RotateTransform Angle="0" /> |
||
139 | </Path.RenderTransform>
|
||
140 | </Path>
|
||
141 | </Grid>
|
||
142 | </Grid>
|
||
143 | <telerik:LayoutTransformControl
|
||
144 | x:Name="HeaderContentTransform" |
||
145 | Grid.Row="0" |
||
146 | Grid.Column="0" |
||
147 | RenderTransformOrigin=".5 .5"> |
||
148 | <ContentPresenter
|
||
149 | x:Name="HeaderContent" |
||
150 | Grid.Column="1" |
||
151 | Margin="3,0,0,0" |
||
152 | HorizontalAlignment="Stretch" |
||
153 | VerticalAlignment="Stretch" |
||
154 | Content="{TemplateBinding Header}" |
||
155 | ContentTemplate="{TemplateBinding HeaderTemplate}" /> |
||
156 | </telerik:LayoutTransformControl>
|
||
157 | |||
158 | </Grid>
|
||
159 | </telerik:RadToggleButton>
|
||
160 | |||
161 | <ContentPresenter
|
||
162 | x:Name="Content" |
||
163 | HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}" |
||
164 | VerticalAlignment="{TemplateBinding VerticalContentAlignment}" |
||
165 | Content="{TemplateBinding Content}" |
||
166 | ContentTemplate="{TemplateBinding ContentTemplate}" |
||
167 | Visibility="Collapsed" /> |
||
168 | </Grid>
|
||
169 | </Border>
|
||
170 | 787a4489 | KangIngu | <VisualStateManager.VisualStateGroups>
|
171 | <VisualStateGroup x:Name="CommonStateGroup"> |
||
172 | <VisualState x:Name="Normal" /> |
||
173 | <VisualState x:Name="Disabled"> |
||
174 | <Storyboard>
|
||
175 | 43e1d368 | taeseongkim | <ObjectAnimationUsingKeyFrames
|
176 | Storyboard.TargetName="InnerCircle" |
||
177 | Storyboard.TargetProperty="Stroke" |
||
178 | Duration="0:0:0"> |
||
179 | 787a4489 | KangIngu | <DiscreteObjectKeyFrame KeyTime="0:0:0" Value="{StaticResource ControlInnerBorder_Disabled}" /> |
180 | </ObjectAnimationUsingKeyFrames>
|
||
181 | 43e1d368 | taeseongkim | <DoubleAnimation
|
182 | Storyboard.TargetName="Content" |
||
183 | Storyboard.TargetProperty="Opacity" |
||
184 | To=".5" /> |
||
185 | <DoubleAnimation
|
||
186 | Storyboard.TargetName="HeaderContent" |
||
187 | Storyboard.TargetProperty="Opacity" |
||
188 | To=".5" /> |
||
189 | 787a4489 | KangIngu | </Storyboard>
|
190 | </VisualState>
|
||
191 | </VisualStateGroup>
|
||
192 | <VisualStateGroup x:Name="HeaderStateGroup"> |
||
193 | <VisualState x:Name="NormalHeader" /> |
||
194 | <VisualState x:Name="MouseOverHeader"> |
||
195 | <Storyboard>
|
||
196 | 43e1d368 | taeseongkim | <ObjectAnimationUsingKeyFrames
|
197 | Storyboard.TargetName="InnerCircle" |
||
198 | Storyboard.TargetProperty="Stroke" |
||
199 | Duration="0:0:0"> |
||
200 | 787a4489 | KangIngu | <DiscreteObjectKeyFrame KeyTime="0:0:0" Value="{StaticResource ControlInnerBorder_MouseOver}" /> |
201 | </ObjectAnimationUsingKeyFrames>
|
||
202 | </Storyboard>
|
||
203 | </VisualState>
|
||
204 | <VisualState x:Name="PressedHeader"> |
||
205 | <Storyboard>
|
||
206 | 43e1d368 | taeseongkim | <ObjectAnimationUsingKeyFrames
|
207 | Storyboard.TargetName="InnerCircle" |
||
208 | Storyboard.TargetProperty="Stroke" |
||
209 | Duration="0:0:0"> |
||
210 | 787a4489 | KangIngu | <DiscreteObjectKeyFrame KeyTime="0:0:0" Value="{StaticResource ControlInnerBorder_Pressed}" /> |
211 | </ObjectAnimationUsingKeyFrames>
|
||
212 | </Storyboard>
|
||
213 | </VisualState>
|
||
214 | </VisualStateGroup>
|
||
215 | <VisualStateGroup x:Name="HeaderOrientationGroup"> |
||
216 | <VisualState x:Name="HorizontalOrientation"> |
||
217 | <Storyboard>
|
||
218 | <ObjectAnimationUsingKeyFrames Storyboard.TargetName="HeaderContentTransform" Storyboard.TargetProperty="LayoutTransform"> |
||
219 | <DiscreteObjectKeyFrame KeyTime="0"> |
||
220 | <DiscreteObjectKeyFrame.Value>
|
||
221 | <RotateTransform Angle="0" /> |
||
222 | </DiscreteObjectKeyFrame.Value>
|
||
223 | </DiscreteObjectKeyFrame>
|
||
224 | </ObjectAnimationUsingKeyFrames>
|
||
225 | <ObjectAnimationUsingKeyFrames Storyboard.TargetName="HeaderContentTransform" Storyboard.TargetProperty="(Grid.Column)"> |
||
226 | <DiscreteObjectKeyFrame KeyTime="0"> |
||
227 | <DiscreteObjectKeyFrame.Value>
|
||
228 | <System:Int32>1</System:Int32> |
||
229 | </DiscreteObjectKeyFrame.Value>
|
||
230 | </DiscreteObjectKeyFrame>
|
||
231 | </ObjectAnimationUsingKeyFrames>
|
||
232 | </Storyboard>
|
||
233 | </VisualState>
|
||
234 | <VisualState x:Name="VerticalOrientation"> |
||
235 | <Storyboard>
|
||
236 | <ObjectAnimationUsingKeyFrames Storyboard.TargetName="HeaderContentTransform" Storyboard.TargetProperty="LayoutTransform"> |
||
237 | <DiscreteObjectKeyFrame KeyTime="0"> |
||
238 | <DiscreteObjectKeyFrame.Value>
|
||
239 | <RotateTransform Angle="90" /> |
||
240 | </DiscreteObjectKeyFrame.Value>
|
||
241 | </DiscreteObjectKeyFrame>
|
||
242 | </ObjectAnimationUsingKeyFrames>
|
||
243 | <ObjectAnimationUsingKeyFrames Storyboard.TargetName="HeaderContentTransform" Storyboard.TargetProperty="(Grid.Row)"> |
||
244 | <DiscreteObjectKeyFrame KeyTime="0"> |
||
245 | <DiscreteObjectKeyFrame.Value>
|
||
246 | <System:Int32>1</System:Int32> |
||
247 | </DiscreteObjectKeyFrame.Value>
|
||
248 | </DiscreteObjectKeyFrame>
|
||
249 | </ObjectAnimationUsingKeyFrames>
|
||
250 | </Storyboard>
|
||
251 | </VisualState>
|
||
252 | </VisualStateGroup>
|
||
253 | <VisualStateGroup x:Name="ExpandStateGroup"> |
||
254 | <VisualState x:Name="Expanded"> |
||
255 | <Storyboard>
|
||
256 | 43e1d368 | taeseongkim | <DoubleAnimation
|
257 | Storyboard.TargetName="arrow" |
||
258 | Storyboard.TargetProperty="(UIElement.RenderTransform).Angle" |
||
259 | To="180" |
||
260 | Duration="0:0:0.2" /> |
||
261 | d18ea2bd | taeseongkim | <ColorAnimation
|
262 | 43e1d368 | taeseongkim | Storyboard.TargetName="OuterCircle" |
263 | Storyboard.TargetProperty="(Shape.Stroke).(SolidColorBrush.Color)" |
||
264 | To="#FF1FA3EB" |
||
265 | Duration="0" /> |
||
266 | 787a4489 | KangIngu | </Storyboard>
|
267 | </VisualState>
|
||
268 | <VisualState x:Name="Collapsed"> |
||
269 | <Storyboard>
|
||
270 | 43e1d368 | taeseongkim | <DoubleAnimation
|
271 | Storyboard.TargetName="arrow" |
||
272 | Storyboard.TargetProperty="(UIElement.RenderTransform).Angle" |
||
273 | To="0" |
||
274 | Duration="0:0:0.2" /> |
||
275 | 787a4489 | KangIngu | </Storyboard>
|
276 | </VisualState>
|
||
277 | </VisualStateGroup>
|
||
278 | <VisualStateGroup x:Name="ExpandDirectionStates"> |
||
279 | <VisualStateGroup.Transitions>
|
||
280 | <VisualTransition>
|
||
281 | <Storyboard>
|
||
282 | <ObjectAnimationUsingKeyFrames Storyboard.TargetName="Content" Storyboard.TargetProperty="(Grid.Row)"> |
||
283 | <DiscreteObjectKeyFrame KeyTime="0"> |
||
284 | <DiscreteObjectKeyFrame.Value>
|
||
285 | <System:Int32>0</System:Int32> |
||
286 | </DiscreteObjectKeyFrame.Value>
|
||
287 | </DiscreteObjectKeyFrame>
|
||
288 | </ObjectAnimationUsingKeyFrames>
|
||
289 | <ObjectAnimationUsingKeyFrames Storyboard.TargetName="Content" Storyboard.TargetProperty="(Grid.Column)"> |
||
290 | <DiscreteObjectKeyFrame KeyTime="0"> |
||
291 | <DiscreteObjectKeyFrame.Value>
|
||
292 | <System:Int32>0</System:Int32> |
||
293 | </DiscreteObjectKeyFrame.Value>
|
||
294 | </DiscreteObjectKeyFrame>
|
||
295 | </ObjectAnimationUsingKeyFrames>
|
||
296 | <ObjectAnimationUsingKeyFrames Storyboard.TargetName="HeaderButton" Storyboard.TargetProperty="(Grid.Row)"> |
||
297 | <DiscreteObjectKeyFrame KeyTime="0"> |
||
298 | <DiscreteObjectKeyFrame.Value>
|
||
299 | <System:Int32>0</System:Int32> |
||
300 | </DiscreteObjectKeyFrame.Value>
|
||
301 | </DiscreteObjectKeyFrame>
|
||
302 | </ObjectAnimationUsingKeyFrames>
|
||
303 | <ObjectAnimationUsingKeyFrames Storyboard.TargetName="HeaderButton" Storyboard.TargetProperty="(Grid.Column)"> |
||
304 | <DiscreteObjectKeyFrame KeyTime="0"> |
||
305 | <DiscreteObjectKeyFrame.Value>
|
||
306 | <System:Int32>0</System:Int32> |
||
307 | </DiscreteObjectKeyFrame.Value>
|
||
308 | </DiscreteObjectKeyFrame>
|
||
309 | </ObjectAnimationUsingKeyFrames>
|
||
310 | <ObjectAnimationUsingKeyFrames Storyboard.TargetName="col0" Storyboard.TargetProperty="Width"> |
||
311 | <DiscreteObjectKeyFrame KeyTime="0"> |
||
312 | <DiscreteObjectKeyFrame.Value>
|
||
313 | <GridLength>Auto</GridLength> |
||
314 | </DiscreteObjectKeyFrame.Value>
|
||
315 | </DiscreteObjectKeyFrame>
|
||
316 | </ObjectAnimationUsingKeyFrames>
|
||
317 | <ObjectAnimationUsingKeyFrames Storyboard.TargetName="col1" Storyboard.TargetProperty="Width"> |
||
318 | <DiscreteObjectKeyFrame KeyTime="0"> |
||
319 | <DiscreteObjectKeyFrame.Value>
|
||
320 | <GridLength>Auto</GridLength> |
||
321 | </DiscreteObjectKeyFrame.Value>
|
||
322 | </DiscreteObjectKeyFrame>
|
||
323 | </ObjectAnimationUsingKeyFrames>
|
||
324 | <ObjectAnimationUsingKeyFrames Storyboard.TargetName="row0" Storyboard.TargetProperty="Height"> |
||
325 | <DiscreteObjectKeyFrame KeyTime="0"> |
||
326 | <DiscreteObjectKeyFrame.Value>
|
||
327 | <GridLength>Auto</GridLength> |
||
328 | </DiscreteObjectKeyFrame.Value>
|
||
329 | </DiscreteObjectKeyFrame>
|
||
330 | </ObjectAnimationUsingKeyFrames>
|
||
331 | <ObjectAnimationUsingKeyFrames Storyboard.TargetName="row1" Storyboard.TargetProperty="Height"> |
||
332 | <DiscreteObjectKeyFrame KeyTime="0"> |
||
333 | <DiscreteObjectKeyFrame.Value>
|
||
334 | <GridLength>Auto</GridLength> |
||
335 | </DiscreteObjectKeyFrame.Value>
|
||
336 | </DiscreteObjectKeyFrame>
|
||
337 | </ObjectAnimationUsingKeyFrames>
|
||
338 | </Storyboard>
|
||
339 | </VisualTransition>
|
||
340 | </VisualStateGroup.Transitions>
|
||
341 | <VisualState x:Name="DirectionLeft"> |
||
342 | <Storyboard>
|
||
343 | <ObjectAnimationUsingKeyFrames Storyboard.TargetName="col0" Storyboard.TargetProperty="Width"> |
||
344 | <DiscreteObjectKeyFrame KeyTime="0"> |
||
345 | <DiscreteObjectKeyFrame.Value>
|
||
346 | <GridLength>*</GridLength> |
||
347 | </DiscreteObjectKeyFrame.Value>
|
||
348 | </DiscreteObjectKeyFrame>
|
||
349 | </ObjectAnimationUsingKeyFrames>
|
||
350 | <ObjectAnimationUsingKeyFrames Storyboard.TargetName="row0" Storyboard.TargetProperty="Height"> |
||
351 | <DiscreteObjectKeyFrame KeyTime="0"> |
||
352 | <DiscreteObjectKeyFrame.Value>
|
||
353 | <GridLength>*</GridLength> |
||
354 | </DiscreteObjectKeyFrame.Value>
|
||
355 | </DiscreteObjectKeyFrame>
|
||
356 | </ObjectAnimationUsingKeyFrames>
|
||
357 | <ObjectAnimationUsingKeyFrames Storyboard.TargetName="HeaderButton" Storyboard.TargetProperty="(Grid.Column)"> |
||
358 | <DiscreteObjectKeyFrame KeyTime="0"> |
||
359 | <DiscreteObjectKeyFrame.Value>
|
||
360 | <System:Int32>1</System:Int32> |
||
361 | </DiscreteObjectKeyFrame.Value>
|
||
362 | </DiscreteObjectKeyFrame>
|
||
363 | </ObjectAnimationUsingKeyFrames>
|
||
364 | 43e1d368 | taeseongkim | <DoubleAnimation
|
365 | Storyboard.TargetName="arrowPanel" |
||
366 | Storyboard.TargetProperty="(UIElement.RenderTransform).Angle" |
||
367 | To="90" |
||
368 | Duration="0:0:0" /> |
||
369 | 787a4489 | KangIngu | </Storyboard>
|
370 | </VisualState>
|
||
371 | <VisualState x:Name="DirectionRight"> |
||
372 | <Storyboard>
|
||
373 | <ObjectAnimationUsingKeyFrames Storyboard.TargetName="col1" Storyboard.TargetProperty="Width"> |
||
374 | <DiscreteObjectKeyFrame KeyTime="0"> |
||
375 | <DiscreteObjectKeyFrame.Value>
|
||
376 | <GridLength>*</GridLength> |
||
377 | </DiscreteObjectKeyFrame.Value>
|
||
378 | </DiscreteObjectKeyFrame>
|
||
379 | </ObjectAnimationUsingKeyFrames>
|
||
380 | <ObjectAnimationUsingKeyFrames Storyboard.TargetName="row0" Storyboard.TargetProperty="Height"> |
||
381 | <DiscreteObjectKeyFrame KeyTime="0"> |
||
382 | <DiscreteObjectKeyFrame.Value>
|
||
383 | <GridLength>*</GridLength> |
||
384 | </DiscreteObjectKeyFrame.Value>
|
||
385 | </DiscreteObjectKeyFrame>
|
||
386 | </ObjectAnimationUsingKeyFrames>
|
||
387 | <ObjectAnimationUsingKeyFrames Storyboard.TargetName="Content" Storyboard.TargetProperty="(Grid.Column)"> |
||
388 | <DiscreteObjectKeyFrame KeyTime="0"> |
||
389 | <DiscreteObjectKeyFrame.Value>
|
||
390 | <System:Int32>1</System:Int32> |
||
391 | </DiscreteObjectKeyFrame.Value>
|
||
392 | </DiscreteObjectKeyFrame>
|
||
393 | </ObjectAnimationUsingKeyFrames>
|
||
394 | 43e1d368 | taeseongkim | <DoubleAnimation
|
395 | Storyboard.TargetName="arrowPanel" |
||
396 | Storyboard.TargetProperty="(UIElement.RenderTransform).Angle" |
||
397 | To="-90" |
||
398 | Duration="0:0:0" /> |
||
399 | 787a4489 | KangIngu | </Storyboard>
|
400 | </VisualState>
|
||
401 | <VisualState x:Name="DirectionUp"> |
||
402 | <Storyboard>
|
||
403 | <ObjectAnimationUsingKeyFrames Storyboard.TargetName="col0" Storyboard.TargetProperty="Width"> |
||
404 | <DiscreteObjectKeyFrame KeyTime="0"> |
||
405 | <DiscreteObjectKeyFrame.Value>
|
||
406 | <GridLength>*</GridLength> |
||
407 | </DiscreteObjectKeyFrame.Value>
|
||
408 | </DiscreteObjectKeyFrame>
|
||
409 | </ObjectAnimationUsingKeyFrames>
|
||
410 | <ObjectAnimationUsingKeyFrames Storyboard.TargetName="row0" Storyboard.TargetProperty="Height"> |
||
411 | <DiscreteObjectKeyFrame KeyTime="0"> |
||
412 | <DiscreteObjectKeyFrame.Value>
|
||
413 | <GridLength>*</GridLength> |
||
414 | </DiscreteObjectKeyFrame.Value>
|
||
415 | </DiscreteObjectKeyFrame>
|
||
416 | </ObjectAnimationUsingKeyFrames>
|
||
417 | <ObjectAnimationUsingKeyFrames Storyboard.TargetName="HeaderButton" Storyboard.TargetProperty="(Grid.Row)"> |
||
418 | <DiscreteObjectKeyFrame KeyTime="0"> |
||
419 | <DiscreteObjectKeyFrame.Value>
|
||
420 | <System:Int32>1</System:Int32> |
||
421 | </DiscreteObjectKeyFrame.Value>
|
||
422 | </DiscreteObjectKeyFrame>
|
||
423 | </ObjectAnimationUsingKeyFrames>
|
||
424 | 43e1d368 | taeseongkim | <DoubleAnimation
|
425 | Storyboard.TargetName="arrowPanel" |
||
426 | Storyboard.TargetProperty="(UIElement.RenderTransform).Angle" |
||
427 | To="180" |
||
428 | Duration="0:0:0" /> |
||
429 | 787a4489 | KangIngu | </Storyboard>
|
430 | </VisualState>
|
||
431 | <VisualState x:Name="DirectionDown"> |
||
432 | <Storyboard>
|
||
433 | <ObjectAnimationUsingKeyFrames Storyboard.TargetName="col0" Storyboard.TargetProperty="Width"> |
||
434 | <DiscreteObjectKeyFrame KeyTime="0"> |
||
435 | <DiscreteObjectKeyFrame.Value>
|
||
436 | <GridLength>*</GridLength> |
||
437 | </DiscreteObjectKeyFrame.Value>
|
||
438 | </DiscreteObjectKeyFrame>
|
||
439 | </ObjectAnimationUsingKeyFrames>
|
||
440 | <ObjectAnimationUsingKeyFrames Storyboard.TargetName="row1" Storyboard.TargetProperty="Height"> |
||
441 | <DiscreteObjectKeyFrame KeyTime="0"> |
||
442 | <DiscreteObjectKeyFrame.Value>
|
||
443 | <GridLength>*</GridLength> |
||
444 | </DiscreteObjectKeyFrame.Value>
|
||
445 | </DiscreteObjectKeyFrame>
|
||
446 | </ObjectAnimationUsingKeyFrames>
|
||
447 | <ObjectAnimationUsingKeyFrames Storyboard.TargetName="Content" Storyboard.TargetProperty="(Grid.Row)"> |
||
448 | <DiscreteObjectKeyFrame KeyTime="0"> |
||
449 | <DiscreteObjectKeyFrame.Value>
|
||
450 | <System:Int32>1</System:Int32> |
||
451 | </DiscreteObjectKeyFrame.Value>
|
||
452 | </DiscreteObjectKeyFrame>
|
||
453 | </ObjectAnimationUsingKeyFrames>
|
||
454 | </Storyboard>
|
||
455 | </VisualState>
|
||
456 | </VisualStateGroup>
|
||
457 | </VisualStateManager.VisualStateGroups>
|
||
458 | </Grid>
|
||
459 | </ControlTemplate>
|
||
460 | <DataTemplate x:Key="CommentSelectTemplate"> |
||
461 | 43e1d368 | taeseongkim | <CheckBox
|
462 | telerik:StyleManager.Theme="Windows8" |
||
463 | Command="{Binding SelectCommentCommand, ElementName=userControl, Mode=OneWay}" |
||
464 | IsChecked="{Binding IsSelected, Mode=TwoWay}"> |
||
465 | 787a4489 | KangIngu | <StackPanel Orientation="Horizontal"> |
466 | <TextBlock Text="{Binding Depart}" /> |
||
467 | <TextBlock Text="/" /> |
||
468 | <TextBlock Text="{Binding UserName}" /> |
||
469 | </StackPanel>
|
||
470 | </CheckBox>
|
||
471 | </DataTemplate>
|
||
472 | </UserControl.Resources>
|
||
473 | 2089959a | taeseongkim | <Grid x:Name="grid" VerticalAlignment="Stretch"> |
474 | 787a4489 | KangIngu | <!--<TextBlock Text="Sort By:" Foreground="{DynamicResource KCOMColor_MarkerBrush}"/>-->
|
475 | 43e1d368 | taeseongkim | <telerik:RadTabControl
|
476 | Name="navigationTab" |
||
477 | Margin="0,6,0,0" |
||
478 | HorizontalAlignment="Stretch" |
||
479 | HorizontalContentAlignment="Stretch" |
||
480 | telerik:StyleManager.Theme="VisualStudio2013" |
||
481 | BorderThickness="0" |
||
482 | FontSize="10" |
||
483 | HeaderBackground="#f5f5f5" |
||
484 | ScrollViewer.HorizontalScrollBarVisibility="Disabled" |
||
485 | SelectedIndex="0"> |
||
486 | 90e7968d | ljiyeon | |
487 | 43e1d368 | taeseongkim | <telerik:RadTabItem
|
488 | FontSize="12" |
||
489 | Header="Thumbnail" |
||
490 | HeaderForeground="{DynamicResource KCOMColor_MarkerBrush}"> |
||
491 | 787a4489 | KangIngu | <Grid>
|
492 | <Grid.RowDefinitions>
|
||
493 | 43e1d368 | taeseongkim | <RowDefinition Height="Auto" /> |
494 | <RowDefinition Height="Auto" /> |
||
495 | <RowDefinition Height="*" /> |
||
496 | 787a4489 | KangIngu | </Grid.RowDefinitions>
|
497 | 43e1d368 | taeseongkim | <telerik:RadPathButton
|
498 | x:Name="btnPanorama" |
||
499 | Width="120" |
||
500 | Height="24" |
||
501 | Margin="2" |
||
502 | HorizontalAlignment="Right" |
||
503 | telerik:StyleManager.Theme="Office2016" |
||
504 | Background="#FF0054B9" |
||
505 | Click="btnPanorama_Click" |
||
506 | Content="Show All Pages" |
||
507 | ContentPlacement="Left" |
||
508 | CornerRadius="3" |
||
509 | Foreground="White" |
||
510 | PathGeometry="{telerik:RadGlyph Glyph={StaticResource GlyphGrid}, |
||
511 | Foreground=White}"
|
||
512 | PathStyle="{StaticResource PathButtonStyle}" /> |
||
513 | <Border
|
||
514 | Grid.Row="1" |
||
515 | Margin="1" |
||
516 | Background="White" |
||
517 | BorderBrush="#FFC9C9C9" |
||
518 | BorderThickness="1"> |
||
519 | 787a4489 | KangIngu | <StackPanel>
|
520 | 43e1d368 | taeseongkim | <RadioButton
|
521 | x:Name="rdoAllPages" |
||
522 | Margin="5,3" |
||
523 | telerik:StyleManager.Theme="Office2013" |
||
524 | Checked="ShowPageChange" |
||
525 | Content="All Pages" |
||
526 | FontSize="10" |
||
527 | GroupName="grpPages" |
||
528 | IsChecked="True" /> |
||
529 | <RadioButton
|
||
530 | x:Name="rdoFavoritePages" |
||
531 | Margin="5,3" |
||
532 | Checked="ShowPageChange" |
||
533 | Content="Favorited Pages" |
||
534 | FontSize="10" |
||
535 | GroupName="grpPages" /> |
||
536 | <RadioButton
|
||
537 | x:Name="rdoCommentPages" |
||
538 | Margin="5,3" |
||
539 | Checked="ShowPageChange" |
||
540 | Content="Commented Pages" |
||
541 | FontSize="10" |
||
542 | GroupName="grpPages" /> |
||
543 | d18ea2bd | taeseongkim | <Grid Margin="4.5,0" Visibility="{Binding IsChecked, Converter={StaticResource BooleanToVisibilityConverter}, ElementName=rdoCommentPages}"> |
544 | 43e1d368 | taeseongkim | <ListBox
|
545 | x:Name="lstSelectComment" |
||
546 | telerik:StyleManager.Theme="Office2016" |
||
547 | BorderBrush="{DynamicResource KCOMColor_ActiveBrush}" |
||
548 | BorderThickness="2" |
||
549 | ItemTemplate="{StaticResource CommentSelectTemplate}" /> |
||
550 | 787a4489 | KangIngu | <!-- <telerik:RadComboBox ClearSelectionButtonVisibility="Visible" ClearSelectionButtonContent="Select All" FontSize="10" Margin="14,0,0,0" x:Name="cboSelectComment" telerik:StyleManager.Theme="Windows8" BorderBrush="#FFA09E9E" ItemTemplate="{StaticResource CommentSelectTemplate}" SelectAllTextEvent="SelectionChanged"/> -->
|
551 | </Grid>
|
||
552 | </StackPanel>
|
||
553 | </Border>
|
||
554 | 43e1d368 | taeseongkim | <telerik:RadListBox
|
555 | x:Name="ImgListbox" |
||
556 | Grid.Row="2" |
||
557 | Margin="1" |
||
558 | d2050059 | taeseongkim | telerik:StyleManager.Theme="Office2016" |
559 | 43e1d368 | taeseongkim | Background="{DynamicResource KCOMColor_AlternativeBrush}" |
560 | BorderBrush="#FFC2C2C2" |
||
561 | BorderThickness="0" |
||
562 | ItemContainerStyle="{StaticResource ItemContainerStyle}" |
||
563 | ItemsSource="{Binding FilteredThumbnail.View, ElementName=userControl}" |
||
564 | ScrollViewer.CanContentScroll="True" |
||
565 | ScrollViewer.HorizontalScrollBarVisibility="Disabled" |
||
566 | 6a19b48d | taeseongkim | ScrollViewer.IsDeferredScrollingEnabled="True" |
567 | 43e1d368 | taeseongkim | ScrollViewer.VerticalScrollBarVisibility="Auto" |
568 | 6a19b48d | taeseongkim | SelectedIndex="0" |
569 | VirtualizingStackPanel.IsVirtualizing="True" |
||
570 | VirtualizingStackPanel.VirtualizationMode="Recycling"> |
||
571 | c8dd192f | taeseongkim | <telerik:RadListBox.ItemsPanel>
|
572 | <ItemsPanelTemplate>
|
||
573 | 43e1d368 | taeseongkim | <StackPanel /> |
574 | c8dd192f | taeseongkim | </ItemsPanelTemplate>
|
575 | </telerik:RadListBox.ItemsPanel>
|
||
576 | 24c5e56c | taeseongkim | <!--
|
577 | 43e1d368 | taeseongkim | VirtualizingStackPanel.IsVirtualizing를 True로 하면 빠른 속도로 선택시
|
578 | 24c5e56c | taeseongkim | 선택 이벤트에서 이루어지는 Wcf호출이 누락되는 경우가 발생된다.
|
579 | 2007ecaa | taeseongkim | VirtualizingPanel.VirtualizationMode="Standard"
|
580 | 43e1d368 | taeseongkim | VirtualizingPanel.IsContainerVirtualizable="True"
|
581 | VirtualizingPanel.ScrollUnit="Item"
|
||
582 | VirtualizingPanel.CacheLengthUnit="Item"
|
||
583 | 24c5e56c | taeseongkim | -->
|
584 | d18ea2bd | taeseongkim | <!--<telerik:RadListBox.ItemsPanel>
|
585 | 6c687be8 | taeseongkim | <ItemsPanelTemplate>
|
586 | <VirtualizingStackPanel/>
|
||
587 | </ItemsPanelTemplate>
|
||
588 | d18ea2bd | taeseongkim | </telerik:RadListBox.ItemsPanel>-->
|
589 | 6c687be8 | taeseongkim | <telerik:RadListBox.ItemTemplate>
|
590 | <DataTemplate>
|
||
591 | 43e1d368 | taeseongkim | <Grid
|
592 | x:Name="LayoutRoot" |
||
593 | HorizontalAlignment="Center" |
||
594 | VerticalAlignment="Center"> |
||
595 | <Grid HorizontalAlignment="Stretch" VerticalAlignment="Center"> |
||
596 | 6c687be8 | taeseongkim | <Grid.RowDefinitions>
|
597 | 43e1d368 | taeseongkim | <RowDefinition Height="Auto" /> |
598 | <RowDefinition Height="Auto" /> |
||
599 | 6c687be8 | taeseongkim | </Grid.RowDefinitions>
|
600 | <Grid x:Name="imgRoot"> |
||
601 | 43e1d368 | taeseongkim | <Border
|
602 | x:Name="imgBorder" |
||
603 | BorderBrush="{DynamicResource KCOMColor_ReadOnlyBorderBrush}" |
||
604 | BorderThickness="1,1,1.5,1.5" |
||
605 | RenderTransformOrigin="0.5,0.5" |
||
606 | Visibility="{Binding IsActive, Mode=OneWayToSource, Converter={StaticResource BooleanToVisibilityConverter}}"> |
||
607 | 6c687be8 | taeseongkim | <Border.RenderTransform>
|
608 | 43e1d368 | taeseongkim | <RotateTransform Angle="{Binding Angle, Mode=TwoWay}" /> |
609 | 6c687be8 | taeseongkim | </Border.RenderTransform>
|
610 | 43e1d368 | taeseongkim | <Image Source="{Binding ImageUri, IsAsync=True}" Stretch="Uniform" /> |
611 | 6c687be8 | taeseongkim | </Border>
|
612 | </Grid>
|
||
613 | 43e1d368 | taeseongkim | <TextBlock
|
614 | Grid.Row="1" |
||
615 | HorizontalAlignment="Center" |
||
616 | VerticalAlignment="Bottom" |
||
617 | FontSize="14" |
||
618 | FontStyle="Italic" |
||
619 | Text="{Binding PageNumber, FallbackValue=PageNo}" /> |
||
620 | 6c687be8 | taeseongkim | </Grid>
|
621 | 43e1d368 | taeseongkim | <Border
|
622 | Width="30" |
||
623 | Height="20" |
||
624 | Margin="10,5" |
||
625 | HorizontalAlignment="Right" |
||
626 | VerticalAlignment="Top" |
||
627 | Background="{Binding DisplayColorItems, Converter={StaticResource ColorListToBrushConverter}}" |
||
628 | Opacity="90"> |
||
629 | d18ea2bd | taeseongkim | <!--<controls:MarkupColorList ColorList="{Binding DisplayColorItems}" Opacity="90"/>-->
|
630 | 6c687be8 | taeseongkim | </Border>
|
631 | </Grid>
|
||
632 | </DataTemplate>
|
||
633 | </telerik:RadListBox.ItemTemplate>
|
||
634 | <!--<telerik:RadListBox.ItemsPanel>
|
||
635 | <ItemsPanelTemplate>
|
||
636 | <VirtualizingStackPanel/>
|
||
637 | </ItemsPanelTemplate>
|
||
638 | </telerik:RadListBox.ItemsPanel>-->
|
||
639 | 787a4489 | KangIngu | </telerik:RadListBox>
|
640 | </Grid>
|
||
641 | </telerik:RadTabItem>
|
||
642 | 43e1d368 | taeseongkim | <telerik:RadTabItem
|
643 | FontSize="12" |
||
644 | Header="Markup List" |
||
645 | HeaderForeground="{DynamicResource KCOMColor_MarkerBrush}"> |
||
646 | 787a4489 | KangIngu | <Grid HorizontalAlignment="Stretch"> |
647 | <Grid.ColumnDefinitions>
|
||
648 | 43e1d368 | taeseongkim | <ColumnDefinition Width="*" /> |
649 | 787a4489 | KangIngu | </Grid.ColumnDefinitions>
|
650 | <Grid.RowDefinitions>
|
||
651 | 43e1d368 | taeseongkim | <RowDefinition Height="Auto" /> |
652 | <RowDefinition Height="Auto" /> |
||
653 | <RowDefinition Height="*" /> |
||
654 | 787a4489 | KangIngu | </Grid.RowDefinitions>
|
655 | 43e1d368 | taeseongkim | <Border
|
656 | Background="#f5f5f5" |
||
657 | BorderBrush="#e6e6e6" |
||
658 | BorderThickness="0,0,0,1"> |
||
659 | 787a4489 | KangIngu | <Grid>
|
660 | <Grid.ColumnDefinitions>
|
||
661 | 43e1d368 | taeseongkim | <ColumnDefinition /> |
662 | <ColumnDefinition /> |
||
663 | <ColumnDefinition /> |
||
664 | 787a4489 | KangIngu | </Grid.ColumnDefinitions>
|
665 | 43e1d368 | taeseongkim | <telerik:RadComboBox
|
666 | x:Name="commentType" |
||
667 | Grid.Column="0" |
||
668 | Margin="5" |
||
669 | HorizontalAlignment="Stretch" |
||
670 | Background="White" |
||
671 | BorderBrush="#d6d6d6" |
||
672 | ClearSelectionButtonContent="Show All" |
||
673 | ClearSelectionButtonVisibility="Visible" |
||
674 | DropDownWidth="*" |
||
675 | EmptyText="TYPE" |
||
676 | SelectionChanged="commentFilter_SelectionChanged"> |
||
677 | 787a4489 | KangIngu | <telerik:RadComboBox.ItemTemplate>
|
678 | <DataTemplate>
|
||
679 | 43e1d368 | taeseongkim | <Image
|
680 | Width="28" |
||
681 | Height="28" |
||
682 | Margin="5" |
||
683 | Source="{Binding Converter={StaticResource converterTypeImageConverter}}" /> |
||
684 | 787a4489 | KangIngu | </DataTemplate>
|
685 | </telerik:RadComboBox.ItemTemplate>
|
||
686 | </telerik:RadComboBox>
|
||
687 | 43e1d368 | taeseongkim | <telerik:RadComboBox
|
688 | x:Name="commentUser" |
||
689 | Grid.Column="1" |
||
690 | Margin="5" |
||
691 | HorizontalAlignment="Stretch" |
||
692 | Background="White" |
||
693 | BorderBrush="#d6d6d6" |
||
694 | ClearSelectionButtonContent="Show All" |
||
695 | ClearSelectionButtonVisibility="Visible" |
||
696 | DropDownWidth="*" |
||
697 | EmptyText="USER" |
||
698 | FontSize="10" |
||
699 | SelectionChanged="commentFilter_SelectionChanged"> |
||
700 | <!-- ItemsSource="{Binding UsersCommentPagesList, ElementName=userControl}" -->
|
||
701 | 787a4489 | KangIngu | </telerik:RadComboBox>
|
702 | 43e1d368 | taeseongkim | <telerik:RadComboBox
|
703 | x:Name="commentPage" |
||
704 | Grid.Column="2" |
||
705 | Margin="5" |
||
706 | HorizontalAlignment="Stretch" |
||
707 | Background="White" |
||
708 | BorderBrush="#d6d6d6" |
||
709 | ClearSelectionButtonContent="Show All" |
||
710 | ClearSelectionButtonVisibility="Visible" |
||
711 | DropDownWidth="*" |
||
712 | EmptyText="PAGE" |
||
713 | SelectionChanged="commentFilter_SelectionChanged" /> |
||
714 | 787a4489 | KangIngu | </Grid>
|
715 | </Border>
|
||
716 | 2089959a | taeseongkim | <Border Grid.Row="1" Background="#FFE6E6E6"> |
717 | 79f3f21a | djkim | <StackPanel>
|
718 | <Border>
|
||
719 | 2089959a | taeseongkim | <Grid Height="28" Margin="0,4"> |
720 | 79f3f21a | djkim | <Grid.ColumnDefinitions>
|
721 | 43e1d368 | taeseongkim | <ColumnDefinition Width="*" /> |
722 | <ColumnDefinition Width="Auto" /> |
||
723 | 79f3f21a | djkim | </Grid.ColumnDefinitions>
|
724 | 43e1d368 | taeseongkim | <TextBox
|
725 | x:Name="txtSearch" |
||
726 | Margin="2" |
||
727 | HorizontalAlignment="Stretch" |
||
728 | VerticalContentAlignment="Center" |
||
729 | telerik:StyleManager.Theme="Office2016" |
||
730 | AcceptsReturn="False" |
||
731 | Background="#FFF3F3F3" |
||
732 | BorderThickness="1" |
||
733 | IsTabStop="True" |
||
734 | KeyDown="TxtSearch_KeyDown" |
||
735 | Style="{StaticResource ClearTextBoxStyle}" /> |
||
736 | <telerik:RadPathButton
|
||
737 | x:Name="btnSearch" |
||
738 | Grid.Column="1" |
||
739 | Width="80" |
||
740 | Margin="2" |
||
741 | VerticalContentAlignment="Center" |
||
742 | telerik:StyleManager.Theme="Office2016" |
||
743 | Background="#FF0054B9" |
||
744 | Click="btnSearch_Click" |
||
745 | Content="SEARCH" |
||
746 | ContentPlacement="Left" |
||
747 | CornerRadius="3" |
||
748 | Foreground="White" |
||
749 | PathGeometry="{telerik:RadGlyph Glyph={StaticResource GlyphZoom}, |
||
750 | Foreground=White}"
|
||
751 | PathStyle="{StaticResource PathButtonStyle}" /> |
||
752 | 79f3f21a | djkim | </Grid>
|
753 | </Border>
|
||
754 | </StackPanel>
|
||
755 | </Border>
|
||
756 | 43e1d368 | taeseongkim | <Border
|
757 | Grid.Row="1" |
||
758 | Background="#f5f5f5" |
||
759 | Visibility="Collapsed"> |
||
760 | 787a4489 | KangIngu | <StackPanel>
|
761 | <Border>
|
||
762 | <Grid>
|
||
763 | <Grid.ColumnDefinitions>
|
||
764 | 43e1d368 | taeseongkim | <ColumnDefinition Width="36" /> |
765 | <ColumnDefinition Width="*" /> |
||
766 | <ColumnDefinition Width="Auto" /> |
||
767 | 787a4489 | KangIngu | </Grid.ColumnDefinitions>
|
768 | |||
769 | 43e1d368 | taeseongkim | <Image Margin="5" Source="/KCOM;component/Resources/Images/MenuImage_New/arrow.png" /> |
770 | 787a4489 | KangIngu | |
771 | 43e1d368 | taeseongkim | <StackPanel
|
772 | Grid.Column="1" |
||
773 | Margin="10" |
||
774 | VerticalAlignment="Center" |
||
775 | Orientation="Vertical"> |
||
776 | <TextBlock
|
||
777 | FontWeight="DemiBold" |
||
778 | Foreground="#3d3d3d" |
||
779 | Text="" /> |
||
780 | <TextBlock Text="" /> |
||
781 | 787a4489 | KangIngu | </StackPanel>
|
782 | |||
783 | |||
784 | 43e1d368 | taeseongkim | <Border
|
785 | Grid.Column="2" |
||
786 | Margin="10" |
||
787 | Padding="5" |
||
788 | Background="#FF1258B6" |
||
789 | CornerRadius="5"> |
||
790 | <Button
|
||
791 | Background="Transparent" |
||
792 | BorderThickness="0" |
||
793 | Content="Move" |
||
794 | Foreground="White" /> |
||
795 | 787a4489 | KangIngu | </Border>
|
796 | </Grid>
|
||
797 | </Border>
|
||
798 | </StackPanel>
|
||
799 | </Border>
|
||
800 | |||
801 | 43e1d368 | taeseongkim | <Border
|
802 | x:Name="gogo" |
||
803 | Grid.Row="2" |
||
804 | Margin="0" |
||
805 | VerticalAlignment="Stretch" |
||
806 | BorderBrush="#828282" |
||
807 | BorderThickness="0,0,0,0.5"> |
||
808 | <telerik:RadListBox
|
||
809 | x:Name="MarkupList" |
||
810 | Margin="2" |
||
811 | Padding="0" |
||
812 | HorizontalAlignment="Stretch" |
||
813 | telerik:StyleManager.Theme="Office2016" |
||
814 | Background="White" |
||
815 | ItemsSource="{Binding MarkupInfoSmallList}" |
||
816 | Loaded="MarkupList_Loaded" |
||
817 | ScrollViewer.VerticalScrollBarVisibility="Auto"> |
||
818 | 787a4489 | KangIngu | <telerik:RadListBox.ItemContainerStyle>
|
819 | <Style TargetType="telerik:RadListBoxItem"> |
||
820 | 43e1d368 | taeseongkim | <Setter Property="Padding" Value="0,0,0,0" /> |
821 | 787a4489 | KangIngu | </Style>
|
822 | </telerik:RadListBox.ItemContainerStyle>
|
||
823 | <telerik:RadListBox.ItemTemplate>
|
||
824 | <DataTemplate>
|
||
825 | <StackPanel>
|
||
826 | 43e1d368 | taeseongkim | <Border
|
827 | Margin="1" |
||
828 | Padding="1,3" |
||
829 | BorderBrush="#EBFBFCFD" |
||
830 | BorderThickness="1"> |
||
831 | 787a4489 | KangIngu | <Grid>
|
832 | <Grid.ColumnDefinitions>
|
||
833 | 43e1d368 | taeseongkim | <ColumnDefinition Width="5" /> |
834 | <ColumnDefinition Width="36" /> |
||
835 | <ColumnDefinition Width="*" /> |
||
836 | <ColumnDefinition Width="Auto" /> |
||
837 | 787a4489 | KangIngu | </Grid.ColumnDefinitions>
|
838 | 2089959a | taeseongkim | <Border Width="5" Background="#CE3D5DA0"> |
839 | <Border.Style>
|
||
840 | <Style TargetType="Border"> |
||
841 | 43e1d368 | taeseongkim | <Setter Property="Visibility" Value="Collapsed" /> |
842 | 2089959a | taeseongkim | <Style.Triggers>
|
843 | <DataTrigger Binding="{Binding IsSelected, RelativeSource={RelativeSource AncestorType=telerik:RadListBoxItem, AncestorLevel=1}}" Value="True"> |
||
844 | 43e1d368 | taeseongkim | <Setter Property="Visibility" Value="Visible" /> |
845 | 2089959a | taeseongkim | </DataTrigger>
|
846 | </Style.Triggers>
|
||
847 | </Style>
|
||
848 | </Border.Style>
|
||
849 | </Border>
|
||
850 | 43e1d368 | taeseongkim | <Image
|
851 | Grid.Column="1" |
||
852 | Width="28" |
||
853 | Height="28" |
||
854 | Margin="5,0" |
||
855 | Source="{Binding Data_Type, Converter={StaticResource converterTypeImageConverter}}" /> |
||
856 | <StackPanel
|
||
857 | Grid.Row="0" |
||
858 | Grid.Column="2" |
||
859 | Margin="5,0" |
||
860 | VerticalAlignment="Center" |
||
861 | Orientation="Vertical"> |
||
862 | <TextBlock
|
||
863 | FontWeight="DemiBold" |
||
864 | Foreground="#3d3d3d" |
||
865 | Text="{Binding UserName}" /> |
||
866 | 787a4489 | KangIngu | <StackPanel Orientation="Horizontal"> |
867 | 43e1d368 | taeseongkim | <TextBlock Text="{Binding PageNumber}" /> |
868 | <TextBlock Text=" Page" /> |
||
869 | 787a4489 | KangIngu | </StackPanel>
|
870 | </StackPanel>
|
||
871 | 43e1d368 | taeseongkim | <telerik:RadPathButton
|
872 | x:Name="btnSearch" |
||
873 | Grid.Column="3" |
||
874 | Width="60" |
||
875 | Height="28" |
||
876 | Margin="2" |
||
877 | VerticalContentAlignment="Center" |
||
878 | telerik:StyleManager.Theme="Office2016" |
||
879 | Background="#FF0054B9" |
||
880 | Click="btGotoMarkup_Click" |
||
881 | CommandParameter="{Binding}" |
||
882 | Content="Move" |
||
883 | ContentPlacement="Left" |
||
884 | CornerRadius="3" |
||
885 | Foreground="White" |
||
886 | PathGeometry="{telerik:RadGlyph Glyph={StaticResource GlyphFrontElement}, |
||
887 | Foreground=White}"
|
||
888 | PathStyle="{StaticResource PathButtonStyle}" /> |
||
889 | f65e6c02 | taeseongkim | <!--<telerik:RadButton Background="Transparent" Foreground="White" Content="Move" BorderThickness="0" Click="btGotoMarkup_Click" CommandParameter="{Binding}"/>-->
|
890 | 787a4489 | KangIngu | </Grid>
|
891 | </Border>
|
||
892 | </StackPanel>
|
||
893 | </DataTemplate>
|
||
894 | </telerik:RadListBox.ItemTemplate>
|
||
895 | </telerik:RadListBox>
|
||
896 | </Border>
|
||
897 | <!--<Border VerticalAlignment="Stretch" Margin="0" Grid.Row="1" BorderThickness="0,0,0,0.5" BorderBrush="#828282" Background="White">
|
||
898 | 43e1d368 | taeseongkim | -->
|
899 | 787a4489 | KangIngu | <!--<Grid VerticalAlignment="Top" Margin="0" Grid.Row="1">
|
900 | <Grid.Resources>
|
||
901 | <Style TargetType="TextBlock">
|
||
902 | <Setter Property="Foreground" Value="#828282"/>
|
||
903 | </Style>
|
||
904 | </Grid.Resources>
|
||
905 | <Grid.ColumnDefinitions>
|
||
906 | <ColumnDefinition Width="Auto"/>
|
||
907 | <ColumnDefinition Width="7*"/>
|
||
908 | </Grid.ColumnDefinitions>
|
||
909 | <Grid.RowDefinitions>
|
||
910 | <RowDefinition/>
|
||
911 | <RowDefinition/>
|
||
912 | <RowDefinition/>
|
||
913 | </Grid.RowDefinitions>
|
||
914 | <TextBlock Text="Cloud" Padding="5"/>
|
||
915 | <TextBlock Text="Sejung Kim" Grid.Row="0" Grid.Column="1" Padding="5"/>
|
||
916 | <TextBlock Text="Page 20" Grid.Column="0" Grid.Row="1" Padding="5"/>
|
||
917 | <TextBlock Text="2017/10/17 17:56:51" Grid.Column="1" Grid.Row="1" Padding="5"/>
|
||
918 | <TextBlock Text="Double click to Note." Grid.ColumnSpan="2" Grid.Row="2" Padding="5"/>
|
||
919 | </Grid>-->
|
||
920 | <!--<telerik:RadListBox ItemsSource="{Binding _markupInfoList, Mode=OneWayToSource, Source={x:Static common:ViewerDataModel.Instance}}">
|
||
921 | <telerik:RadListBox.ItemTemplate>
|
||
922 | <DataTemplate>
|
||
923 | <TextBlock Text="{Binding UserName}"/>
|
||
924 | </DataTemplate>
|
||
925 | </telerik:RadListBox.ItemTemplate>
|
||
926 | </telerik:RadListBox>-->
|
||
927 | <!--
|
||
928 | <TextBlock Text="{Binding MAMA, Mode=OneWay, Source={x:Static common:ViewerDataModel.Instance}}"/>
|
||
929 | 43e1d368 | taeseongkim | |
930 | 787a4489 | KangIngu | </Border>-->
|
931 | </Grid>
|
||
932 | </telerik:RadTabItem>
|
||
933 | 2089959a | taeseongkim | <!--<telerik:RadTabItem HeaderForeground="{DynamicResource KCOMColor_MarkerBrush}" FontSize="9">
|
934 | 787a4489 | KangIngu | <telerik:RadTabItem.Header>
|
935 | 43e1d368 | taeseongkim | -->
|
936 | f65e6c02 | taeseongkim | <!--<telerik:RadRibbonButton Content="Panorama" telerik:StyleManager.Theme="Office2016" FontSize="10" Margin="0,0,0,1" Background="#FF0054B9" Foreground="White"
|
937 | BorderThickness="0" CornerRadius="3" Padding="5" x:Name="btnPanorama" Click="btnPanorama_Click"/>-->
|
||
938 | <!--
|
||
939 | 2089959a | taeseongkim | <telerik:RadPathButton Grid.Column="1" ContentPlacement="Left" VerticalContentAlignment="Center" telerik:StyleManager.Theme="Office2016"
|
940 | PathGeometry="{telerik:RadGlyph Glyph={StaticResource GlyphZoom}, Foreground=White}"
|
||
941 | FontFamily="{StaticResource TelerikWebUI}" Width="80" PathStyle="{StaticResource PathButtonStyle}"
|
||
942 | Margin="2" Foreground="White" Content="Panorama" x:Name="btnPanorama" Click="btnPanorama_Click" Background="#FF0054B9"/>
|
||
943 | 787a4489 | KangIngu | </telerik:RadTabItem.Header>
|
944 | 2089959a | taeseongkim | </telerik:RadTabItem>-->
|
945 | 787a4489 | KangIngu | </telerik:RadTabControl>
|
946 | 2089959a | taeseongkim | |
947 | 787a4489 | KangIngu | </Grid>
|
948 | </UserControl> |