프로젝트

일반

사용자정보

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

markus / KCOM / Views / MainMenu.xaml @ 84190963

이력 | 보기 | 이력해설 | 다운로드 (79.6 KB)

1 787a4489 KangIngu
<UserControl xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation"  x:Class="KCOM.Views.MainMenu"
2
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:toggle="clr-namespace:ToggleSwitch;assembly=ToggleSwitch"
3
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:telerikGrid="clr-namespace:Telerik.Windows.Controls.GridView;assembly=Telerik.Windows.Controls.GridView"
4
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
5
             xmlns:converter="clr-namespace:KCOM.Common.Converter"
6
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008"  xmlns:common="clr-namespace:KCOM.Common"
7
             xmlns:controls="clr-namespace:KCOM.Controls"  xmlns:ZoomAndPan="clr-namespace:ZoomAndPan;assembly=ZoomAndPan"
8 fad4d1c0 taeseongkim
             xmlns:view="clr-namespace:KCOM.Views"
9 787a4489 KangIngu
             mc:Ignorable="d"   
10
             d:DesignHeight="768" d:DesignWidth="1080" IsTabStop="True" xmlns:messanger="clr-namespace:KCOM.Messenger"
11
             xmlns:Angle="clr-namespace:MarkupToPDF.Controls.Angle;assembly=MarkupToPDF">
12
    <UserControl.Resources>
13
        <Style TargetType="telerik:GridViewHeaderCell" x:Key="GridViewHeaderStyle">
14
            <Setter Property="VerticalContentAlignment" Value="Center"/>
15
            <Setter Property="HorizontalContentAlignment" Value="Center"/>
16
            <Setter Property="BorderThickness" Value="0"/>
17
            <Setter Property="Background">
18
                <Setter.Value>
19
                    <SolidColorBrush Color="Black" Opacity="0.5"/>
20
                </Setter.Value>
21
            </Setter>
22
            <!--<Setter Property="Background" Value="Black"/>-->
23
            <Setter Property="BorderBrush" Value="White"/>
24
            <Setter Property="Foreground" Value="White"/>
25
            <Setter Property="telerik:StyleManager.Theme" Value="Office2013"/>
26
            <!--<Setter Property="FontWeight" Value="Black"/>-->
27
        </Style>
28
        <Style x:Key="GridViewAlign" TargetType="telerikGrid:GridViewCell">
29
            <Setter Property="HorizontalContentAlignment" Value="Center" />
30
            <Setter Property="TextBlock.TextDecorations">
31
                <Setter.Value>
32
                    <TextDecorationCollection>
33
                        <TextDecoration Location="Underline" />
34
                        <TextDecoration Location="Overline" />
35
                        <TextDecoration  
36
                PenThicknessUnit="FontRecommended">
37
                            <TextDecoration.Pen>
38
                                <Pen Thickness="1.0">
39
                                    <Pen.Brush>
40
                                        <LinearGradientBrush Opacity="0.5"
41
                                StartPoint="0,0.5"  EndPoint="1,0.5">
42
                                            <LinearGradientBrush.GradientStops>
43
                                                <GradientStop Color="Yellow" Offset="0" />
44
                                                <GradientStop Color="Red" Offset="1" />
45
                                            </LinearGradientBrush.GradientStops>
46
                                        </LinearGradientBrush>
47
                                    </Pen.Brush>
48
                                </Pen>
49
                            </TextDecoration.Pen>
50
                        </TextDecoration>
51
                    </TextDecorationCollection>
52
                </Setter.Value>
53
            </Setter>
54
        </Style>
55
        <converter:PDFVisibleConverter x:Key="PDFVisibleConverter"/>
56
        <converter:ConsolidationBackgroudConverter x:Key="ConsolidationBackgroudConverter" />
57
        <converter:StringToColorConverter x:Key="StringToColorConverter"/>
58
        <converter:AvoidStringConverter x:Key="AvoidStringConverter" />
59
        <converter:TeamConsolidateStringConverter x:Key="TeamConsoliStringConverter" />
60
        <converter:ConsolidationStringConverter x:Key="ConsoliStringConverter" />
61
        <converter:BoolToVisibleConverter x:Key="BoolToVisibleConverter" />
62 90e7968d ljiyeon
        <converter:PreviewerVisibleConverter x:Key="previewerVisibleConverter"/>
63 787a4489 KangIngu
    </UserControl.Resources>
64 90e7968d ljiyeon
    <Grid Background="{DynamicResource KCOMColor_MainBrush}">
65 787a4489 KangIngu
        <!--<Grid.ColumnDefinitions>
66
            <ColumnDefinition Width="Auto"/>
67
            <ColumnDefinition Width="*"/>
68
        </Grid.ColumnDefinitions>-->
69
        <!--<Border Background="#fff5f5f5" BorderBrush="#d5d5d5" BorderThickness="0">
70
            -->
71
        <!--<controls:PageNavigator x:Name="pageNavigator" Grid.Row="1" Width="200"/>-->
72
        <!--
73
            <telerik:RadLayoutControl SelectedItem="{x:Null}" VirtualizingStackPanel.VirtualizationMode="Recycling" ScrollViewer.VerticalScrollBarVisibility="Hi">
74
                <telerik:LayoutControlTabGroup Template="{DynamicResource TabControlTemplate}" telerik:StyleManager.Theme="Office2016">
75
                    <telerik:LayoutControlTabGroupItem Header="Thumbnail">
76
                        <telerik:LayoutControlGroup BorderBrush="Transparent" Padding="5" Margin="0,-3">                            
77
                            <controls:PageNavigator x:Name="pageNavigator" Grid.Row="1" Width="300"/>                            
78
                        </telerik:LayoutControlGroup>
79
                    </telerik:LayoutControlTabGroupItem>
80
                    <telerik:LayoutControlTabGroupItem Header="Bookmark">
81
                        <telerik:LayoutControlGroup BorderBrush="Transparent">
82
                            <Border Background="Blue"/>
83
                        </telerik:LayoutControlGroup>
84
                    </telerik:LayoutControlTabGroupItem>
85
                </telerik:LayoutControlTabGroup>
86
            </telerik:RadLayoutControl>
87
        </Border>-->
88
        <!--<Grid.ColumnDefinitions>
89
            <ColumnDefinition Width="Auto"/>
90
            <ColumnDefinition Width="*"/>
91
            <ColumnDefinition Width="Auto"/>
92
        </Grid.ColumnDefinitions>-->
93
        <!--<Border Background="{DynamicResource Office2016Color_PrimaryBrush}">
94
            <Border Background="White" Margin="50"/>
95
        </Border>-->
96
        <telerik:RadDocking BorderThickness="0" Padding="0" Background="{DynamicResource KCOMColor_MainBrush}" Grid.Column="1">
97
            <telerik:RadDocking.DocumentHost>
98
                <telerik:RadSplitContainer Background="Transparent" Margin="0,-1,0,0">
99
                    <telerik:RadPaneGroup Style="{DynamicResource Style_RadPanelGroup}">
100
                        <telerik:RadDocumentPane Header="VP-320A-728063" CanFloat="False" CanUserClose="False" Title="Document 1" PaneHeaderVisibility="Collapsed" Margin="0,-20,0,0">
101
                            <telerik:RadDocumentPane.HeaderTemplate>
102
                                <DataTemplate>
103
                                    <Border Margin="0,0,0,0"/>
104
                                </DataTemplate>
105
                            </telerik:RadDocumentPane.HeaderTemplate>
106
                            <!--<Grid Background="{DynamicResource KCOMColor_AlternativeBrush}">-->
107
                            <Grid Background="{DynamicResource KCOMColor_DocumnetBackgroundBrush}">
108
                                <Rectangle Name="rect" Margin="50,50,0,0" Width="100" Height="100" Fill="LightBlue"/>
109
                                <Popup Name="floatingTip" AllowsTransparency="True" Placement="Relative" PlacementTarget="{Binding ElementName=rect}">
110
                                    <TextBlock x:Name="txtBatch" Foreground="Red" FontSize="20" Text="Mark Control을 그립니다."/>
111
                                </Popup>
112 532d83ef humkyung
                                <telerik:RadBusyIndicator x:Name="busyIndicator" IsBusy="False" BusyContent="Saving...">
113 787a4489 KangIngu
                                <ZoomAndPan:ZoomAndPanControl x:Name="zoomAndPanControl"
114
                                                              MouseWheel="zoomAndPanControl_MouseWheel"
115
                                                              MouseDown="zoomAndPanControl_MouseDown"
116
                                                              MouseMove="zoomAndPanControl_MouseMove"
117
                                                              MouseUp="zoomAndPanControl_MouseUp"
118
                                                              MouseLeave="zoomAndPanControl_MouseLeave"
119 cdfb57ff taeseongkim
                                                              ScaleChanged="ZoomAndPanControl_ScaleChanged"
120 787a4489 KangIngu
                                                              MouseDoubleClick="zoomAndPanControl_MouseDoubleClick"
121
                                                              ContentScale="{Binding ContentScale, Mode=TwoWay, Source={x:Static common:ViewerDataModel.Instance}}"
122
                                                              ContentOffsetX="{Binding ContentOffsetX, Mode=TwoWay, Source={x:Static common:ViewerDataModel.Instance}}"
123
                                                              ContentOffsetY="{Binding ContentOffsetY, Mode=TwoWay, Source={x:Static common:ViewerDataModel.Instance}}"
124
                                                              ConstrainedContentViewportWidth="{Binding ContentViewportWidth, Mode=TwoWay, Source={x:Static common:ViewerDataModel.Instance}}"
125
                                                              ConstrainedContentViewportHeight="{Binding ContentViewportHeight, Mode=TwoWay, Source={x:Static common:ViewerDataModel.Instance}}"
126
                                                              Background="LightGray">
127 90e7968d ljiyeon
                                    <Canvas x:Name="zoomAndPanCanvas" Opacity="1" Background="White">
128
129
                                        <Canvas x:Name="drawingRotateCanvas"
130 787a4489 KangIngu
                                                        Panel.ZIndex="1"
131
                                                        Background="{Binding BackgroundImage, Mode=OneWay, Source={x:Static common:ViewerDataModel.Instance}}">
132
                                            <Canvas.RenderTransform>
133
                                                <TransformGroup>
134
                                                    <RotateTransform x:Name="rotate" Angle="0"/>
135
                                                    <TranslateTransform x:Name="translate" X="0" Y="0"/>
136
                                                </TransformGroup>
137
                                            </Canvas.RenderTransform>
138
                                            
139
                                            <ItemsControl ItemsSource="{Binding MarkupControls, Source={x:Static common:ViewerDataModel.Instance}}"
140
                                          Panel.ZIndex="1">
141
                                                <ItemsControl.ItemsPanel>
142
                                                    <ItemsPanelTemplate>
143
                                                        <Canvas />
144
                                                    </ItemsPanelTemplate>
145
                                                </ItemsControl.ItemsPanel>
146
                                            </ItemsControl>
147
                                            <ItemsControl ItemsSource="{Binding MarkupControls_USER, Source={x:Static common:ViewerDataModel.Instance}}"
148
                                          Panel.ZIndex="30">
149
                                                <ItemsControl.ItemsPanel>
150
                                                    <ItemsPanelTemplate>
151
                                                        <Canvas />
152
                                                    </ItemsPanelTemplate>
153
                                                </ItemsControl.ItemsPanel>
154
                                            </ItemsControl>
155
                                            <InkPresenter x:Name="inkBoard" HorizontalAlignment="Stretch" Panel.ZIndex="1" VerticalAlignment="Stretch"/>
156
                                            <InkCanvas x:Name="inkDrawingCanvas"
157
                                               Background="Transparent"
158
                                               IsEnabled="False"
159
                                               Panel.ZIndex="1"
160
                                               Strokes="{Binding MarkupPens, Source={x:Static common:ViewerDataModel.Instance}}" Height="1" Width="1">
161
                                                <!--<Rectangle Height="41" HorizontalAlignment="Left"  Name="rectangle1" Stroke="Black" VerticalAlignment="Top" Width="69" Fill="#FFDB1111" />-->
162
                                                <!--<Ellipse Height="41" HorizontalAlignment="Left"  Name="rectangle1" Stroke="Black" VerticalAlignment="Top" Width="69" Fill="#FFDB1111" />-->
163
164
                                                <!--<MarkupToPDF:RectangleControl Height="200" HorizontalAlignment="Center" Name="rectangle2" StrokeColor="Black" VerticalAlignment="Top" Width="00" FillColor="Red"/>-->
165
                                            </InkCanvas>
166
                                            <!--강인구 추가-->
167 7e2d682c taeseongkim
                                                <!--<controls:ScaleDecodeImage Panel.ZIndex="0" x:Name="mainPanel"
168 92442e4a taeseongkim
                                                   Source="{Binding ImageViewPath,Mode=TwoWay, Source={x:Static common:ViewerDataModel.Instance}}" 
169
                                                    Width="{Binding ImageViewWidth,Mode=TwoWay, Source={x:Static common:ViewerDataModel.Instance}}"
170 cdfb57ff taeseongkim
                                                        Height="{Binding ImageViewHeight,Mode=TwoWay, Source={x:Static common:ViewerDataModel.Instance}}">
171 7e2d682c taeseongkim
                                                </controls:ScaleDecodeImage>-->
172
                                                <Image Panel.ZIndex="0" x:Name="mainPanel" RenderOptions.BitmapScalingMode="HighQuality"
173
                                                       RenderOptions.EdgeMode="Unspecified" RenderOptions.ClearTypeHint="Enabled"
174 92442e4a taeseongkim
                                                        Source="{Binding ImageViewPath,Mode=TwoWay, Source={x:Static common:ViewerDataModel.Instance}}" 
175 7e2d682c taeseongkim
                                                         Width="{Binding ImageViewWidth,Mode=TwoWay, Source={x:Static common:ViewerDataModel.Instance}}"
176
                                                        Height="{Binding ImageViewHeight,Mode=TwoWay, Source={x:Static common:ViewerDataModel.Instance}}"
177 92442e4a taeseongkim
                                                           >
178 7e2d682c taeseongkim
                                                    </Image>
179 cdfb57ff taeseongkim
                                                <Canvas x:Name="SelectLayer" HorizontalAlignment="Stretch" VerticalAlignment="Stretch" Panel.ZIndex="32766"/>
180 31d64a8c KangIngu
                                                <Border x:Name="dragSelectionBorder" Visibility="Collapsed"
181 787a4489 KangIngu
                                                    BorderBrush="Blue"
182
                                                    BorderThickness="1"
183
                                                    Background="LightBlue" 
184
                                                    CornerRadius="1"
185
                                                    Panel.ZIndex="1"
186
                                                    Opacity="0.5"/>
187 31d64a8c KangIngu
                                                <Border x:Name="dragCaptureBorder" Visibility="Collapsed"
188 787a4489 KangIngu
                                                    BorderBrush="Blue"
189
                                                    BorderThickness="1"
190
                                                    Background="Blue" 
191
                                                    CornerRadius="1"
192
                                                    Panel.ZIndex="1"
193
                                                    Opacity="0.5"/>
194 31d64a8c KangIngu
                                            <Border x:Name="dragZoomBorder" Visibility="Collapsed"
195 9f473fb7 KangIngu
                                                    BorderThickness="3"
196
                                                    Background="Transparent" 
197
                                                    CornerRadius="1"
198
                                                    Panel.ZIndex="1"
199
                                                    Opacity="1">
200
                                                <Border.BorderBrush>
201
                                                    <VisualBrush>
202
                                                        <VisualBrush.Visual>
203
                                                            <Rectangle StrokeDashArray="4 2" Stroke="Gray" StrokeThickness="1"
204
                                                                  Width="{Binding RelativeSource={RelativeSource AncestorType={x:Type Border}}, Path=ActualWidth}"
205
                                                                  Height="{Binding RelativeSource={RelativeSource AncestorType={x:Type Border}}, Path=ActualHeight}"/>
206
                                                        </VisualBrush.Visual>
207
                                                    </VisualBrush>
208
                                                </Border.BorderBrush>
209
                                            </Border>
210
                                            <!--<Border x:Name="dragZoomBorder"
211
                                                    BorderBrush="Black"
212
                                                    BorderThickness="1"
213
                                                    
214
                                                    Background="Transparent" 
215
                                                    CornerRadius="1"
216
                                                    Panel.ZIndex="1"
217
                                                    Opacity="0.5"/>-->
218
219
220 787a4489 KangIngu
                                            <!--<Border Background="Red" Panel.ZIndex="1" Opacity="0.5" Visibility="Visible" Width="100" Height="100" />-->
221
                                        </Canvas>
222
223
                                        <!--<Border Background="Red" Panel.ZIndex="1" Opacity="0.5" Visibility="Visible" Width="1000" Height="1000" IsHitTestVisible="False"/>-->
224
225
                                        <!--<Leadtools_Windows_Controls:RasterImageViewer x:Name="_imageViewer" Grid.Row="1" BorderThickness="0"/>-->
226
                                    </Canvas>
227
228
                                </ZoomAndPan:ZoomAndPanControl>
229 532d83ef humkyung
                                </telerik:RadBusyIndicator>
230 787a4489 KangIngu
                                <!--캡쳐 화면을 위한 보더-->
231
                                <Border Background="LightGray" 
232
                                        Opacity="{Binding Capture_Opacity, Source={x:Static common:ViewerDataModel.Instance}}"
233
                                        IsHitTestVisible="False" >
234
                                    <TextBlock HorizontalAlignment="Right" Foreground="Red" Text="캡쳐 진행 화면" FontSize="30"/>
235
                                </Border>
236
                                <Angle:AngleControl x:Name="MainAngle"
237
                                                        Grid.Column="1"
238
                                                        Grid.ColumnSpan="2"
239 5ce56a3a KangIngu
                                                        Margin="10"
240
                                                        AngleValue="{Binding AngleValue, Mode=TwoWay, Source={x:Static common:ViewerDataModel.Instance}}"
241 787a4489 KangIngu
                                                        HorizontalAlignment="Right"
242
                                                        VerticalAlignment="Top"
243
                                                        IsHitTestVisible="False"
244
                                                        Visibility="Collapsed" />
245
                            </Grid>
246
                        </telerik:RadDocumentPane>
247
                    </telerik:RadPaneGroup>
248
                    <telerik:RadPaneGroup Style="{DynamicResource Style_RadPanelGroup}" >
249 a1716fa5 KangIngu
                        <telerik:RadPane CanFloat="False" CanUserClose="False" Title="Document 1" PaneHeaderVisibility="Collapsed" x:Name="testPanel2" IsHidden="True" Margin="0,-20,0,0" >
250 787a4489 KangIngu
                            <Grid Background="{DynamicResource KCOMColor_DocumnetBackgroundBrush}">
251
                                <ZoomAndPan:ZoomAndPanControl x:Name="zoomAndPanControl2" 
252 a1716fa5 KangIngu
                                                              MouseWheel="zoomAndPanControl2_MouseWheel"
253
                                                              MouseMove="zoomAndPanControl2_MouseMove"
254
                                                              MouseDown="zoomAndPanControl2_MouseDown"
255
                                                              MouseUp="zoomAndPanControl2_MouseUp"
256
                                                              MouseLeave="zoomAndPanControl_MouseLeave"
257 9cd2865b KangIngu
                                                              ContentScale="{Binding Sync_ContentScale, Mode=TwoWay, Source={x:Static common:ViewerDataModel.Instance}}"
258
                                                              ContentOffsetX="{Binding Sync_ContentOffsetX, Mode=TwoWay, Source={x:Static common:ViewerDataModel.Instance}}"
259
                                                              ContentOffsetY="{Binding Sync_ContentOffsetY, Mode=TwoWay, Source={x:Static common:ViewerDataModel.Instance}}"
260 787a4489 KangIngu
                                                              ConstrainedContentViewportWidth="{Binding ContentViewportWidth, Mode=TwoWay, Source={x:Static common:ViewerDataModel.Instance}}"
261
                                                              ConstrainedContentViewportHeight="{Binding ContentViewportHeight, Mode=TwoWay, Source={x:Static common:ViewerDataModel.Instance}}"
262
                                                              Background="LightGray">
263 a1716fa5 KangIngu
                                    <Canvas x:Name="zoomAndPanCanvas2" Opacity="1" Background="White">
264 787a4489 KangIngu
                                        <Canvas x:Name="drawingRotateCanvas2"
265
                                                        Panel.ZIndex="1"
266
                                                        Background="{Binding BackgroundImage, Mode=OneWay, Source={x:Static common:ViewerDataModel.Instance}}">
267
                                            <Canvas.RenderTransform>
268
                                                <TransformGroup>
269
                                                    <RotateTransform x:Name="rotate2" Angle="0"/>
270
                                                    <TranslateTransform x:Name="translate2" X="0" Y="0"/>
271
                                                </TransformGroup>
272
                                            </Canvas.RenderTransform>
273
                                            <ItemsControl x:Name="itemsControl" ItemsSource="{Binding MarkupControls_Sync, Source={x:Static common:ViewerDataModel.Instance}}"
274
                                          Panel.ZIndex="1">
275
                                                <ItemsControl.ItemsPanel>
276
                                                    <ItemsPanelTemplate>
277
                                                        <Canvas >
278
279
                                                        </Canvas>
280
                                                    </ItemsPanelTemplate>
281
                                                </ItemsControl.ItemsPanel>
282
                                            </ItemsControl>
283 94b7c12c djkim
                                            <Image x:Name="ComparePanel"
284 787a4489 KangIngu
                                                   Source="{Binding ImageViewPath_C, Source={x:Static common:ViewerDataModel.Instance}}" 
285
                                                   Width="{Binding ImageViewWidth_C, Source={x:Static common:ViewerDataModel.Instance}}" 
286
                                                   Height="{Binding ImageViewHeight_C, Source={x:Static common:ViewerDataModel.Instance}}" >
287
                                            </Image>
288
                                            <Canvas x:Name="canvas_compareBorder" IsHitTestVisible="False" Width="{Binding ActualWidth, ElementName=zoomAndPanCanvas2}" Height="{Binding ActualHeight, ElementName=zoomAndPanCanvas2}" Panel.ZIndex="1">
289
                                                <!--<Canvas.RenderTransform>
290
                                                    -->
291
                                                <!--<RotateTransform Angle="{Binding Angle, Source={x:Static common:ViewerDataModel.Instance}}"/>-->
292
                                                <!--
293
                                                    <RotateTransform Angle="{Binding Angle, ElementName=zoomAndPanCanvas2}"/>
294
                                                </Canvas.RenderTransform>-->
295
                                            </Canvas>
296
                                            <!--강인구 추가-->
297
                                        </Canvas>
298
                                    </Canvas>
299
                                </ZoomAndPan:ZoomAndPanControl>
300 9b9de5b2 ljiyeon
                                <Grid Background="#FF353535" Opacity="0.1" IsHitTestVisible="False"/>
301 787a4489 KangIngu
302 9b9de5b2 ljiyeon
                                <!--<Viewbox VerticalAlignment="Stretch" HorizontalAlignment="Stretch" StretchDirection="DownOnly" Stretch="Uniform" IsHitTestVisible="False">
303 787a4489 KangIngu
                                    <TextBlock Text="Previous Document" HorizontalAlignment="Center" VerticalAlignment="Center" RenderTransformOrigin="0.5, 0.5" FontSize="50"
304
                                           Foreground="White" Opacity="0.5" FontWeight="Bold">
305
                                        <TextBlock.RenderTransform>
306
                                            <RotateTransform Angle="-25"/>
307
                                        </TextBlock.RenderTransform>
308
                                    </TextBlock>
309 9b9de5b2 ljiyeon
                                </Viewbox>-->
310 787a4489 KangIngu
311
                                <!--<telerik:RadExpander Header="OPEN" Background="Transparent" telerik:StyleManager.Theme="Office2016"
312
                                                     ExpandDirection="Right" VerticalAlignment="Top" HorizontalAlignment="Left">-->
313
                                <Grid Height="Auto" VerticalAlignment="Top" >
314
                                    <Grid.RowDefinitions>
315
                                        <RowDefinition/>
316
                                        <RowDefinition/>
317
                                    </Grid.RowDefinitions>
318
                                    <!--<Border Background="#3b3838" VerticalAlignment="Stretch" HorizontalAlignment="Stretch" Opacity="0.5" Grid.RowSpan="2"/>-->
319
                                    <Border Background="Black" VerticalAlignment="Stretch" HorizontalAlignment="Stretch" Opacity="0.5" Grid.RowSpan="2" BorderThickness="0"/>
320
                                    <StackPanel Orientation="Horizontal" HorizontalAlignment="Left">
321
                                        <!--<TextBlock Text="ReadOnly Mode" Foreground="#FFFF9A25" VerticalAlignment="Center" Margin="10"/>-->
322
                                        <TextBlock Text="Rev.A" Foreground="#FFFF9A25" VerticalAlignment="Center" Margin="10" x:Name="tlSyncRev"/>
323
                                        <TextBlock Text="Current Page : 1" Foreground="White" VerticalAlignment="Center"  x:Name="tlSyncPageNum"/>
324
                                    </StackPanel>
325
                                    <StackPanel Orientation="Horizontal" HorizontalAlignment="Right">
326
                                        <!--<telerik:RadToggleButton x:Name="CompareMode" IsChecked="False" Content="Compare"  Margin="5" Checked="SyncCompare_Click" Unchecked="SyncCompare_Click" BorderThickness="0" telerik:StyleManager.Theme="Office2013"
327
                                                                       Style="{DynamicResource RadToggleSwtichButtonStyle}" Width="Auto" Padding="10,0"/>-->
328
                                        <!--<telerik:RadRibbonToggleButton x:Name="UserList" Content="User List" Foreground="white"  Margin="5" Click="SyncUserListExpender_Click" BorderThickness="0" telerik:StyleManager.Theme="Office2013" VerticalAlignment="Center"/>-->
329 9cd2865b KangIngu
330
                                        <toggle:HorizontalToggleSwitch x:Name="Sync" CheckedContent="Sync" UncheckedContent="Sync" Width="75" IsChecked="False" ThumbSize="25"
331
                                                                       FontSize="10" FontWeight="Normal" BorderBrush="Transparent" Opacity="0.6"
332
                                                                       Margin="5" Checked="Sync_Click" Unchecked="Sync_Click" BorderThickness="0" telerik:StyleManager.Theme="Office2013"/>
333
334 787a4489 KangIngu
                                        <toggle:HorizontalToggleSwitch x:Name="UserList" CheckedContent="User List" UncheckedContent="User List" Width="75" IsChecked="False" ThumbSize="25"
335
                                                                       FontSize="10" FontWeight="Normal" BorderBrush="Transparent" Opacity="0.6"
336
                                                                       Margin="5" Checked="SyncUserListExpender_Click" Unchecked="SyncUserListExpender_Click" BorderThickness="0" telerik:StyleManager.Theme="Office2013"/>
337
338
                                        <toggle:HorizontalToggleSwitch x:Name="CompareMode" CheckedContent="Compare On" UncheckedContent="Compare Off" Width="90" IsChecked="False" ThumbSize="25"
339
                                                                       FontSize="10" FontWeight="Normal" BorderBrush="Transparent" Opacity="0.6"
340
                                                                       Margin="5" Checked="SyncCompare_Click" Unchecked="SyncCompare_Click" BorderThickness="0" telerik:StyleManager.Theme="Office2013"/>
341
342
                                        <toggle:HorizontalToggleSwitch x:Name="MarkupMode" CheckedContent="Pdf" UncheckedContent="Markup" Width="75" IsChecked="False" ThumbSize="25"
343 bb4e3ec4 djkim
                                                                       FontSize="10" FontWeight="Normal" BorderBrush="Transparent" Opacity="0.6" Visibility="Collapsed"
344 787a4489 KangIngu
                                                                       Margin="5" Checked="SyncChange_Click" Unchecked="SyncChange_Click" BorderThickness="0" telerik:StyleManager.Theme="Office2013"/>
345
346
                                        <toggle:HorizontalToggleSwitch x:Name="BalanceMode" CheckedContent="Balance On" UncheckedContent="Balance Off" Width="90" IsChecked="False" ThumbSize="25"
347
                                                                       FontSize="10" FontWeight="Normal" BorderBrush="Transparent" Opacity="0.6"
348
                                                                       Margin="5" Checked="SyncPageBalance_Click" Unchecked="SyncPageBalance_Click" BorderThickness="0" telerik:StyleManager.Theme="Office2013"/>
349
350
351
                                        <!--<telerik:RadRibbonToggleButton x:Name="MArkupMode" Content="Markup Mode" Foreground="White"  Margin="5"  Click="SyncChange_Click" BorderThickness="0" telerik:StyleManager.Theme="Office2013"/>-->
352
                                        <!--<telerik:RadRibbonToggleButton x:Name="BalanceMode" Content="Balance Mode" Foreground="White"  Margin="5" Click="SyncPageBalance_Click" BorderThickness="0" telerik:StyleManager.Theme="Office2013"/>-->
353
                                        <telerik:RadRibbonButton  Margin="5" Click="SyncPageChange_Click" Tag="-1" telerik:StyleManager.Theme="Office2013" VerticalAlignment="Center">
354
                                            <Image Height="20"
355
                                                               Source="/KCOM;component/Resources/Images/MenuImage_New/up-arrow.png"
356
                                                               Stretch="Uniform" />
357
                                        </telerik:RadRibbonButton>
358
                                        <telerik:RadRibbonButton Margin="5" Click="SyncPageChange_Click" Tag="1" telerik:StyleManager.Theme="Office2013" VerticalAlignment="Center">
359
                                            <Image Height="20"
360
                                                               Source="/KCOM;component/Resources/Images/MenuImage_New/up-arrow.png" RenderTransformOrigin="0.5 0.5"
361
                                                               Stretch="Uniform">
362
                                                <Image.RenderTransform>
363
                                                    <RotateTransform Angle="180"/>
364
                                                </Image.RenderTransform>
365
                                            </Image>
366
                                        </telerik:RadRibbonButton>
367
                                        <telerik:RadRibbonButton  Margin="5" Click="SyncExit_Click" telerik:StyleManager.Theme="Office2013" VerticalAlignment="Center">
368
                                            <Image Height="20"
369
                                                               Source="/KCOM;component/Resources/Images/MenuImage_New/cancel.png"
370
                                                               Stretch="Uniform" />
371
                                        </telerik:RadRibbonButton>
372
                                    </StackPanel>
373
                                    <telerik:RadGridView telerik:StyleManager.Theme="Office2013" ShowGroupPanel="False" ShowGroupFooters="False" AutoExpandGroups="False"  x:Name="gridViewRevMarkup"
374
                                             AutoGenerateColumns="False" HorizontalContentAlignment="Center" SelectionChanged="gridViewRevMarkup_SelectionChanged" SelectionMode="Multiple" BorderThickness="0"
375
                                                      CanUserFreezeColumns ="False" Visibility="Collapsed"  GridLinesVisibility="None" 
376
                                             CanUserDeleteRows="True" CanUserInsertRows="False" IsFilteringAllowed="False" RowIndicatorVisibility="Collapsed" Grid.Row="1">
377
                                        <telerik:RadGridView.HeaderRowStyle>
378
                                            <Style TargetType="telerik:GridViewHeaderRow">
379
                                                <Setter Property="BorderThickness" Value="0"/>
380
                                                <Setter Property="Background" Value="Red"/>
381
                                                <Setter Property="Foreground" Value="White"/>
382
                                                <Setter Property="HorizontalContentAlignment" Value="Center"/>
383
                                                <Setter Property="FontWeight" Value="Black"/>
384
                                                <Setter Property="telerik:StyleManager.Theme" Value="Office2013"/>
385
                                            </Style>
386
                                        </telerik:RadGridView.HeaderRowStyle>
387
                                        <telerik:RadGridView.RowStyle>
388
                                            <Style TargetType="telerik:GridViewRow">
389
                                                <Setter Property="HorizontalContentAlignment" Value="Center"/>
390
                                                <Setter Property="Background" Value="{Binding Path=Consolidate, Converter={StaticResource ConsolidationBackgroudConverter}}" />
391
                                                <Setter Property="Foreground" Value="White"/>
392
                                            </Style>
393
                                        </telerik:RadGridView.RowStyle>
394
                                        <telerik:RadGridView.Columns>
395
                                            <telerik:GridViewSelectColumn Width="Auto"  HeaderCellStyle="{StaticResource GridViewHeaderStyle}">
396
                                                <telerik:GridViewSelectColumn.Header>
397
                                                    <telerik:RadRibbonToggleButton  telerik:StyleManager.Theme="Office2016"
398
                                                                           Visibility="Collapsed" Width="Auto">
399
                                                        <telerik:RadRibbonToggleButton.Content>
400
                                                            <Image HorizontalAlignment="Center"
401
                                                           VerticalAlignment="Center"
402
                                                           Source="/KCOM;component/Resources/Images/MenuImage/check.png" />
403
                                                        </telerik:RadRibbonToggleButton.Content>
404
                                                    </telerik:RadRibbonToggleButton>
405
                                                </telerik:GridViewSelectColumn.Header>
406
                                            </telerik:GridViewSelectColumn>
407
                                            <telerik:GridViewDataColumn Width="Auto"  HeaderCellStyle="{StaticResource GridViewHeaderStyle}"
408
                                                                Header="Color" 
409
                                                                IsReadOnly="True">
410
                                                <telerik:GridViewDataColumn.CellTemplate>
411
                                                    <DataTemplate>
412
                                                        <Grid>
413
                                                            <Grid>
414
                                                                <Rectangle Margin="0,2,2,2" Fill="{Binding DisplayColor, Converter={StaticResource StringToColorConverter}}" />
415
                                                                <TextBlock Foreground="#00000000" Text="Color" />
416
                                                            </Grid>
417
                                                            <Grid VerticalAlignment="Center" Visibility="{Binding AvoidConsolidate, Converter={StaticResource BoolToVisibleConverter}}">
418
                                                                <Image Height="15"
419
                                                               Source="/KCOM;component/Resources/Images/MenuImage/lock_2.png"
420
                                                               Stretch="Uniform" />
421
                                                            </Grid>
422
                                                        </Grid>
423
424
                                                    </DataTemplate>
425
                                                </telerik:GridViewDataColumn.CellTemplate>
426
                                            </telerik:GridViewDataColumn>
427
                                            <telerik:GridViewDataColumn Header="DEPT"  IsReadOnly="True"  Width="Auto" HeaderCellStyle="{StaticResource GridViewHeaderStyle}">
428
                                                <telerik:GridViewDataColumn.CellTemplate>
429
                                                    <DataTemplate>
430
                                                        <TextBlock Text="{Binding Depatment}"  FontSize="12"/>
431
                                                    </DataTemplate>
432
                                                </telerik:GridViewDataColumn.CellTemplate>
433
                                            </telerik:GridViewDataColumn>
434
                                            <telerik:GridViewDataColumn Header="NAME"  IsReadOnly="True" Width="Auto"  HeaderCellStyle="{StaticResource GridViewHeaderStyle}">
435
                                                <telerik:GridViewDataColumn.CellTemplate>
436
                                                    <DataTemplate>
437
                                                        <TextBlock Text="{Binding UserName, Mode=TwoWay}" FontSize="10"/>
438
                                                    </DataTemplate>
439
                                                </telerik:GridViewDataColumn.CellTemplate>
440
                                            </telerik:GridViewDataColumn>
441
                                            <telerik:GridViewDataColumn Header="CONSOLIDATION"  IsReadOnly="True" Width="Auto"  HeaderCellStyle="{StaticResource GridViewHeaderStyle}">
442
                                                <telerik:GridViewDataColumn.CellTemplate>
443
                                                    <DataTemplate>
444
                                                        <!--<TextBlock Text="{Binding Consolidate}"/>-->
445
                                                        <Grid>
446
                                                            <Grid.ColumnDefinitions>
447
                                                                <ColumnDefinition Width="Auto" />
448
                                                                <ColumnDefinition Width="Auto" />
449
                                                                <ColumnDefinition Width="Auto" />
450
                                                            </Grid.ColumnDefinitions>
451
452
                                                            <TextBlock Grid.Column="0"
453
                                                               Foreground="Red"
454
                                                               Text="{Binding AvoidConsolidate,
455
                                                                              Converter={StaticResource AvoidStringConverter}}" />
456
                                                            <TextBlock Grid.Column="1"
457
                                                               Foreground="Blue"
458
                                                               Text="{Binding PartConsolidate,
459
                                                                              Converter={StaticResource TeamConsoliStringConverter}}" />
460
                                                            <TextBlock Grid.Column="2" Text="{Binding Consolidate, Converter={StaticResource ConsoliStringConverter}}" />
461
                                                            <!--
462
                                                        <TextBlock HorizontalAlignment="Center" Grid.Column="2">
463
                                                        <TextBlock.Text>
464
                                                        <Binding Converter="{StaticResource ConsoliStringConverter}"/>
465
                                                        </TextBlock.Text>
466
                                                        </TextBlock>
467
                                                    -->
468
                                                        </Grid>
469
                                                    </DataTemplate>
470
                                                </telerik:GridViewDataColumn.CellTemplate>
471
                                            </telerik:GridViewDataColumn>
472
473
                                            <telerik:GridViewDataColumn Header="Comment Move"  IsReadOnly="True" Width="Auto"  HeaderCellStyle="{StaticResource GridViewHeaderStyle}">
474
                                                <telerik:GridViewDataColumn.CellTemplate>
475
                                                    <DataTemplate>
476
                                                        <telerik:RadButton telerik:StyleManager.Theme="Office2016" HorizontalAlignment="Stretch" VerticalAlignment="Stretch" Content="COPY" PreviewMouseDown="Comment_Move" />
477
                                                        <!--<TextBlock Text="{Binding UserName, Mode=TwoWay}" FontSize="10"/>-->
478
                                                    </DataTemplate>
479
                                                </telerik:GridViewDataColumn.CellTemplate>
480
                                            </telerik:GridViewDataColumn>
481
482
                                            <telerik:GridViewDataColumn Header=""  IsReadOnly="True" Width="*"  HeaderCellStyle="{StaticResource GridViewHeaderStyle}">
483
                                            </telerik:GridViewDataColumn>
484
                                        </telerik:RadGridView.Columns>
485
                                    </telerik:RadGridView>
486
                                </Grid>
487
                                <!--</telerik:RadExpander>-->
488
489
490
                            </Grid>
491
                        </telerik:RadPane>
492
                    </telerik:RadPaneGroup>
493
                </telerik:RadSplitContainer>
494
            </telerik:RadDocking.DocumentHost>
495
496
497 d0eda156 ljiyeon
            <telerik:RadSplitContainer Orientation="Vertical" InitialPosition="DockedLeft" x:Name="thumbnailPanel" SizeChanged="thumbnailPanel_SizeChanged">
498 29e5dc6a ljiyeon
                <!-- Width="250" MinWidth="250" -->
499 787a4489 KangIngu
                <!--<telerik:RadPaneGroup Margin="0" Style="{DynamicResource Style_RadPanelGroup}">-->
500
                <telerik:RadPaneGroup Margin="0" telerik:StyleManager.Theme="Office2016" x:Name="PN_Navi">
501
                    <telerik:RadPane Header="DOCUMENT" CanFloat="False" CanUserClose="False" CanUserPin="True" 
502
                                     ContextMenuTemplate="{x:Null}" PaneHeaderVisibility="Visible" telerik:StyleManager.Theme="Office2016">
503
                        <!--<telerik:RadPane.TitleTemplate>
504
                            <DataTemplate>
505
                                <Grid>
506
                                    <Grid.ColumnDefinitions>
507
                                        <ColumnDefinition Width="Auto" />
508
                                        <ColumnDefinition />
509
                                    </Grid.ColumnDefinitions>
510
                                    <ContentPresenter Content="{Binding}"
511
                                                      Margin="0,0,75,0" />
512
                                         <telerik:RadButton Grid.Column="1" Content="PIN"/>
513
                                </Grid>
514
                            </DataTemplate>
515
                        </telerik:RadPane.TitleTemplate>-->
516
                        <!--<Grid VerticalAlignment="Stretch" Margin="0">
517
                            <Grid.RowDefinitions>
518
                                <RowDefinition Height="30"/>
519
                                <RowDefinition Height="*"/>
520
                            </Grid.RowDefinitions>
521
                            <Border BorderBrush="{Binding ElementName=leftPanel}" BorderThickness="0,1">
522
                                <TextBlock Text="Thumbnail" Margin="5"/>
523
                            </Border>
524
                            <controls:PageNavigator x:Name="pageNavigator" Grid.Row="1"/>
525
                        </Grid>-->
526
                        <Grid>
527
                            <!--<controls:PageNavigator x:Name="pageNavigator" Grid.Row="1" Visibility="Collapsed"/>-->
528
                            <!--<Grid.RowDefinitions>
529
                                <RowDefinition Height="Auto"/>
530
                                <RowDefinition Height="*"/>
531
                            </Grid.RowDefinitions>-->
532
                            <!--<telerik:RadButton Content="Panorama" telerik:StyleManager.Theme="Office2016" FontSize="8"  Background="#FF0054B9" Foreground="White"
533
                                       BorderThickness="0" CornerRadius="3" HorizontalAlignment="Right" Padding="5" Margin="5,10"/>-->
534
                            <controls:Sample x:Name="pageNavigator"/>
535
                        </Grid>
536
537
                    </telerik:RadPane>
538
                </telerik:RadPaneGroup>
539
            </telerik:RadSplitContainer>
540
541 84190963 taeseongkim
            <telerik:RadSplitContainer Orientation="Vertical" InitialPosition="DockedRight" MaxWidth="450" Width="400">
542 fad4d1c0 taeseongkim
                <telerik:RadPaneGroup telerik:StyleManager.Theme="Office2016">
543 84190963 taeseongkim
                    <telerik:RadPane Header="PEMSS" Visibility="Visible" CanFloat="False"  CanUserClose="False"  ContextMenuTemplate="{x:Null}" IsPinned="True" telerik:StyleManager.Theme="Office2016" x:Name="pemssPanel">
544 fad4d1c0 taeseongkim
                        <view:RequirementView/>
545
                    </telerik:RadPane>
546
                </telerik:RadPaneGroup>
547 787a4489 KangIngu
                <telerik:RadPaneGroup telerik:StyleManager.Theme="Office2016">
548 992a98b4 KangIngu
                    <telerik:RadPane Header="SEARCH" Visibility="Visible" CanFloat="False" CanUserClose="False"  ContextMenuTemplate="{x:Null}" IsPinned="False" telerik:StyleManager.Theme="Office2016" x:Name="searchPane">
549
                        <controls:SearchPanel x:Name="searchPanel_Instance"/>
550 787a4489 KangIngu
                    </telerik:RadPane>
551
                </telerik:RadPaneGroup>
552
                <telerik:RadPaneGroup telerik:StyleManager.Theme="Office2016">
553 c460df05 djkim
                    <telerik:RadPane Header="M-TALK" CanFloat="False" CanUserClose="False" ContextMenuTemplate="{x:Null}" IsPinned="False" telerik:StyleManager.Theme="Office2016"  x:Name="talkPane">
554 787a4489 KangIngu
                        <messanger:ConversationView/>
555
                    </telerik:RadPane>
556
                </telerik:RadPaneGroup>
557
                <telerik:RadPaneGroup Visibility="Visible" telerik:StyleManager.Theme="Office2016">
558 992a98b4 KangIngu
                    <telerik:RadPane Header="SYMBOL" Visibility="Visible" CanFloat="False" CanUserClose="False"  ContextMenuTemplate="{x:Null}" IsPinned="False" telerik:StyleManager.Theme="Office2016"  x:Name="SymbolPane">
559 53880c83 ljiyeon
                        <!--<controls:Symbol />-->
560
                        <controls:Symbol x:Name="symbolPanel_Instance"/>
561 787a4489 KangIngu
                        <!--<telerik:RadButton Click="Create_Symbol">Create</telerik:RadButton>-->
562
                    </telerik:RadPane>
563
                </telerik:RadPaneGroup>
564 992a98b4 KangIngu
                <telerik:RadPaneGroup telerik:StyleManager.Theme="Office2016"  telerik:ProportionalStackPanel.RelativeSize="60, 100">
565
                    <telerik:RadPane Header="FAVORITE" Visibility="Visible"  CanFloat="False" CanUserClose="False"  ContextMenuTemplate="{x:Null}" IsPinned="False" telerik:StyleManager.Theme="Office2016"  x:Name="FavoritePane">
566
                        <controls:FavoritePanel/>
567
                    </telerik:RadPane>
568
                </telerik:RadPaneGroup>
569 787a4489 KangIngu
            </telerik:RadSplitContainer>
570
            <telerik:RadSplitContainer Orientation="Horizontal" InitialPosition="DockedBottom">
571
                <telerik:RadPaneGroup telerik:StyleManager.Theme="Office2016" telerik:ProportionalStackPanel.RelativeSize="140, 100">
572
                    <telerik:RadPane Header="User information List"  CanFloat="False" CanUserClose="False"  ContextMenuTemplate="{x:Null}" telerik:StyleManager.Theme="Office2016"  x:Name="infoListPane">
573
                        <telerik:RadPane.TitleTemplate>
574
                            <DataTemplate>
575
                                <Grid>
576
                                    <Grid.ColumnDefinitions>
577
                                        <ColumnDefinition Width="*" />
578
                                        <ColumnDefinition Width="Auto" />
579
                                    </Grid.ColumnDefinitions>
580
581
                                    <StackPanel Orientation="Horizontal">
582
                                        <TextBlock Margin="1"
583
                                                   VerticalAlignment="Center"
584
                                                   Text="{Binding}" />
585
                                        <telerik:RadRibbonButton x:Name="btnConsolidate"
586
                                                                 VerticalAlignment="Center"
587
                                                                 Click="btnConsolidate_Click"
588
                                                                 Loaded="btnConsolidate_Loaded"
589
                                                                 telerik:StyleManager.Theme="Office2016"
590
                                                                 ToolTipService.ToolTip="Consolidate">
591
                                            <Border Background="#E9F0F8"
592
                                                    BorderBrush="#839AB3"
593
                                                    BorderThickness="1">
594
                                                <StackPanel Margin="1" Orientation="Horizontal">
595
                                                    <!--<Image Width="15" Source="/DeepView;component/Images/MenuImage/document-new.png" />-->
596
                                                    <TextBlock Margin="1"
597
                                                               VerticalAlignment="Center"
598
                                                               Foreground="Black"
599
                                                               Text="Consolidate" />
600
                                                </StackPanel>
601
                                            </Border>
602
                                        </telerik:RadRibbonButton>
603
                                        <telerik:RadRibbonButton x:Name="btnTeamConsolidate"
604
                                                                 VerticalAlignment="Center"
605
                                                                 Click="btnTeamConsolidate_Click"
606
                                                                 Loaded="btnTeamConsolidate_Loaded"
607
                                                                 telerik:StyleManager.Theme="Office2016"
608
                                                                 ToolTipService.ToolTip="Consolidate">
609
                                            <Border Background="#E9F0F8"
610
                                                    BorderBrush="#839AB3"
611
                                                    BorderThickness="1">
612
                                                <StackPanel Margin="1" Orientation="Horizontal">
613
                                                    <!--<Image Width="15" Source="/DeepView;component/Images/MenuImage/document-team.png" />-->
614
                                                    <TextBlock Margin="1"
615
                                                               VerticalAlignment="Center"
616
                                                               Foreground="Black"
617
                                                               Text="Team Consolidate" />
618
                                                </StackPanel>
619
                                            </Border>
620
                                        </telerik:RadRibbonButton>
621
                                        <telerik:RadRibbonButton x:Name="btnFinalPDF"
622
                                                                 VerticalAlignment="Center"
623
                                                                 Click="FinalPDFEvent"
624
                                                                 Loaded="btnFinalPDF_Loaded"
625
                                                                 telerik:StyleManager.Theme="Office2016"
626
                                                                 ToolTipService.ToolTip="FinalPDF">
627
                                            <Border Background="#E9F0F8"
628
                                                    BorderBrush="#839AB3"
629
                                                    BorderThickness="1">
630
                                                <StackPanel Margin="1" Orientation="Horizontal">
631
                                                    <!--<Image Width="15" Source="/DeepView;component/Images/MenuImage/final_pdf2.png" />-->
632
                                                    <TextBlock Margin="1"
633
                                                               VerticalAlignment="Center"
634
                                                               Foreground="Black"
635
                                                               Text="Merged PDF" />
636
                                                </StackPanel>
637
                                            </Border>
638
                                        </telerik:RadRibbonButton>
639 80458c15 ljiyeon
                                        <telerik:RadRibbonButton x:Name="btnConsolidateFinalPDF"
640
                                                                 VerticalAlignment="Center"
641
                                                                 Click="ConsolidateFinalPDFEvent"
642
                                                                 Loaded="btnConsolidateFinalPDF_Loaded"
643
                                                                 telerik:StyleManager.Theme="Office2016"
644
                                                                 ToolTipService.ToolTip="Consolidate &amp; FinalPDF">
645
                                            <Border Background="#E9F0F8"
646
                                                    BorderBrush="#839AB3"
647
                                                    BorderThickness="1">
648
                                                <StackPanel Margin="1" Orientation="Horizontal">
649
                                                    <!--<Image Width="15" Source="/DeepView;component/Images/MenuImage/final_pdf2.png" />-->
650
                                                    <TextBlock Margin="1"
651
                                                               VerticalAlignment="Center"
652
                                                               Foreground="Black"
653
                                                               Text="Consolidate &amp; Merged PDF" />
654
                                                </StackPanel>
655
                                            </Border>
656
                                        </telerik:RadRibbonButton>
657 fad4d1c0 taeseongkim
                                        <!--<telerik:RadRibbonButton x:Name="btnAdjust"
658 0f6604ce taeseongkim
                                                                 VerticalAlignment="Center"
659
                                                                 Click="btnAdjustEvent"
660
                                                                 Loaded="btnAdjust_Loaded"
661
                                                                 telerik:StyleManager.Theme="Office2016"
662
                                                                 ToolTipService.ToolTip="정합성 목록">
663
                                            <Border Background="#E9F0F8"
664
                                                    BorderBrush="#839AB3"
665
                                                    BorderThickness="1">
666
                                                <StackPanel Margin="1" Orientation="Horizontal">
667 fad4d1c0 taeseongkim
                                                    --><!--<Image Width="15" Source="/DeepView;component/Images/MenuImage/final_pdf2.png" />--><!--
668 0f6604ce taeseongkim
                                                    <TextBlock Margin="1"
669
                                                               VerticalAlignment="Center"
670
                                                               Foreground="Black"
671
                                                               Text="정합성 목록"/>
672
                                                </StackPanel>
673
                                            </Border>
674 fad4d1c0 taeseongkim
                                        </telerik:RadRibbonButton>-->
675 787a4489 KangIngu
                                    </StackPanel>
676
                                    <!--<StackPanel Grid.Column="1"
677
                                                HorizontalAlignment="Right"
678
                                                Orientation="Horizontal">
679
                                        <telerik:RadRibbonButton VerticalAlignment="Center"
680
                                                                 Click="ExpandButtonEvent_Click"
681
                                                                 Tag="CLOSE"
682
                                                                 telerik:StyleManager.Theme="Windows8"
683
                                                                 ToolTipService.ToolTip="Expand On">
684
                                        </telerik:RadRibbonButton>
685

686
                                        <telerik:RadRibbonButton VerticalAlignment="Center"
687
                                                                 Click="ExpandButtonEvent_Click"
688
                                                                 Tag="OPEN"
689
                                                                 telerik:StyleManager.Theme="Windows8"
690
                                                                 ToolTipService.ToolTip="Expand Off">
691
                                            <Image Width="15"
692
                                                   RenderTransformOrigin="0.5,0.5">
693
                                                <Image.RenderTransform>
694
                                                    <RotateTransform Angle="180" />
695
                                                </Image.RenderTransform>
696
                                            </Image>
697
                                        </telerik:RadRibbonButton>
698
                                    </StackPanel>-->
699
                                </Grid>
700
                            </DataTemplate>
701
                        </telerik:RadPane.TitleTemplate>
702 5538eb5a ljiyeon
                        <telerik:RadGridView telerik:StyleManager.Theme="Office2013" ShowGroupPanel="True" ShowGroupFooters="False" AutoExpandGroups="True"  x:Name="gridViewMarkup"
703 787a4489 KangIngu
                                             AutoGenerateColumns="False" HorizontalContentAlignment="Center" SelectionChanged="gridViewMarkup_SelectionChanged" SelectionMode="Multiple"
704 5538eb5a ljiyeon
                                             CanUserDeleteRows="True" CanUserInsertRows="False" IsFilteringAllowed="False" RowIndicatorVisibility="Collapsed" 
705
                                             CanUserSortColumns ="True" >
706
                            <telerik:RadGridView.GroupDescriptors>
707 fddb48f7 ljiyeon
                                <telerik:GroupDescriptor Member="Depatment" SortDirection="Ascending" DisplayContent = "DEPT" x:Name="gDept">
708 5538eb5a ljiyeon
                                    <telerik:GroupDescriptor.AggregateFunctions>
709
                                        <telerik:CountFunction Caption="Entries count : " />
710
                                    </telerik:GroupDescriptor.AggregateFunctions>
711
                                </telerik:GroupDescriptor>
712
                                
713
                            </telerik:RadGridView.GroupDescriptors>
714 787a4489 KangIngu
                            <telerik:RadGridView.RowStyle>
715
                                <Style TargetType="telerik:GridViewRow">
716
                                    <Setter Property="HorizontalContentAlignment" Value="Center"/>
717
                                    <Setter Property="Background" Value="{Binding Path=Consolidate, Converter={StaticResource ConsolidationBackgroudConverter}}" />
718
                                    <Setter Property="Visibility" Value="{Binding Path=IsPreviewUser,Converter={StaticResource previewerVisibleConverter}}"/>
719
                                    <!--<Setter Property="Template" Value="{StaticResource GridViewRowTemplate}" />-->
720
                                </Style>
721
                            </telerik:RadGridView.RowStyle>
722
                            <telerik:RadGridView.Columns>
723
                                <telerik:GridViewSelectColumn Width="Auto">
724
                                    <telerik:GridViewSelectColumn.Header>
725
                                        <telerik:RadRibbonToggleButton  telerik:StyleManager.Theme="Office2016"
726
                                                                           Visibility="Collapsed" Width="Auto">
727
                                            <telerik:RadRibbonToggleButton.Content>
728
                                                <Image HorizontalAlignment="Center"
729
                                                           VerticalAlignment="Center"
730
                                                           Source="/KCOM;component/Resources/Images/MenuImage/check.png" />
731
                                            </telerik:RadRibbonToggleButton.Content>
732
                                        </telerik:RadRibbonToggleButton>
733
                                    </telerik:GridViewSelectColumn.Header>
734
                                </telerik:GridViewSelectColumn>
735
                                <telerik:GridViewDataColumn Width="Auto"
736
                                                                Header="Color"
737
                                                                IsReadOnly="True">
738
                                    <telerik:GridViewDataColumn.CellTemplate>
739
                                        <DataTemplate>
740
                                            <Grid>
741
                                                <Grid>
742
                                                    <Rectangle Margin="0,2,2,2" Fill="{Binding DisplayColor, Converter={StaticResource StringToColorConverter}}" />
743
                                                    <TextBlock Foreground="#00000000" Text="Color" />
744
                                                </Grid>
745
                                                <Grid VerticalAlignment="Center" Visibility="{Binding AvoidConsolidate, Converter={StaticResource BoolToVisibleConverter}}">
746
                                                    <Image Height="15"
747
                                                               Source="/KCOM;component/Resources/Images/MenuImage/lock_2.png"
748
                                                               Stretch="Uniform" />
749
                                                </Grid>
750
                                            </Grid>
751
752
                                        </DataTemplate>
753
                                    </telerik:GridViewDataColumn.CellTemplate>
754
                                </telerik:GridViewDataColumn>
755 5538eb5a ljiyeon
                                <telerik:GridViewDataColumn Header="DEPT"  IsReadOnly="True"  Width="Auto" DataMemberBinding="{Binding Depatment}" >
756 787a4489 KangIngu
                                    <telerik:GridViewDataColumn.CellTemplate>
757
                                        <DataTemplate>
758
                                            <TextBlock Text="{Binding Depatment}"/>
759
                                        </DataTemplate>
760
                                    </telerik:GridViewDataColumn.CellTemplate>
761
                                </telerik:GridViewDataColumn>
762 5538eb5a ljiyeon
                                <telerik:GridViewDataColumn Header="NAME"  IsReadOnly="True" Width="Auto" DataMemberBinding="{Binding UserName}">
763 787a4489 KangIngu
                                    <telerik:GridViewDataColumn.CellTemplate>
764
                                        <DataTemplate>
765
                                            <TextBlock Text="{Binding UserName, Mode=TwoWay}"/>
766
                                        </DataTemplate>
767
                                    </telerik:GridViewDataColumn.CellTemplate>
768
                                </telerik:GridViewDataColumn>
769
                                <telerik:GridViewDataColumn Header="UPDATETIME"  IsReadOnly="True" Width="Auto">
770
                                    <telerik:GridViewDataColumn.CellTemplate>
771
                                        <DataTemplate>
772 992a98b4 KangIngu
                                            <TextBlock Text="{Binding UpdateTime}"/>
773 787a4489 KangIngu
                                        </DataTemplate>
774
                                    </telerik:GridViewDataColumn.CellTemplate>
775
                                </telerik:GridViewDataColumn>
776
                                <telerik:GridViewDataColumn Header="CONSOLIDATION"  IsReadOnly="True" Width="Auto">
777
                                    <telerik:GridViewDataColumn.CellTemplate>
778
                                        <DataTemplate>
779
                                            <!--<TextBlock Text="{Binding Consolidate}"/>-->
780
                                            <Grid>
781
                                                <Grid.ColumnDefinitions>
782
                                                    <ColumnDefinition Width="Auto" />
783
                                                    <ColumnDefinition Width="Auto" />
784
                                                    <ColumnDefinition Width="Auto" />
785
                                                </Grid.ColumnDefinitions>
786
787
                                                <TextBlock Grid.Column="0"
788
                                                               Foreground="Red"
789
                                                               Text="{Binding AvoidConsolidate,
790
                                                                              Converter={StaticResource AvoidStringConverter}}" />
791
                                                <TextBlock Grid.Column="1"
792
                                                               Foreground="Blue"
793
                                                               Text="{Binding PartConsolidate,
794
                                                                              Converter={StaticResource TeamConsoliStringConverter}}" />
795
                                                <TextBlock Grid.Column="2" Text="{Binding Consolidate, Converter={StaticResource ConsoliStringConverter}}" />
796
                                                <!--
797
                                                        <TextBlock HorizontalAlignment="Center" Grid.Column="2">
798
                                                        <TextBlock.Text>
799
                                                        <Binding Converter="{StaticResource ConsoliStringConverter}"/>
800
                                                        </TextBlock.Text>
801
                                                        </TextBlock>
802
                                                    -->
803
                                            </Grid>
804
                                        </DataTemplate>
805
                                    </telerik:GridViewDataColumn.CellTemplate>
806
                                </telerik:GridViewDataColumn>
807 746a62bc djkim
                                
808 787a4489 KangIngu
                                <telerik:GridViewDataColumn Header="DELETE"  IsReadOnly="True" Width="Auto">
809
                                    <telerik:GridViewDataColumn.CellTemplate>
810
                                        <DataTemplate>
811
                                            <Button Content="DELETE" Visibility="{Binding userDelete, Converter={StaticResource BooleanToVisibilityConverter}}" Click="DeleteCommentEvent" CommandParameter="{Binding}"/>
812
                                        </DataTemplate>
813
                                    </telerik:GridViewDataColumn.CellTemplate>
814
                                </telerik:GridViewDataColumn>
815
                            </telerik:RadGridView.Columns>
816
                        </telerik:RadGridView>
817
                    </telerik:RadPane>
818
                </telerik:RadPaneGroup>
819 90e7968d ljiyeon
                <telerik:RadPaneGroup telerik:StyleManager.Theme="Office2016" telerik:ProportionalStackPanel.RelativeSize="100, 100">
820 787a4489 KangIngu
                    <telerik:RadPane Header="Document History"  CanFloat="False" CanUserClose="False"  ContextMenuTemplate="{x:Null}" telerik:StyleManager.Theme="Office2016"  x:Name="historyPane">
821
                        <Grid>
822
                            <telerik:RadGridView telerik:StyleManager.Theme="Office2013" ShowGroupPanel="False" ShowGroupFooters="False" AutoExpandGroups="False"  x:Name="gridViewHistory"
823
                                             CanUserDeleteRows="True" CanUserInsertRows="False" IsFilteringAllowed="False" RowIndicatorVisibility="Collapsed" AutoGenerateColumns="False">
824
                                <telerik:RadGridView.Columns>
825 c91f45f3 djkim
                                    <telerik:GridViewDataColumn Header="Slip No"  IsReadOnly="True" Width="Auto">
826 787a4489 KangIngu
                                        <telerik:GridViewDataColumn.CellTemplate>
827
                                            <DataTemplate>
828 94b7c12c djkim
                                                <telerik:RadButton Content="{Binding GroupNo}" Tag="{Binding EnsembleLink}" Margin="5" BorderThickness="0" Click="EnsembleLink_Button_Click" Background="Transparent">
829
                                                </telerik:RadButton>
830 787a4489 KangIngu
                                            </DataTemplate>
831
                                        </telerik:GridViewDataColumn.CellTemplate>
832
                                    </telerik:GridViewDataColumn>
833 c91f45f3 djkim
                                    <telerik:GridViewDataColumn Header="Doc No"  IsReadOnly="True" Width="Auto">
834 787a4489 KangIngu
                                        <telerik:GridViewDataColumn.CellTemplate>
835
                                            <DataTemplate>
836 c91f45f3 djkim
                                                <TextBlock Text="{Binding DocNo}" HorizontalAlignment="Center"/>
837
                                            </DataTemplate>
838
                                        </telerik:GridViewDataColumn.CellTemplate>
839
                                    </telerik:GridViewDataColumn>
840
                                    <telerik:GridViewDataColumn Header="Rev No"  IsReadOnly="True" Width="Auto">
841
                                        <telerik:GridViewDataColumn.CellTemplate>
842
                                            <DataTemplate>
843
                                                <TextBlock Text="{Binding RevNo}" HorizontalAlignment="Center"/>
844 787a4489 KangIngu
                                            </DataTemplate>
845
                                        </telerik:GridViewDataColumn.CellTemplate>
846
                                    </telerik:GridViewDataColumn>
847
                                    <telerik:GridViewDataColumn Header="RESULT"  IsReadOnly="True" Width="Auto">
848
                                        <telerik:GridViewDataColumn.CellTemplate>
849
                                            <DataTemplate>
850
                                                <TextBlock Text="{Binding RESULT}" HorizontalAlignment="Center"/>
851
                                            </DataTemplate>
852
                                        </telerik:GridViewDataColumn.CellTemplate>
853
                                    </telerik:GridViewDataColumn>
854
                                    <telerik:GridViewDataColumn CellStyle="{StaticResource GridViewAlign}"  IsReadOnly="True"
855
                                                                        DataMemberBinding="{Binding FROM_VENDOR}"
856
                                                                        Header="File(in)" telerik:StyleManager.Theme="Office2013"
857
                                                                        HeaderTextAlignment="Center">
858
                                        <telerik:GridViewDataColumn.CellTemplate>
859
                                            <DataTemplate>
860
                                                <Image Height="22" Source="/KCOM;component/Resources/Images/MenuImage_New/PDF.png" 
861
                                                       MouseLeftButtonDown="PdfLink_ButtonDown" Tag="{Binding FROM_VENDOR}"
862
                                                       Visibility="{Binding FROM_VENDOR, Converter={StaticResource PDFVisibleConverter}}"/>
863
                                            </DataTemplate>
864
                                        </telerik:GridViewDataColumn.CellTemplate>
865
                                    </telerik:GridViewDataColumn>
866
867
                                    <telerik:GridViewDataColumn CellStyle="{StaticResource GridViewAlign}"
868
                                                                        DataMemberBinding="{Binding TO_VENDOR}" IsReadOnly="True"
869
                                                                        Header="File(out)" telerik:StyleManager.Theme="Office2013"
870
                                                                        HeaderTextAlignment="Center">
871
                                        <telerik:GridViewDataColumn.CellTemplate>
872
                                            <DataTemplate>
873
                                                <Image Height="22" Source="/KCOM;component/Resources/Images/MenuImage_New/PDF.png" 
874
                                                       MouseLeftButtonDown="PdfLink_ButtonDown" Tag="{Binding TO_VENDOR}"
875
                                                       Visibility="{Binding TO_VENDOR, Converter={StaticResource PDFVisibleConverter}}"/>
876
                                            </DataTemplate>
877
                                        </telerik:GridViewDataColumn.CellTemplate>
878
                                    </telerik:GridViewDataColumn>
879
880
881
                                    <!--<telerik:GridViewDataColumn Header="FROM_VENDOR"  IsReadOnly="True" Width="Auto">
882
                                    <telerik:GridViewDataColumn.CellTemplate>
883
                                        <DataTemplate>
884
                                            <telerik:RadRibbonButton telerik:StyleManager.Theme="Office2016">
885
                                                <
886
                                                <TextBlock Text="{Binding FROM_VENDOR}" HorizontalAlignment="Center"/>
887
                                            </telerik:RadRibbonButton>                                            
888
                                        </DataTemplate>
889
                                    </telerik:GridViewDataColumn.CellTemplate>
890
                                </telerik:GridViewDataColumn>-->
891
                                    <!--<telerik:GridViewDataColumn Header="TO_VENDOR"  IsReadOnly="True" Width="Auto">
892
                                    <telerik:GridViewDataColumn.CellTemplate>
893
                                        <DataTemplate>
894
                                            <TextBlock Text="{Binding TO_VENDOR}" HorizontalAlignment="Center"/>
895
                                        </DataTemplate>
896
                                    </telerik:GridViewDataColumn.CellTemplate>
897
                                </telerik:GridViewDataColumn>-->
898
                                    <telerik:GridViewDataColumn Header="SYNC"  IsReadOnly="True" Width="Auto" CellStyle="{StaticResource GridViewAlign}" HeaderTextAlignment="Center">
899
                                        <telerik:GridViewDataColumn.CellTemplate>
900
                                            <DataTemplate>
901
                                                <!--<Border Grid.Column="1" Background="#FF0054B9" CornerRadius="5" Margin="5" VerticalAlignment="Center" MinHeight="20"
902
                                                        Visibility="{Binding IsSyncPossible, Converter={StaticResource BoolToVisibleConverter}}">
903
                                                    <telerik:RadButton Content="OPEN" telerik:StyleManager.Theme="Office2016"  Foreground="White"
904
                                                                       Background="Transparent" HorizontalAlignment="Stretch" Click="RadButton_Click" CommandParameter="{Binding}"/>
905
                                                </Border>-->
906
                                                <telerik:RadButton  Margin="5" BorderThickness="0" Click="RadButton_Click" CommandParameter="{Binding}" Background="Transparent"
907
                                                                   Visibility="{Binding IsSyncPossible, Converter={StaticResource BoolToVisibleConverter}}">
908
                                                    <telerik:RadButton.Content>
909
                                                        <Image Source="/KCOM;component/Resources/Images/MenuImage_new/file.png" Stretch="Uniform" Width="20" Height="20"/>
910
                                                    </telerik:RadButton.Content>
911
                                                </telerik:RadButton>
912
913
                                                <!--<TextBlock Text="{Binding IsSyncPossible}" HorizontalAlignment="Center"/>-->
914
                                            </DataTemplate>
915
                                        </telerik:GridViewDataColumn.CellTemplate>
916
                                    </telerik:GridViewDataColumn>
917 94b7c12c djkim
                                    <telerik:GridViewDataColumn CellStyle="{StaticResource GridViewAlign}"
918
                                                                        DataMemberBinding="{Binding EnsembleLink}" IsReadOnly="True"
919
                                                                        Header="Attachments" telerik:StyleManager.Theme="Office2013"
920
                                                                        HeaderTextAlignment="Center">
921
                                        <telerik:GridViewDataColumn.CellTemplate>
922
                                            <DataTemplate>
923
                                                <telerik:RadButton Content="Link" Tag="{Binding EnsembleLink}" Margin="5" BorderThickness="0" Click="EnsembleLink_Button_Click" Background="Transparent">
924
925
                                                </telerik:RadButton>
926
                                            </DataTemplate>
927
                                        </telerik:GridViewDataColumn.CellTemplate>
928
                                    </telerik:GridViewDataColumn>
929 787a4489 KangIngu
                                </telerik:RadGridView.Columns>
930
                            </telerik:RadGridView>
931
                            <telerik:RadBusyIndicator x:Name="gridViewHistory_Busy" IsBusy="False" telerik:StyleManager.Theme="Office2016"
932
                                                  BusyContent="Sync Data Loading"/>
933
                        </Grid>
934
                    </telerik:RadPane>
935
                </telerik:RadPaneGroup>
936
            </telerik:RadSplitContainer>
937
938
939
        </telerik:RadDocking>
940
    </Grid>
941
</UserControl>
클립보드 이미지 추가 (최대 크기: 500 MB)