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