프로젝트

일반

사용자정보

통계
| 브랜치(Branch): | 개정판:

markus / KCOM / Views / MainMenu.xaml @ 552af7c7

이력 | 보기 | 이력해설 | 다운로드 (115 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="1200"
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:NullToCollapsedConverter x:Key="NullToCollapsedConverter" />
62
        <converter:ConsolidationBackgroudConverter x:Key="ConsolidationBackgroudConverter" />
63
        <converter:StringToColorBrushConverter x:Key="StringToColorBrushConverter" />
64
        <converter:StringToColorConverter x:Key="StringToColorConverter" />
65
        <converter:AvoidStringConverter x:Key="AvoidStringConverter" />
66
        <converter:TeamConsolidateStringConverter x:Key="TeamConsoliStringConverter" />
67
        <converter:ConsolidationStringConverter x:Key="ConsoliStringConverter" />
68
        <converter:BoolToVisibleConverter x:Key="BoolToVisibleConverter" />
69
        <converter:PreviewerVisibleConverter x:Key="previewerVisibleConverter" />
70
        <ControlTemplate x:Key="RadSplitContainerControlTemplate" TargetType="{x:Type telerik:RadSplitContainer}">
71
            <Grid>
72
                <Border
73
                    x:Name="border"
74
                    Padding="{TemplateBinding Padding}"
75
                    Background="{TemplateBinding Background}"
76
                    BorderBrush="{TemplateBinding BorderBrush}"
77
                    BorderThickness="{TemplateBinding BorderThickness}">
78
                    <ItemsPresenter />
79
                </Border>
80
                <telerik:RadGridResizer
81
                    x:Name="DockResizer"
82
                    HorizontalAlignment="Left"
83
                    VerticalAlignment="Stretch"
84
                    Cursor="SizeWE"
85
                    Focusable="False"
86
                    Placement="Left"
87
                    ShowsPreview="True"
88
                    Visibility="Collapsed" />
89
                <VisualStateManager.VisualStateGroups>
90
                    <VisualStateGroup x:Name="ResizerStates">
91
                        <VisualState x:Name="ResizerLeft">
92
                            <Storyboard>
93
                                <ObjectAnimationUsingKeyFrames
94
                                    Storyboard.TargetName="DockResizer"
95
                                    Storyboard.TargetProperty="Visibility"
96
                                    Duration="0">
97
                                    <DiscreteObjectKeyFrame KeyTime="0">
98
                                        <DiscreteObjectKeyFrame.Value>
99
                                            <Visibility>Visible</Visibility>
100
                                        </DiscreteObjectKeyFrame.Value>
101
                                    </DiscreteObjectKeyFrame>
102
                                </ObjectAnimationUsingKeyFrames>
103
                                <DoubleAnimation
104
                                    BeginTime="0"
105
                                    Storyboard.TargetName="DockResizer"
106
                                    Storyboard.TargetProperty="MinWidth"
107
                                    From="4"
108
                                    To="4" />
109
                                <ObjectAnimationUsingKeyFrames
110
                                    Storyboard.TargetName="border"
111
                                    Storyboard.TargetProperty="Margin"
112
                                    Duration="0">
113
                                    <DiscreteObjectKeyFrame KeyTime="0">
114
                                        <DiscreteObjectKeyFrame.Value>
115
                                            <Thickness>4,0,0,0</Thickness>
116
                                        </DiscreteObjectKeyFrame.Value>
117
                                    </DiscreteObjectKeyFrame>
118
                                </ObjectAnimationUsingKeyFrames>
119
                            </Storyboard>
120
                        </VisualState>
121
                        <VisualState x:Name="ResizerTop">
122
                            <Storyboard>
123
                                <ObjectAnimationUsingKeyFrames
124
                                    Storyboard.TargetName="DockResizer"
125
                                    Storyboard.TargetProperty="Visibility"
126
                                    Duration="0">
127
                                    <DiscreteObjectKeyFrame KeyTime="0">
128
                                        <DiscreteObjectKeyFrame.Value>
129
                                            <Visibility>Visible</Visibility>
130
                                        </DiscreteObjectKeyFrame.Value>
131
                                    </DiscreteObjectKeyFrame>
132
                                </ObjectAnimationUsingKeyFrames>
133
                                <ObjectAnimationUsingKeyFrames
134
                                    Storyboard.TargetName="DockResizer"
135
                                    Storyboard.TargetProperty="VerticalAlignment"
136
                                    Duration="0">
137
                                    <DiscreteObjectKeyFrame KeyTime="0">
138
                                        <DiscreteObjectKeyFrame.Value>
139
                                            <VerticalAlignment>Top</VerticalAlignment>
140
                                        </DiscreteObjectKeyFrame.Value>
141
                                    </DiscreteObjectKeyFrame>
142
                                </ObjectAnimationUsingKeyFrames>
143
                                <ObjectAnimationUsingKeyFrames
144
                                    Storyboard.TargetName="DockResizer"
145
                                    Storyboard.TargetProperty="HorizontalAlignment"
146
                                    Duration="0">
147
                                    <DiscreteObjectKeyFrame KeyTime="0">
148
                                        <DiscreteObjectKeyFrame.Value>
149
                                            <HorizontalAlignment>Stretch</HorizontalAlignment>
150
                                        </DiscreteObjectKeyFrame.Value>
151
                                    </DiscreteObjectKeyFrame>
152
                                </ObjectAnimationUsingKeyFrames>
153
                                <ObjectAnimationUsingKeyFrames
154
                                    Storyboard.TargetName="DockResizer"
155
                                    Storyboard.TargetProperty="Placement"
156
                                    Duration="0">
157
                                    <DiscreteObjectKeyFrame KeyTime="0">
158
                                        <DiscreteObjectKeyFrame.Value>
159
                                            <Dock>Top</Dock>
160
                                        </DiscreteObjectKeyFrame.Value>
161
                                    </DiscreteObjectKeyFrame>
162
                                </ObjectAnimationUsingKeyFrames>
163
                                <DoubleAnimation
164
                                    BeginTime="0"
165
                                    Storyboard.TargetName="DockResizer"
166
                                    Storyboard.TargetProperty="MinHeight"
167
                                    From="4"
168
                                    To="4" />
169
                                <ObjectAnimationUsingKeyFrames
170
                                    Storyboard.TargetName="border"
171
                                    Storyboard.TargetProperty="Margin"
172
                                    Duration="0">
173
                                    <DiscreteObjectKeyFrame KeyTime="0">
174
                                        <DiscreteObjectKeyFrame.Value>
175
                                            <Thickness>0,4,0,0</Thickness>
176
                                        </DiscreteObjectKeyFrame.Value>
177
                                    </DiscreteObjectKeyFrame>
178
                                </ObjectAnimationUsingKeyFrames>
179
                            </Storyboard>
180
                        </VisualState>
181
                        <VisualState x:Name="ResizerRight">
182
                            <Storyboard>
183
                                <ObjectAnimationUsingKeyFrames
184
                                    Storyboard.TargetName="DockResizer"
185
                                    Storyboard.TargetProperty="Visibility"
186
                                    Duration="0">
187
                                    <DiscreteObjectKeyFrame KeyTime="0">
188
                                        <DiscreteObjectKeyFrame.Value>
189
                                            <Visibility>Visible</Visibility>
190
                                        </DiscreteObjectKeyFrame.Value>
191
                                    </DiscreteObjectKeyFrame>
192
                                </ObjectAnimationUsingKeyFrames>
193
                                <DoubleAnimation
194
                                    BeginTime="0"
195
                                    Storyboard.TargetName="DockResizer"
196
                                    Storyboard.TargetProperty="MinWidth"
197
                                    From="4"
198
                                    To="4" />
199
                                <ObjectAnimationUsingKeyFrames
200
                                    Storyboard.TargetName="border"
201
                                    Storyboard.TargetProperty="Margin"
202
                                    Duration="0">
203
                                    <DiscreteObjectKeyFrame KeyTime="0">
204
                                        <DiscreteObjectKeyFrame.Value>
205
                                            <Thickness>0,0,4,0</Thickness>
206
                                        </DiscreteObjectKeyFrame.Value>
207
                                    </DiscreteObjectKeyFrame>
208
                                </ObjectAnimationUsingKeyFrames>
209
                                <ObjectAnimationUsingKeyFrames
210
                                    Storyboard.TargetName="DockResizer"
211
                                    Storyboard.TargetProperty="HorizontalAlignment"
212
                                    Duration="0">
213
                                    <DiscreteObjectKeyFrame KeyTime="0">
214
                                        <DiscreteObjectKeyFrame.Value>
215
                                            <HorizontalAlignment>Right</HorizontalAlignment>
216
                                        </DiscreteObjectKeyFrame.Value>
217
                                    </DiscreteObjectKeyFrame>
218
                                </ObjectAnimationUsingKeyFrames>
219
                                <ObjectAnimationUsingKeyFrames
220
                                    Storyboard.TargetName="DockResizer"
221
                                    Storyboard.TargetProperty="Placement"
222
                                    Duration="0">
223
                                    <DiscreteObjectKeyFrame KeyTime="0">
224
                                        <DiscreteObjectKeyFrame.Value>
225
                                            <Dock>Right</Dock>
226
                                        </DiscreteObjectKeyFrame.Value>
227
                                    </DiscreteObjectKeyFrame>
228
                                </ObjectAnimationUsingKeyFrames>
229
                            </Storyboard>
230
                        </VisualState>
231
                        <VisualState x:Name="ResizerBottom">
232
                            <Storyboard>
233
                                <ObjectAnimationUsingKeyFrames
234
                                    Storyboard.TargetName="DockResizer"
235
                                    Storyboard.TargetProperty="Visibility"
236
                                    Duration="0">
237
                                    <DiscreteObjectKeyFrame KeyTime="0">
238
                                        <DiscreteObjectKeyFrame.Value>
239
                                            <Visibility>Visible</Visibility>
240
                                        </DiscreteObjectKeyFrame.Value>
241
                                    </DiscreteObjectKeyFrame>
242
                                </ObjectAnimationUsingKeyFrames>
243
                                <ObjectAnimationUsingKeyFrames
244
                                    Storyboard.TargetName="DockResizer"
245
                                    Storyboard.TargetProperty="VerticalAlignment"
246
                                    Duration="0">
247
                                    <DiscreteObjectKeyFrame KeyTime="0">
248
                                        <DiscreteObjectKeyFrame.Value>
249
                                            <VerticalAlignment>Bottom</VerticalAlignment>
250
                                        </DiscreteObjectKeyFrame.Value>
251
                                    </DiscreteObjectKeyFrame>
252
                                </ObjectAnimationUsingKeyFrames>
253
                                <ObjectAnimationUsingKeyFrames
254
                                    Storyboard.TargetName="DockResizer"
255
                                    Storyboard.TargetProperty="HorizontalAlignment"
256
                                    Duration="0">
257
                                    <DiscreteObjectKeyFrame KeyTime="0">
258
                                        <DiscreteObjectKeyFrame.Value>
259
                                            <HorizontalAlignment>Stretch</HorizontalAlignment>
260
                                        </DiscreteObjectKeyFrame.Value>
261
                                    </DiscreteObjectKeyFrame>
262
                                </ObjectAnimationUsingKeyFrames>
263
                                <ObjectAnimationUsingKeyFrames
264
                                    Storyboard.TargetName="DockResizer"
265
                                    Storyboard.TargetProperty="Placement"
266
                                    Duration="0">
267
                                    <DiscreteObjectKeyFrame KeyTime="0">
268
                                        <DiscreteObjectKeyFrame.Value>
269
                                            <Dock>Bottom</Dock>
270
                                        </DiscreteObjectKeyFrame.Value>
271
                                    </DiscreteObjectKeyFrame>
272
                                </ObjectAnimationUsingKeyFrames>
273
                                <DoubleAnimation
274
                                    BeginTime="0"
275
                                    Storyboard.TargetName="DockResizer"
276
                                    Storyboard.TargetProperty="MinHeight"
277
                                    From="4"
278
                                    To="4" />
279
                                <ObjectAnimationUsingKeyFrames
280
                                    Storyboard.TargetName="border"
281
                                    Storyboard.TargetProperty="Margin"
282
                                    Duration="0">
283
                                    <DiscreteObjectKeyFrame KeyTime="0">
284
                                        <DiscreteObjectKeyFrame.Value>
285
                                            <Thickness>0,0,0,4</Thickness>
286
                                        </DiscreteObjectKeyFrame.Value>
287
                                    </DiscreteObjectKeyFrame>
288
                                </ObjectAnimationUsingKeyFrames>
289
                            </Storyboard>
290
                        </VisualState>
291
                        <VisualState x:Name="HideResizer" />
292
                    </VisualStateGroup>
293
                </VisualStateManager.VisualStateGroups>
294
            </Grid>
295
        </ControlTemplate>
296
        <!--  App.xaml에 선언됨  -->
297
        <!--<Style BasedOn="{StaticResource PaneHeaderStyle}" TargetType="telerik:PaneHeader">-->
298
        <!--<Style TargetType="telerik:PaneHeader">
299
            <Setter Property="HorizontalContentAlignment" Value="Stretch" />
300
            <Setter Property="HorizontalAlignment" Value="Stretch" />
301
        </Style>-->
302
    </UserControl.Resources>
303
    <Grid Background="{DynamicResource KCOMColor_MainBrush}">
304
        <!--<Grid.ColumnDefinitions>
305
            <ColumnDefinition Width="Auto"/>
306
            <ColumnDefinition Width="*"/>
307
        </Grid.ColumnDefinitions>-->
308
        <!--<Border Background="#fff5f5f5" BorderBrush="#d5d5d5" BorderThickness="0">
309
        -->
310
        <!--<controls:PageNavigator x:Name="pageNavigator" Grid.Row="1" Width="200"/>-->
311
        <!--
312
            <telerik:RadLayoutControl SelectedItem="{x:Null}" VirtualizingStackPanel.VirtualizationMode="Recycling" ScrollViewer.VerticalScrollBarVisibility="Hi">
313
                <telerik:LayoutControlTabGroup Template="{DynamicResource TabControlTemplate}" telerik:StyleManager.Theme="Office2016">
314
                    <telerik:LayoutControlTabGroupItem Header="Thumbnail">
315
                        <telerik:LayoutControlGroup BorderBrush="Transparent" Padding="5" Margin="0,-3">
316
                            <controls:PageNavigator x:Name="pageNavigator" Grid.Row="1" Width="300"/>
317
                        </telerik:LayoutControlGroup>
318
                    </telerik:LayoutControlTabGroupItem>
319
                    <telerik:LayoutControlTabGroupItem Header="Bookmark">
320
                        <telerik:LayoutControlGroup BorderBrush="Transparent">
321
                            <Border Background="Blue"/>
322
                        </telerik:LayoutControlGroup>
323
                    </telerik:LayoutControlTabGroupItem>
324
                </telerik:LayoutControlTabGroup>
325
            </telerik:RadLayoutControl>
326
        </Border>-->
327
        <!--<Grid.ColumnDefinitions>
328
            <ColumnDefinition Width="Auto"/>
329
            <ColumnDefinition Width="*"/>
330
            <ColumnDefinition Width="Auto"/>
331
        </Grid.ColumnDefinitions>-->
332
        <!--<Border Background="{DynamicResource Office2016Color_PrimaryBrush}">
333
            <Border Background="White" Margin="50"/>
334
        </Border>-->
335
        <telerik:RadDocking
336
            Grid.Column="1"
337
            Padding="0"
338
            Background="{DynamicResource KCOMColor_MainBrush}"
339
            BorderThickness="0">
340
            <telerik:RadDocking.DocumentHost>
341
                <telerik:RadSplitContainer
342
                    x:Name="splitContainerMain"
343
                    Margin="0,-1,0,0"
344
                    Background="Transparent"
345
                    Template="{DynamicResource RadSplitContainerControlTemplate}">
346
                    <telerik:RadPaneGroup Style="{DynamicResource Style_RadPanelGroup}">
347
                        <telerik:RadDocumentPane
348
                            x:Name="MainDocumentPanel"
349
                            Title="Document 1"
350
                            Margin="0,-20,0,0"
351
                            CanFloat="False"
352
                            CanUserClose="False"
353
                            Header="VP-320A-728063"
354
                            PaneHeaderVisibility="Collapsed">
355
                            <telerik:RadDocumentPane.HeaderTemplate>
356
                                <DataTemplate>
357
                                    <Border Margin="0,0,0,0" />
358
                                </DataTemplate>
359
                            </telerik:RadDocumentPane.HeaderTemplate>
360
                            <!--<Grid Background="{DynamicResource KCOMColor_AlternativeBrush}">-->
361
                            <Grid Background="{DynamicResource KCOMColor_DocumnetBackgroundBrush}">
362
                                <Rectangle
363
                                    Name="rect"
364
                                    Width="100"
365
                                    Height="100"
366
                                    Margin="50,50,0,0"
367
                                    Fill="LightBlue" />
368
                                <Popup
369
                                    Name="floatingTip"
370
                                    AllowsTransparency="True"
371
                                    Placement="Relative"
372
                                    PlacementTarget="{Binding ElementName=rect}">
373
                                    <TextBlock
374
                                        x:Name="txtBatch"
375
                                        FontSize="20"
376
                                        Foreground="Red"
377
                                        Text="Mark Control을 그립니다." />
378
                                </Popup>
379
                                <ZoomAndPan:ZoomAndPanControl
380
                                    x:Name="zoomAndPanControl"
381
                                    Background="LightGray"
382
                                    ConstrainedContentViewportHeight="{Binding ContentViewportHeight, Mode=TwoWay, Source={x:Static common:ViewerDataModel.Instance}}"
383
                                    ConstrainedContentViewportWidth="{Binding ContentViewportWidth, Mode=TwoWay, Source={x:Static common:ViewerDataModel.Instance}}"
384
                                    ContentOffsetX="{Binding ContentOffsetX, Mode=TwoWay, Source={x:Static common:ViewerDataModel.Instance}}"
385
                                    ContentOffsetY="{Binding ContentOffsetY, Mode=TwoWay, Source={x:Static common:ViewerDataModel.Instance}}"
386
                                    ContentScale="{Binding ContentScale, Mode=TwoWay, Source={x:Static common:ViewerDataModel.Instance}}"
387
                                    MouseDoubleClick="zoomAndPanControl_MouseDoubleClick"
388
                                    MouseDown="zoomAndPanControl_MouseDown"
389
                                    MouseLeave="zoomAndPanControl_MouseLeave"
390
                                    MouseMove="zoomAndPanControl_MouseMove"
391
                                    MouseUp="zoomAndPanControl_MouseUp"
392
                                    MouseWheel="zoomAndPanControl_MouseWheel"
393
                                    ScaleChanged="ZoomAndPanControl_ScaleChanged">
394
                                    <Canvas
395
                                        x:Name="zoomAndPanCanvas"
396
                                        Background="White"
397
                                        Opacity="1">
398

    
399
                                        <Canvas
400
                                            x:Name="drawingRotateCanvas"
401
                                            Panel.ZIndex="1"
402
                                            Background="{Binding BackgroundImage, Mode=OneWay, Source={x:Static common:ViewerDataModel.Instance}}">
403
                                            <Canvas.RenderTransform>
404
                                                <TransformGroup>
405
                                                    <RotateTransform x:Name="rotate" Angle="0" />
406
                                                    <TranslateTransform x:Name="translate" X="0" Y="0" />
407
                                                </TransformGroup>
408
                                            </Canvas.RenderTransform>
409

    
410
                                            <ItemsControl Panel.ZIndex="1" ItemsSource="{Binding MarkupControls, Source={x:Static common:ViewerDataModel.Instance}}">
411
                                                <ItemsControl.ItemsPanel>
412
                                                    <ItemsPanelTemplate>
413
                                                        <Canvas />
414
                                                    </ItemsPanelTemplate>
415
                                                </ItemsControl.ItemsPanel>
416
                                            </ItemsControl>
417
                                            <ItemsControl Panel.ZIndex="30" ItemsSource="{Binding MarkupControls_USER, Source={x:Static common:ViewerDataModel.Instance}}">
418
                                                <ItemsControl.ItemsPanel>
419
                                                    <ItemsPanelTemplate>
420
                                                        <Canvas />
421
                                                    </ItemsPanelTemplate>
422
                                                </ItemsControl.ItemsPanel>
423
                                            </ItemsControl>
424
                                            <InkPresenter
425
                                                x:Name="inkBoard"
426
                                                HorizontalAlignment="Stretch"
427
                                                VerticalAlignment="Stretch"
428
                                                Panel.ZIndex="1" />
429
                                            <InkCanvas
430
                                                x:Name="inkDrawingCanvas"
431
                                                Width="1"
432
                                                Height="1"
433
                                                Panel.ZIndex="1"
434
                                                Background="Transparent"
435
                                                IsEnabled="False"
436
                                                Strokes="{Binding MarkupPens, Source={x:Static common:ViewerDataModel.Instance}}">
437
                                                <!--<Rectangle Height="41" HorizontalAlignment="Left"  Name="rectangle1" Stroke="Black" VerticalAlignment="Top" Width="69" Fill="#FFDB1111" />-->
438
                                                <!--<Ellipse Height="41" HorizontalAlignment="Left"  Name="rectangle1" Stroke="Black" VerticalAlignment="Top" Width="69" Fill="#FFDB1111" />-->
439

    
440
                                                <!--<MarkupToPDF:RectangleControl Height="200" HorizontalAlignment="Center" Name="rectangle2" StrokeColor="Black" VerticalAlignment="Top" Width="00" FillColor="Red"/>-->
441
                                            </InkCanvas>
442
                                            <!--  강인구 추가  -->
443
                                            <!--<controls:ScaleDecodeImage Panel.ZIndex="0" x:Name="mainPanel"
444
                                                   Source="{Binding ImageViewPath,Mode=TwoWay, Source={x:Static common:ViewerDataModel.Instance}}"
445
                                                    Width="{Binding ImageViewWidth,Mode=TwoWay, Source={x:Static common:ViewerDataModel.Instance}}"
446
                                                        Height="{Binding ImageViewHeight,Mode=TwoWay, Source={x:Static common:ViewerDataModel.Instance}}">
447
                                                </controls:ScaleDecodeImage>-->
448
                                            <Image
449
                                                x:Name="mainPanel"
450
                                                Width="{Binding ImageViewWidth, Mode=TwoWay, Source={x:Static common:ViewerDataModel.Instance}}"
451
                                                Height="{Binding ImageViewHeight, Mode=TwoWay, Source={x:Static common:ViewerDataModel.Instance}}"
452
                                                Panel.ZIndex="0"
453
                                                RenderOptions.BitmapScalingMode="HighQuality"
454
                                                RenderOptions.ClearTypeHint="Enabled"
455
                                                RenderOptions.EdgeMode="Unspecified"
456
                                                Source="{Binding ImageViewPath, Mode=OneWay, Source={x:Static common:ViewerDataModel.Instance}}" />
457
                                            <Canvas
458
                                                x:Name="SelectLayer"
459
                                                HorizontalAlignment="Stretch"
460
                                                VerticalAlignment="Stretch"
461
                                                Panel.ZIndex="32766" />
462
                                            <Border
463
                                                x:Name="dragSelectionBorder"
464
                                                Panel.ZIndex="1"
465
                                                Background="LightBlue"
466
                                                BorderBrush="Blue"
467
                                                BorderThickness="1"
468
                                                CornerRadius="1"
469
                                                Opacity="0.5"
470
                                                Visibility="Collapsed" />
471
                                            <Border
472
                                                x:Name="dragCaptureBorder"
473
                                                Panel.ZIndex="1"
474
                                                Background="Blue"
475
                                                BorderBrush="Blue"
476
                                                BorderThickness="1"
477
                                                CornerRadius="1"
478
                                                Opacity="0.5"
479
                                                Visibility="Collapsed" />
480

    
481
                                            <Border
482
                                                x:Name="dragZoomBorder"
483
                                                Panel.ZIndex="1"
484
                                                Background="Transparent"
485
                                                BorderThickness="3"
486
                                                CornerRadius="1"
487
                                                Opacity="1"
488
                                                Visibility="Collapsed">
489
                                                <Border.BorderBrush>
490
                                                    <VisualBrush>
491
                                                        <VisualBrush.Visual>
492
                                                            <Rectangle
493
                                                                Width="{Binding RelativeSource={RelativeSource AncestorType={x:Type Border}}, Path=ActualWidth}"
494
                                                                Height="{Binding RelativeSource={RelativeSource AncestorType={x:Type Border}}, Path=ActualHeight}"
495
                                                                Stroke="Gray"
496
                                                                StrokeDashArray="4 2"
497
                                                                StrokeThickness="1" />
498
                                                        </VisualBrush.Visual>
499
                                                    </VisualBrush>
500
                                                </Border.BorderBrush>
501
                                            </Border>
502
                                            <!--<Border x:Name="dragZoomBorder"
503
                                                    BorderBrush="Black"
504
                                                    BorderThickness="1"
505

506
                                                    Background="Transparent"
507
                                                    CornerRadius="1"
508
                                                    Panel.ZIndex="1"
509
                                                    Opacity="0.5"/>-->
510
                                            <Canvas
511
                                                x:Name="SearchFocusBorder"
512
                                                Panel.ZIndex="99999"
513
                                                Background="#50FF5D00"
514
                                                IsHitTestVisible="False"
515
                                                Visibility="Collapsed">
516
                                                <Border
517
                                                    Width="{Binding Width, RelativeSource={RelativeSource FindAncestor, AncestorType={x:Type Canvas}}}"
518
                                                    Height="{Binding Height, RelativeSource={RelativeSource FindAncestor, AncestorType={x:Type Canvas}}}"
519
                                                    Panel.ZIndex="99999"
520
                                                    Background="#50FF5D00"
521
                                                    BorderThickness="1"
522
                                                    CornerRadius="1"
523
                                                    IsHitTestVisible="False"
524
                                                    Visibility="Collapsed" />
525
                                            </Canvas>
526
                                            <!--<Border Background="Red" Panel.ZIndex="1" Opacity="0.5" Visibility="Visible" Width="100" Height="100" />-->
527
                                        </Canvas>
528

    
529
                                        <!--<Border Background="Red" Panel.ZIndex="1" Opacity="0.5" Visibility="Visible" Width="1000" Height="1000" IsHitTestVisible="False"/>-->
530

    
531
                                        <!--<Leadtools_Windows_Controls:RasterImageViewer x:Name="_imageViewer" Grid.Row="1" BorderThickness="0"/>-->
532
                                    </Canvas>
533
                                </ZoomAndPan:ZoomAndPanControl>
534
                                <telerik:RadBusyIndicator
535
                                    x:Name="busyIndicator"
536
                                    BusyContent="Saving..."
537
                                    IsBusy="False"
538
                                    Visibility="{Binding IsBusy, Converter={StaticResource BoolToVisibleConverter}, RelativeSource={RelativeSource Self}}" />
539
                                <!--  캡쳐 화면을 위한 보더  -->
540
                                <Border
541
                                    Background="LightGray"
542
                                    IsHitTestVisible="False"
543
                                    Opacity="{Binding Capture_Opacity, Source={x:Static common:ViewerDataModel.Instance}}">
544
                                    <TextBlock
545
                                        HorizontalAlignment="Right"
546
                                        FontSize="30"
547
                                        Foreground="Red"
548
                                        Text="캡쳐 진행 화면" />
549
                                </Border>
550
                                <Angle:AngleControl
551
                                    x:Name="MainAngle"
552
                                    Grid.Column="1"
553
                                    Grid.ColumnSpan="2"
554
                                    Margin="10"
555
                                    HorizontalAlignment="Right"
556
                                    VerticalAlignment="Top"
557
                                    AngleValue="{Binding MarkupAngle, Mode=TwoWay, StringFormat=\{0:F0\}°, Source={x:Static common:ViewerDataModel.Instance}}"
558
                                    IsHitTestVisible="False"
559
                                    Visibility="{Binding MarkupAngleVisibility, Mode=TwoWay, Source={x:Static common:ViewerDataModel.Instance}}" />
560
                            </Grid>
561
                        </telerik:RadDocumentPane>
562
                    </telerik:RadPaneGroup>
563
                    <telerik:RadPaneGroup Style="{DynamicResource Style_RadPanelGroup}">
564
                        <telerik:RadPane
565
                            x:Name="testPanel2"
566
                            Title="Document 1"
567
                            Margin="0,-20,0,0"
568
                            CanFloat="False"
569
                            CanUserClose="False"
570
                            IsHidden="True"
571
                            PaneHeaderVisibility="Collapsed">
572
                            <Grid Background="{DynamicResource KCOMColor_DocumnetBackgroundBrush}">
573
                                <ZoomAndPan:ZoomAndPanControl
574
                                    x:Name="zoomAndPanControl2"
575
                                    AllowDrop="True"
576
                                    Background="LightGray"
577
                                    ConstrainedContentViewportHeight="{Binding ContentViewportHeight, Mode=TwoWay, Source={x:Static common:ViewerDataModel.Instance}}"
578
                                    ConstrainedContentViewportWidth="{Binding ContentViewportWidth, Mode=TwoWay, Source={x:Static common:ViewerDataModel.Instance}}"
579
                                    ContentOffsetX="{Binding Sync_ContentOffsetX, Mode=TwoWay, Source={x:Static common:ViewerDataModel.Instance}}"
580
                                    ContentOffsetY="{Binding Sync_ContentOffsetY, Mode=TwoWay, Source={x:Static common:ViewerDataModel.Instance}}"
581
                                    ContentScale="{Binding Sync_ContentScale, Mode=TwoWay, Source={x:Static common:ViewerDataModel.Instance}}"
582
                                    MouseDown="zoomAndPanControl2_MouseDown"
583
                                    MouseLeave="zoomAndPanControl_MouseLeave"
584
                                    MouseMove="zoomAndPanControl2_MouseMove"
585
                                    MouseUp="zoomAndPanControl2_MouseUp"
586
                                    MouseWheel="zoomAndPanControl2_MouseWheel">
587
                                    <Canvas
588
                                        x:Name="zoomAndPanCanvas2"
589
                                        Background="Transparent"
590
                                        Opacity="1">
591
                                        <Canvas
592
                                            x:Name="drawingRotateCanvas2"
593
                                            Panel.ZIndex="1"
594
                                            Background="{Binding BackgroundImage, Mode=OneWay, Source={x:Static common:ViewerDataModel.Instance}}">
595
                                            <Canvas.RenderTransform>
596
                                                <TransformGroup>
597
                                                    <RotateTransform x:Name="rotate2" Angle="0" />
598
                                                    <TranslateTransform x:Name="translate2" X="0" Y="0" />
599
                                                </TransformGroup>
600
                                            </Canvas.RenderTransform>
601
                                            <ItemsControl
602
                                                x:Name="itemsControl"
603
                                                Panel.ZIndex="1"
604
                                                ItemsSource="{Binding MarkupControls_Sync, Source={x:Static common:ViewerDataModel.Instance}}">
605
                                                <ItemsControl.ItemsPanel>
606
                                                    <ItemsPanelTemplate>
607
                                                        <Canvas />
608
                                                    </ItemsPanelTemplate>
609
                                                </ItemsControl.ItemsPanel>
610
                                            </ItemsControl>
611
                                            <Image
612
                                                x:Name="ComparePanel"
613
                                                Width="{Binding ImageViewWidth_C, Source={x:Static common:ViewerDataModel.Instance}}"
614
                                                Height="{Binding ImageViewHeight_C, Source={x:Static common:ViewerDataModel.Instance}}"
615
                                                Source="{Binding ImageViewPath_C, Source={x:Static common:ViewerDataModel.Instance}}" />
616
                                            <Canvas
617
                                                x:Name="canvas_compareBorder"
618
                                                Width="{Binding ActualWidth, ElementName=zoomAndPanCanvas2}"
619
                                                Height="{Binding ActualHeight, ElementName=zoomAndPanCanvas2}"
620
                                                Panel.ZIndex="1"
621
                                                IsHitTestVisible="False">
622
                                                <!--  RenderTransform="{Binding RenderTransform, ElementName=zoomAndPanControl2}"  -->
623
                                                <Canvas.RenderTransform>
624
                                                    <TransformGroup>
625
                                                        <RotateTransform x:Name="rotate2CompareBorder" Angle="0" />
626
                                                        <TranslateTransform x:Name="translate2CompareBorder" X="0" Y="0" />
627
                                                    </TransformGroup>
628
                                                </Canvas.RenderTransform>
629
                                                <!--<Canvas.RenderTransform>
630
                                                    <RotateTransform Angle="{Binding RenderTransform, ElementName=zoomAndPanControl2}"/>
631
                                                </Canvas.RenderTransform>-->
632
                                            </Canvas>
633
                                            <!--  강인구 추가  -->
634
                                        </Canvas>
635
                                    </Canvas>
636
                                </ZoomAndPan:ZoomAndPanControl>
637
                                <Grid
638
                                    Background="#FF353535"
639
                                    IsHitTestVisible="False"
640
                                    Opacity="0.1" />
641

    
642
                                <!--<Viewbox VerticalAlignment="Stretch" HorizontalAlignment="Stretch" StretchDirection="DownOnly" Stretch="Uniform" IsHitTestVisible="False">
643
                                    <TextBlock Text="Previous Document" HorizontalAlignment="Center" VerticalAlignment="Center" RenderTransformOrigin="0.5, 0.5" FontSize="50"
644
                                           Foreground="White" Opacity="0.5" FontWeight="Bold">
645
                                        <TextBlock.RenderTransform>
646
                                            <RotateTransform Angle="-25"/>
647
                                        </TextBlock.RenderTransform>
648
                                    </TextBlock>
649
                                </Viewbox>-->
650

    
651
                                <!--<telerik:RadExpander Header="OPEN" Background="Transparent" telerik:StyleManager.Theme="Office2016"
652
                                                     ExpandDirection="Right" VerticalAlignment="Top" HorizontalAlignment="Left">-->
653
                                <Grid Height="Auto" VerticalAlignment="Top">
654
                                    <Grid.RowDefinitions>
655
                                        <RowDefinition />
656
                                        <RowDefinition />
657
                                    </Grid.RowDefinitions>
658
                                    <!--<Border Background="#3b3838" VerticalAlignment="Stretch" HorizontalAlignment="Stretch" Opacity="0.5" Grid.RowSpan="2"/>-->
659
                                    <Border
660
                                        Grid.RowSpan="2"
661
                                        HorizontalAlignment="Stretch"
662
                                        VerticalAlignment="Stretch"
663
                                        Background="Black"
664
                                        BorderThickness="0"
665
                                        Opacity="0.5" />
666
                                    <StackPanel HorizontalAlignment="Left" Orientation="Horizontal">
667
                                        <!--<TextBlock Text="ReadOnly Mode" Foreground="#FFFF9A25" VerticalAlignment="Center" Margin="10"/>-->
668
                                        <TextBlock
669
                                            x:Name="tlSyncRev"
670
                                            Margin="10"
671
                                            VerticalAlignment="Center"
672
                                            Foreground="#FFFF9A25"
673
                                            Text="Rev.A" />
674
                                        <TextBlock
675
                                            x:Name="tlSyncPageNum"
676
                                            VerticalAlignment="Center"
677
                                            Foreground="White"
678
                                            Text="Current Page : 1" />
679
                                    </StackPanel>
680
                                    <StackPanel HorizontalAlignment="Right" Orientation="Horizontal">
681
                                        <!--<telerik:RadToggleButton x:Name="CompareMode" IsChecked="False" Content="Compare"  Margin="5" Checked="SyncCompare_Click" Unchecked="SyncCompare_Click" BorderThickness="0" telerik:StyleManager.Theme="Office2013"
682
                                                                       Style="{DynamicResource RadToggleSwtichButtonStyle}" Width="Auto" Padding="10,0"/>-->
683
                                        <!--<telerik:RadRibbonToggleButton x:Name="UserList" Content="User List" Foreground="white"  Margin="5" Click="SyncUserListExpender_Click" BorderThickness="0" telerik:StyleManager.Theme="Office2013" VerticalAlignment="Center"/>-->
684

    
685
                                        <toggle:HorizontalToggleSwitch
686
                                            x:Name="Sync"
687
                                            Width="75"
688
                                            Margin="5"
689
                                            telerik:StyleManager.Theme="Office2013"
690
                                            BorderBrush="Transparent"
691
                                            BorderThickness="0"
692
                                            Checked="Sync_Click"
693
                                            CheckedContent="Sync"
694
                                            FontSize="10"
695
                                            FontWeight="Normal"
696
                                            IsChecked="False"
697
                                            Opacity="0.6"
698
                                            ThumbSize="25"
699
                                            Unchecked="Sync_Click"
700
                                            UncheckedContent="Sync" />
701

    
702
                                        <toggle:HorizontalToggleSwitch
703
                                            x:Name="UserList"
704
                                            Width="75"
705
                                            Margin="5"
706
                                            telerik:StyleManager.Theme="Office2013"
707
                                            BorderBrush="Transparent"
708
                                            BorderThickness="0"
709
                                            Checked="SyncUserListExpender_Click"
710
                                            CheckedContent="User List"
711
                                            FontSize="10"
712
                                            FontWeight="Normal"
713
                                            IsChecked="False"
714
                                            Opacity="0.6"
715
                                            ThumbSize="25"
716
                                            Unchecked="SyncUserListExpender_Click"
717
                                            UncheckedContent="User List" />
718

    
719
                                        <toggle:HorizontalToggleSwitch
720
                                            x:Name="CompareMode"
721
                                            Width="90"
722
                                            Margin="5"
723
                                            telerik:StyleManager.Theme="Office2013"
724
                                            BorderBrush="Transparent"
725
                                            BorderThickness="0"
726
                                            Checked="SyncCompare_Click"
727
                                            CheckedContent="Compare On"
728
                                            FontSize="10"
729
                                            FontWeight="Normal"
730
                                            IsChecked="False"
731
                                            Opacity="0.6"
732
                                            ThumbSize="25"
733
                                            Unchecked="SyncCompare_Click"
734
                                            UncheckedContent="Compare Off" />
735

    
736
                                        <toggle:HorizontalToggleSwitch
737
                                            x:Name="MarkupMode"
738
                                            Width="75"
739
                                            Margin="5"
740
                                            telerik:StyleManager.Theme="Office2013"
741
                                            BorderBrush="Transparent"
742
                                            BorderThickness="0"
743
                                            Checked="SyncChange_Click"
744
                                            CheckedContent="Pdf"
745
                                            FontSize="10"
746
                                            FontWeight="Normal"
747
                                            IsChecked="False"
748
                                            Opacity="0.6"
749
                                            ThumbSize="25"
750
                                            Unchecked="SyncChange_Click"
751
                                            UncheckedContent="Markup"
752
                                            Visibility="Collapsed" />
753

    
754
                                        <toggle:HorizontalToggleSwitch
755
                                            x:Name="BalanceMode"
756
                                            Width="90"
757
                                            Margin="5"
758
                                            telerik:StyleManager.Theme="Office2013"
759
                                            BorderBrush="Transparent"
760
                                            BorderThickness="0"
761
                                            Checked="SyncPageBalance_Click"
762
                                            CheckedContent="Balance On"
763
                                            FontSize="10"
764
                                            FontWeight="Normal"
765
                                            IsChecked="False"
766
                                            Opacity="0.6"
767
                                            ThumbSize="25"
768
                                            Unchecked="SyncPageBalance_Click"
769
                                            UncheckedContent="Balance Off"
770
                                            Visibility="Collapsed" />
771
                                        <toggle:HorizontalToggleSwitch
772
                                            x:Name="OriginalSizeMode"
773
                                            Width="90"
774
                                            Margin="5"
775
                                            telerik:StyleManager.Theme="Office2013"
776
                                            BorderBrush="Transparent"
777
                                            BorderThickness="0"
778
                                            Checked="OriginalSizeMode_Click"
779
                                            CheckedContent="Original Size"
780
                                            FontSize="10"
781
                                            FontWeight="Normal"
782
                                            IsChecked="False"
783
                                            Opacity="0.6"
784
                                            ThumbSize="25"
785
                                            Unchecked="OriginalSizeMode_Click"
786
                                            UncheckedContent="Uniform Size" />
787

    
788
                                        <!--<telerik:RadRibbonToggleButton x:Name="MArkupMode" Content="Markup Mode" Foreground="White"  Margin="5"  Click="SyncChange_Click" BorderThickness="0" telerik:StyleManager.Theme="Office2013"/>-->
789
                                        <!--<telerik:RadRibbonToggleButton x:Name="BalanceMode" Content="Balance Mode" Foreground="White"  Margin="5" Click="SyncPageBalance_Click" BorderThickness="0" telerik:StyleManager.Theme="Office2013"/>-->
790
                                        <telerik:RadPathButton
791
                                            Width="20"
792
                                            Height="10"
793
                                            Margin="5"
794
                                            VerticalAlignment="Center"
795
                                            telerik:StyleManager.Theme="Office2013"
796
                                            Click="SyncPageChange_Click"
797
                                            PathGeometry="{telerik:RadGlyph Glyph={StaticResource GlyphArrowChevronUp}}"
798
                                            Style="{StaticResource IconPathButton}"
799
                                            Tag="-1">
800
                                            <!--<Image Height="20"
801
                                                               Source="/KCOM;component/Resources/Images/MenuImage_New/up-arrow.png"
802
                                                               Stretch="Uniform" />-->
803
                                        </telerik:RadPathButton>
804
                                        <telerik:RadPathButton
805
                                            Width="20"
806
                                            Height="10"
807
                                            Margin="5"
808
                                            VerticalAlignment="Center"
809
                                            telerik:StyleManager.Theme="Office2013"
810
                                            Click="SyncPageChange_Click"
811
                                            PathGeometry="{telerik:RadGlyph Glyph={StaticResource GlyphArrowChevronDown}}"
812
                                            Style="{StaticResource IconPathButton}"
813
                                            Tag="1">
814
                                            <!--<Image Height="20"
815
                                                               Source="/KCOM;component/Resources/Images/MenuImage_New/up-arrow.png" RenderTransformOrigin="0.5 0.5"
816
                                                               Stretch="Uniform">
817
                                                <Image.RenderTransform>
818
                                                    <RotateTransform Angle="180"/>
819
                                                </Image.RenderTransform>
820
                                            </Image>-->
821
                                        </telerik:RadPathButton>
822
                                        <telerik:RadPathButton
823
                                            Width="20"
824
                                            Height="10"
825
                                            Margin="5"
826
                                            VerticalAlignment="Center"
827
                                            telerik:StyleManager.Theme="Office2013"
828
                                            Click="SyncRotation_Click"
829
                                            PathGeometry="{telerik:RadGlyph Glyph={StaticResource GlyphReloadSmall}}"
830
                                            Style="{StaticResource IconPathButton}"
831
                                            Tag="1" />
832
                                        <telerik:RadPathButton
833
                                            Width="20"
834
                                            Height="10"
835
                                            Margin="5"
836
                                            VerticalAlignment="Center"
837
                                            telerik:StyleManager.Theme="Office2013"
838
                                            Click="SyncRotation_Click"
839
                                            PathGeometry="{telerik:RadGlyph Glyph={StaticResource GlyphResetSmall}}"
840
                                            Style="{StaticResource IconPathButton}"
841
                                            Tag="-1" />
842
                                        <telerik:RadPathButton
843
                                            Width="20"
844
                                            Height="10"
845
                                            Margin="5"
846
                                            VerticalAlignment="Center"
847
                                            telerik:StyleManager.Theme="Office2013"
848
                                            Click="SyncExit_Click"
849
                                            PathGeometry="{telerik:RadGlyph Glyph={StaticResource GlyphClose}}"
850
                                            Style="{StaticResource IconPathButton}">
851
                                            <!--<Image Height="20"
852
                                                               Source="/KCOM;component/Resources/Images/MenuImage_New/cancel.png"
853
                                                               Stretch="Uniform" />-->
854
                                        </telerik:RadPathButton>
855
                                    </StackPanel>
856
                                    <telerik:RadGridView
857
                                        x:Name="gridViewRevMarkup"
858
                                        Grid.Row="1"
859
                                        HorizontalContentAlignment="Center"
860
                                        telerik:StyleManager.Theme="Office2013"
861
                                        AutoExpandGroups="False"
862
                                        AutoGenerateColumns="False"
863
                                        BorderThickness="0"
864
                                        CanUserDeleteRows="True"
865
                                        CanUserFreezeColumns="False"
866
                                        CanUserInsertRows="False"
867
                                        GridLinesVisibility="None"
868
                                        IsFilteringAllowed="False"
869
                                        RowIndicatorVisibility="Collapsed"
870
                                        SelectionChanged="gridViewRevMarkup_SelectionChanged"
871
                                        SelectionMode="Multiple"
872
                                        ShowGroupFooters="False"
873
                                        ShowGroupPanel="False"
874
                                        Visibility="Collapsed">
875
                                        <telerik:RadGridView.HeaderRowStyle>
876
                                            <Style TargetType="telerik:GridViewHeaderRow">
877
                                                <Setter Property="BorderThickness" Value="0" />
878
                                                <Setter Property="Background" Value="Red" />
879
                                                <Setter Property="Foreground" Value="White" />
880
                                                <Setter Property="HorizontalContentAlignment" Value="Center" />
881
                                                <Setter Property="FontWeight" Value="Black" />
882
                                                <Setter Property="telerik:StyleManager.Theme" Value="Office2013" />
883
                                            </Style>
884
                                        </telerik:RadGridView.HeaderRowStyle>
885
                                        <telerik:RadGridView.RowStyle>
886
                                            <Style TargetType="telerik:GridViewRow">
887
                                                <Setter Property="HorizontalContentAlignment" Value="Center" />
888
                                                <Setter Property="Background" Value="{Binding Path=Consolidate, Converter={StaticResource ConsolidationBackgroudConverter}}" />
889
                                                <Setter Property="Foreground" Value="White" />
890
                                            </Style>
891
                                        </telerik:RadGridView.RowStyle>
892
                                        <telerik:RadGridView.Columns>
893
                                            <telerik:GridViewSelectColumn Width="Auto" HeaderCellStyle="{StaticResource GridViewHeaderStyle}">
894
                                                <telerik:GridViewSelectColumn.Header>
895
                                                    <telerik:RadRibbonToggleButton
896
                                                        Width="Auto"
897
                                                        telerik:StyleManager.Theme="Office2016"
898
                                                        Visibility="Collapsed">
899
                                                        <telerik:RadRibbonToggleButton.Content>
900
                                                            <Image
901
                                                                HorizontalAlignment="Center"
902
                                                                VerticalAlignment="Center"
903
                                                                Source="/KCOM;component/Resources/Images/MenuImage_New/check.png" />
904
                                                        </telerik:RadRibbonToggleButton.Content>
905
                                                    </telerik:RadRibbonToggleButton>
906
                                                </telerik:GridViewSelectColumn.Header>
907
                                            </telerik:GridViewSelectColumn>
908
                                            <telerik:GridViewDataColumn
909
                                                Width="Auto"
910
                                                Header="Color"
911
                                                HeaderCellStyle="{StaticResource GridViewHeaderStyle}"
912
                                                IsReadOnly="True">
913
                                                <telerik:GridViewDataColumn.CellTemplate>
914
                                                    <DataTemplate>
915
                                                        <Grid>
916
                                                            <Grid>
917
                                                                <Rectangle Margin="0,2,2,2" Fill="{Binding DisplayColor, Converter={StaticResource StringToColorBrushConverter}}" />
918
                                                                <TextBlock Foreground="#00000000" Text="Color" />
919
                                                            </Grid>
920
                                                            <Grid VerticalAlignment="Center" Visibility="{Binding AvoidConsolidate, Converter={StaticResource BoolToVisibleConverter}}">
921
                                                                <Image
922
                                                                    Height="15"
923
                                                                    Source="/KCOM;component/Resources/Images/MenuImage_New/lock_2.png"
924
                                                                    Stretch="Uniform" />
925
                                                            </Grid>
926
                                                        </Grid>
927

    
928
                                                    </DataTemplate>
929
                                                </telerik:GridViewDataColumn.CellTemplate>
930
                                            </telerik:GridViewDataColumn>
931
                                            <telerik:GridViewDataColumn
932
                                                Width="Auto"
933
                                                Header="DEPT"
934
                                                HeaderCellStyle="{StaticResource GridViewHeaderStyle}"
935
                                                IsReadOnly="True">
936
                                                <telerik:GridViewDataColumn.CellTemplate>
937
                                                    <DataTemplate>
938
                                                        <TextBlock FontSize="12" Text="{Binding Depatment}" />
939
                                                    </DataTemplate>
940
                                                </telerik:GridViewDataColumn.CellTemplate>
941
                                            </telerik:GridViewDataColumn>
942
                                            <telerik:GridViewDataColumn
943
                                                Width="Auto"
944
                                                Header="NAME"
945
                                                HeaderCellStyle="{StaticResource GridViewHeaderStyle}"
946
                                                IsReadOnly="True">
947
                                                <telerik:GridViewDataColumn.CellTemplate>
948
                                                    <DataTemplate>
949
                                                        <TextBlock FontSize="10" Text="{Binding UserName, Mode=TwoWay}" />
950
                                                    </DataTemplate>
951
                                                </telerik:GridViewDataColumn.CellTemplate>
952
                                            </telerik:GridViewDataColumn>
953
                                            <telerik:GridViewDataColumn
954
                                                Width="Auto"
955
                                                Header="CONSOLIDATION"
956
                                                HeaderCellStyle="{StaticResource GridViewHeaderStyle}"
957
                                                IsReadOnly="True">
958
                                                <telerik:GridViewDataColumn.CellTemplate>
959
                                                    <DataTemplate>
960
                                                        <!--<TextBlock Text="{Binding Consolidate}"/>-->
961
                                                        <Grid>
962
                                                            <Grid.ColumnDefinitions>
963
                                                                <ColumnDefinition Width="Auto" />
964
                                                                <ColumnDefinition Width="Auto" />
965
                                                                <ColumnDefinition Width="Auto" />
966
                                                            </Grid.ColumnDefinitions>
967

    
968
                                                            <TextBlock
969
                                                                Grid.Column="0"
970
                                                                Foreground="Red"
971
                                                                Text="{Binding AvoidConsolidate, Converter={StaticResource AvoidStringConverter}}" />
972
                                                            <TextBlock
973
                                                                Grid.Column="1"
974
                                                                Foreground="Blue"
975
                                                                Text="{Binding PartConsolidate, Converter={StaticResource TeamConsoliStringConverter}}" />
976
                                                            <TextBlock Grid.Column="2" Text="{Binding Consolidate, Converter={StaticResource ConsoliStringConverter}}" />
977
                                                            <!--
978
                                                        <TextBlock HorizontalAlignment="Center" Grid.Column="2">
979
                                                        <TextBlock.Text>
980
                                                        <Binding Converter="{StaticResource ConsoliStringConverter}"/>
981
                                                        </TextBlock.Text>
982
                                                        </TextBlock>
983
                                                            -->
984
                                                        </Grid>
985
                                                    </DataTemplate>
986
                                                </telerik:GridViewDataColumn.CellTemplate>
987
                                            </telerik:GridViewDataColumn>
988

    
989
                                            <telerik:GridViewDataColumn
990
                                                Width="Auto"
991
                                                Header="Comment Move"
992
                                                HeaderCellStyle="{StaticResource GridViewHeaderStyle}"
993
                                                IsReadOnly="True">
994
                                                <telerik:GridViewDataColumn.CellTemplate>
995
                                                    <DataTemplate>
996
                                                        <telerik:RadButton
997
                                                            HorizontalAlignment="Stretch"
998
                                                            VerticalAlignment="Stretch"
999
                                                            telerik:StyleManager.Theme="Office2016"
1000
                                                            Content="COPY"
1001
                                                            PreviewMouseDown="Comment_Move" />
1002
                                                        <!--<TextBlock Text="{Binding UserName, Mode=TwoWay}" FontSize="10"/>-->
1003
                                                    </DataTemplate>
1004
                                                </telerik:GridViewDataColumn.CellTemplate>
1005
                                            </telerik:GridViewDataColumn>
1006

    
1007
                                            <telerik:GridViewDataColumn
1008
                                                Width="*"
1009
                                                Header=""
1010
                                                HeaderCellStyle="{StaticResource GridViewHeaderStyle}"
1011
                                                IsReadOnly="True" />
1012
                                        </telerik:RadGridView.Columns>
1013
                                    </telerik:RadGridView>
1014
                                </Grid>
1015
                                <!--</telerik:RadExpander>-->
1016

    
1017

    
1018
                            </Grid>
1019
                        </telerik:RadPane>
1020
                    </telerik:RadPaneGroup>
1021
                </telerik:RadSplitContainer>
1022
            </telerik:RadDocking.DocumentHost>
1023
            <telerik:RadSplitContainer
1024
                x:Name="thumbnailPanel"
1025
                InitialPosition="DockedLeft"
1026
                Orientation="Vertical"
1027
                SizeChanged="thumbnailPanel_SizeChanged"
1028
                Template="{DynamicResource RadSplitContainerControlTemplate}">
1029
                <!--  Width="250" MinWidth="250"  -->
1030
                <!--<telerik:RadPaneGroup Margin="0" Style="{DynamicResource Style_RadPanelGroup}">-->
1031
                <telerik:RadPaneGroup
1032
                    x:Name="PN_Navi"
1033
                    Margin="0"
1034
                    telerik:StyleManager.Theme="Office2016">
1035
                    <telerik:RadPane
1036
                        x:Name="radPanelPageNavi"
1037
                        telerik:RadDocking.FloatingSize="50,NaN"
1038
                        telerik:StyleManager.Theme="Office2016"
1039
                        CanFloat="False"
1040
                        CanUserClose="False"
1041
                        CanUserPin="True"
1042
                        ContextMenuTemplate="{x:Null}"
1043
                        Header="DOCUMENT"
1044
                        PaneHeaderVisibility="Visible">
1045
                        <!--<telerik:RadPane.TitleTemplate>
1046
                            <DataTemplate>
1047
                                <Grid>
1048
                                    <Grid.ColumnDefinitions>
1049
                                        <ColumnDefinition Width="Auto" />
1050
                                        <ColumnDefinition />
1051
                                    </Grid.ColumnDefinitions>
1052
                                    <ContentPresenter Content="{Binding}"
1053
                                                      Margin="0,0,75,0" />
1054
                                         <telerik:RadButton Grid.Column="1" Content="PIN"/>
1055
                                </Grid>
1056
                            </DataTemplate>
1057
                        </telerik:RadPane.TitleTemplate>-->
1058
                        <!--<Grid VerticalAlignment="Stretch" Margin="0">
1059
                            <Grid.RowDefinitions>
1060
                                <RowDefinition Height="30"/>
1061
                                <RowDefinition Height="*"/>
1062
                            </Grid.RowDefinitions>
1063
                            <Border BorderBrush="{Binding ElementName=leftPanel}" BorderThickness="0,1">
1064
                                <TextBlock Text="Thumbnail" Margin="5"/>
1065
                            </Border>
1066
                            <controls:PageNavigator x:Name="pageNavigator" Grid.Row="1"/>
1067
                        </Grid>-->
1068
                        <Grid>
1069
                            <!--<controls:PageNavigator x:Name="pageNavigator" Grid.Row="1" Visibility="Collapsed"/>-->
1070
                            <!--<Grid.RowDefinitions>
1071
                                <RowDefinition Height="Auto"/>
1072
                                <RowDefinition Height="*"/>
1073
                            </Grid.RowDefinitions>-->
1074
                            <!--<telerik:RadButton Content="Panorama" telerik:StyleManager.Theme="Office2016" FontSize="8"  Background="#FF0054B9" Foreground="White"
1075
                                       BorderThickness="0" CornerRadius="3" HorizontalAlignment="Right" Padding="5" Margin="5,10"/>-->
1076
                            <controls:Sample x:Name="pageNavigator" />
1077
                        </Grid>
1078

    
1079
                    </telerik:RadPane>
1080
                    <!--<telerik:RadPane Header="test" CanFloat="False" telerik:RadDocking.FloatingSize="50,NaN" CanUserClose="False" CanUserPin="True"
1081
                                     ContextMenuTemplate="{x:Null}" PaneHeaderVisibility="Visible" telerik:StyleManager.Theme="Office2016">
1082

1083
                        <Grid    xmlns:drag="clr-namespace:Telerik.Windows.DragDrop.Behaviors;assembly=Telerik.Windows.Controls" >
1084
                            <Grid.Resources>
1085
                                <Style TargetType="telerik:RadListBoxItem" BasedOn="{StaticResource RadListBoxItemStyle}">
1086
                                    <Setter Property="telerik:DragDropManager.AllowCapturedDrag" Value="True"/>
1087
                                </Style>
1088
                            </Grid.Resources>
1089
                            <telerik:RadListBox x:Name="lstSymbolPrivate" Background="#f5f5f5" FontWeight="Normal"  AllowDrop="True">
1090
                                <telerik:RadListBox.DragDropBehavior>
1091
                                    <telerik:ListBoxDragDropBehavior AllowReorder="True" />
1092
                                </telerik:RadListBox.DragDropBehavior>
1093
                                <telerik:RadListBox.DragVisualProvider >
1094
                                    <telerik:ListBoxDragVisualProvider />
1095
                                </telerik:RadListBox.DragVisualProvider>
1096
                            </telerik:RadListBox>
1097
                        </Grid>
1098

1099
                    </telerik:RadPane>-->
1100

    
1101
                </telerik:RadPaneGroup>
1102
            </telerik:RadSplitContainer>
1103

    
1104
            <telerik:RadSplitContainer
1105
                Width="300"
1106
                MaxWidth="300"
1107
                InitialPosition="DockedRight"
1108
                Orientation="Vertical">
1109
                <telerik:RadPaneGroup telerik:StyleManager.Theme="Office2016" IsTabStop="False">
1110
                    <telerik:RadPane
1111
                        x:Name="searchPane"
1112
                        telerik:StyleManager.Theme="Office2016"
1113
                        CanFloat="False"
1114
                        CanUserClose="False"
1115
                        ContextMenuTemplate="{x:Null}"
1116
                        Header="SEARCH"
1117
                        IsPinned="False"
1118
                        Visibility="Visible">
1119
                        <controls:SearchPanel x:Name="searchPanel_Instance" />
1120
                    </telerik:RadPane>
1121
                </telerik:RadPaneGroup>
1122
                <telerik:RadPaneGroup telerik:StyleManager.Theme="Office2016" IsTabStop="False">
1123
                    <telerik:RadPane
1124
                        x:Name="talkPane"
1125
                        telerik:StyleManager.Theme="Office2016"
1126
                        CanFloat="False"
1127
                        CanUserClose="False"
1128
                        ContextMenuTemplate="{x:Null}"
1129
                        Header="M-TALK"
1130
                        IsPinned="False">
1131
                        <messanger:ConversationView />
1132
                    </telerik:RadPane>
1133
                </telerik:RadPaneGroup>
1134
                <telerik:RadPaneGroup
1135
                    telerik:StyleManager.Theme="Office2016"
1136
                    IsTabStop="False"
1137
                    Visibility="Visible">
1138
                    <telerik:RadPane
1139
                        x:Name="SymbolPane"
1140
                        telerik:StyleManager.Theme="Office2016"
1141
                        CanFloat="False"
1142
                        CanUserClose="False"
1143
                        ContextMenuTemplate="{x:Null}"
1144
                        Header="SYMBOL"
1145
                        IsPinned="False"
1146
                        Visibility="Visible">
1147
                        <!--<controls:Symbol />-->
1148
                        <controls:Symbol x:Name="symbolPanel_Instance" />
1149
                        <!--<telerik:RadButton Click="Create_Symbol">Create</telerik:RadButton>-->
1150
                    </telerik:RadPane>
1151
                </telerik:RadPaneGroup>
1152
                <telerik:RadPaneGroup
1153
                    telerik:ProportionalStackPanel.RelativeSize="60, 100"
1154
                    telerik:StyleManager.Theme="Office2016"
1155
                    IsTabStop="False">
1156
                    <telerik:RadPane
1157
                        x:Name="FavoritePane"
1158
                        telerik:StyleManager.Theme="Office2016"
1159
                        CanFloat="False"
1160
                        CanUserClose="False"
1161
                        ContextMenuTemplate="{x:Null}"
1162
                        Header="FAVORITE"
1163
                        IsPinned="False"
1164
                        Visibility="Visible">
1165
                        <controls:FavoritePanel />
1166
                    </telerik:RadPane>
1167
                </telerik:RadPaneGroup>
1168
            </telerik:RadSplitContainer>
1169
            <telerik:RadSplitContainer InitialPosition="DockedBottom" Orientation="Horizontal">
1170
                <telerik:RadPaneGroup
1171
                    telerik:ProportionalStackPanel.RelativeSize="140, 100"
1172
                    telerik:StyleManager.Theme="Office2016"
1173
                    AllowDrop="False"
1174
                    IsTabStop="False">
1175
                    <telerik:RadPane
1176
                        x:Name="infoListPane"
1177
                        telerik:StyleManager.Theme="Office2016"
1178
                        CanFloat="False"
1179
                        CanUserClose="False"
1180
                        ContextMenuTemplate="{x:Null}"
1181
                        Header="User information List">
1182
                        <telerik:RadPane.TitleTemplate>
1183
                            <DataTemplate>
1184
                                <Grid HorizontalAlignment="Stretch">
1185
                                    <Grid.ColumnDefinitions>
1186
                                        <ColumnDefinition Width="*" />
1187
                                        <ColumnDefinition Width="Auto" />
1188
                                        <ColumnDefinition Width="*" />
1189
                                    </Grid.ColumnDefinitions>
1190
                                    <StackPanel HorizontalAlignment="Left" Orientation="Horizontal">
1191
                                        <TextBlock
1192
                                            Margin="1"
1193
                                            VerticalAlignment="Center"
1194
                                            Text="{Binding}" />
1195
                                        <telerik:RadRibbonButton
1196
                                            x:Name="btnConsolidate"
1197
                                            VerticalAlignment="Center"
1198
                                            telerik:StyleManager.Theme="Office2016"
1199
                                            Click="btnConsolidate_Click"
1200
                                            Loaded="btnConsolidate_Loaded"
1201
                                            ToolTipService.ToolTip="Consolidate">
1202
                                            <Border
1203
                                                Background="#E9F0F8"
1204
                                                BorderBrush="#839AB3"
1205
                                                BorderThickness="1">
1206
                                                <StackPanel Margin="1" Orientation="Horizontal">
1207
                                                    <!--<Image Width="15" Source="/DeepView;component/Images/MenuImage/document-new.png" />-->
1208
                                                    <TextBlock
1209
                                                        Margin="1"
1210
                                                        VerticalAlignment="Center"
1211
                                                        Foreground="Black"
1212
                                                        Text="Consolidate" />
1213
                                                </StackPanel>
1214
                                            </Border>
1215
                                        </telerik:RadRibbonButton>
1216
                                        <telerik:RadRibbonButton
1217
                                            x:Name="btnTeamConsolidate"
1218
                                            VerticalAlignment="Center"
1219
                                            telerik:StyleManager.Theme="Office2016"
1220
                                            Click="btnTeamConsolidate_Click"
1221
                                            Loaded="btnTeamConsolidate_Loaded"
1222
                                            ToolTipService.ToolTip="Consolidate">
1223
                                            <Border
1224
                                                Background="#E9F0F8"
1225
                                                BorderBrush="#839AB3"
1226
                                                BorderThickness="1">
1227
                                                <StackPanel Margin="1" Orientation="Horizontal">
1228
                                                    <!--<Image Width="15" Source="/DeepView;component/Images/MenuImage/document-team.png" />-->
1229
                                                    <TextBlock
1230
                                                        Margin="1"
1231
                                                        VerticalAlignment="Center"
1232
                                                        Foreground="Black"
1233
                                                        Text="Team Consolidate" />
1234
                                                </StackPanel>
1235
                                            </Border>
1236
                                        </telerik:RadRibbonButton>
1237
                                        <telerik:RadRibbonButton
1238
                                            x:Name="btnFinalPDF"
1239
                                            VerticalAlignment="Center"
1240
                                            telerik:StyleManager.Theme="Office2016"
1241
                                            Click="FinalPDFEvent"
1242
                                            Loaded="btnFinalPDF_Loaded"
1243
                                            ToolTipService.ToolTip="FinalPDF">
1244
                                            <Border
1245
                                                Background="#E9F0F8"
1246
                                                BorderBrush="#839AB3"
1247
                                                BorderThickness="1">
1248
                                                <StackPanel Margin="1" Orientation="Horizontal">
1249
                                                    <!--<Image Width="15" Source="/DeepView;component/Images/MenuImage/final_pdf2.png" />-->
1250
                                                    <TextBlock
1251
                                                        Margin="1"
1252
                                                        VerticalAlignment="Center"
1253
                                                        Foreground="Black"
1254
                                                        Text="Merged PDF" />
1255
                                                </StackPanel>
1256
                                            </Border>
1257
                                        </telerik:RadRibbonButton>
1258
                                        <telerik:RadRibbonButton
1259
                                            x:Name="btnConsolidateFinalPDF"
1260
                                            VerticalAlignment="Center"
1261
                                            telerik:StyleManager.Theme="Office2016"
1262
                                            Click="ConsolidateFinalPDFEvent"
1263
                                            Loaded="btnConsolidateFinalPDF_Loaded"
1264
                                            ToolTipService.ToolTip="Consolidate &amp; FinalPDF"
1265
                                            Visibility="Collapsed">
1266
                                            <Border
1267
                                                Background="#E9F0F8"
1268
                                                BorderBrush="#839AB3"
1269
                                                BorderThickness="1">
1270
                                                <StackPanel Margin="1" Orientation="Horizontal">
1271
                                                    <!--<Image Width="15" Source="/DeepView;component/Images/MenuImage/final_pdf2.png" />-->
1272
                                                    <TextBlock
1273
                                                        Margin="1"
1274
                                                        VerticalAlignment="Center"
1275
                                                        Foreground="Black"
1276
                                                        Text="Consolidate &amp; Merged PDF" />
1277
                                                </StackPanel>
1278
                                            </Border>
1279
                                        </telerik:RadRibbonButton>
1280
                                    </StackPanel>
1281
                                    <Line
1282
                                        Grid.Column="1"
1283
                                        Width="2"
1284
                                        Margin="5,0"
1285
                                        VerticalAlignment="Center"
1286
                                        Stroke="Black"
1287
                                        X1="2"
1288
                                        X2="2"
1289
                                        Y1="2"
1290
                                        Y2="24" />
1291
                                    <telerik:RadRibbonButton
1292
                                        x:Name="btnColorList"
1293
                                        Grid.Column="2"
1294
                                        HorizontalAlignment="Right"
1295
                                        VerticalAlignment="Center"
1296
                                        telerik:StyleManager.Theme="Office2016"
1297
                                        Click="btnColorList_Click"
1298
                                        ToolTipService.ToolTip="Color Change"
1299
                                        Visibility="Collapsed">
1300
                                        <Border
1301
                                            Background="#E9F0F8"
1302
                                            BorderBrush="#839AB3"
1303
                                            BorderThickness="1">
1304
                                            <Image Width="22" Source="/Resources/Images/MenuImage_New/rgb.png" />
1305
                                        </Border>
1306
                                    </telerik:RadRibbonButton>
1307
                                    <!--<StackPanel Grid.Column="1"
1308
                                                HorizontalAlignment="Right"
1309
                                                Orientation="Horizontal">
1310
                                        <telerik:RadRibbonButton VerticalAlignment="Center"
1311
                                                                 Click="ExpandButtonEvent_Click"
1312
                                                                 Tag="CLOSE"
1313
                                                                 telerik:StyleManager.Theme="Windows8"
1314
                                                                 ToolTipService.ToolTip="Expand On">
1315
                                        </telerik:RadRibbonButton>
1316

1317
                                        <telerik:RadRibbonButton VerticalAlignment="Center"
1318
                                                                 Click="ExpandButtonEvent_Click"
1319
                                                                 Tag="OPEN"
1320
                                                                 telerik:StyleManager.Theme="Windows8"
1321
                                                                 ToolTipService.ToolTip="Expand Off">
1322
                                            <Image Width="15"
1323
                                                   RenderTransformOrigin="0.5,0.5">
1324
                                                <Image.RenderTransform>
1325
                                                    <RotateTransform Angle="180" />
1326
                                                </Image.RenderTransform>
1327
                                            </Image>
1328
                                        </telerik:RadRibbonButton>
1329
                                    </StackPanel>-->
1330
                                </Grid>
1331
                            </DataTemplate>
1332
                        </telerik:RadPane.TitleTemplate>
1333
                        <telerik:RadGridView
1334
                            x:Name="gridViewMarkup"
1335
                            HorizontalContentAlignment="Center"
1336
                            telerik:StyleManager.Theme="Office2013"
1337
                            AutoExpandGroups="True"
1338
                            AutoGenerateColumns="False"
1339
                            CanUserDeleteRows="True"
1340
                            CanUserInsertRows="False"
1341
                            CanUserSortColumns="True"
1342
                            IsFilteringAllowed="False"
1343
                            IsReadOnly="False"
1344
                            MouseRightButtonDown="gridViewMarkup_MouseRightButtonDown"
1345
                            RowIndicatorVisibility="Collapsed"
1346
                            SelectionChanged="gridViewMarkup_SelectionChanged"
1347
                            SelectionMode="Multiple"
1348
                            SelectionUnit="FullRow"
1349
                            ShowGroupFooters="False"
1350
                            ShowGroupPanel="True"
1351
                            Sorted="GridViewMarkup_Sorted"
1352
                            Sorting="GridViewMarkup_Sorting"
1353
                            >
1354
                            
1355
                            <!-- Layer 추가 부분
1356
                            CanUserInsertRows="True"
1357
                            NewRowPosition="Top"
1358
                            AddingNewDataItem="gridViewMarkup_AddingNewDataItem"
1359
                            RowEditEnded="gridViewMarkup_RowEditEnded" 
1360
                            -->
1361
                            
1362
                            
1363
                            <!--  SelectedCellsChanged="gridViewMarkup_SelectedCellsChanged"  -->
1364
                            <!--<telerik:RadGridView.GroupDescriptors>
1365
                                <telerik:GroupDescriptor Member="Depatment" SortDirection="Ascending" DisplayContent = "DEPT" x:Name="gDept">
1366
                                    <telerik:GroupDescriptor.AggregateFunctions>
1367
                                        <telerik:CountFunction Caption="Entries count : " />
1368
                                    </telerik:GroupDescriptor.AggregateFunctions>
1369
                                </telerik:GroupDescriptor>
1370
                            </telerik:RadGridView.GroupDescriptors>-->
1371
                            <telerik:RadGridView.RowStyle>
1372
                                <Style TargetType="telerik:GridViewRow">
1373
                                    <Setter Property="HorizontalContentAlignment" Value="Center" />
1374
                                    <Setter Property="Background" Value="{Binding Path=Consolidate, Converter={StaticResource ConsolidationBackgroudConverter}}" />
1375
                                    <Setter Property="Visibility" Value="{Binding Path=IsPreviewUser, Converter={StaticResource previewerVisibleConverter}}" />
1376
                                    <!--<Setter Property="Template" Value="{StaticResource GridViewRowTemplate}" />-->
1377
                                </Style>
1378
                            </telerik:RadGridView.RowStyle>
1379
                            <telerik:RadGridView.Columns>
1380
                                <telerik:GridViewSelectColumn Width="Auto">
1381
                                    <telerik:GridViewSelectColumn.Header>
1382
                                        <CheckBox telerik:StyleManager.Theme="Office_Black" Click="gridViewMarkupAllSelect_Click" />
1383
                                    </telerik:GridViewSelectColumn.Header>
1384
                                </telerik:GridViewSelectColumn>
1385
                                <telerik:GridViewDataColumn Width="Auto" Header="Color">
1386
                                    <telerik:GridViewDataColumn.CellTemplate>
1387
                                        <DataTemplate>
1388
                                            <Grid>
1389
                                                <Grid>
1390
                                                    <!--<telerik:RadColorPicker Click="RadColorPicker_Click" SelectedColor="{Binding DisplayColor, Mode=TwoWay, Converter={StaticResource StringToColorConverter}}" />-->
1391
                                                    <Border Background="{Binding DisplayColor, Converter={StaticResource StringToColorBrushConverter}}" />
1392
                                                    <TextBlock Foreground="#00000000" Text="Color" />
1393
                                                </Grid>
1394
                                                <Grid VerticalAlignment="Center" Visibility="{Binding AvoidConsolidate, Converter={StaticResource BoolToVisibleConverter}}">
1395
                                                    <Image
1396
                                                        Height="15"
1397
                                                        Source="/KCOM;component/Resources/Images/MenuImage_New/lock_2.png"
1398
                                                        Stretch="Uniform" />
1399
                                                </Grid>
1400
                                            </Grid>
1401

    
1402
                                        </DataTemplate>
1403
                                    </telerik:GridViewDataColumn.CellTemplate>
1404
                                    <!--<telerik:GridViewDataColumn.CellEditTemplate>
1405
                                        <DataTemplate>
1406
                                            <telerik:RadColorPicker SelectedColor="{Binding DisplayColor, Mode=TwoWay, Converter={StaticResource StringToColorConverter}}" />
1407
                                        </DataTemplate>
1408
                                    </telerik:GridViewDataColumn.CellEditTemplate>-->
1409
                                </telerik:GridViewDataColumn>
1410
                                <telerik:GridViewDataColumn
1411
                                    Width="Auto"
1412
                                    DataMemberBinding="{Binding Depatment}"
1413
                                    Header="DEPT"
1414
                                    IsReadOnly="True">
1415
                                    <telerik:GridViewDataColumn.CellTemplate>
1416
                                        <DataTemplate>
1417
                                            <TextBlock Text="{Binding Depatment}" />
1418
                                        </DataTemplate>
1419
                                    </telerik:GridViewDataColumn.CellTemplate>
1420
                                </telerik:GridViewDataColumn>
1421
                                <telerik:GridViewDataColumn
1422
                                    Width="Auto"
1423
                                    DataMemberBinding="{Binding UserName}"
1424
                                    Header="NAME"
1425
                                    IsReadOnly="True">
1426
                                    <telerik:GridViewDataColumn.CellTemplate>
1427
                                        <DataTemplate>
1428
                                            <TextBlock Text="{Binding UserName, Mode=TwoWay}" />
1429
                                        </DataTemplate>
1430
                                    </telerik:GridViewDataColumn.CellTemplate>
1431
                                </telerik:GridViewDataColumn>
1432
                                <telerik:GridViewDataColumn
1433
                                    Width="Auto"
1434
                                    Header="UPDATETIME"
1435
                                    IsReadOnly="True">
1436
                                    <telerik:GridViewDataColumn.CellTemplate>
1437
                                        <DataTemplate>
1438
                                            <TextBlock Text="{Binding UpdateTime}" />
1439
                                        </DataTemplate>
1440
                                    </telerik:GridViewDataColumn.CellTemplate>
1441
                                </telerik:GridViewDataColumn>
1442
                                <telerik:GridViewDataColumn
1443
                                    Width="Auto"
1444
                                    Header="CONSOLIDATION"
1445
                                    IsReadOnly="True">
1446
                                    <telerik:GridViewDataColumn.CellTemplate>
1447
                                        <DataTemplate>
1448
                                            <!--<TextBlock Text="{Binding Consolidate}"/>-->
1449
                                            <Grid>
1450
                                                <Grid.ColumnDefinitions>
1451
                                                    <ColumnDefinition Width="Auto" />
1452
                                                    <ColumnDefinition Width="Auto" />
1453
                                                    <ColumnDefinition Width="Auto" />
1454
                                                </Grid.ColumnDefinitions>
1455

    
1456
                                                <TextBlock
1457
                                                    Grid.Column="0"
1458
                                                    Foreground="Red"
1459
                                                    Text="{Binding AvoidConsolidate, Converter={StaticResource AvoidStringConverter}}" />
1460
                                                <TextBlock
1461
                                                    Grid.Column="1"
1462
                                                    Foreground="Blue"
1463
                                                    Text="{Binding PartConsolidate, Converter={StaticResource TeamConsoliStringConverter}}" />
1464
                                                <TextBlock Grid.Column="2" Text="{Binding Consolidate, Converter={StaticResource ConsoliStringConverter}}" />
1465
                                                <!--
1466
                                                        <TextBlock HorizontalAlignment="Center" Grid.Column="2">
1467
                                                        <TextBlock.Text>
1468
                                                        <Binding Converter="{StaticResource ConsoliStringConverter}"/>
1469
                                                        </TextBlock.Text>
1470
                                                        </TextBlock>
1471
                                                -->
1472
                                            </Grid>
1473
                                        </DataTemplate>
1474
                                    </telerik:GridViewDataColumn.CellTemplate>
1475
                                </telerik:GridViewDataColumn>
1476

    
1477
                                <telerik:GridViewDataColumn
1478
                                    Width="Auto"
1479
                                    Header="DELETE"
1480
                                    IsReadOnly="True">
1481
                                    <telerik:GridViewDataColumn.CellTemplate>
1482
                                        <DataTemplate>
1483
                                            <Button
1484
                                                Click="DeleteCommentEvent"
1485
                                                CommandParameter="{Binding}"
1486
                                                Content="DELETE"
1487
                                                Visibility="{Binding userDelete, Converter={StaticResource BooleanToVisibilityConverter}}" />
1488
                                        </DataTemplate>
1489
                                    </telerik:GridViewDataColumn.CellTemplate>
1490
                                </telerik:GridViewDataColumn>
1491
                            </telerik:RadGridView.Columns>
1492
                        </telerik:RadGridView>
1493
                    </telerik:RadPane>
1494
                </telerik:RadPaneGroup>
1495
                <telerik:RadPaneGroup
1496
                    telerik:ProportionalStackPanel.RelativeSize="100, 100"
1497
                    telerik:StyleManager.Theme="Office2016"
1498
                    IsTabStop="False">
1499
                    <telerik:RadPane
1500
                        x:Name="historyPane"
1501
                        telerik:StyleManager.Theme="Office2016"
1502
                        CanFloat="False"
1503
                        CanUserClose="False"
1504
                        ContextMenuTemplate="{x:Null}"
1505
                        Header="Document History"
1506
                        Visibility="{Binding IsDocumentHistory, Source={x:Static common:ViewerDataModel.Instance}, Mode=TwoWay, Converter={StaticResource BoolToVisibleConverter}}">
1507
                        <Grid>
1508
                            <telerik:RadGridView
1509
                                x:Name="gridViewHistory"
1510
                                telerik:StyleManager.Theme="Office2013"
1511
                                AutoExpandGroups="False"
1512
                                AutoGenerateColumns="False"
1513
                                CanUserDeleteRows="True"
1514
                                CanUserInsertRows="False"
1515
                                IsFilteringAllowed="False"
1516
                                IsReadOnly="True"
1517
                                RowIndicatorVisibility="Collapsed"
1518
                                ShowGroupFooters="False"
1519
                                ShowGroupPanel="False">
1520
                                <telerik:RadGridView.Columns>
1521
                                    <telerik:GridViewDataColumn
1522
                                        Width="Auto"
1523
                                        Header="Slip No"
1524
                                        IsReadOnly="True"
1525
                                        IsVisible="{Binding IsDocumentHistory, Source={x:Static common:ViewerDataModel.Instance}, Mode=TwoWay}">
1526
                                        <telerik:GridViewDataColumn.CellTemplate>
1527
                                            <DataTemplate>
1528
                                                <telerik:RadButton
1529
                                                    Margin="5"
1530
                                                    Background="Transparent"
1531
                                                    BorderThickness="0"
1532
                                                    Click="EnsembleLink_Button_Click"
1533
                                                    Content="{Binding GroupNo}"
1534
                                                    Tag="{Binding EnsembleLink}" />
1535
                                            </DataTemplate>
1536
                                        </telerik:GridViewDataColumn.CellTemplate>
1537
                                    </telerik:GridViewDataColumn>
1538
                                    <telerik:GridViewDataColumn
1539
                                        Width="Auto"
1540
                                        Header="Doc No"
1541
                                        IsReadOnly="True">
1542
                                        <telerik:GridViewDataColumn.CellTemplate>
1543
                                            <DataTemplate>
1544
                                                <TextBlock HorizontalAlignment="Center" Text="{Binding DocNo}" />
1545
                                            </DataTemplate>
1546
                                        </telerik:GridViewDataColumn.CellTemplate>
1547
                                    </telerik:GridViewDataColumn>
1548
                                    <telerik:GridViewDataColumn
1549
                                        Width="Auto"
1550
                                        Header="Rev No"
1551
                                        IsReadOnly="True">
1552
                                        <telerik:GridViewDataColumn.CellTemplate>
1553
                                            <DataTemplate>
1554
                                                <TextBlock HorizontalAlignment="Center" Text="{Binding RevNo}" />
1555
                                            </DataTemplate>
1556
                                        </telerik:GridViewDataColumn.CellTemplate>
1557
                                    </telerik:GridViewDataColumn>
1558
                                    <telerik:GridViewDataColumn
1559
                                        Width="Auto"
1560
                                        Header="RESULT"
1561
                                        IsReadOnly="True"
1562
                                        IsVisible="{Binding IsDocumentHistory, Source={x:Static common:ViewerDataModel.Instance}, Mode=TwoWay}">
1563
                                        <telerik:GridViewDataColumn.CellTemplate>
1564
                                            <DataTemplate>
1565
                                                <TextBlock HorizontalAlignment="Center" Text="{Binding RESULT}" />
1566
                                            </DataTemplate>
1567
                                        </telerik:GridViewDataColumn.CellTemplate>
1568
                                    </telerik:GridViewDataColumn>
1569
                                    <telerik:GridViewDataColumn
1570
                                        telerik:StyleManager.Theme="Office2013"
1571
                                        CellStyle="{StaticResource GridViewAlign}"
1572
                                        DataMemberBinding="{Binding FROM_VENDOR}"
1573
                                        Header="File(in)"
1574
                                        HeaderTextAlignment="Center"
1575
                                        IsReadOnly="True"
1576
                                        IsVisible="{Binding IsDocumentHistory, Source={x:Static common:ViewerDataModel.Instance}, Mode=TwoWay}">
1577
                                        <telerik:GridViewDataColumn.CellTemplate>
1578
                                            <DataTemplate>
1579
                                                <Image
1580
                                                    Height="22"
1581
                                                    MouseLeftButtonDown="PdfLink_ButtonDown"
1582
                                                    Source="/KCOM;component/Resources/Images/MenuImage_New/PDF.png"
1583
                                                    Tag="{Binding FROM_VENDOR}"
1584
                                                    Visibility="{Binding FROM_VENDOR, Converter={StaticResource NullToCollapsedConverter}}" />
1585
                                            </DataTemplate>
1586
                                        </telerik:GridViewDataColumn.CellTemplate>
1587
                                    </telerik:GridViewDataColumn>
1588
                                    <telerik:GridViewDataColumn
1589
                                        telerik:StyleManager.Theme="Office2013"
1590
                                        CellStyle="{StaticResource GridViewAlign}"
1591
                                        DataMemberBinding="{Binding TO_VENDOR}"
1592
                                        Header="File(out)"
1593
                                        HeaderTextAlignment="Center"
1594
                                        IsReadOnly="True"
1595
                                        IsVisible="{Binding IsDocumentHistory, Source={x:Static common:ViewerDataModel.Instance}, Mode=TwoWay}">
1596
                                        <telerik:GridViewDataColumn.CellTemplate>
1597
                                            <DataTemplate>
1598
                                                <Image
1599
                                                    Height="22"
1600
                                                    MouseLeftButtonDown="PdfLink_ButtonDown"
1601
                                                    Source="/KCOM;component/Resources/Images/MenuImage_New/PDF.png"
1602
                                                    Tag="{Binding TO_VENDOR}"
1603
                                                    Visibility="{Binding TO_VENDOR, Converter={StaticResource NullToCollapsedConverter}}" />
1604
                                            </DataTemplate>
1605
                                        </telerik:GridViewDataColumn.CellTemplate>
1606
                                    </telerik:GridViewDataColumn>
1607

    
1608

    
1609
                                    <!--<telerik:GridViewDataColumn Header="FROM_VENDOR"  IsReadOnly="True" Width="Auto">
1610
                                    <telerik:GridViewDataColumn.CellTemplate>
1611
                                        <DataTemplate>
1612
                                            <telerik:RadRibbonButton telerik:StyleManager.Theme="Office2016">
1613
                                                <
1614
                                                <TextBlock Text="{Binding FROM_VENDOR}" HorizontalAlignment="Center"/>
1615
                                            </telerik:RadRibbonButton>
1616
                                        </DataTemplate>
1617
                                    </telerik:GridViewDataColumn.CellTemplate>
1618
                                </telerik:GridViewDataColumn>-->
1619
                                    <!--<telerik:GridViewDataColumn Header="TO_VENDOR"  IsReadOnly="True" Width="Auto">
1620
                                    <telerik:GridViewDataColumn.CellTemplate>
1621
                                        <DataTemplate>
1622
                                            <TextBlock Text="{Binding TO_VENDOR}" HorizontalAlignment="Center"/>
1623
                                        </DataTemplate>
1624
                                    </telerik:GridViewDataColumn.CellTemplate>
1625
                                </telerik:GridViewDataColumn>-->
1626
                                    <telerik:GridViewDataColumn
1627
                                        Width="Auto"
1628
                                        CellStyle="{StaticResource GridViewAlign}"
1629
                                        Header="SYNC"
1630
                                        HeaderTextAlignment="Center"
1631
                                        IsReadOnly="True">
1632
                                        <telerik:GridViewDataColumn.CellTemplate>
1633
                                            <DataTemplate>
1634
                                                <!--<Border Grid.Column="1" Background="#FF0054B9" CornerRadius="5" Margin="5" VerticalAlignment="Center" MinHeight="20"
1635
                                                        Visibility="{Binding IsSyncPossible, Converter={StaticResource BoolToVisibleConverter}}">
1636
                                                    <telerik:RadButton Content="OPEN" telerik:StyleManager.Theme="Office2016"  Foreground="White"
1637
                                                                       Background="Transparent" HorizontalAlignment="Stretch" Click="RadButton_Click" CommandParameter="{Binding}"/>
1638
                                                </Border>-->
1639
                                                <telerik:RadButton
1640
                                                    Margin="5"
1641
                                                    Background="Transparent"
1642
                                                    BorderThickness="0"
1643
                                                    Click="btnSync_Click"
1644
                                                    CommandParameter="{Binding}"
1645
                                                    Visibility="{Binding IsSyncPossible, Converter={StaticResource BoolToVisibleConverter}}">
1646
                                                    <telerik:RadButton.Content>
1647
                                                        <Image
1648
                                                            Width="20"
1649
                                                            Height="20"
1650
                                                            Source="/KCOM;component/Resources/Images/MenuImage_new/file.png"
1651
                                                            Stretch="Uniform" />
1652
                                                    </telerik:RadButton.Content>
1653
                                                </telerik:RadButton>
1654

    
1655
                                                <!--<TextBlock Text="{Binding IsSyncPossible}" HorizontalAlignment="Center"/>-->
1656
                                            </DataTemplate>
1657
                                        </telerik:GridViewDataColumn.CellTemplate>
1658
                                    </telerik:GridViewDataColumn>
1659
                                    <telerik:GridViewDataColumn
1660
                                        telerik:StyleManager.Theme="Office2013"
1661
                                        CellStyle="{StaticResource GridViewAlign}"
1662
                                        DataMemberBinding="{Binding EnsembleLink}"
1663
                                        Header="Attachments"
1664
                                        HeaderTextAlignment="Center"
1665
                                        IsReadOnly="True"
1666
                                        IsVisible="{Binding IsDocumentHistory, Source={x:Static common:ViewerDataModel.Instance}, Mode=TwoWay}">
1667
                                        <telerik:GridViewDataColumn.CellTemplate>
1668
                                            <DataTemplate>
1669
                                                <telerik:RadButton
1670
                                                    Margin="5"
1671
                                                    Background="Transparent"
1672
                                                    BorderThickness="0"
1673
                                                    Click="EnsembleLink_Button_Click"
1674
                                                    Content="Link"
1675
                                                    Tag="{Binding EnsembleLink}" />
1676
                                            </DataTemplate>
1677
                                        </telerik:GridViewDataColumn.CellTemplate>
1678
                                    </telerik:GridViewDataColumn>
1679
                                </telerik:RadGridView.Columns>
1680
                            </telerik:RadGridView>
1681
                            <telerik:RadBusyIndicator
1682
                                x:Name="gridViewHistory_Busy"
1683
                                telerik:StyleManager.Theme="Office2016"
1684
                                BusyContent="Sync Data Loading"
1685
                                IsBusy="False" />
1686
                        </Grid>
1687
                    </telerik:RadPane>
1688
                </telerik:RadPaneGroup>
1689
            </telerik:RadSplitContainer>
1690

    
1691

    
1692
        </telerik:RadDocking>
1693
    </Grid>
1694
</UserControl>
클립보드 이미지 추가 (최대 크기: 500 MB)