markus / KCOM / Views / MainMenu.xaml @ 6a19b48d
이력 | 보기 | 이력해설 | 다운로드 (112 KB)
1 |
<UserControl
|
---|---|
2 |
x:Class="KCOM.Views.MainMenu" |
3 |
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" |
4 |
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" |
5 |
xmlns:Angle="clr-namespace:MarkupToPDF.Controls.Angle;assembly=MarkupToPDF" |
6 |
xmlns:ZoomAndPan="clr-namespace:ZoomAndPan;assembly=ZoomAndPan" |
7 |
xmlns:common="clr-namespace:KCOM.Common" |
8 |
xmlns:controls="clr-namespace:KCOM.Controls" |
9 |
xmlns:converter="clr-namespace:KCOM.Common.Converter" |
10 |
xmlns:d="http://schemas.microsoft.com/expression/blend/2008" |
11 |
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" |
12 |
xmlns:messanger="clr-namespace:KCOM.Messenger" |
13 |
xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation" |
14 |
xmlns:telerikGrid="clr-namespace:Telerik.Windows.Controls.GridView;assembly=Telerik.Windows.Controls.GridView" |
15 |
xmlns:toggle="clr-namespace:ToggleSwitch;assembly=ToggleSwitch" |
16 |
d:DesignHeight="768" |
17 |
d:DesignWidth="1080" |
18 |
IsTabStop="True" |
19 |
mc:Ignorable="d"> |
20 |
<UserControl.Resources>
|
21 |
<converter:ZeroToCollapsedConverter x:Key="ZeroToCollapsedConverter" /> |
22 |
<Style x:Key="GridViewHeaderStyle" TargetType="{x:Type telerikGrid:GridViewHeaderCell}"> |
23 |
<Setter Property="VerticalContentAlignment" Value="Center" /> |
24 |
<Setter Property="HorizontalContentAlignment" Value="Center" /> |
25 |
<Setter Property="BorderThickness" Value="0" /> |
26 |
<Setter Property="Background"> |
27 |
<Setter.Value>
|
28 |
<SolidColorBrush Opacity="0.5" Color="Black" /> |
29 |
</Setter.Value>
|
30 |
</Setter>
|
31 |
<!--<Setter Property="Background" Value="Black"/>-->
|
32 |
<Setter Property="BorderBrush" Value="White" /> |
33 |
<Setter Property="Foreground" Value="White" /> |
34 |
<Setter Property="telerik:StyleManager.Theme" Value="Office2013" /> |
35 |
<!--<Setter Property="FontWeight" Value="Black"/>-->
|
36 |
</Style>
|
37 |
<Style x:Key="GridViewAlign" TargetType="{x:Type telerikGrid:GridViewCell}"> |
38 |
<Setter Property="HorizontalContentAlignment" Value="Center" /> |
39 |
<Setter Property="TextBlock.TextDecorations"> |
40 |
<Setter.Value>
|
41 |
<TextDecorationCollection>
|
42 |
<TextDecoration Location="Underline" /> |
43 |
<TextDecoration Location="Overline" /> |
44 |
<TextDecoration PenThicknessUnit="FontRecommended"> |
45 |
<TextDecoration.Pen>
|
46 |
<Pen Thickness="1.0"> |
47 |
<Pen.Brush>
|
48 |
<LinearGradientBrush Opacity="0.5" StartPoint="0,0.5" EndPoint="1,0.5"> |
49 |
<GradientStop Offset="0" Color="Yellow" /> |
50 |
<GradientStop Offset="1" Color="Red" /> |
51 |
</LinearGradientBrush>
|
52 |
</Pen.Brush>
|
53 |
</Pen>
|
54 |
</TextDecoration.Pen>
|
55 |
</TextDecoration>
|
56 |
</TextDecorationCollection>
|
57 |
</Setter.Value>
|
58 |
</Setter>
|
59 |
</Style>
|
60 |
<converter:PDFVisibleConverter x:Key="PDFVisibleConverter" /> |
61 |
<converter:ConsolidationBackgroudConverter x:Key="ConsolidationBackgroudConverter" /> |
62 |
<converter:StringToColorConverter x:Key="StringToColorConverter" /> |
63 |
<converter:AvoidStringConverter x:Key="AvoidStringConverter" /> |
64 |
<converter:TeamConsolidateStringConverter x:Key="TeamConsoliStringConverter" /> |
65 |
<converter:ConsolidationStringConverter x:Key="ConsoliStringConverter" /> |
66 |
<converter:BoolToVisibleConverter x:Key="BoolToVisibleConverter" /> |
67 |
<converter:PreviewerVisibleConverter x:Key="previewerVisibleConverter" /> |
68 |
<ControlTemplate x:Key="RadSplitContainerControlTemplate" TargetType="{x:Type telerik:RadSplitContainer}"> |
69 |
<Grid>
|
70 |
<Border
|
71 |
x:Name="border" |
72 |
Padding="{TemplateBinding Padding}" |
73 |
Background="{TemplateBinding Background}" |
74 |
BorderBrush="{TemplateBinding BorderBrush}" |
75 |
BorderThickness="{TemplateBinding BorderThickness}"> |
76 |
<ItemsPresenter /> |
77 |
</Border>
|
78 |
<telerik:RadGridResizer
|
79 |
x:Name="DockResizer" |
80 |
HorizontalAlignment="Left" |
81 |
VerticalAlignment="Stretch" |
82 |
Cursor="SizeWE" |
83 |
Focusable="False" |
84 |
Placement="Left" |
85 |
ShowsPreview="True" |
86 |
Visibility="Collapsed" /> |
87 |
<VisualStateManager.VisualStateGroups>
|
88 |
<VisualStateGroup x:Name="ResizerStates"> |
89 |
<VisualState x:Name="ResizerLeft"> |
90 |
<Storyboard>
|
91 |
<ObjectAnimationUsingKeyFrames
|
92 |
Storyboard.TargetName="DockResizer" |
93 |
Storyboard.TargetProperty="Visibility" |
94 |
Duration="0"> |
95 |
<DiscreteObjectKeyFrame KeyTime="0"> |
96 |
<DiscreteObjectKeyFrame.Value>
|
97 |
<Visibility>Visible</Visibility> |
98 |
</DiscreteObjectKeyFrame.Value>
|
99 |
</DiscreteObjectKeyFrame>
|
100 |
</ObjectAnimationUsingKeyFrames>
|
101 |
<DoubleAnimation
|
102 |
BeginTime="0" |
103 |
Storyboard.TargetName="DockResizer" |
104 |
Storyboard.TargetProperty="MinWidth" |
105 |
From="4" |
106 |
To="4" /> |
107 |
<ObjectAnimationUsingKeyFrames
|
108 |
Storyboard.TargetName="border" |
109 |
Storyboard.TargetProperty="Margin" |
110 |
Duration="0"> |
111 |
<DiscreteObjectKeyFrame KeyTime="0"> |
112 |
<DiscreteObjectKeyFrame.Value>
|
113 |
<Thickness>4,0,0,0</Thickness> |
114 |
</DiscreteObjectKeyFrame.Value>
|
115 |
</DiscreteObjectKeyFrame>
|
116 |
</ObjectAnimationUsingKeyFrames>
|
117 |
</Storyboard>
|
118 |
</VisualState>
|
119 |
<VisualState x:Name="ResizerTop"> |
120 |
<Storyboard>
|
121 |
<ObjectAnimationUsingKeyFrames
|
122 |
Storyboard.TargetName="DockResizer" |
123 |
Storyboard.TargetProperty="Visibility" |
124 |
Duration="0"> |
125 |
<DiscreteObjectKeyFrame KeyTime="0"> |
126 |
<DiscreteObjectKeyFrame.Value>
|
127 |
<Visibility>Visible</Visibility> |
128 |
</DiscreteObjectKeyFrame.Value>
|
129 |
</DiscreteObjectKeyFrame>
|
130 |
</ObjectAnimationUsingKeyFrames>
|
131 |
<ObjectAnimationUsingKeyFrames
|
132 |
Storyboard.TargetName="DockResizer" |
133 |
Storyboard.TargetProperty="VerticalAlignment" |
134 |
Duration="0"> |
135 |
<DiscreteObjectKeyFrame KeyTime="0"> |
136 |
<DiscreteObjectKeyFrame.Value>
|
137 |
<VerticalAlignment>Top</VerticalAlignment> |
138 |
</DiscreteObjectKeyFrame.Value>
|
139 |
</DiscreteObjectKeyFrame>
|
140 |
</ObjectAnimationUsingKeyFrames>
|
141 |
<ObjectAnimationUsingKeyFrames
|
142 |
Storyboard.TargetName="DockResizer" |
143 |
Storyboard.TargetProperty="HorizontalAlignment" |
144 |
Duration="0"> |
145 |
<DiscreteObjectKeyFrame KeyTime="0"> |
146 |
<DiscreteObjectKeyFrame.Value>
|
147 |
<HorizontalAlignment>Stretch</HorizontalAlignment> |
148 |
</DiscreteObjectKeyFrame.Value>
|
149 |
</DiscreteObjectKeyFrame>
|
150 |
</ObjectAnimationUsingKeyFrames>
|
151 |
<ObjectAnimationUsingKeyFrames
|
152 |
Storyboard.TargetName="DockResizer" |
153 |
Storyboard.TargetProperty="Placement" |
154 |
Duration="0"> |
155 |
<DiscreteObjectKeyFrame KeyTime="0"> |
156 |
<DiscreteObjectKeyFrame.Value>
|
157 |
<Dock>Top</Dock> |
158 |
</DiscreteObjectKeyFrame.Value>
|
159 |
</DiscreteObjectKeyFrame>
|
160 |
</ObjectAnimationUsingKeyFrames>
|
161 |
<DoubleAnimation
|
162 |
BeginTime="0" |
163 |
Storyboard.TargetName="DockResizer" |
164 |
Storyboard.TargetProperty="MinHeight" |
165 |
From="4" |
166 |
To="4" /> |
167 |
<ObjectAnimationUsingKeyFrames
|
168 |
Storyboard.TargetName="border" |
169 |
Storyboard.TargetProperty="Margin" |
170 |
Duration="0"> |
171 |
<DiscreteObjectKeyFrame KeyTime="0"> |
172 |
<DiscreteObjectKeyFrame.Value>
|
173 |
<Thickness>0,4,0,0</Thickness> |
174 |
</DiscreteObjectKeyFrame.Value>
|
175 |
</DiscreteObjectKeyFrame>
|
176 |
</ObjectAnimationUsingKeyFrames>
|
177 |
</Storyboard>
|
178 |
</VisualState>
|
179 |
<VisualState x:Name="ResizerRight"> |
180 |
<Storyboard>
|
181 |
<ObjectAnimationUsingKeyFrames
|
182 |
Storyboard.TargetName="DockResizer" |
183 |
Storyboard.TargetProperty="Visibility" |
184 |
Duration="0"> |
185 |
<DiscreteObjectKeyFrame KeyTime="0"> |
186 |
<DiscreteObjectKeyFrame.Value>
|
187 |
<Visibility>Visible</Visibility> |
188 |
</DiscreteObjectKeyFrame.Value>
|
189 |
</DiscreteObjectKeyFrame>
|
190 |
</ObjectAnimationUsingKeyFrames>
|
191 |
<DoubleAnimation
|
192 |
BeginTime="0" |
193 |
Storyboard.TargetName="DockResizer" |
194 |
Storyboard.TargetProperty="MinWidth" |
195 |
From="4" |
196 |
To="4" /> |
197 |
<ObjectAnimationUsingKeyFrames
|
198 |
Storyboard.TargetName="border" |
199 |
Storyboard.TargetProperty="Margin" |
200 |
Duration="0"> |
201 |
<DiscreteObjectKeyFrame KeyTime="0"> |
202 |
<DiscreteObjectKeyFrame.Value>
|
203 |
<Thickness>0,0,4,0</Thickness> |
204 |
</DiscreteObjectKeyFrame.Value>
|
205 |
</DiscreteObjectKeyFrame>
|
206 |
</ObjectAnimationUsingKeyFrames>
|
207 |
<ObjectAnimationUsingKeyFrames
|
208 |
Storyboard.TargetName="DockResizer" |
209 |
Storyboard.TargetProperty="HorizontalAlignment" |
210 |
Duration="0"> |
211 |
<DiscreteObjectKeyFrame KeyTime="0"> |
212 |
<DiscreteObjectKeyFrame.Value>
|
213 |
<HorizontalAlignment>Right</HorizontalAlignment> |
214 |
</DiscreteObjectKeyFrame.Value>
|
215 |
</DiscreteObjectKeyFrame>
|
216 |
</ObjectAnimationUsingKeyFrames>
|
217 |
<ObjectAnimationUsingKeyFrames
|
218 |
Storyboard.TargetName="DockResizer" |
219 |
Storyboard.TargetProperty="Placement" |
220 |
Duration="0"> |
221 |
<DiscreteObjectKeyFrame KeyTime="0"> |
222 |
<DiscreteObjectKeyFrame.Value>
|
223 |
<Dock>Right</Dock> |
224 |
</DiscreteObjectKeyFrame.Value>
|
225 |
</DiscreteObjectKeyFrame>
|
226 |
</ObjectAnimationUsingKeyFrames>
|
227 |
</Storyboard>
|
228 |
</VisualState>
|
229 |
<VisualState x:Name="ResizerBottom"> |
230 |
<Storyboard>
|
231 |
<ObjectAnimationUsingKeyFrames
|
232 |
Storyboard.TargetName="DockResizer" |
233 |
Storyboard.TargetProperty="Visibility" |
234 |
Duration="0"> |
235 |
<DiscreteObjectKeyFrame KeyTime="0"> |
236 |
<DiscreteObjectKeyFrame.Value>
|
237 |
<Visibility>Visible</Visibility> |
238 |
</DiscreteObjectKeyFrame.Value>
|
239 |
</DiscreteObjectKeyFrame>
|
240 |
</ObjectAnimationUsingKeyFrames>
|
241 |
<ObjectAnimationUsingKeyFrames
|
242 |
Storyboard.TargetName="DockResizer" |
243 |
Storyboard.TargetProperty="VerticalAlignment" |
244 |
Duration="0"> |
245 |
<DiscreteObjectKeyFrame KeyTime="0"> |
246 |
<DiscreteObjectKeyFrame.Value>
|
247 |
<VerticalAlignment>Bottom</VerticalAlignment> |
248 |
</DiscreteObjectKeyFrame.Value>
|
249 |
</DiscreteObjectKeyFrame>
|
250 |
</ObjectAnimationUsingKeyFrames>
|
251 |
<ObjectAnimationUsingKeyFrames
|
252 |
Storyboard.TargetName="DockResizer" |
253 |
Storyboard.TargetProperty="HorizontalAlignment" |
254 |
Duration="0"> |
255 |
<DiscreteObjectKeyFrame KeyTime="0"> |
256 |
<DiscreteObjectKeyFrame.Value>
|
257 |
<HorizontalAlignment>Stretch</HorizontalAlignment> |
258 |
</DiscreteObjectKeyFrame.Value>
|
259 |
</DiscreteObjectKeyFrame>
|
260 |
</ObjectAnimationUsingKeyFrames>
|
261 |
<ObjectAnimationUsingKeyFrames
|
262 |
Storyboard.TargetName="DockResizer" |
263 |
Storyboard.TargetProperty="Placement" |
264 |
Duration="0"> |
265 |
<DiscreteObjectKeyFrame KeyTime="0"> |
266 |
<DiscreteObjectKeyFrame.Value>
|
267 |
<Dock>Bottom</Dock> |
268 |
</DiscreteObjectKeyFrame.Value>
|
269 |
</DiscreteObjectKeyFrame>
|
270 |
</ObjectAnimationUsingKeyFrames>
|
271 |
<DoubleAnimation
|
272 |
BeginTime="0" |
273 |
Storyboard.TargetName="DockResizer" |
274 |
Storyboard.TargetProperty="MinHeight" |
275 |
From="4" |
276 |
To="4" /> |
277 |
<ObjectAnimationUsingKeyFrames
|
278 |
Storyboard.TargetName="border" |
279 |
Storyboard.TargetProperty="Margin" |
280 |
Duration="0"> |
281 |
<DiscreteObjectKeyFrame KeyTime="0"> |
282 |
<DiscreteObjectKeyFrame.Value>
|
283 |
<Thickness>0,0,0,4</Thickness> |
284 |
</DiscreteObjectKeyFrame.Value>
|
285 |
</DiscreteObjectKeyFrame>
|
286 |
</ObjectAnimationUsingKeyFrames>
|
287 |
</Storyboard>
|
288 |
</VisualState>
|
289 |
<VisualState x:Name="HideResizer" /> |
290 |
</VisualStateGroup>
|
291 |
</VisualStateManager.VisualStateGroups>
|
292 |
</Grid>
|
293 |
</ControlTemplate>
|
294 |
</UserControl.Resources>
|
295 |
<Grid Background="{DynamicResource KCOMColor_MainBrush}"> |
296 |
<!--<Grid.ColumnDefinitions>
|
297 |
<ColumnDefinition Width="Auto"/>
|
298 |
<ColumnDefinition Width="*"/>
|
299 |
</Grid.ColumnDefinitions>-->
|
300 |
<!--<Border Background="#fff5f5f5" BorderBrush="#d5d5d5" BorderThickness="0">
|
301 |
-->
|
302 |
<!--<controls:PageNavigator x:Name="pageNavigator" Grid.Row="1" Width="200"/>-->
|
303 |
<!--
|
304 |
<telerik:RadLayoutControl SelectedItem="{x:Null}" VirtualizingStackPanel.VirtualizationMode="Recycling" ScrollViewer.VerticalScrollBarVisibility="Hi">
|
305 |
<telerik:LayoutControlTabGroup Template="{DynamicResource TabControlTemplate}" telerik:StyleManager.Theme="Office2016">
|
306 |
<telerik:LayoutControlTabGroupItem Header="Thumbnail">
|
307 |
<telerik:LayoutControlGroup BorderBrush="Transparent" Padding="5" Margin="0,-3">
|
308 |
<controls:PageNavigator x:Name="pageNavigator" Grid.Row="1" Width="300"/>
|
309 |
</telerik:LayoutControlGroup>
|
310 |
</telerik:LayoutControlTabGroupItem>
|
311 |
<telerik:LayoutControlTabGroupItem Header="Bookmark">
|
312 |
<telerik:LayoutControlGroup BorderBrush="Transparent">
|
313 |
<Border Background="Blue"/>
|
314 |
</telerik:LayoutControlGroup>
|
315 |
</telerik:LayoutControlTabGroupItem>
|
316 |
</telerik:LayoutControlTabGroup>
|
317 |
</telerik:RadLayoutControl>
|
318 |
</Border>-->
|
319 |
<!--<Grid.ColumnDefinitions>
|
320 |
<ColumnDefinition Width="Auto"/>
|
321 |
<ColumnDefinition Width="*"/>
|
322 |
<ColumnDefinition Width="Auto"/>
|
323 |
</Grid.ColumnDefinitions>-->
|
324 |
<!--<Border Background="{DynamicResource Office2016Color_PrimaryBrush}">
|
325 |
<Border Background="White" Margin="50"/>
|
326 |
</Border>-->
|
327 |
<telerik:RadDocking
|
328 |
Grid.Column="1" |
329 |
Padding="0" |
330 |
Background="{DynamicResource KCOMColor_MainBrush}" |
331 |
BorderThickness="0"> |
332 |
<telerik:RadDocking.DocumentHost>
|
333 |
<telerik:RadSplitContainer
|
334 |
x:Name="splitContainerMain" |
335 |
Margin="0,-1,0,0" |
336 |
Background="Transparent" |
337 |
Template="{DynamicResource RadSplitContainerControlTemplate}"> |
338 |
<telerik:RadPaneGroup Style="{DynamicResource Style_RadPanelGroup}"> |
339 |
<telerik:RadDocumentPane
|
340 |
x:Name="MainDocumentPanel" |
341 |
Title="Document 1" |
342 |
Margin="0,-20,0,0" |
343 |
CanFloat="False" |
344 |
CanUserClose="False" |
345 |
Header="VP-320A-728063" |
346 |
PaneHeaderVisibility="Collapsed"> |
347 |
<telerik:RadDocumentPane.HeaderTemplate>
|
348 |
<DataTemplate>
|
349 |
<Border Margin="0,0,0,0" /> |
350 |
</DataTemplate>
|
351 |
</telerik:RadDocumentPane.HeaderTemplate>
|
352 |
<!--<Grid Background="{DynamicResource KCOMColor_AlternativeBrush}">-->
|
353 |
<Grid Background="{DynamicResource KCOMColor_DocumnetBackgroundBrush}"> |
354 |
<Rectangle
|
355 |
Name="rect" |
356 |
Width="100" |
357 |
Height="100" |
358 |
Margin="50,50,0,0" |
359 |
Fill="LightBlue" /> |
360 |
<Popup
|
361 |
Name="floatingTip" |
362 |
AllowsTransparency="True" |
363 |
Placement="Relative" |
364 |
PlacementTarget="{Binding ElementName=rect}"> |
365 |
<TextBlock
|
366 |
x:Name="txtBatch" |
367 |
FontSize="20" |
368 |
Foreground="Red" |
369 |
Text="Mark Control을 그립니다." /> |
370 |
</Popup>
|
371 |
<ZoomAndPan:ZoomAndPanControl
|
372 |
x:Name="zoomAndPanControl" |
373 |
Background="LightGray" |
374 |
ConstrainedContentViewportHeight="{Binding ContentViewportHeight, Mode=TwoWay, Source={x:Static common:ViewerDataModel.Instance}}" |
375 |
ConstrainedContentViewportWidth="{Binding ContentViewportWidth, Mode=TwoWay, Source={x:Static common:ViewerDataModel.Instance}}" |
376 |
ContentOffsetX="{Binding ContentOffsetX, Mode=TwoWay, Source={x:Static common:ViewerDataModel.Instance}}" |
377 |
ContentOffsetY="{Binding ContentOffsetY, Mode=TwoWay, Source={x:Static common:ViewerDataModel.Instance}}" |
378 |
ContentScale="{Binding ContentScale, Mode=TwoWay, Source={x:Static common:ViewerDataModel.Instance}}" |
379 |
MouseDoubleClick="zoomAndPanControl_MouseDoubleClick" |
380 |
MouseDown="zoomAndPanControl_MouseDown" |
381 |
MouseLeave="zoomAndPanControl_MouseLeave" |
382 |
MouseMove="zoomAndPanControl_MouseMove" |
383 |
MouseUp="zoomAndPanControl_MouseUp" |
384 |
MouseWheel="zoomAndPanControl_MouseWheel" |
385 |
ScaleChanged="ZoomAndPanControl_ScaleChanged"> |
386 |
<Canvas
|
387 |
x:Name="zoomAndPanCanvas" |
388 |
Background="White" |
389 |
Opacity="1"> |
390 |
|
391 |
<Canvas
|
392 |
x:Name="drawingRotateCanvas" |
393 |
Panel.ZIndex="1" |
394 |
Background="{Binding BackgroundImage, Mode=OneWay, Source={x:Static common:ViewerDataModel.Instance}}"> |
395 |
<Canvas.RenderTransform>
|
396 |
<TransformGroup>
|
397 |
<RotateTransform x:Name="rotate" Angle="0" /> |
398 |
<TranslateTransform x:Name="translate" X="0" Y="0" /> |
399 |
</TransformGroup>
|
400 |
</Canvas.RenderTransform>
|
401 |
|
402 |
<ItemsControl Panel.ZIndex="1" ItemsSource="{Binding MarkupControls, Source={x:Static common:ViewerDataModel.Instance}}"> |
403 |
<ItemsControl.ItemsPanel>
|
404 |
<ItemsPanelTemplate>
|
405 |
<Canvas /> |
406 |
</ItemsPanelTemplate>
|
407 |
</ItemsControl.ItemsPanel>
|
408 |
</ItemsControl>
|
409 |
<ItemsControl Panel.ZIndex="30" ItemsSource="{Binding MarkupControls_USER, Source={x:Static common:ViewerDataModel.Instance}}"> |
410 |
<ItemsControl.ItemsPanel>
|
411 |
<ItemsPanelTemplate>
|
412 |
<Canvas /> |
413 |
</ItemsPanelTemplate>
|
414 |
</ItemsControl.ItemsPanel>
|
415 |
</ItemsControl>
|
416 |
<InkPresenter
|
417 |
x:Name="inkBoard" |
418 |
HorizontalAlignment="Stretch" |
419 |
VerticalAlignment="Stretch" |
420 |
Panel.ZIndex="1" /> |
421 |
<InkCanvas
|
422 |
x:Name="inkDrawingCanvas" |
423 |
Width="1" |
424 |
Height="1" |
425 |
Panel.ZIndex="1" |
426 |
Background="Transparent" |
427 |
IsEnabled="False" |
428 |
Strokes="{Binding MarkupPens, Source={x:Static common:ViewerDataModel.Instance}}"> |
429 |
<!--<Rectangle Height="41" HorizontalAlignment="Left" Name="rectangle1" Stroke="Black" VerticalAlignment="Top" Width="69" Fill="#FFDB1111" />-->
|
430 |
<!--<Ellipse Height="41" HorizontalAlignment="Left" Name="rectangle1" Stroke="Black" VerticalAlignment="Top" Width="69" Fill="#FFDB1111" />-->
|
431 |
|
432 |
<!--<MarkupToPDF:RectangleControl Height="200" HorizontalAlignment="Center" Name="rectangle2" StrokeColor="Black" VerticalAlignment="Top" Width="00" FillColor="Red"/>-->
|
433 |
</InkCanvas>
|
434 |
<!-- 강인구 추가 -->
|
435 |
<!--<controls:ScaleDecodeImage Panel.ZIndex="0" x:Name="mainPanel"
|
436 |
Source="{Binding ImageViewPath,Mode=TwoWay, Source={x:Static common:ViewerDataModel.Instance}}"
|
437 |
Width="{Binding ImageViewWidth,Mode=TwoWay, Source={x:Static common:ViewerDataModel.Instance}}"
|
438 |
Height="{Binding ImageViewHeight,Mode=TwoWay, Source={x:Static common:ViewerDataModel.Instance}}">
|
439 |
</controls:ScaleDecodeImage>-->
|
440 |
<Image
|
441 |
x:Name="mainPanel" |
442 |
Width="{Binding ImageViewWidth, Mode=TwoWay, Source={x:Static common:ViewerDataModel.Instance}}" |
443 |
Height="{Binding ImageViewHeight, Mode=TwoWay, Source={x:Static common:ViewerDataModel.Instance}}" |
444 |
Panel.ZIndex="0" |
445 |
RenderOptions.BitmapScalingMode="HighQuality" |
446 |
RenderOptions.ClearTypeHint="Enabled" |
447 |
RenderOptions.EdgeMode="Unspecified" |
448 |
Source="{Binding ImageViewPath, Mode=OneWay, Source={x:Static common:ViewerDataModel.Instance}}" /> |
449 |
<Canvas
|
450 |
x:Name="SelectLayer" |
451 |
HorizontalAlignment="Stretch" |
452 |
VerticalAlignment="Stretch" |
453 |
Panel.ZIndex="32766" /> |
454 |
<Border
|
455 |
x:Name="dragSelectionBorder" |
456 |
Panel.ZIndex="1" |
457 |
Background="LightBlue" |
458 |
BorderBrush="Blue" |
459 |
BorderThickness="1" |
460 |
CornerRadius="1" |
461 |
Opacity="0.5" |
462 |
Visibility="Collapsed" /> |
463 |
<Border
|
464 |
x:Name="dragCaptureBorder" |
465 |
Panel.ZIndex="1" |
466 |
Background="Blue" |
467 |
BorderBrush="Blue" |
468 |
BorderThickness="1" |
469 |
CornerRadius="1" |
470 |
Opacity="0.5" |
471 |
Visibility="Collapsed" /> |
472 |
|
473 |
<Border
|
474 |
x:Name="dragZoomBorder" |
475 |
Panel.ZIndex="1" |
476 |
Background="Transparent" |
477 |
BorderThickness="3" |
478 |
CornerRadius="1" |
479 |
Opacity="1" |
480 |
Visibility="Collapsed"> |
481 |
<Border.BorderBrush>
|
482 |
<VisualBrush>
|
483 |
<VisualBrush.Visual>
|
484 |
<Rectangle
|
485 |
Width="{Binding RelativeSource={RelativeSource AncestorType={x:Type Border}}, Path=ActualWidth}" |
486 |
Height="{Binding RelativeSource={RelativeSource AncestorType={x:Type Border}}, Path=ActualHeight}" |
487 |
Stroke="Gray" |
488 |
StrokeDashArray="4 2" |
489 |
StrokeThickness="1" /> |
490 |
</VisualBrush.Visual>
|
491 |
</VisualBrush>
|
492 |
</Border.BorderBrush>
|
493 |
</Border>
|
494 |
<!--<Border x:Name="dragZoomBorder"
|
495 |
BorderBrush="Black"
|
496 |
BorderThickness="1"
|
497 |
|
498 |
Background="Transparent"
|
499 |
CornerRadius="1"
|
500 |
Panel.ZIndex="1"
|
501 |
Opacity="0.5"/>-->
|
502 |
<Canvas
|
503 |
x:Name="SearchFocusBorder" |
504 |
Panel.ZIndex="99999" |
505 |
Background="#50FF5D00" |
506 |
IsHitTestVisible="False" |
507 |
Visibility="Collapsed"> |
508 |
<Border
|
509 |
Width="{Binding Width, RelativeSource={RelativeSource FindAncestor, AncestorType={x:Type Canvas}}}" |
510 |
Height="{Binding Height, RelativeSource={RelativeSource FindAncestor, AncestorType={x:Type Canvas}}}" |
511 |
Panel.ZIndex="99999" |
512 |
Background="#50FF5D00" |
513 |
BorderThickness="1" |
514 |
CornerRadius="1" |
515 |
IsHitTestVisible="False" |
516 |
Visibility="Collapsed" /> |
517 |
</Canvas>
|
518 |
<!--<Border Background="Red" Panel.ZIndex="1" Opacity="0.5" Visibility="Visible" Width="100" Height="100" />-->
|
519 |
</Canvas>
|
520 |
|
521 |
<!--<Border Background="Red" Panel.ZIndex="1" Opacity="0.5" Visibility="Visible" Width="1000" Height="1000" IsHitTestVisible="False"/>-->
|
522 |
|
523 |
<!--<Leadtools_Windows_Controls:RasterImageViewer x:Name="_imageViewer" Grid.Row="1" BorderThickness="0"/>-->
|
524 |
</Canvas>
|
525 |
</ZoomAndPan:ZoomAndPanControl>
|
526 |
<telerik:RadBusyIndicator
|
527 |
x:Name="busyIndicator" |
528 |
BusyContent="Saving..." |
529 |
IsBusy="False" |
530 |
Visibility="{Binding IsBusy, Converter={StaticResource BoolToVisibleConverter}, RelativeSource={RelativeSource Self}}" /> |
531 |
<!-- 캡쳐 화면을 위한 보더 -->
|
532 |
<Border
|
533 |
Background="LightGray" |
534 |
IsHitTestVisible="False" |
535 |
Opacity="{Binding Capture_Opacity, Source={x:Static common:ViewerDataModel.Instance}}"> |
536 |
<TextBlock
|
537 |
HorizontalAlignment="Right" |
538 |
FontSize="30" |
539 |
Foreground="Red" |
540 |
Text="캡쳐 진행 화면" /> |
541 |
</Border>
|
542 |
<Angle:AngleControl
|
543 |
x:Name="MainAngle" |
544 |
Grid.Column="1" |
545 |
Grid.ColumnSpan="2" |
546 |
Margin="10" |
547 |
HorizontalAlignment="Right" |
548 |
VerticalAlignment="Top" |
549 |
AngleValue="{Binding MarkupAngle, Mode=TwoWay, StringFormat=\{0:F0\}°, Source={x:Static common:ViewerDataModel.Instance}}" |
550 |
IsHitTestVisible="False" |
551 |
Visibility="{Binding MarkupAngleVisibility, Mode=TwoWay, Source={x:Static common:ViewerDataModel.Instance}}" /> |
552 |
</Grid>
|
553 |
</telerik:RadDocumentPane>
|
554 |
</telerik:RadPaneGroup>
|
555 |
<telerik:RadPaneGroup Style="{DynamicResource Style_RadPanelGroup}"> |
556 |
<telerik:RadPane
|
557 |
x:Name="testPanel2" |
558 |
Title="Document 1" |
559 |
Margin="0,-20,0,0" |
560 |
CanFloat="False" |
561 |
CanUserClose="False" |
562 |
IsHidden="True" |
563 |
PaneHeaderVisibility="Collapsed"> |
564 |
<Grid Background="{DynamicResource KCOMColor_DocumnetBackgroundBrush}"> |
565 |
<ZoomAndPan:ZoomAndPanControl
|
566 |
x:Name="zoomAndPanControl2" |
567 |
AllowDrop="True" |
568 |
Background="LightGray" |
569 |
ConstrainedContentViewportHeight="{Binding ContentViewportHeight, Mode=TwoWay, Source={x:Static common:ViewerDataModel.Instance}}" |
570 |
ConstrainedContentViewportWidth="{Binding ContentViewportWidth, Mode=TwoWay, Source={x:Static common:ViewerDataModel.Instance}}" |
571 |
ContentOffsetX="{Binding Sync_ContentOffsetX, Mode=TwoWay, Source={x:Static common:ViewerDataModel.Instance}}" |
572 |
ContentOffsetY="{Binding Sync_ContentOffsetY, Mode=TwoWay, Source={x:Static common:ViewerDataModel.Instance}}" |
573 |
ContentScale="{Binding Sync_ContentScale, Mode=TwoWay, Source={x:Static common:ViewerDataModel.Instance}}" |
574 |
MouseDown="zoomAndPanControl2_MouseDown" |
575 |
MouseLeave="zoomAndPanControl_MouseLeave" |
576 |
MouseMove="zoomAndPanControl2_MouseMove" |
577 |
MouseUp="zoomAndPanControl2_MouseUp" |
578 |
MouseWheel="zoomAndPanControl2_MouseWheel"> |
579 |
<Canvas
|
580 |
x:Name="zoomAndPanCanvas2" |
581 |
Background="Transparent" |
582 |
Opacity="1"> |
583 |
<Canvas
|
584 |
x:Name="drawingRotateCanvas2" |
585 |
Panel.ZIndex="1" |
586 |
Background="{Binding BackgroundImage, Mode=OneWay, Source={x:Static common:ViewerDataModel.Instance}}"> |
587 |
<Canvas.RenderTransform>
|
588 |
<TransformGroup>
|
589 |
<RotateTransform x:Name="rotate2" Angle="0" /> |
590 |
<TranslateTransform x:Name="translate2" X="0" Y="0" /> |
591 |
</TransformGroup>
|
592 |
</Canvas.RenderTransform>
|
593 |
<ItemsControl
|
594 |
x:Name="itemsControl" |
595 |
Panel.ZIndex="1" |
596 |
ItemsSource="{Binding MarkupControls_Sync, Source={x:Static common:ViewerDataModel.Instance}}"> |
597 |
<ItemsControl.ItemsPanel>
|
598 |
<ItemsPanelTemplate>
|
599 |
<Canvas /> |
600 |
</ItemsPanelTemplate>
|
601 |
</ItemsControl.ItemsPanel>
|
602 |
</ItemsControl>
|
603 |
<Image
|
604 |
x:Name="ComparePanel" |
605 |
Width="{Binding ImageViewWidth_C, Source={x:Static common:ViewerDataModel.Instance}}" |
606 |
Height="{Binding ImageViewHeight_C, Source={x:Static common:ViewerDataModel.Instance}}" |
607 |
Source="{Binding ImageViewPath_C, Source={x:Static common:ViewerDataModel.Instance}}" /> |
608 |
<Canvas
|
609 |
x:Name="canvas_compareBorder" |
610 |
Width="{Binding ActualWidth, ElementName=zoomAndPanCanvas2}" |
611 |
Height="{Binding ActualHeight, ElementName=zoomAndPanCanvas2}" |
612 |
Panel.ZIndex="1" |
613 |
IsHitTestVisible="False"> |
614 |
<!-- RenderTransform="{Binding RenderTransform, ElementName=zoomAndPanControl2}" -->
|
615 |
<Canvas.RenderTransform>
|
616 |
<TransformGroup>
|
617 |
<RotateTransform x:Name="rotate2CompareBorder" Angle="0" /> |
618 |
<TranslateTransform x:Name="translate2CompareBorder" X="0" Y="0" /> |
619 |
</TransformGroup>
|
620 |
</Canvas.RenderTransform>
|
621 |
<!--<Canvas.RenderTransform>
|
622 |
<RotateTransform Angle="{Binding RenderTransform, ElementName=zoomAndPanControl2}"/>
|
623 |
</Canvas.RenderTransform>-->
|
624 |
</Canvas>
|
625 |
<!-- 강인구 추가 -->
|
626 |
</Canvas>
|
627 |
</Canvas>
|
628 |
</ZoomAndPan:ZoomAndPanControl>
|
629 |
<Grid
|
630 |
Background="#FF353535" |
631 |
IsHitTestVisible="False" |
632 |
Opacity="0.1" /> |
633 |
|
634 |
<!--<Viewbox VerticalAlignment="Stretch" HorizontalAlignment="Stretch" StretchDirection="DownOnly" Stretch="Uniform" IsHitTestVisible="False">
|
635 |
<TextBlock Text="Previous Document" HorizontalAlignment="Center" VerticalAlignment="Center" RenderTransformOrigin="0.5, 0.5" FontSize="50"
|
636 |
Foreground="White" Opacity="0.5" FontWeight="Bold">
|
637 |
<TextBlock.RenderTransform>
|
638 |
<RotateTransform Angle="-25"/>
|
639 |
</TextBlock.RenderTransform>
|
640 |
</TextBlock>
|
641 |
</Viewbox>-->
|
642 |
|
643 |
<!--<telerik:RadExpander Header="OPEN" Background="Transparent" telerik:StyleManager.Theme="Office2016"
|
644 |
ExpandDirection="Right" VerticalAlignment="Top" HorizontalAlignment="Left">-->
|
645 |
<Grid Height="Auto" VerticalAlignment="Top"> |
646 |
<Grid.RowDefinitions>
|
647 |
<RowDefinition /> |
648 |
<RowDefinition /> |
649 |
</Grid.RowDefinitions>
|
650 |
<!--<Border Background="#3b3838" VerticalAlignment="Stretch" HorizontalAlignment="Stretch" Opacity="0.5" Grid.RowSpan="2"/>-->
|
651 |
<Border
|
652 |
Grid.RowSpan="2" |
653 |
HorizontalAlignment="Stretch" |
654 |
VerticalAlignment="Stretch" |
655 |
Background="Black" |
656 |
BorderThickness="0" |
657 |
Opacity="0.5" /> |
658 |
<StackPanel HorizontalAlignment="Left" Orientation="Horizontal"> |
659 |
<!--<TextBlock Text="ReadOnly Mode" Foreground="#FFFF9A25" VerticalAlignment="Center" Margin="10"/>-->
|
660 |
<TextBlock
|
661 |
x:Name="tlSyncRev" |
662 |
Margin="10" |
663 |
VerticalAlignment="Center" |
664 |
Foreground="#FFFF9A25" |
665 |
Text="Rev.A" /> |
666 |
<TextBlock
|
667 |
x:Name="tlSyncPageNum" |
668 |
VerticalAlignment="Center" |
669 |
Foreground="White" |
670 |
Text="Current Page : 1" /> |
671 |
</StackPanel>
|
672 |
<StackPanel HorizontalAlignment="Right" Orientation="Horizontal"> |
673 |
<!--<telerik:RadToggleButton x:Name="CompareMode" IsChecked="False" Content="Compare" Margin="5" Checked="SyncCompare_Click" Unchecked="SyncCompare_Click" BorderThickness="0" telerik:StyleManager.Theme="Office2013"
|
674 |
Style="{DynamicResource RadToggleSwtichButtonStyle}" Width="Auto" Padding="10,0"/>-->
|
675 |
<!--<telerik:RadRibbonToggleButton x:Name="UserList" Content="User List" Foreground="white" Margin="5" Click="SyncUserListExpender_Click" BorderThickness="0" telerik:StyleManager.Theme="Office2013" VerticalAlignment="Center"/>-->
|
676 |
|
677 |
<toggle:HorizontalToggleSwitch
|
678 |
x:Name="Sync" |
679 |
Width="75" |
680 |
Margin="5" |
681 |
telerik:StyleManager.Theme="Office2013" |
682 |
BorderBrush="Transparent" |
683 |
BorderThickness="0" |
684 |
Checked="Sync_Click" |
685 |
CheckedContent="Sync" |
686 |
FontSize="10" |
687 |
FontWeight="Normal" |
688 |
IsChecked="False" |
689 |
Opacity="0.6" |
690 |
ThumbSize="25" |
691 |
Unchecked="Sync_Click" |
692 |
UncheckedContent="Sync" /> |
693 |
|
694 |
<toggle:HorizontalToggleSwitch
|
695 |
x:Name="UserList" |
696 |
Width="75" |
697 |
Margin="5" |
698 |
telerik:StyleManager.Theme="Office2013" |
699 |
BorderBrush="Transparent" |
700 |
BorderThickness="0" |
701 |
Checked="SyncUserListExpender_Click" |
702 |
CheckedContent="User List" |
703 |
FontSize="10" |
704 |
FontWeight="Normal" |
705 |
IsChecked="False" |
706 |
Opacity="0.6" |
707 |
ThumbSize="25" |
708 |
Unchecked="SyncUserListExpender_Click" |
709 |
UncheckedContent="User List" /> |
710 |
|
711 |
<toggle:HorizontalToggleSwitch
|
712 |
x:Name="CompareMode" |
713 |
Width="90" |
714 |
Margin="5" |
715 |
telerik:StyleManager.Theme="Office2013" |
716 |
BorderBrush="Transparent" |
717 |
BorderThickness="0" |
718 |
Checked="SyncCompare_Click" |
719 |
CheckedContent="Compare On" |
720 |
FontSize="10" |
721 |
FontWeight="Normal" |
722 |
IsChecked="False" |
723 |
Opacity="0.6" |
724 |
ThumbSize="25" |
725 |
Unchecked="SyncCompare_Click" |
726 |
UncheckedContent="Compare Off" /> |
727 |
|
728 |
<toggle:HorizontalToggleSwitch
|
729 |
x:Name="MarkupMode" |
730 |
Width="75" |
731 |
Margin="5" |
732 |
telerik:StyleManager.Theme="Office2013" |
733 |
BorderBrush="Transparent" |
734 |
BorderThickness="0" |
735 |
Checked="SyncChange_Click" |
736 |
CheckedContent="Pdf" |
737 |
FontSize="10" |
738 |
FontWeight="Normal" |
739 |
IsChecked="False" |
740 |
Opacity="0.6" |
741 |
ThumbSize="25" |
742 |
Unchecked="SyncChange_Click" |
743 |
UncheckedContent="Markup" |
744 |
Visibility="Collapsed" /> |
745 |
|
746 |
<toggle:HorizontalToggleSwitch
|
747 |
x:Name="BalanceMode" |
748 |
Width="90" |
749 |
Margin="5" |
750 |
telerik:StyleManager.Theme="Office2013" |
751 |
BorderBrush="Transparent" |
752 |
BorderThickness="0" |
753 |
Checked="SyncPageBalance_Click" |
754 |
CheckedContent="Balance On" |
755 |
FontSize="10" |
756 |
FontWeight="Normal" |
757 |
IsChecked="False" |
758 |
Opacity="0.6" |
759 |
ThumbSize="25" |
760 |
Unchecked="SyncPageBalance_Click" |
761 |
UncheckedContent="Balance Off" |
762 |
Visibility="Collapsed" /> |
763 |
<toggle:HorizontalToggleSwitch
|
764 |
x:Name="OriginalSizeMode" |
765 |
Width="90" |
766 |
Margin="5" |
767 |
telerik:StyleManager.Theme="Office2013" |
768 |
BorderBrush="Transparent" |
769 |
BorderThickness="0" |
770 |
Checked="OriginalSizeMode_Click" |
771 |
CheckedContent="Original Size" |
772 |
FontSize="10" |
773 |
FontWeight="Normal" |
774 |
IsChecked="False" |
775 |
Opacity="0.6" |
776 |
ThumbSize="25" |
777 |
Unchecked="OriginalSizeMode_Click" |
778 |
UncheckedContent="Uniform Size" /> |
779 |
|
780 |
<!--<telerik:RadRibbonToggleButton x:Name="MArkupMode" Content="Markup Mode" Foreground="White" Margin="5" Click="SyncChange_Click" BorderThickness="0" telerik:StyleManager.Theme="Office2013"/>-->
|
781 |
<!--<telerik:RadRibbonToggleButton x:Name="BalanceMode" Content="Balance Mode" Foreground="White" Margin="5" Click="SyncPageBalance_Click" BorderThickness="0" telerik:StyleManager.Theme="Office2013"/>-->
|
782 |
<telerik:RadPathButton
|
783 |
Width="20" |
784 |
Height="10" |
785 |
Margin="5" |
786 |
VerticalAlignment="Center" |
787 |
telerik:StyleManager.Theme="Office2013" |
788 |
Click="SyncPageChange_Click" |
789 |
PathGeometry="{telerik:RadGlyph Glyph={StaticResource GlyphArrowChevronUp}}" |
790 |
Style="{StaticResource IconPathButton}" |
791 |
Tag="-1"> |
792 |
<!--<Image Height="20"
|
793 |
Source="/KCOM;component/Resources/Images/MenuImage_New/up-arrow.png"
|
794 |
Stretch="Uniform" />-->
|
795 |
</telerik:RadPathButton>
|
796 |
<telerik:RadPathButton
|
797 |
Width="20" |
798 |
Height="10" |
799 |
Margin="5" |
800 |
VerticalAlignment="Center" |
801 |
telerik:StyleManager.Theme="Office2013" |
802 |
Click="SyncPageChange_Click" |
803 |
PathGeometry="{telerik:RadGlyph Glyph={StaticResource GlyphArrowChevronDown}}" |
804 |
Style="{StaticResource IconPathButton}" |
805 |
Tag="1"> |
806 |
<!--<Image Height="20"
|
807 |
Source="/KCOM;component/Resources/Images/MenuImage_New/up-arrow.png" RenderTransformOrigin="0.5 0.5"
|
808 |
Stretch="Uniform">
|
809 |
<Image.RenderTransform>
|
810 |
<RotateTransform Angle="180"/>
|
811 |
</Image.RenderTransform>
|
812 |
</Image>-->
|
813 |
</telerik:RadPathButton>
|
814 |
<telerik:RadPathButton
|
815 |
Width="20" |
816 |
Height="10" |
817 |
Margin="5" |
818 |
VerticalAlignment="Center" |
819 |
telerik:StyleManager.Theme="Office2013" |
820 |
Click="SyncRotation_Click" |
821 |
PathGeometry="{telerik:RadGlyph Glyph={StaticResource GlyphReloadSmall}}" |
822 |
Style="{StaticResource IconPathButton}" |
823 |
Tag="1" /> |
824 |
<telerik:RadPathButton
|
825 |
Width="20" |
826 |
Height="10" |
827 |
Margin="5" |
828 |
VerticalAlignment="Center" |
829 |
telerik:StyleManager.Theme="Office2013" |
830 |
Click="SyncRotation_Click" |
831 |
PathGeometry="{telerik:RadGlyph Glyph={StaticResource GlyphResetSmall}}" |
832 |
Style="{StaticResource IconPathButton}" |
833 |
Tag="-1" /> |
834 |
<telerik:RadPathButton
|
835 |
Width="20" |
836 |
Height="10" |
837 |
Margin="5" |
838 |
VerticalAlignment="Center" |
839 |
telerik:StyleManager.Theme="Office2013" |
840 |
Click="SyncExit_Click" |
841 |
PathGeometry="{telerik:RadGlyph Glyph={StaticResource GlyphClose}}" |
842 |
Style="{StaticResource IconPathButton}"> |
843 |
<!--<Image Height="20"
|
844 |
Source="/KCOM;component/Resources/Images/MenuImage_New/cancel.png"
|
845 |
Stretch="Uniform" />-->
|
846 |
</telerik:RadPathButton>
|
847 |
</StackPanel>
|
848 |
<telerik:RadGridView
|
849 |
x:Name="gridViewRevMarkup" |
850 |
Grid.Row="1" |
851 |
HorizontalContentAlignment="Center" |
852 |
telerik:StyleManager.Theme="Office2013" |
853 |
AutoExpandGroups="False" |
854 |
AutoGenerateColumns="False" |
855 |
BorderThickness="0" |
856 |
CanUserDeleteRows="True" |
857 |
CanUserFreezeColumns="False" |
858 |
CanUserInsertRows="False" |
859 |
GridLinesVisibility="None" |
860 |
IsFilteringAllowed="False" |
861 |
RowIndicatorVisibility="Collapsed" |
862 |
SelectionChanged="gridViewRevMarkup_SelectionChanged" |
863 |
SelectionMode="Multiple" |
864 |
ShowGroupFooters="False" |
865 |
ShowGroupPanel="False" |
866 |
Visibility="Collapsed"> |
867 |
<telerik:RadGridView.HeaderRowStyle>
|
868 |
<Style TargetType="telerik:GridViewHeaderRow"> |
869 |
<Setter Property="BorderThickness" Value="0" /> |
870 |
<Setter Property="Background" Value="Red" /> |
871 |
<Setter Property="Foreground" Value="White" /> |
872 |
<Setter Property="HorizontalContentAlignment" Value="Center" /> |
873 |
<Setter Property="FontWeight" Value="Black" /> |
874 |
<Setter Property="telerik:StyleManager.Theme" Value="Office2013" /> |
875 |
</Style>
|
876 |
</telerik:RadGridView.HeaderRowStyle>
|
877 |
<telerik:RadGridView.RowStyle>
|
878 |
<Style TargetType="telerik:GridViewRow"> |
879 |
<Setter Property="HorizontalContentAlignment" Value="Center" /> |
880 |
<Setter Property="Background" Value="{Binding Path=Consolidate, Converter={StaticResource ConsolidationBackgroudConverter}}" /> |
881 |
<Setter Property="Foreground" Value="White" /> |
882 |
</Style>
|
883 |
</telerik:RadGridView.RowStyle>
|
884 |
<telerik:RadGridView.Columns>
|
885 |
<telerik:GridViewSelectColumn Width="Auto" HeaderCellStyle="{StaticResource GridViewHeaderStyle}"> |
886 |
<telerik:GridViewSelectColumn.Header>
|
887 |
<telerik:RadRibbonToggleButton
|
888 |
Width="Auto" |
889 |
telerik:StyleManager.Theme="Office2016" |
890 |
Visibility="Collapsed"> |
891 |
<telerik:RadRibbonToggleButton.Content>
|
892 |
<Image
|
893 |
HorizontalAlignment="Center" |
894 |
VerticalAlignment="Center" |
895 |
Source="/KCOM;component/Resources/Images/MenuImage_New/check.png" /> |
896 |
</telerik:RadRibbonToggleButton.Content>
|
897 |
</telerik:RadRibbonToggleButton>
|
898 |
</telerik:GridViewSelectColumn.Header>
|
899 |
</telerik:GridViewSelectColumn>
|
900 |
<telerik:GridViewDataColumn
|
901 |
Width="Auto" |
902 |
Header="Color" |
903 |
HeaderCellStyle="{StaticResource GridViewHeaderStyle}" |
904 |
IsReadOnly="True"> |
905 |
<telerik:GridViewDataColumn.CellTemplate>
|
906 |
<DataTemplate>
|
907 |
<Grid>
|
908 |
<Grid>
|
909 |
<Rectangle Margin="0,2,2,2" Fill="{Binding DisplayColor, Converter={StaticResource StringToColorConverter}}" /> |
910 |
<TextBlock Foreground="#00000000" Text="Color" /> |
911 |
</Grid>
|
912 |
<Grid VerticalAlignment="Center" Visibility="{Binding AvoidConsolidate, Converter={StaticResource BoolToVisibleConverter}}"> |
913 |
<Image
|
914 |
Height="15" |
915 |
Source="/KCOM;component/Resources/Images/MenuImage_New/lock_2.png" |
916 |
Stretch="Uniform" /> |
917 |
</Grid>
|
918 |
</Grid>
|
919 |
|
920 |
</DataTemplate>
|
921 |
</telerik:GridViewDataColumn.CellTemplate>
|
922 |
</telerik:GridViewDataColumn>
|
923 |
<telerik:GridViewDataColumn
|
924 |
Width="Auto" |
925 |
Header="DEPT" |
926 |
HeaderCellStyle="{StaticResource GridViewHeaderStyle}" |
927 |
IsReadOnly="True"> |
928 |
<telerik:GridViewDataColumn.CellTemplate>
|
929 |
<DataTemplate>
|
930 |
<TextBlock FontSize="12" Text="{Binding Depatment}" /> |
931 |
</DataTemplate>
|
932 |
</telerik:GridViewDataColumn.CellTemplate>
|
933 |
</telerik:GridViewDataColumn>
|
934 |
<telerik:GridViewDataColumn
|
935 |
Width="Auto" |
936 |
Header="NAME" |
937 |
HeaderCellStyle="{StaticResource GridViewHeaderStyle}" |
938 |
IsReadOnly="True"> |
939 |
<telerik:GridViewDataColumn.CellTemplate>
|
940 |
<DataTemplate>
|
941 |
<TextBlock FontSize="10" Text="{Binding UserName, Mode=TwoWay}" /> |
942 |
</DataTemplate>
|
943 |
</telerik:GridViewDataColumn.CellTemplate>
|
944 |
</telerik:GridViewDataColumn>
|
945 |
<telerik:GridViewDataColumn
|
946 |
Width="Auto" |
947 |
Header="CONSOLIDATION" |
948 |
HeaderCellStyle="{StaticResource GridViewHeaderStyle}" |
949 |
IsReadOnly="True"> |
950 |
<telerik:GridViewDataColumn.CellTemplate>
|
951 |
<DataTemplate>
|
952 |
<!--<TextBlock Text="{Binding Consolidate}"/>-->
|
953 |
<Grid>
|
954 |
<Grid.ColumnDefinitions>
|
955 |
<ColumnDefinition Width="Auto" /> |
956 |
<ColumnDefinition Width="Auto" /> |
957 |
<ColumnDefinition Width="Auto" /> |
958 |
</Grid.ColumnDefinitions>
|
959 |
|
960 |
<TextBlock
|
961 |
Grid.Column="0" |
962 |
Foreground="Red" |
963 |
Text="{Binding AvoidConsolidate, Converter={StaticResource AvoidStringConverter}}" /> |
964 |
<TextBlock
|
965 |
Grid.Column="1" |
966 |
Foreground="Blue" |
967 |
Text="{Binding PartConsolidate, Converter={StaticResource TeamConsoliStringConverter}}" /> |
968 |
<TextBlock Grid.Column="2" Text="{Binding Consolidate, Converter={StaticResource ConsoliStringConverter}}" /> |
969 |
<!--
|
970 |
<TextBlock HorizontalAlignment="Center" Grid.Column="2">
|
971 |
<TextBlock.Text>
|
972 |
<Binding Converter="{StaticResource ConsoliStringConverter}"/>
|
973 |
</TextBlock.Text>
|
974 |
</TextBlock>
|
975 |
-->
|
976 |
</Grid>
|
977 |
</DataTemplate>
|
978 |
</telerik:GridViewDataColumn.CellTemplate>
|
979 |
</telerik:GridViewDataColumn>
|
980 |
|
981 |
<telerik:GridViewDataColumn
|
982 |
Width="Auto" |
983 |
Header="Comment Move" |
984 |
HeaderCellStyle="{StaticResource GridViewHeaderStyle}" |
985 |
IsReadOnly="True"> |
986 |
<telerik:GridViewDataColumn.CellTemplate>
|
987 |
<DataTemplate>
|
988 |
<telerik:RadButton
|
989 |
HorizontalAlignment="Stretch" |
990 |
VerticalAlignment="Stretch" |
991 |
telerik:StyleManager.Theme="Office2016" |
992 |
Content="COPY" |
993 |
PreviewMouseDown="Comment_Move" /> |
994 |
<!--<TextBlock Text="{Binding UserName, Mode=TwoWay}" FontSize="10"/>-->
|
995 |
</DataTemplate>
|
996 |
</telerik:GridViewDataColumn.CellTemplate>
|
997 |
</telerik:GridViewDataColumn>
|
998 |
|
999 |
<telerik:GridViewDataColumn
|
1000 |
Width="*" |
1001 |
Header="" |
1002 |
HeaderCellStyle="{StaticResource GridViewHeaderStyle}" |
1003 |
IsReadOnly="True" /> |
1004 |
</telerik:RadGridView.Columns>
|
1005 |
</telerik:RadGridView>
|
1006 |
</Grid>
|
1007 |
<!--</telerik:RadExpander>-->
|
1008 |
|
1009 |
|
1010 |
</Grid>
|
1011 |
</telerik:RadPane>
|
1012 |
</telerik:RadPaneGroup>
|
1013 |
</telerik:RadSplitContainer>
|
1014 |
</telerik:RadDocking.DocumentHost>
|
1015 |
<telerik:RadSplitContainer
|
1016 |
x:Name="thumbnailPanel" |
1017 |
InitialPosition="DockedLeft" |
1018 |
Orientation="Vertical" |
1019 |
SizeChanged="thumbnailPanel_SizeChanged" |
1020 |
Template="{DynamicResource RadSplitContainerControlTemplate}"> |
1021 |
<!-- Width="250" MinWidth="250" -->
|
1022 |
<!--<telerik:RadPaneGroup Margin="0" Style="{DynamicResource Style_RadPanelGroup}">-->
|
1023 |
<telerik:RadPaneGroup
|
1024 |
x:Name="PN_Navi" |
1025 |
Margin="0" |
1026 |
telerik:StyleManager.Theme="Office2016"> |
1027 |
<telerik:RadPane
|
1028 |
x:Name="radPanelPageNavi" |
1029 |
telerik:RadDocking.FloatingSize="50,NaN" |
1030 |
telerik:StyleManager.Theme="Office2016" |
1031 |
CanFloat="False" |
1032 |
CanUserClose="False" |
1033 |
CanUserPin="True" |
1034 |
ContextMenuTemplate="{x:Null}" |
1035 |
Header="DOCUMENT" |
1036 |
PaneHeaderVisibility="Visible"> |
1037 |
<!--<telerik:RadPane.TitleTemplate>
|
1038 |
<DataTemplate>
|
1039 |
<Grid>
|
1040 |
<Grid.ColumnDefinitions>
|
1041 |
<ColumnDefinition Width="Auto" />
|
1042 |
<ColumnDefinition />
|
1043 |
</Grid.ColumnDefinitions>
|
1044 |
<ContentPresenter Content="{Binding}"
|
1045 |
Margin="0,0,75,0" />
|
1046 |
<telerik:RadButton Grid.Column="1" Content="PIN"/>
|
1047 |
</Grid>
|
1048 |
</DataTemplate>
|
1049 |
</telerik:RadPane.TitleTemplate>-->
|
1050 |
<!--<Grid VerticalAlignment="Stretch" Margin="0">
|
1051 |
<Grid.RowDefinitions>
|
1052 |
<RowDefinition Height="30"/>
|
1053 |
<RowDefinition Height="*"/>
|
1054 |
</Grid.RowDefinitions>
|
1055 |
<Border BorderBrush="{Binding ElementName=leftPanel}" BorderThickness="0,1">
|
1056 |
<TextBlock Text="Thumbnail" Margin="5"/>
|
1057 |
</Border>
|
1058 |
<controls:PageNavigator x:Name="pageNavigator" Grid.Row="1"/>
|
1059 |
</Grid>-->
|
1060 |
<Grid>
|
1061 |
<!--<controls:PageNavigator x:Name="pageNavigator" Grid.Row="1" Visibility="Collapsed"/>-->
|
1062 |
<!--<Grid.RowDefinitions>
|
1063 |
<RowDefinition Height="Auto"/>
|
1064 |
<RowDefinition Height="*"/>
|
1065 |
</Grid.RowDefinitions>-->
|
1066 |
<!--<telerik:RadButton Content="Panorama" telerik:StyleManager.Theme="Office2016" FontSize="8" Background="#FF0054B9" Foreground="White"
|
1067 |
BorderThickness="0" CornerRadius="3" HorizontalAlignment="Right" Padding="5" Margin="5,10"/>-->
|
1068 |
<controls:Sample x:Name="pageNavigator" /> |
1069 |
</Grid>
|
1070 |
|
1071 |
</telerik:RadPane>
|
1072 |
<!--<telerik:RadPane Header="test" CanFloat="False" telerik:RadDocking.FloatingSize="50,NaN" CanUserClose="False" CanUserPin="True"
|
1073 |
ContextMenuTemplate="{x:Null}" PaneHeaderVisibility="Visible" telerik:StyleManager.Theme="Office2016">
|
1074 |
|
1075 |
<Grid xmlns:drag="clr-namespace:Telerik.Windows.DragDrop.Behaviors;assembly=Telerik.Windows.Controls" >
|
1076 |
<Grid.Resources>
|
1077 |
<Style TargetType="telerik:RadListBoxItem" BasedOn="{StaticResource RadListBoxItemStyle}">
|
1078 |
<Setter Property="telerik:DragDropManager.AllowCapturedDrag" Value="True"/>
|
1079 |
</Style>
|
1080 |
</Grid.Resources>
|
1081 |
<telerik:RadListBox x:Name="lstSymbolPrivate" Background="#f5f5f5" FontWeight="Normal" AllowDrop="True">
|
1082 |
<telerik:RadListBox.DragDropBehavior>
|
1083 |
<telerik:ListBoxDragDropBehavior AllowReorder="True" />
|
1084 |
</telerik:RadListBox.DragDropBehavior>
|
1085 |
<telerik:RadListBox.DragVisualProvider >
|
1086 |
<telerik:ListBoxDragVisualProvider />
|
1087 |
</telerik:RadListBox.DragVisualProvider>
|
1088 |
</telerik:RadListBox>
|
1089 |
</Grid>
|
1090 |
|
1091 |
</telerik:RadPane>-->
|
1092 |
|
1093 |
</telerik:RadPaneGroup>
|
1094 |
</telerik:RadSplitContainer>
|
1095 |
|
1096 |
<telerik:RadSplitContainer
|
1097 |
Width="300" |
1098 |
MaxWidth="300" |
1099 |
InitialPosition="DockedRight" |
1100 |
Orientation="Vertical"> |
1101 |
<telerik:RadPaneGroup telerik:StyleManager.Theme="Office2016" IsTabStop="False"> |
1102 |
<telerik:RadPane
|
1103 |
x:Name="searchPane" |
1104 |
telerik:StyleManager.Theme="Office2016" |
1105 |
CanFloat="False" |
1106 |
CanUserClose="False" |
1107 |
ContextMenuTemplate="{x:Null}" |
1108 |
Header="SEARCH" |
1109 |
IsPinned="False" |
1110 |
Visibility="Visible"> |
1111 |
<controls:SearchPanel x:Name="searchPanel_Instance" /> |
1112 |
</telerik:RadPane>
|
1113 |
</telerik:RadPaneGroup>
|
1114 |
<telerik:RadPaneGroup telerik:StyleManager.Theme="Office2016" IsTabStop="False"> |
1115 |
<telerik:RadPane
|
1116 |
x:Name="talkPane" |
1117 |
telerik:StyleManager.Theme="Office2016" |
1118 |
CanFloat="False" |
1119 |
CanUserClose="False" |
1120 |
ContextMenuTemplate="{x:Null}" |
1121 |
Header="M-TALK" |
1122 |
IsPinned="False"> |
1123 |
<messanger:ConversationView /> |
1124 |
</telerik:RadPane>
|
1125 |
</telerik:RadPaneGroup>
|
1126 |
<telerik:RadPaneGroup
|
1127 |
telerik:StyleManager.Theme="Office2016" |
1128 |
IsTabStop="False" |
1129 |
Visibility="Visible"> |
1130 |
<telerik:RadPane
|
1131 |
x:Name="SymbolPane" |
1132 |
telerik:StyleManager.Theme="Office2016" |
1133 |
CanFloat="False" |
1134 |
CanUserClose="False" |
1135 |
ContextMenuTemplate="{x:Null}" |
1136 |
Header="SYMBOL" |
1137 |
IsPinned="False" |
1138 |
Visibility="Visible"> |
1139 |
<!--<controls:Symbol />-->
|
1140 |
<controls:Symbol x:Name="symbolPanel_Instance" /> |
1141 |
<!--<telerik:RadButton Click="Create_Symbol">Create</telerik:RadButton>-->
|
1142 |
</telerik:RadPane>
|
1143 |
</telerik:RadPaneGroup>
|
1144 |
<telerik:RadPaneGroup
|
1145 |
telerik:ProportionalStackPanel.RelativeSize="60, 100" |
1146 |
telerik:StyleManager.Theme="Office2016" |
1147 |
IsTabStop="False"> |
1148 |
<telerik:RadPane
|
1149 |
x:Name="FavoritePane" |
1150 |
telerik:StyleManager.Theme="Office2016" |
1151 |
CanFloat="False" |
1152 |
CanUserClose="False" |
1153 |
ContextMenuTemplate="{x:Null}" |
1154 |
Header="FAVORITE" |
1155 |
IsPinned="False" |
1156 |
Visibility="Visible"> |
1157 |
<controls:FavoritePanel /> |
1158 |
</telerik:RadPane>
|
1159 |
</telerik:RadPaneGroup>
|
1160 |
</telerik:RadSplitContainer>
|
1161 |
<telerik:RadSplitContainer InitialPosition="DockedBottom" Orientation="Horizontal"> |
1162 |
<telerik:RadPaneGroup
|
1163 |
telerik:ProportionalStackPanel.RelativeSize="140, 100" |
1164 |
telerik:StyleManager.Theme="Office2016" |
1165 |
AllowDrop="False" |
1166 |
IsTabStop="False"> |
1167 |
<telerik:RadPane
|
1168 |
x:Name="infoListPane" |
1169 |
telerik:StyleManager.Theme="Office2016" |
1170 |
CanFloat="False" |
1171 |
CanUserClose="False" |
1172 |
ContextMenuTemplate="{x:Null}" |
1173 |
Header="User information List"> |
1174 |
<telerik:RadPane.TitleTemplate>
|
1175 |
<DataTemplate>
|
1176 |
<Grid>
|
1177 |
<Grid.ColumnDefinitions>
|
1178 |
<ColumnDefinition Width="*" /> |
1179 |
<ColumnDefinition Width="Auto" /> |
1180 |
</Grid.ColumnDefinitions>
|
1181 |
|
1182 |
<StackPanel Orientation="Horizontal"> |
1183 |
<TextBlock
|
1184 |
Margin="1" |
1185 |
VerticalAlignment="Center" |
1186 |
Text="{Binding}" /> |
1187 |
<telerik:RadRibbonButton
|
1188 |
x:Name="btnConsolidate" |
1189 |
VerticalAlignment="Center" |
1190 |
telerik:StyleManager.Theme="Office2016" |
1191 |
Click="btnConsolidate_Click" |
1192 |
Loaded="btnConsolidate_Loaded" |
1193 |
ToolTipService.ToolTip="Consolidate"> |
1194 |
<Border
|
1195 |
Background="#E9F0F8" |
1196 |
BorderBrush="#839AB3" |
1197 |
BorderThickness="1"> |
1198 |
<StackPanel Margin="1" Orientation="Horizontal"> |
1199 |
<!--<Image Width="15" Source="/DeepView;component/Images/MenuImage/document-new.png" />-->
|
1200 |
<TextBlock
|
1201 |
Margin="1" |
1202 |
VerticalAlignment="Center" |
1203 |
Foreground="Black" |
1204 |
Text="Consolidate" /> |
1205 |
</StackPanel>
|
1206 |
</Border>
|
1207 |
</telerik:RadRibbonButton>
|
1208 |
<telerik:RadRibbonButton
|
1209 |
x:Name="btnTeamConsolidate" |
1210 |
VerticalAlignment="Center" |
1211 |
telerik:StyleManager.Theme="Office2016" |
1212 |
Click="btnTeamConsolidate_Click" |
1213 |
Loaded="btnTeamConsolidate_Loaded" |
1214 |
ToolTipService.ToolTip="Consolidate"> |
1215 |
<Border
|
1216 |
Background="#E9F0F8" |
1217 |
BorderBrush="#839AB3" |
1218 |
BorderThickness="1"> |
1219 |
<StackPanel Margin="1" Orientation="Horizontal"> |
1220 |
<!--<Image Width="15" Source="/DeepView;component/Images/MenuImage/document-team.png" />-->
|
1221 |
<TextBlock
|
1222 |
Margin="1" |
1223 |
VerticalAlignment="Center" |
1224 |
Foreground="Black" |
1225 |
Text="Team Consolidate" /> |
1226 |
</StackPanel>
|
1227 |
</Border>
|
1228 |
</telerik:RadRibbonButton>
|
1229 |
<telerik:RadRibbonButton
|
1230 |
x:Name="btnFinalPDF" |
1231 |
VerticalAlignment="Center" |
1232 |
telerik:StyleManager.Theme="Office2016" |
1233 |
Click="FinalPDFEvent" |
1234 |
Loaded="btnFinalPDF_Loaded" |
1235 |
ToolTipService.ToolTip="FinalPDF"> |
1236 |
<Border
|
1237 |
Background="#E9F0F8" |
1238 |
BorderBrush="#839AB3" |
1239 |
BorderThickness="1"> |
1240 |
<StackPanel Margin="1" Orientation="Horizontal"> |
1241 |
<!--<Image Width="15" Source="/DeepView;component/Images/MenuImage/final_pdf2.png" />-->
|
1242 |
<TextBlock
|
1243 |
Margin="1" |
1244 |
VerticalAlignment="Center" |
1245 |
Foreground="Black" |
1246 |
Text="Merged PDF" /> |
1247 |
</StackPanel>
|
1248 |
</Border>
|
1249 |
</telerik:RadRibbonButton>
|
1250 |
<telerik:RadRibbonButton
|
1251 |
x:Name="btnConsolidateFinalPDF" |
1252 |
VerticalAlignment="Center" |
1253 |
telerik:StyleManager.Theme="Office2016" |
1254 |
Click="ConsolidateFinalPDFEvent" |
1255 |
Loaded="btnConsolidateFinalPDF_Loaded" |
1256 |
ToolTipService.ToolTip="Consolidate & FinalPDF" |
1257 |
Visibility="Collapsed"> |
1258 |
<Border
|
1259 |
Background="#E9F0F8" |
1260 |
BorderBrush="#839AB3" |
1261 |
BorderThickness="1"> |
1262 |
<StackPanel Margin="1" Orientation="Horizontal"> |
1263 |
<!--<Image Width="15" Source="/DeepView;component/Images/MenuImage/final_pdf2.png" />-->
|
1264 |
<TextBlock
|
1265 |
Margin="1" |
1266 |
VerticalAlignment="Center" |
1267 |
Foreground="Black" |
1268 |
Text="Consolidate & Merged PDF" /> |
1269 |
</StackPanel>
|
1270 |
</Border>
|
1271 |
</telerik:RadRibbonButton>
|
1272 |
</StackPanel>
|
1273 |
<!--<StackPanel Grid.Column="1"
|
1274 |
HorizontalAlignment="Right"
|
1275 |
Orientation="Horizontal">
|
1276 |
<telerik:RadRibbonButton VerticalAlignment="Center"
|
1277 |
Click="ExpandButtonEvent_Click"
|
1278 |
Tag="CLOSE"
|
1279 |
telerik:StyleManager.Theme="Windows8"
|
1280 |
ToolTipService.ToolTip="Expand On">
|
1281 |
</telerik:RadRibbonButton>
|
1282 |
|
1283 |
<telerik:RadRibbonButton VerticalAlignment="Center"
|
1284 |
Click="ExpandButtonEvent_Click"
|
1285 |
Tag="OPEN"
|
1286 |
telerik:StyleManager.Theme="Windows8"
|
1287 |
ToolTipService.ToolTip="Expand Off">
|
1288 |
<Image Width="15"
|
1289 |
RenderTransformOrigin="0.5,0.5">
|
1290 |
<Image.RenderTransform>
|
1291 |
<RotateTransform Angle="180" />
|
1292 |
</Image.RenderTransform>
|
1293 |
</Image>
|
1294 |
</telerik:RadRibbonButton>
|
1295 |
</StackPanel>-->
|
1296 |
</Grid>
|
1297 |
</DataTemplate>
|
1298 |
</telerik:RadPane.TitleTemplate>
|
1299 |
<telerik:RadGridView
|
1300 |
x:Name="gridViewMarkup" |
1301 |
HorizontalContentAlignment="Center" |
1302 |
telerik:StyleManager.Theme="Office2013" |
1303 |
AutoExpandGroups="True" |
1304 |
AutoGenerateColumns="False" |
1305 |
CanUserDeleteRows="True" |
1306 |
CanUserInsertRows="False" |
1307 |
CanUserSortColumns="True" |
1308 |
IsFilteringAllowed="False" |
1309 |
IsReadOnly="True" |
1310 |
RowIndicatorVisibility="Collapsed" |
1311 |
SelectionChanged="gridViewMarkup_SelectionChanged" |
1312 |
SelectionMode="Multiple" |
1313 |
ShowGroupFooters="False" |
1314 |
ShowGroupPanel="True" |
1315 |
Sorted="GridViewMarkup_Sorted" |
1316 |
Sorting="GridViewMarkup_Sorting"> |
1317 |
<!--<telerik:RadGridView.GroupDescriptors>
|
1318 |
<telerik:GroupDescriptor Member="Depatment" SortDirection="Ascending" DisplayContent = "DEPT" x:Name="gDept">
|
1319 |
<telerik:GroupDescriptor.AggregateFunctions>
|
1320 |
<telerik:CountFunction Caption="Entries count : " />
|
1321 |
</telerik:GroupDescriptor.AggregateFunctions>
|
1322 |
</telerik:GroupDescriptor>
|
1323 |
</telerik:RadGridView.GroupDescriptors>-->
|
1324 |
<telerik:RadGridView.RowStyle>
|
1325 |
<Style TargetType="telerik:GridViewRow"> |
1326 |
<Setter Property="HorizontalContentAlignment" Value="Center" /> |
1327 |
<Setter Property="Background" Value="{Binding Path=Consolidate, Converter={StaticResource ConsolidationBackgroudConverter}}" /> |
1328 |
<Setter Property="Visibility" Value="{Binding Path=IsPreviewUser, Converter={StaticResource previewerVisibleConverter}}" /> |
1329 |
<!--<Setter Property="Template" Value="{StaticResource GridViewRowTemplate}" />-->
|
1330 |
</Style>
|
1331 |
</telerik:RadGridView.RowStyle>
|
1332 |
<telerik:RadGridView.Columns>
|
1333 |
<telerik:GridViewSelectColumn Width="Auto"> |
1334 |
<telerik:GridViewSelectColumn.Header>
|
1335 |
<CheckBox telerik:StyleManager.Theme="Office_Black" Click="gridViewMarkupAllSelect_Click" /> |
1336 |
</telerik:GridViewSelectColumn.Header>
|
1337 |
</telerik:GridViewSelectColumn>
|
1338 |
<telerik:GridViewDataColumn
|
1339 |
Width="Auto" |
1340 |
Header="Color" |
1341 |
IsReadOnly="True"> |
1342 |
<telerik:GridViewDataColumn.CellTemplate>
|
1343 |
<DataTemplate>
|
1344 |
<Grid>
|
1345 |
<Grid>
|
1346 |
<Rectangle Margin="0,2,2,2" Fill="{Binding DisplayColor, Converter={StaticResource StringToColorConverter}}" /> |
1347 |
<TextBlock Foreground="#00000000" Text="Color" /> |
1348 |
</Grid>
|
1349 |
<Grid VerticalAlignment="Center" Visibility="{Binding AvoidConsolidate, Converter={StaticResource BoolToVisibleConverter}}"> |
1350 |
<Image
|
1351 |
Height="15" |
1352 |
Source="/KCOM;component/Resources/Images/MenuImage_New/lock_2.png" |
1353 |
Stretch="Uniform" /> |
1354 |
</Grid>
|
1355 |
</Grid>
|
1356 |
|
1357 |
</DataTemplate>
|
1358 |
</telerik:GridViewDataColumn.CellTemplate>
|
1359 |
</telerik:GridViewDataColumn>
|
1360 |
<telerik:GridViewDataColumn
|
1361 |
Width="Auto" |
1362 |
DataMemberBinding="{Binding Depatment}" |
1363 |
Header="DEPT" |
1364 |
IsReadOnly="True"> |
1365 |
<telerik:GridViewDataColumn.CellTemplate>
|
1366 |
<DataTemplate>
|
1367 |
<TextBlock Text="{Binding Depatment}" /> |
1368 |
</DataTemplate>
|
1369 |
</telerik:GridViewDataColumn.CellTemplate>
|
1370 |
</telerik:GridViewDataColumn>
|
1371 |
<telerik:GridViewDataColumn
|
1372 |
Width="Auto" |
1373 |
DataMemberBinding="{Binding UserName}" |
1374 |
Header="NAME" |
1375 |
IsReadOnly="True"> |
1376 |
<telerik:GridViewDataColumn.CellTemplate>
|
1377 |
<DataTemplate>
|
1378 |
<TextBlock Text="{Binding UserName, Mode=TwoWay}" /> |
1379 |
</DataTemplate>
|
1380 |
</telerik:GridViewDataColumn.CellTemplate>
|
1381 |
</telerik:GridViewDataColumn>
|
1382 |
<telerik:GridViewDataColumn
|
1383 |
Width="Auto" |
1384 |
Header="UPDATETIME" |
1385 |
IsReadOnly="True"> |
1386 |
<telerik:GridViewDataColumn.CellTemplate>
|
1387 |
<DataTemplate>
|
1388 |
<TextBlock Text="{Binding UpdateTime}" /> |
1389 |
</DataTemplate>
|
1390 |
</telerik:GridViewDataColumn.CellTemplate>
|
1391 |
</telerik:GridViewDataColumn>
|
1392 |
<telerik:GridViewDataColumn
|
1393 |
Width="Auto" |
1394 |
Header="CONSOLIDATION" |
1395 |
IsReadOnly="True"> |
1396 |
<telerik:GridViewDataColumn.CellTemplate>
|
1397 |
<DataTemplate>
|
1398 |
<!--<TextBlock Text="{Binding Consolidate}"/>-->
|
1399 |
<Grid>
|
1400 |
<Grid.ColumnDefinitions>
|
1401 |
<ColumnDefinition Width="Auto" /> |
1402 |
<ColumnDefinition Width="Auto" /> |
1403 |
<ColumnDefinition Width="Auto" /> |
1404 |
</Grid.ColumnDefinitions>
|
1405 |
|
1406 |
<TextBlock
|
1407 |
Grid.Column="0" |
1408 |
Foreground="Red" |
1409 |
Text="{Binding AvoidConsolidate, Converter={StaticResource AvoidStringConverter}}" /> |
1410 |
<TextBlock
|
1411 |
Grid.Column="1" |
1412 |
Foreground="Blue" |
1413 |
Text="{Binding PartConsolidate, Converter={StaticResource TeamConsoliStringConverter}}" /> |
1414 |
<TextBlock Grid.Column="2" Text="{Binding Consolidate, Converter={StaticResource ConsoliStringConverter}}" /> |
1415 |
<!--
|
1416 |
<TextBlock HorizontalAlignment="Center" Grid.Column="2">
|
1417 |
<TextBlock.Text>
|
1418 |
<Binding Converter="{StaticResource ConsoliStringConverter}"/>
|
1419 |
</TextBlock.Text>
|
1420 |
</TextBlock>
|
1421 |
-->
|
1422 |
</Grid>
|
1423 |
</DataTemplate>
|
1424 |
</telerik:GridViewDataColumn.CellTemplate>
|
1425 |
</telerik:GridViewDataColumn>
|
1426 |
|
1427 |
<telerik:GridViewDataColumn
|
1428 |
Width="Auto" |
1429 |
Header="DELETE" |
1430 |
IsReadOnly="True"> |
1431 |
<telerik:GridViewDataColumn.CellTemplate>
|
1432 |
<DataTemplate>
|
1433 |
<Button
|
1434 |
Click="DeleteCommentEvent" |
1435 |
CommandParameter="{Binding}" |
1436 |
Content="DELETE" |
1437 |
Visibility="{Binding userDelete, Converter={StaticResource BooleanToVisibilityConverter}}" /> |
1438 |
</DataTemplate>
|
1439 |
</telerik:GridViewDataColumn.CellTemplate>
|
1440 |
</telerik:GridViewDataColumn>
|
1441 |
</telerik:RadGridView.Columns>
|
1442 |
</telerik:RadGridView>
|
1443 |
</telerik:RadPane>
|
1444 |
</telerik:RadPaneGroup>
|
1445 |
<telerik:RadPaneGroup
|
1446 |
telerik:ProportionalStackPanel.RelativeSize="100, 100" |
1447 |
telerik:StyleManager.Theme="Office2016" |
1448 |
IsTabStop="False"> |
1449 |
<telerik:RadPane
|
1450 |
x:Name="historyPane" |
1451 |
telerik:StyleManager.Theme="Office2016" |
1452 |
CanFloat="False" |
1453 |
CanUserClose="False" |
1454 |
ContextMenuTemplate="{x:Null}" |
1455 |
Header="Document History" |
1456 |
Visibility="{Binding IsDocumentHistory, Source={x:Static common:ViewerDataModel.Instance}, Mode=TwoWay, Converter={StaticResource BoolToVisibleConverter}}"> |
1457 |
<Grid>
|
1458 |
<telerik:RadGridView
|
1459 |
x:Name="gridViewHistory" |
1460 |
telerik:StyleManager.Theme="Office2013" |
1461 |
AutoExpandGroups="False" |
1462 |
AutoGenerateColumns="False" |
1463 |
CanUserDeleteRows="True" |
1464 |
CanUserInsertRows="False" |
1465 |
IsFilteringAllowed="False" |
1466 |
IsReadOnly="True" |
1467 |
RowIndicatorVisibility="Collapsed" |
1468 |
ShowGroupFooters="False" |
1469 |
ShowGroupPanel="False"> |
1470 |
<telerik:RadGridView.Columns>
|
1471 |
<telerik:GridViewDataColumn
|
1472 |
Width="Auto" |
1473 |
Header="Slip No" |
1474 |
IsReadOnly="True" |
1475 |
IsVisible="{Binding IsDocumentHistory, Source={x:Static common:ViewerDataModel.Instance}, Mode=TwoWay}"> |
1476 |
<telerik:GridViewDataColumn.CellTemplate>
|
1477 |
<DataTemplate>
|
1478 |
<telerik:RadButton
|
1479 |
Margin="5" |
1480 |
Background="Transparent" |
1481 |
BorderThickness="0" |
1482 |
Click="EnsembleLink_Button_Click" |
1483 |
Content="{Binding GroupNo}" |
1484 |
Tag="{Binding EnsembleLink}" /> |
1485 |
</DataTemplate>
|
1486 |
</telerik:GridViewDataColumn.CellTemplate>
|
1487 |
</telerik:GridViewDataColumn>
|
1488 |
<telerik:GridViewDataColumn
|
1489 |
Width="Auto" |
1490 |
Header="Doc No" |
1491 |
IsReadOnly="True"> |
1492 |
<telerik:GridViewDataColumn.CellTemplate>
|
1493 |
<DataTemplate>
|
1494 |
<TextBlock HorizontalAlignment="Center" Text="{Binding DocNo}" /> |
1495 |
</DataTemplate>
|
1496 |
</telerik:GridViewDataColumn.CellTemplate>
|
1497 |
</telerik:GridViewDataColumn>
|
1498 |
<telerik:GridViewDataColumn
|
1499 |
Width="Auto" |
1500 |
Header="Rev No" |
1501 |
IsReadOnly="True"> |
1502 |
<telerik:GridViewDataColumn.CellTemplate>
|
1503 |
<DataTemplate>
|
1504 |
<TextBlock HorizontalAlignment="Center" Text="{Binding RevNo}" /> |
1505 |
</DataTemplate>
|
1506 |
</telerik:GridViewDataColumn.CellTemplate>
|
1507 |
</telerik:GridViewDataColumn>
|
1508 |
<telerik:GridViewDataColumn
|
1509 |
Width="Auto" |
1510 |
Header="RESULT" |
1511 |
IsReadOnly="True" |
1512 |
IsVisible="{Binding IsDocumentHistory, Source={x:Static common:ViewerDataModel.Instance}, Mode=TwoWay}"> |
1513 |
<telerik:GridViewDataColumn.CellTemplate>
|
1514 |
<DataTemplate>
|
1515 |
<TextBlock HorizontalAlignment="Center" Text="{Binding RESULT}" /> |
1516 |
</DataTemplate>
|
1517 |
</telerik:GridViewDataColumn.CellTemplate>
|
1518 |
</telerik:GridViewDataColumn>
|
1519 |
<telerik:GridViewDataColumn
|
1520 |
telerik:StyleManager.Theme="Office2013" |
1521 |
CellStyle="{StaticResource GridViewAlign}" |
1522 |
DataMemberBinding="{Binding FROM_VENDOR}" |
1523 |
Header="File(in)" |
1524 |
HeaderTextAlignment="Center" |
1525 |
IsReadOnly="True" |
1526 |
IsVisible="{Binding IsDocumentHistory, Source={x:Static common:ViewerDataModel.Instance}, Mode=TwoWay}"> |
1527 |
<telerik:GridViewDataColumn.CellTemplate>
|
1528 |
<DataTemplate>
|
1529 |
<Image
|
1530 |
Height="22" |
1531 |
MouseLeftButtonDown="PdfLink_ButtonDown" |
1532 |
Source="/KCOM;component/Resources/Images/MenuImage_New/PDF.png" |
1533 |
Tag="{Binding FROM_VENDOR}" |
1534 |
Visibility="{Binding FROM_VENDOR, Converter={StaticResource PDFVisibleConverter}}" /> |
1535 |
</DataTemplate>
|
1536 |
</telerik:GridViewDataColumn.CellTemplate>
|
1537 |
</telerik:GridViewDataColumn>
|
1538 |
<telerik:GridViewDataColumn
|
1539 |
telerik:StyleManager.Theme="Office2013" |
1540 |
CellStyle="{StaticResource GridViewAlign}" |
1541 |
DataMemberBinding="{Binding TO_VENDOR}" |
1542 |
Header="File(out)" |
1543 |
HeaderTextAlignment="Center" |
1544 |
IsReadOnly="True" |
1545 |
IsVisible="{Binding IsDocumentHistory, Source={x:Static common:ViewerDataModel.Instance}, Mode=TwoWay}"> |
1546 |
<telerik:GridViewDataColumn.CellTemplate>
|
1547 |
<DataTemplate>
|
1548 |
<Image
|
1549 |
Height="22" |
1550 |
MouseLeftButtonDown="PdfLink_ButtonDown" |
1551 |
Source="/KCOM;component/Resources/Images/MenuImage_New/PDF.png" |
1552 |
Tag="{Binding TO_VENDOR}" |
1553 |
Visibility="{Binding TO_VENDOR, Converter={StaticResource PDFVisibleConverter}}" /> |
1554 |
</DataTemplate>
|
1555 |
</telerik:GridViewDataColumn.CellTemplate>
|
1556 |
</telerik:GridViewDataColumn>
|
1557 |
|
1558 |
|
1559 |
<!--<telerik:GridViewDataColumn Header="FROM_VENDOR" IsReadOnly="True" Width="Auto">
|
1560 |
<telerik:GridViewDataColumn.CellTemplate>
|
1561 |
<DataTemplate>
|
1562 |
<telerik:RadRibbonButton telerik:StyleManager.Theme="Office2016">
|
1563 |
<
|
1564 |
<TextBlock Text="{Binding FROM_VENDOR}" HorizontalAlignment="Center"/>
|
1565 |
</telerik:RadRibbonButton>
|
1566 |
</DataTemplate>
|
1567 |
</telerik:GridViewDataColumn.CellTemplate>
|
1568 |
</telerik:GridViewDataColumn>-->
|
1569 |
<!--<telerik:GridViewDataColumn Header="TO_VENDOR" IsReadOnly="True" Width="Auto">
|
1570 |
<telerik:GridViewDataColumn.CellTemplate>
|
1571 |
<DataTemplate>
|
1572 |
<TextBlock Text="{Binding TO_VENDOR}" HorizontalAlignment="Center"/>
|
1573 |
</DataTemplate>
|
1574 |
</telerik:GridViewDataColumn.CellTemplate>
|
1575 |
</telerik:GridViewDataColumn>-->
|
1576 |
<telerik:GridViewDataColumn
|
1577 |
Width="Auto" |
1578 |
CellStyle="{StaticResource GridViewAlign}" |
1579 |
Header="SYNC" |
1580 |
HeaderTextAlignment="Center" |
1581 |
IsReadOnly="True"> |
1582 |
<telerik:GridViewDataColumn.CellTemplate>
|
1583 |
<DataTemplate>
|
1584 |
<!--<Border Grid.Column="1" Background="#FF0054B9" CornerRadius="5" Margin="5" VerticalAlignment="Center" MinHeight="20"
|
1585 |
Visibility="{Binding IsSyncPossible, Converter={StaticResource BoolToVisibleConverter}}">
|
1586 |
<telerik:RadButton Content="OPEN" telerik:StyleManager.Theme="Office2016" Foreground="White"
|
1587 |
Background="Transparent" HorizontalAlignment="Stretch" Click="RadButton_Click" CommandParameter="{Binding}"/>
|
1588 |
</Border>-->
|
1589 |
<telerik:RadButton
|
1590 |
Margin="5" |
1591 |
Background="Transparent" |
1592 |
BorderThickness="0" |
1593 |
Click="btnSync_Click" |
1594 |
CommandParameter="{Binding}" |
1595 |
Visibility="{Binding IsSyncPossible, Converter={StaticResource BoolToVisibleConverter}}"> |
1596 |
<telerik:RadButton.Content>
|
1597 |
<Image
|
1598 |
Width="20" |
1599 |
Height="20" |
1600 |
Source="/KCOM;component/Resources/Images/MenuImage_new/file.png" |
1601 |
Stretch="Uniform" /> |
1602 |
</telerik:RadButton.Content>
|
1603 |
</telerik:RadButton>
|
1604 |
|
1605 |
<!--<TextBlock Text="{Binding IsSyncPossible}" HorizontalAlignment="Center"/>-->
|
1606 |
</DataTemplate>
|
1607 |
</telerik:GridViewDataColumn.CellTemplate>
|
1608 |
</telerik:GridViewDataColumn>
|
1609 |
<telerik:GridViewDataColumn
|
1610 |
telerik:StyleManager.Theme="Office2013" |
1611 |
CellStyle="{StaticResource GridViewAlign}" |
1612 |
DataMemberBinding="{Binding EnsembleLink}" |
1613 |
Header="Attachments" |
1614 |
HeaderTextAlignment="Center" |
1615 |
IsReadOnly="True" |
1616 |
IsVisible="{Binding IsDocumentHistory, Source={x:Static common:ViewerDataModel.Instance}, Mode=TwoWay}"> |
1617 |
<telerik:GridViewDataColumn.CellTemplate>
|
1618 |
<DataTemplate>
|
1619 |
<telerik:RadButton
|
1620 |
Margin="5" |
1621 |
Background="Transparent" |
1622 |
BorderThickness="0" |
1623 |
Click="EnsembleLink_Button_Click" |
1624 |
Content="Link" |
1625 |
Tag="{Binding EnsembleLink}" /> |
1626 |
</DataTemplate>
|
1627 |
</telerik:GridViewDataColumn.CellTemplate>
|
1628 |
</telerik:GridViewDataColumn>
|
1629 |
</telerik:RadGridView.Columns>
|
1630 |
</telerik:RadGridView>
|
1631 |
<telerik:RadBusyIndicator
|
1632 |
x:Name="gridViewHistory_Busy" |
1633 |
telerik:StyleManager.Theme="Office2016" |
1634 |
BusyContent="Sync Data Loading" |
1635 |
IsBusy="False" /> |
1636 |
</Grid>
|
1637 |
</telerik:RadPane>
|
1638 |
</telerik:RadPaneGroup>
|
1639 |
</telerik:RadSplitContainer>
|
1640 |
|
1641 |
|
1642 |
</telerik:RadDocking>
|
1643 |
</Grid>
|
1644 |
</UserControl>
|