프로젝트

일반

사용자정보

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

markus / KCOM / Views / MainMenu.xaml @ eeb0a39c

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

1 787a4489 KangIngu
<UserControl xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation"  x:Class="KCOM.Views.MainMenu"
2 2b9b3656 taeseongkim
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
3
             xmlns:toggle="clr-namespace:ToggleSwitch;assembly=ToggleSwitch"
4
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" 
5
             xmlns:telerikGrid="clr-namespace:Telerik.Windows.Controls.GridView;assembly=Telerik.Windows.Controls.GridView"
6 787a4489 KangIngu
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
7
             xmlns:converter="clr-namespace:KCOM.Common.Converter"
8
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008"  xmlns:common="clr-namespace:KCOM.Common"
9
             xmlns:controls="clr-namespace:KCOM.Controls"  xmlns:ZoomAndPan="clr-namespace:ZoomAndPan;assembly=ZoomAndPan"
10
             mc:Ignorable="d"   
11
             d:DesignHeight="768" d:DesignWidth="1080" IsTabStop="True" xmlns:messanger="clr-namespace:KCOM.Messenger"
12
             xmlns:Angle="clr-namespace:MarkupToPDF.Controls.Angle;assembly=MarkupToPDF">
13
    <UserControl.Resources>
14 f87dfb18 taeseongkim
        <converter:ZeroToCollapsedConverter x:Key="ZeroToCollapsedConverter"/>
15
        <Style TargetType="{x:Type telerikGrid:GridViewHeaderCell}" x:Key="GridViewHeaderStyle">
16 787a4489 KangIngu
            <Setter Property="VerticalContentAlignment" Value="Center"/>
17
            <Setter Property="HorizontalContentAlignment" Value="Center"/>
18
            <Setter Property="BorderThickness" Value="0"/>
19
            <Setter Property="Background">
20
                <Setter.Value>
21
                    <SolidColorBrush Color="Black" Opacity="0.5"/>
22
                </Setter.Value>
23
            </Setter>
24
            <!--<Setter Property="Background" Value="Black"/>-->
25
            <Setter Property="BorderBrush" Value="White"/>
26
            <Setter Property="Foreground" Value="White"/>
27
            <Setter Property="telerik:StyleManager.Theme" Value="Office2013"/>
28
            <!--<Setter Property="FontWeight" Value="Black"/>-->
29
        </Style>
30 f87dfb18 taeseongkim
        <Style x:Key="GridViewAlign" TargetType="{x:Type telerikGrid:GridViewCell}">
31 787a4489 KangIngu
            <Setter Property="HorizontalContentAlignment" Value="Center" />
32
            <Setter Property="TextBlock.TextDecorations">
33
                <Setter.Value>
34
                    <TextDecorationCollection>
35
                        <TextDecoration Location="Underline" />
36
                        <TextDecoration Location="Overline" />
37
                        <TextDecoration  
38
                PenThicknessUnit="FontRecommended">
39
                            <TextDecoration.Pen>
40
                                <Pen Thickness="1.0">
41
                                    <Pen.Brush>
42
                                        <LinearGradientBrush Opacity="0.5"
43
                                StartPoint="0,0.5"  EndPoint="1,0.5">
44 f87dfb18 taeseongkim
                                            <GradientStop Color="Yellow" Offset="0" />
45
                                            <GradientStop Color="Red" Offset="1" />
46 787a4489 KangIngu
                                        </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 f87dfb18 taeseongkim
                        <telerik:RadDocumentPane x:Name="MainDocumentPanel" Header="VP-320A-728063" CanFloat="False" CanUserClose="False" Title="Document 1" PaneHeaderVisibility="Collapsed" Margin="0,-20,0,0">
101 787a4489 KangIngu
                            <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 f65e6c02 taeseongkim
                                <ZoomAndPan:ZoomAndPanControl x:Name="zoomAndPanControl"
113 787a4489 KangIngu
                                                              MouseWheel="zoomAndPanControl_MouseWheel"
114
                                                              MouseDown="zoomAndPanControl_MouseDown"
115
                                                              MouseMove="zoomAndPanControl_MouseMove"
116
                                                              MouseUp="zoomAndPanControl_MouseUp"
117
                                                              MouseLeave="zoomAndPanControl_MouseLeave"
118 cdfb57ff taeseongkim
                                                              ScaleChanged="ZoomAndPanControl_ScaleChanged"
119 787a4489 KangIngu
                                                              MouseDoubleClick="zoomAndPanControl_MouseDoubleClick"
120
                                                              ContentScale="{Binding ContentScale, Mode=TwoWay, Source={x:Static common:ViewerDataModel.Instance}}"
121
                                                              ContentOffsetX="{Binding ContentOffsetX, Mode=TwoWay, Source={x:Static common:ViewerDataModel.Instance}}"
122
                                                              ContentOffsetY="{Binding ContentOffsetY, Mode=TwoWay, Source={x:Static common:ViewerDataModel.Instance}}"
123
                                                              ConstrainedContentViewportWidth="{Binding ContentViewportWidth, Mode=TwoWay, Source={x:Static common:ViewerDataModel.Instance}}"
124
                                                              ConstrainedContentViewportHeight="{Binding ContentViewportHeight, Mode=TwoWay, Source={x:Static common:ViewerDataModel.Instance}}"
125
                                                              Background="LightGray">
126 90e7968d ljiyeon
                                    <Canvas x:Name="zoomAndPanCanvas" Opacity="1" Background="White">
127
128
                                        <Canvas x:Name="drawingRotateCanvas"
129 787a4489 KangIngu
                                                        Panel.ZIndex="1"
130
                                                        Background="{Binding BackgroundImage, Mode=OneWay, Source={x:Static common:ViewerDataModel.Instance}}">
131
                                            <Canvas.RenderTransform>
132
                                                <TransformGroup>
133
                                                    <RotateTransform x:Name="rotate" Angle="0"/>
134
                                                    <TranslateTransform x:Name="translate" X="0" Y="0"/>
135
                                                </TransformGroup>
136
                                            </Canvas.RenderTransform>
137 f65e6c02 taeseongkim
138 787a4489 KangIngu
                                            <ItemsControl ItemsSource="{Binding MarkupControls, Source={x:Static common:ViewerDataModel.Instance}}"
139
                                          Panel.ZIndex="1">
140
                                                <ItemsControl.ItemsPanel>
141
                                                    <ItemsPanelTemplate>
142
                                                        <Canvas />
143
                                                    </ItemsPanelTemplate>
144
                                                </ItemsControl.ItemsPanel>
145
                                            </ItemsControl>
146
                                            <ItemsControl ItemsSource="{Binding MarkupControls_USER, Source={x:Static common:ViewerDataModel.Instance}}"
147
                                          Panel.ZIndex="30">
148
                                                <ItemsControl.ItemsPanel>
149
                                                    <ItemsPanelTemplate>
150
                                                        <Canvas />
151
                                                    </ItemsPanelTemplate>
152
                                                </ItemsControl.ItemsPanel>
153
                                            </ItemsControl>
154
                                            <InkPresenter x:Name="inkBoard" HorizontalAlignment="Stretch" Panel.ZIndex="1" VerticalAlignment="Stretch"/>
155
                                            <InkCanvas x:Name="inkDrawingCanvas"
156
                                               Background="Transparent"
157
                                               IsEnabled="False"
158
                                               Panel.ZIndex="1"
159
                                               Strokes="{Binding MarkupPens, Source={x:Static common:ViewerDataModel.Instance}}" Height="1" Width="1">
160
                                                <!--<Rectangle Height="41" HorizontalAlignment="Left"  Name="rectangle1" Stroke="Black" VerticalAlignment="Top" Width="69" Fill="#FFDB1111" />-->
161
                                                <!--<Ellipse Height="41" HorizontalAlignment="Left"  Name="rectangle1" Stroke="Black" VerticalAlignment="Top" Width="69" Fill="#FFDB1111" />-->
162
163
                                                <!--<MarkupToPDF:RectangleControl Height="200" HorizontalAlignment="Center" Name="rectangle2" StrokeColor="Black" VerticalAlignment="Top" Width="00" FillColor="Red"/>-->
164
                                            </InkCanvas>
165
                                            <!--강인구 추가-->
166 f65e6c02 taeseongkim
                                            <!--<controls:ScaleDecodeImage Panel.ZIndex="0" x:Name="mainPanel"
167 92442e4a taeseongkim
                                                   Source="{Binding ImageViewPath,Mode=TwoWay, Source={x:Static common:ViewerDataModel.Instance}}" 
168
                                                    Width="{Binding ImageViewWidth,Mode=TwoWay, Source={x:Static common:ViewerDataModel.Instance}}"
169 cdfb57ff taeseongkim
                                                        Height="{Binding ImageViewHeight,Mode=TwoWay, Source={x:Static common:ViewerDataModel.Instance}}">
170 7e2d682c taeseongkim
                                                </controls:ScaleDecodeImage>-->
171 f65e6c02 taeseongkim
                                            <Image Panel.ZIndex="0" x:Name="mainPanel" RenderOptions.BitmapScalingMode="HighQuality"
172 7e2d682c taeseongkim
                                                       RenderOptions.EdgeMode="Unspecified" RenderOptions.ClearTypeHint="Enabled"
173 91e84544 taeseongkim
                                                        Source="{Binding ImageViewPath,Mode=OneWay, Source={x:Static common:ViewerDataModel.Instance}}" 
174 7e2d682c taeseongkim
                                                         Width="{Binding ImageViewWidth,Mode=TwoWay, Source={x:Static common:ViewerDataModel.Instance}}"
175
                                                        Height="{Binding ImageViewHeight,Mode=TwoWay, Source={x:Static common:ViewerDataModel.Instance}}"
176 92442e4a taeseongkim
                                                           >
177 f65e6c02 taeseongkim
                                            </Image>
178
                                            <Canvas x:Name="SelectLayer" HorizontalAlignment="Stretch" VerticalAlignment="Stretch" Panel.ZIndex="32766"/>
179
                                            <Border x:Name="dragSelectionBorder" Visibility="Collapsed"
180 787a4489 KangIngu
                                                    BorderBrush="Blue"
181
                                                    BorderThickness="1"
182
                                                    Background="LightBlue" 
183
                                                    CornerRadius="1"
184
                                                    Panel.ZIndex="1"
185
                                                    Opacity="0.5"/>
186 f65e6c02 taeseongkim
                                            <Border x:Name="dragCaptureBorder" Visibility="Collapsed"
187 787a4489 KangIngu
                                                    BorderBrush="Blue"
188
                                                    BorderThickness="1"
189
                                                    Background="Blue" 
190
                                                    CornerRadius="1"
191
                                                    Panel.ZIndex="1"
192
                                                    Opacity="0.5"/>
193 f65e6c02 taeseongkim
194
                                            <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 f65e6c02 taeseongkim
                                            <Canvas x:Name="SearchFocusBorder" Visibility="Collapsed"
219 605adc4b taeseongkim
                                                    Background="#50FF5D00" 
220
                                                    Panel.ZIndex="99999" IsHitTestVisible="False">
221 f65e6c02 taeseongkim
                                                <Border Visibility="Collapsed"
222 f4ec4218 taeseongkim
                                                    BorderThickness="1"
223 605adc4b taeseongkim
                                                    Background="#50FF5D00" 
224 f4ec4218 taeseongkim
                                                    CornerRadius="1"
225 605adc4b taeseongkim
                                                    Panel.ZIndex="99999" IsHitTestVisible="False"
226
                                                             Width="{Binding Width, RelativeSource={RelativeSource FindAncestor, AncestorType={x:Type Canvas}}}"
227
                                                            Height="{Binding Height, RelativeSource={RelativeSource FindAncestor, AncestorType={x:Type Canvas}}}"></Border>
228 f65e6c02 taeseongkim
                                            </Canvas>
229
                                            <!--<Border Background="Red" Panel.ZIndex="1" Opacity="0.5" Visibility="Visible" Width="100" Height="100" />-->
230 787a4489 KangIngu
                                        </Canvas>
231
232
                                        <!--<Border Background="Red" Panel.ZIndex="1" Opacity="0.5" Visibility="Visible" Width="1000" Height="1000" IsHitTestVisible="False"/>-->
233
234
                                        <!--<Leadtools_Windows_Controls:RasterImageViewer x:Name="_imageViewer" Grid.Row="1" BorderThickness="0"/>-->
235
                                    </Canvas>
236
                                </ZoomAndPan:ZoomAndPanControl>
237 f65e6c02 taeseongkim
                                <telerik:RadBusyIndicator x:Name="busyIndicator" IsBusy="False" BusyContent="Saving..." Visibility="{Binding IsBusy, Converter={StaticResource BoolToVisibleConverter}, RelativeSource={RelativeSource Self}}"/>
238 787a4489 KangIngu
                                <!--캡쳐 화면을 위한 보더-->
239
                                <Border Background="LightGray" 
240
                                        Opacity="{Binding Capture_Opacity, Source={x:Static common:ViewerDataModel.Instance}}"
241
                                        IsHitTestVisible="False" >
242
                                    <TextBlock HorizontalAlignment="Right" Foreground="Red" Text="캡쳐 진행 화면" FontSize="30"/>
243
                                </Border>
244
                                <Angle:AngleControl x:Name="MainAngle"
245
                                                        Grid.Column="1"
246
                                                        Grid.ColumnSpan="2"
247 5ce56a3a KangIngu
                                                        Margin="10"
248 168f8027 taeseongkim
                                                        AngleValue="{Binding Angle, Mode=TwoWay, StringFormat=\{0:F0\}°, Source={x:Static common:ViewerDataModel.Instance}}"
249 787a4489 KangIngu
                                                        HorizontalAlignment="Right"
250
                                                        VerticalAlignment="Top"
251
                                                        IsHitTestVisible="False"
252 168f8027 taeseongkim
                                                        Visibility="{Binding AngleVisibility, Mode=TwoWay, Source={x:Static common:ViewerDataModel.Instance}}" />
253 787a4489 KangIngu
                            </Grid>
254
                        </telerik:RadDocumentPane>
255
                    </telerik:RadPaneGroup>
256
                    <telerik:RadPaneGroup Style="{DynamicResource Style_RadPanelGroup}" >
257 a1716fa5 KangIngu
                        <telerik:RadPane CanFloat="False" CanUserClose="False" Title="Document 1" PaneHeaderVisibility="Collapsed" x:Name="testPanel2" IsHidden="True" Margin="0,-20,0,0" >
258 787a4489 KangIngu
                            <Grid Background="{DynamicResource KCOMColor_DocumnetBackgroundBrush}">
259 f65e6c02 taeseongkim
                                <ZoomAndPan:ZoomAndPanControl x:Name="zoomAndPanControl2" AllowDrop="True"
260 a1716fa5 KangIngu
                                                              MouseWheel="zoomAndPanControl2_MouseWheel"
261
                                                              MouseMove="zoomAndPanControl2_MouseMove"
262
                                                              MouseDown="zoomAndPanControl2_MouseDown"
263
                                                              MouseUp="zoomAndPanControl2_MouseUp"
264
                                                              MouseLeave="zoomAndPanControl_MouseLeave"
265 9cd2865b KangIngu
                                                              ContentScale="{Binding Sync_ContentScale, Mode=TwoWay, Source={x:Static common:ViewerDataModel.Instance}}"
266
                                                              ContentOffsetX="{Binding Sync_ContentOffsetX, Mode=TwoWay, Source={x:Static common:ViewerDataModel.Instance}}"
267
                                                              ContentOffsetY="{Binding Sync_ContentOffsetY, Mode=TwoWay, Source={x:Static common:ViewerDataModel.Instance}}"
268 787a4489 KangIngu
                                                              ConstrainedContentViewportWidth="{Binding ContentViewportWidth, Mode=TwoWay, Source={x:Static common:ViewerDataModel.Instance}}"
269
                                                              ConstrainedContentViewportHeight="{Binding ContentViewportHeight, Mode=TwoWay, Source={x:Static common:ViewerDataModel.Instance}}"
270
                                                              Background="LightGray">
271 a1716fa5 KangIngu
                                    <Canvas x:Name="zoomAndPanCanvas2" Opacity="1" Background="White">
272 787a4489 KangIngu
                                        <Canvas x:Name="drawingRotateCanvas2"
273
                                                        Panel.ZIndex="1"
274
                                                        Background="{Binding BackgroundImage, Mode=OneWay, Source={x:Static common:ViewerDataModel.Instance}}">
275
                                            <Canvas.RenderTransform>
276
                                                <TransformGroup>
277
                                                    <RotateTransform x:Name="rotate2" Angle="0"/>
278
                                                    <TranslateTransform x:Name="translate2" X="0" Y="0"/>
279
                                                </TransformGroup>
280
                                            </Canvas.RenderTransform>
281
                                            <ItemsControl x:Name="itemsControl" ItemsSource="{Binding MarkupControls_Sync, Source={x:Static common:ViewerDataModel.Instance}}"
282
                                          Panel.ZIndex="1">
283
                                                <ItemsControl.ItemsPanel>
284
                                                    <ItemsPanelTemplate>
285
                                                        <Canvas >
286
287
                                                        </Canvas>
288
                                                    </ItemsPanelTemplate>
289
                                                </ItemsControl.ItemsPanel>
290
                                            </ItemsControl>
291 94b7c12c djkim
                                            <Image x:Name="ComparePanel"
292 787a4489 KangIngu
                                                   Source="{Binding ImageViewPath_C, Source={x:Static common:ViewerDataModel.Instance}}" 
293
                                                   Width="{Binding ImageViewWidth_C, Source={x:Static common:ViewerDataModel.Instance}}" 
294
                                                   Height="{Binding ImageViewHeight_C, Source={x:Static common:ViewerDataModel.Instance}}" >
295
                                            </Image>
296
                                            <Canvas x:Name="canvas_compareBorder" IsHitTestVisible="False" Width="{Binding ActualWidth, ElementName=zoomAndPanCanvas2}" Height="{Binding ActualHeight, ElementName=zoomAndPanCanvas2}" Panel.ZIndex="1">
297
                                                <!--<Canvas.RenderTransform>
298
                                                    -->
299
                                                <!--<RotateTransform Angle="{Binding Angle, Source={x:Static common:ViewerDataModel.Instance}}"/>-->
300
                                                <!--
301
                                                    <RotateTransform Angle="{Binding Angle, ElementName=zoomAndPanCanvas2}"/>
302
                                                </Canvas.RenderTransform>-->
303
                                            </Canvas>
304
                                            <!--강인구 추가-->
305
                                        </Canvas>
306
                                    </Canvas>
307
                                </ZoomAndPan:ZoomAndPanControl>
308 9b9de5b2 ljiyeon
                                <Grid Background="#FF353535" Opacity="0.1" IsHitTestVisible="False"/>
309 787a4489 KangIngu
310 9b9de5b2 ljiyeon
                                <!--<Viewbox VerticalAlignment="Stretch" HorizontalAlignment="Stretch" StretchDirection="DownOnly" Stretch="Uniform" IsHitTestVisible="False">
311 787a4489 KangIngu
                                    <TextBlock Text="Previous Document" HorizontalAlignment="Center" VerticalAlignment="Center" RenderTransformOrigin="0.5, 0.5" FontSize="50"
312
                                           Foreground="White" Opacity="0.5" FontWeight="Bold">
313
                                        <TextBlock.RenderTransform>
314
                                            <RotateTransform Angle="-25"/>
315
                                        </TextBlock.RenderTransform>
316
                                    </TextBlock>
317 9b9de5b2 ljiyeon
                                </Viewbox>-->
318 787a4489 KangIngu
319
                                <!--<telerik:RadExpander Header="OPEN" Background="Transparent" telerik:StyleManager.Theme="Office2016"
320
                                                     ExpandDirection="Right" VerticalAlignment="Top" HorizontalAlignment="Left">-->
321
                                <Grid Height="Auto" VerticalAlignment="Top" >
322
                                    <Grid.RowDefinitions>
323
                                        <RowDefinition/>
324
                                        <RowDefinition/>
325
                                    </Grid.RowDefinitions>
326
                                    <!--<Border Background="#3b3838" VerticalAlignment="Stretch" HorizontalAlignment="Stretch" Opacity="0.5" Grid.RowSpan="2"/>-->
327
                                    <Border Background="Black" VerticalAlignment="Stretch" HorizontalAlignment="Stretch" Opacity="0.5" Grid.RowSpan="2" BorderThickness="0"/>
328
                                    <StackPanel Orientation="Horizontal" HorizontalAlignment="Left">
329
                                        <!--<TextBlock Text="ReadOnly Mode" Foreground="#FFFF9A25" VerticalAlignment="Center" Margin="10"/>-->
330
                                        <TextBlock Text="Rev.A" Foreground="#FFFF9A25" VerticalAlignment="Center" Margin="10" x:Name="tlSyncRev"/>
331
                                        <TextBlock Text="Current Page : 1" Foreground="White" VerticalAlignment="Center"  x:Name="tlSyncPageNum"/>
332
                                    </StackPanel>
333
                                    <StackPanel Orientation="Horizontal" HorizontalAlignment="Right">
334
                                        <!--<telerik:RadToggleButton x:Name="CompareMode" IsChecked="False" Content="Compare"  Margin="5" Checked="SyncCompare_Click" Unchecked="SyncCompare_Click" BorderThickness="0" telerik:StyleManager.Theme="Office2013"
335
                                                                       Style="{DynamicResource RadToggleSwtichButtonStyle}" Width="Auto" Padding="10,0"/>-->
336
                                        <!--<telerik:RadRibbonToggleButton x:Name="UserList" Content="User List" Foreground="white"  Margin="5" Click="SyncUserListExpender_Click" BorderThickness="0" telerik:StyleManager.Theme="Office2013" VerticalAlignment="Center"/>-->
337 9cd2865b KangIngu
338
                                        <toggle:HorizontalToggleSwitch x:Name="Sync" CheckedContent="Sync" UncheckedContent="Sync" Width="75" IsChecked="False" ThumbSize="25"
339
                                                                       FontSize="10" FontWeight="Normal" BorderBrush="Transparent" Opacity="0.6"
340
                                                                       Margin="5" Checked="Sync_Click" Unchecked="Sync_Click" BorderThickness="0" telerik:StyleManager.Theme="Office2013"/>
341
342 787a4489 KangIngu
                                        <toggle:HorizontalToggleSwitch x:Name="UserList" CheckedContent="User List" UncheckedContent="User List" Width="75" IsChecked="False" ThumbSize="25"
343
                                                                       FontSize="10" FontWeight="Normal" BorderBrush="Transparent" Opacity="0.6"
344
                                                                       Margin="5" Checked="SyncUserListExpender_Click" Unchecked="SyncUserListExpender_Click" BorderThickness="0" telerik:StyleManager.Theme="Office2013"/>
345
346
                                        <toggle:HorizontalToggleSwitch x:Name="CompareMode" CheckedContent="Compare On" UncheckedContent="Compare Off" Width="90" IsChecked="False" ThumbSize="25"
347
                                                                       FontSize="10" FontWeight="Normal" BorderBrush="Transparent" Opacity="0.6"
348
                                                                       Margin="5" Checked="SyncCompare_Click" Unchecked="SyncCompare_Click" BorderThickness="0" telerik:StyleManager.Theme="Office2013"/>
349
350
                                        <toggle:HorizontalToggleSwitch x:Name="MarkupMode" CheckedContent="Pdf" UncheckedContent="Markup" Width="75" IsChecked="False" ThumbSize="25"
351 bb4e3ec4 djkim
                                                                       FontSize="10" FontWeight="Normal" BorderBrush="Transparent" Opacity="0.6" Visibility="Collapsed"
352 787a4489 KangIngu
                                                                       Margin="5" Checked="SyncChange_Click" Unchecked="SyncChange_Click" BorderThickness="0" telerik:StyleManager.Theme="Office2013"/>
353
354
                                        <toggle:HorizontalToggleSwitch x:Name="BalanceMode" CheckedContent="Balance On" UncheckedContent="Balance Off" Width="90" IsChecked="False" ThumbSize="25"
355
                                                                       FontSize="10" FontWeight="Normal" BorderBrush="Transparent" Opacity="0.6"
356
                                                                       Margin="5" Checked="SyncPageBalance_Click" Unchecked="SyncPageBalance_Click" BorderThickness="0" telerik:StyleManager.Theme="Office2013"/>
357
358
359
                                        <!--<telerik:RadRibbonToggleButton x:Name="MArkupMode" Content="Markup Mode" Foreground="White"  Margin="5"  Click="SyncChange_Click" BorderThickness="0" telerik:StyleManager.Theme="Office2013"/>-->
360
                                        <!--<telerik:RadRibbonToggleButton x:Name="BalanceMode" Content="Balance Mode" Foreground="White"  Margin="5" Click="SyncPageBalance_Click" BorderThickness="0" telerik:StyleManager.Theme="Office2013"/>-->
361
                                        <telerik:RadRibbonButton  Margin="5" Click="SyncPageChange_Click" Tag="-1" telerik:StyleManager.Theme="Office2013" VerticalAlignment="Center">
362
                                            <Image Height="20"
363
                                                               Source="/KCOM;component/Resources/Images/MenuImage_New/up-arrow.png"
364
                                                               Stretch="Uniform" />
365
                                        </telerik:RadRibbonButton>
366
                                        <telerik:RadRibbonButton Margin="5" Click="SyncPageChange_Click" Tag="1" telerik:StyleManager.Theme="Office2013" VerticalAlignment="Center">
367
                                            <Image Height="20"
368
                                                               Source="/KCOM;component/Resources/Images/MenuImage_New/up-arrow.png" RenderTransformOrigin="0.5 0.5"
369
                                                               Stretch="Uniform">
370
                                                <Image.RenderTransform>
371
                                                    <RotateTransform Angle="180"/>
372
                                                </Image.RenderTransform>
373
                                            </Image>
374
                                        </telerik:RadRibbonButton>
375
                                        <telerik:RadRibbonButton  Margin="5" Click="SyncExit_Click" telerik:StyleManager.Theme="Office2013" VerticalAlignment="Center">
376
                                            <Image Height="20"
377
                                                               Source="/KCOM;component/Resources/Images/MenuImage_New/cancel.png"
378
                                                               Stretch="Uniform" />
379
                                        </telerik:RadRibbonButton>
380
                                    </StackPanel>
381
                                    <telerik:RadGridView telerik:StyleManager.Theme="Office2013" ShowGroupPanel="False" ShowGroupFooters="False" AutoExpandGroups="False"  x:Name="gridViewRevMarkup"
382
                                             AutoGenerateColumns="False" HorizontalContentAlignment="Center" SelectionChanged="gridViewRevMarkup_SelectionChanged" SelectionMode="Multiple" BorderThickness="0"
383
                                                      CanUserFreezeColumns ="False" Visibility="Collapsed"  GridLinesVisibility="None" 
384
                                             CanUserDeleteRows="True" CanUserInsertRows="False" IsFilteringAllowed="False" RowIndicatorVisibility="Collapsed" Grid.Row="1">
385
                                        <telerik:RadGridView.HeaderRowStyle>
386
                                            <Style TargetType="telerik:GridViewHeaderRow">
387
                                                <Setter Property="BorderThickness" Value="0"/>
388
                                                <Setter Property="Background" Value="Red"/>
389
                                                <Setter Property="Foreground" Value="White"/>
390
                                                <Setter Property="HorizontalContentAlignment" Value="Center"/>
391
                                                <Setter Property="FontWeight" Value="Black"/>
392
                                                <Setter Property="telerik:StyleManager.Theme" Value="Office2013"/>
393
                                            </Style>
394
                                        </telerik:RadGridView.HeaderRowStyle>
395
                                        <telerik:RadGridView.RowStyle>
396
                                            <Style TargetType="telerik:GridViewRow">
397
                                                <Setter Property="HorizontalContentAlignment" Value="Center"/>
398
                                                <Setter Property="Background" Value="{Binding Path=Consolidate, Converter={StaticResource ConsolidationBackgroudConverter}}" />
399
                                                <Setter Property="Foreground" Value="White"/>
400
                                            </Style>
401
                                        </telerik:RadGridView.RowStyle>
402
                                        <telerik:RadGridView.Columns>
403
                                            <telerik:GridViewSelectColumn Width="Auto"  HeaderCellStyle="{StaticResource GridViewHeaderStyle}">
404
                                                <telerik:GridViewSelectColumn.Header>
405
                                                    <telerik:RadRibbonToggleButton  telerik:StyleManager.Theme="Office2016"
406
                                                                           Visibility="Collapsed" Width="Auto">
407
                                                        <telerik:RadRibbonToggleButton.Content>
408
                                                            <Image HorizontalAlignment="Center"
409
                                                           VerticalAlignment="Center"
410
                                                           Source="/KCOM;component/Resources/Images/MenuImage/check.png" />
411
                                                        </telerik:RadRibbonToggleButton.Content>
412
                                                    </telerik:RadRibbonToggleButton>
413
                                                </telerik:GridViewSelectColumn.Header>
414
                                            </telerik:GridViewSelectColumn>
415
                                            <telerik:GridViewDataColumn Width="Auto"  HeaderCellStyle="{StaticResource GridViewHeaderStyle}"
416
                                                                Header="Color" 
417
                                                                IsReadOnly="True">
418
                                                <telerik:GridViewDataColumn.CellTemplate>
419
                                                    <DataTemplate>
420
                                                        <Grid>
421
                                                            <Grid>
422
                                                                <Rectangle Margin="0,2,2,2" Fill="{Binding DisplayColor, Converter={StaticResource StringToColorConverter}}" />
423
                                                                <TextBlock Foreground="#00000000" Text="Color" />
424
                                                            </Grid>
425
                                                            <Grid VerticalAlignment="Center" Visibility="{Binding AvoidConsolidate, Converter={StaticResource BoolToVisibleConverter}}">
426
                                                                <Image Height="15"
427
                                                               Source="/KCOM;component/Resources/Images/MenuImage/lock_2.png"
428
                                                               Stretch="Uniform" />
429
                                                            </Grid>
430
                                                        </Grid>
431
432
                                                    </DataTemplate>
433
                                                </telerik:GridViewDataColumn.CellTemplate>
434
                                            </telerik:GridViewDataColumn>
435
                                            <telerik:GridViewDataColumn Header="DEPT"  IsReadOnly="True"  Width="Auto" HeaderCellStyle="{StaticResource GridViewHeaderStyle}">
436
                                                <telerik:GridViewDataColumn.CellTemplate>
437
                                                    <DataTemplate>
438
                                                        <TextBlock Text="{Binding Depatment}"  FontSize="12"/>
439
                                                    </DataTemplate>
440
                                                </telerik:GridViewDataColumn.CellTemplate>
441
                                            </telerik:GridViewDataColumn>
442
                                            <telerik:GridViewDataColumn Header="NAME"  IsReadOnly="True" Width="Auto"  HeaderCellStyle="{StaticResource GridViewHeaderStyle}">
443
                                                <telerik:GridViewDataColumn.CellTemplate>
444
                                                    <DataTemplate>
445
                                                        <TextBlock Text="{Binding UserName, Mode=TwoWay}" FontSize="10"/>
446
                                                    </DataTemplate>
447
                                                </telerik:GridViewDataColumn.CellTemplate>
448
                                            </telerik:GridViewDataColumn>
449
                                            <telerik:GridViewDataColumn Header="CONSOLIDATION"  IsReadOnly="True" Width="Auto"  HeaderCellStyle="{StaticResource GridViewHeaderStyle}">
450
                                                <telerik:GridViewDataColumn.CellTemplate>
451
                                                    <DataTemplate>
452
                                                        <!--<TextBlock Text="{Binding Consolidate}"/>-->
453
                                                        <Grid>
454
                                                            <Grid.ColumnDefinitions>
455
                                                                <ColumnDefinition Width="Auto" />
456
                                                                <ColumnDefinition Width="Auto" />
457
                                                                <ColumnDefinition Width="Auto" />
458
                                                            </Grid.ColumnDefinitions>
459
460
                                                            <TextBlock Grid.Column="0"
461
                                                               Foreground="Red"
462
                                                               Text="{Binding AvoidConsolidate,
463
                                                                              Converter={StaticResource AvoidStringConverter}}" />
464
                                                            <TextBlock Grid.Column="1"
465
                                                               Foreground="Blue"
466
                                                               Text="{Binding PartConsolidate,
467
                                                                              Converter={StaticResource TeamConsoliStringConverter}}" />
468
                                                            <TextBlock Grid.Column="2" Text="{Binding Consolidate, Converter={StaticResource ConsoliStringConverter}}" />
469
                                                            <!--
470
                                                        <TextBlock HorizontalAlignment="Center" Grid.Column="2">
471
                                                        <TextBlock.Text>
472
                                                        <Binding Converter="{StaticResource ConsoliStringConverter}"/>
473
                                                        </TextBlock.Text>
474
                                                        </TextBlock>
475
                                                    -->
476
                                                        </Grid>
477
                                                    </DataTemplate>
478
                                                </telerik:GridViewDataColumn.CellTemplate>
479
                                            </telerik:GridViewDataColumn>
480
481
                                            <telerik:GridViewDataColumn Header="Comment Move"  IsReadOnly="True" Width="Auto"  HeaderCellStyle="{StaticResource GridViewHeaderStyle}">
482
                                                <telerik:GridViewDataColumn.CellTemplate>
483
                                                    <DataTemplate>
484
                                                        <telerik:RadButton telerik:StyleManager.Theme="Office2016" HorizontalAlignment="Stretch" VerticalAlignment="Stretch" Content="COPY" PreviewMouseDown="Comment_Move" />
485
                                                        <!--<TextBlock Text="{Binding UserName, Mode=TwoWay}" FontSize="10"/>-->
486
                                                    </DataTemplate>
487
                                                </telerik:GridViewDataColumn.CellTemplate>
488
                                            </telerik:GridViewDataColumn>
489
490
                                            <telerik:GridViewDataColumn Header=""  IsReadOnly="True" Width="*"  HeaderCellStyle="{StaticResource GridViewHeaderStyle}">
491
                                            </telerik:GridViewDataColumn>
492
                                        </telerik:RadGridView.Columns>
493
                                    </telerik:RadGridView>
494
                                </Grid>
495
                                <!--</telerik:RadExpander>-->
496
497
498
                            </Grid>
499
                        </telerik:RadPane>
500
                    </telerik:RadPaneGroup>
501
                </telerik:RadSplitContainer>
502
            </telerik:RadDocking.DocumentHost>
503
504
505 d0eda156 ljiyeon
            <telerik:RadSplitContainer Orientation="Vertical" InitialPosition="DockedLeft" x:Name="thumbnailPanel" SizeChanged="thumbnailPanel_SizeChanged">
506 29e5dc6a ljiyeon
                <!-- Width="250" MinWidth="250" -->
507 787a4489 KangIngu
                <!--<telerik:RadPaneGroup Margin="0" Style="{DynamicResource Style_RadPanelGroup}">-->
508
                <telerik:RadPaneGroup Margin="0" telerik:StyleManager.Theme="Office2016" x:Name="PN_Navi">
509 f65e6c02 taeseongkim
                    <telerik:RadPane Header="DOCUMENT" x:Name="radPanelPageNavi" CanFloat="False" telerik:RadDocking.FloatingSize="50,NaN" CanUserClose="False" CanUserPin="True"
510 787a4489 KangIngu
                                     ContextMenuTemplate="{x:Null}" PaneHeaderVisibility="Visible" telerik:StyleManager.Theme="Office2016">
511
                        <!--<telerik:RadPane.TitleTemplate>
512
                            <DataTemplate>
513
                                <Grid>
514
                                    <Grid.ColumnDefinitions>
515
                                        <ColumnDefinition Width="Auto" />
516
                                        <ColumnDefinition />
517
                                    </Grid.ColumnDefinitions>
518
                                    <ContentPresenter Content="{Binding}"
519
                                                      Margin="0,0,75,0" />
520
                                         <telerik:RadButton Grid.Column="1" Content="PIN"/>
521
                                </Grid>
522
                            </DataTemplate>
523
                        </telerik:RadPane.TitleTemplate>-->
524
                        <!--<Grid VerticalAlignment="Stretch" Margin="0">
525
                            <Grid.RowDefinitions>
526
                                <RowDefinition Height="30"/>
527
                                <RowDefinition Height="*"/>
528
                            </Grid.RowDefinitions>
529
                            <Border BorderBrush="{Binding ElementName=leftPanel}" BorderThickness="0,1">
530
                                <TextBlock Text="Thumbnail" Margin="5"/>
531
                            </Border>
532
                            <controls:PageNavigator x:Name="pageNavigator" Grid.Row="1"/>
533
                        </Grid>-->
534
                        <Grid>
535
                            <!--<controls:PageNavigator x:Name="pageNavigator" Grid.Row="1" Visibility="Collapsed"/>-->
536
                            <!--<Grid.RowDefinitions>
537
                                <RowDefinition Height="Auto"/>
538
                                <RowDefinition Height="*"/>
539
                            </Grid.RowDefinitions>-->
540
                            <!--<telerik:RadButton Content="Panorama" telerik:StyleManager.Theme="Office2016" FontSize="8"  Background="#FF0054B9" Foreground="White"
541
                                       BorderThickness="0" CornerRadius="3" HorizontalAlignment="Right" Padding="5" Margin="5,10"/>-->
542
                            <controls:Sample x:Name="pageNavigator"/>
543
                        </Grid>
544
545
                    </telerik:RadPane>
546 eeb0a39c taeseongkim
                    <!--<telerik:RadPane Header="test" CanFloat="False" telerik:RadDocking.FloatingSize="50,NaN" CanUserClose="False" CanUserPin="True"
547 f65e6c02 taeseongkim
                                     ContextMenuTemplate="{x:Null}" PaneHeaderVisibility="Visible" telerik:StyleManager.Theme="Office2016">
548

549
                        <Grid    xmlns:drag="clr-namespace:Telerik.Windows.DragDrop.Behaviors;assembly=Telerik.Windows.Controls" >
550
                            <Grid.Resources>
551
                                <Style TargetType="telerik:RadListBoxItem" BasedOn="{StaticResource RadListBoxItemStyle}">
552
                                    <Setter Property="telerik:DragDropManager.AllowCapturedDrag" Value="True"/>
553
                                </Style>
554
                            </Grid.Resources>
555
                            <telerik:RadListBox x:Name="lstSymbolPrivate" Background="#f5f5f5" FontWeight="Normal"  AllowDrop="True">
556
                                <telerik:RadListBox.DragDropBehavior>
557
                                    <telerik:ListBoxDragDropBehavior AllowReorder="True" />
558
                                </telerik:RadListBox.DragDropBehavior>
559
                                <telerik:RadListBox.DragVisualProvider >
560
                                    <telerik:ListBoxDragVisualProvider />
561
                                </telerik:RadListBox.DragVisualProvider>
562
                            </telerik:RadListBox>
563
                        </Grid>
564

565 eeb0a39c taeseongkim
                    </telerik:RadPane>-->
566 f65e6c02 taeseongkim
567 787a4489 KangIngu
                </telerik:RadPaneGroup>
568
            </telerik:RadSplitContainer>
569
570
            <telerik:RadSplitContainer Orientation="Vertical" InitialPosition="DockedRight" MaxWidth="300" Width="300">
571 f87dfb18 taeseongkim
                <telerik:RadPaneGroup  IsTabStop="False" telerik:StyleManager.Theme="Office2016">
572 992a98b4 KangIngu
                    <telerik:RadPane Header="SEARCH" Visibility="Visible" CanFloat="False" CanUserClose="False"  ContextMenuTemplate="{x:Null}" IsPinned="False" telerik:StyleManager.Theme="Office2016" x:Name="searchPane">
573
                        <controls:SearchPanel x:Name="searchPanel_Instance"/>
574 787a4489 KangIngu
                    </telerik:RadPane>
575
                </telerik:RadPaneGroup>
576 f87dfb18 taeseongkim
                <telerik:RadPaneGroup  IsTabStop="False" telerik:StyleManager.Theme="Office2016">
577 c460df05 djkim
                    <telerik:RadPane Header="M-TALK" CanFloat="False" CanUserClose="False" ContextMenuTemplate="{x:Null}" IsPinned="False" telerik:StyleManager.Theme="Office2016"  x:Name="talkPane">
578 787a4489 KangIngu
                        <messanger:ConversationView/>
579
                    </telerik:RadPane>
580
                </telerik:RadPaneGroup>
581 f87dfb18 taeseongkim
                <telerik:RadPaneGroup  IsTabStop="False" Visibility="Visible" telerik:StyleManager.Theme="Office2016">
582 992a98b4 KangIngu
                    <telerik:RadPane Header="SYMBOL" Visibility="Visible" CanFloat="False" CanUserClose="False"  ContextMenuTemplate="{x:Null}" IsPinned="False" telerik:StyleManager.Theme="Office2016"  x:Name="SymbolPane">
583 53880c83 ljiyeon
                        <!--<controls:Symbol />-->
584
                        <controls:Symbol x:Name="symbolPanel_Instance"/>
585 787a4489 KangIngu
                        <!--<telerik:RadButton Click="Create_Symbol">Create</telerik:RadButton>-->
586
                    </telerik:RadPane>
587
                </telerik:RadPaneGroup>
588 f87dfb18 taeseongkim
                <telerik:RadPaneGroup  IsTabStop="False" telerik:StyleManager.Theme="Office2016"  telerik:ProportionalStackPanel.RelativeSize="60, 100">
589 992a98b4 KangIngu
                    <telerik:RadPane Header="FAVORITE" Visibility="Visible"  CanFloat="False" CanUserClose="False"  ContextMenuTemplate="{x:Null}" IsPinned="False" telerik:StyleManager.Theme="Office2016"  x:Name="FavoritePane">
590
                        <controls:FavoritePanel/>
591
                    </telerik:RadPane>
592
                </telerik:RadPaneGroup>
593 787a4489 KangIngu
            </telerik:RadSplitContainer>
594
            <telerik:RadSplitContainer Orientation="Horizontal" InitialPosition="DockedBottom">
595 f87dfb18 taeseongkim
                <telerik:RadPaneGroup IsTabStop="False"  telerik:StyleManager.Theme="Office2016" telerik:ProportionalStackPanel.RelativeSize="140, 100">
596 787a4489 KangIngu
                    <telerik:RadPane Header="User information List"  CanFloat="False" CanUserClose="False"  ContextMenuTemplate="{x:Null}" telerik:StyleManager.Theme="Office2016"  x:Name="infoListPane">
597
                        <telerik:RadPane.TitleTemplate>
598
                            <DataTemplate>
599
                                <Grid>
600
                                    <Grid.ColumnDefinitions>
601
                                        <ColumnDefinition Width="*" />
602
                                        <ColumnDefinition Width="Auto" />
603
                                    </Grid.ColumnDefinitions>
604
605
                                    <StackPanel Orientation="Horizontal">
606
                                        <TextBlock Margin="1"
607
                                                   VerticalAlignment="Center"
608
                                                   Text="{Binding}" />
609
                                        <telerik:RadRibbonButton x:Name="btnConsolidate"
610
                                                                 VerticalAlignment="Center"
611
                                                                 Click="btnConsolidate_Click"
612
                                                                 Loaded="btnConsolidate_Loaded"
613
                                                                 telerik:StyleManager.Theme="Office2016"
614
                                                                 ToolTipService.ToolTip="Consolidate">
615
                                            <Border Background="#E9F0F8"
616
                                                    BorderBrush="#839AB3"
617
                                                    BorderThickness="1">
618
                                                <StackPanel Margin="1" Orientation="Horizontal">
619
                                                    <!--<Image Width="15" Source="/DeepView;component/Images/MenuImage/document-new.png" />-->
620
                                                    <TextBlock Margin="1"
621
                                                               VerticalAlignment="Center"
622
                                                               Foreground="Black"
623
                                                               Text="Consolidate" />
624
                                                </StackPanel>
625
                                            </Border>
626
                                        </telerik:RadRibbonButton>
627
                                        <telerik:RadRibbonButton x:Name="btnTeamConsolidate"
628
                                                                 VerticalAlignment="Center"
629
                                                                 Click="btnTeamConsolidate_Click"
630
                                                                 Loaded="btnTeamConsolidate_Loaded"
631
                                                                 telerik:StyleManager.Theme="Office2016"
632
                                                                 ToolTipService.ToolTip="Consolidate">
633
                                            <Border Background="#E9F0F8"
634
                                                    BorderBrush="#839AB3"
635
                                                    BorderThickness="1">
636
                                                <StackPanel Margin="1" Orientation="Horizontal">
637
                                                    <!--<Image Width="15" Source="/DeepView;component/Images/MenuImage/document-team.png" />-->
638
                                                    <TextBlock Margin="1"
639
                                                               VerticalAlignment="Center"
640
                                                               Foreground="Black"
641
                                                               Text="Team Consolidate" />
642
                                                </StackPanel>
643
                                            </Border>
644
                                        </telerik:RadRibbonButton>
645
                                        <telerik:RadRibbonButton x:Name="btnFinalPDF"
646
                                                                 VerticalAlignment="Center"
647
                                                                 Click="FinalPDFEvent"
648
                                                                 Loaded="btnFinalPDF_Loaded"
649
                                                                 telerik:StyleManager.Theme="Office2016"
650
                                                                 ToolTipService.ToolTip="FinalPDF">
651
                                            <Border Background="#E9F0F8"
652
                                                    BorderBrush="#839AB3"
653
                                                    BorderThickness="1">
654
                                                <StackPanel Margin="1" Orientation="Horizontal">
655
                                                    <!--<Image Width="15" Source="/DeepView;component/Images/MenuImage/final_pdf2.png" />-->
656
                                                    <TextBlock Margin="1"
657
                                                               VerticalAlignment="Center"
658
                                                               Foreground="Black"
659
                                                               Text="Merged PDF" />
660
                                                </StackPanel>
661
                                            </Border>
662
                                        </telerik:RadRibbonButton>
663 80458c15 ljiyeon
                                        <telerik:RadRibbonButton x:Name="btnConsolidateFinalPDF"
664
                                                                 VerticalAlignment="Center"
665
                                                                 Click="ConsolidateFinalPDFEvent"
666
                                                                 Loaded="btnConsolidateFinalPDF_Loaded"
667
                                                                 telerik:StyleManager.Theme="Office2016"
668
                                                                 ToolTipService.ToolTip="Consolidate &amp; FinalPDF">
669
                                            <Border Background="#E9F0F8"
670
                                                    BorderBrush="#839AB3"
671
                                                    BorderThickness="1">
672
                                                <StackPanel Margin="1" Orientation="Horizontal">
673
                                                    <!--<Image Width="15" Source="/DeepView;component/Images/MenuImage/final_pdf2.png" />-->
674
                                                    <TextBlock Margin="1"
675
                                                               VerticalAlignment="Center"
676
                                                               Foreground="Black"
677
                                                               Text="Consolidate &amp; Merged PDF" />
678
                                                </StackPanel>
679
                                            </Border>
680
                                        </telerik:RadRibbonButton>
681 787a4489 KangIngu
                                    </StackPanel>
682
                                    <!--<StackPanel Grid.Column="1"
683
                                                HorizontalAlignment="Right"
684
                                                Orientation="Horizontal">
685
                                        <telerik:RadRibbonButton VerticalAlignment="Center"
686
                                                                 Click="ExpandButtonEvent_Click"
687
                                                                 Tag="CLOSE"
688
                                                                 telerik:StyleManager.Theme="Windows8"
689
                                                                 ToolTipService.ToolTip="Expand On">
690
                                        </telerik:RadRibbonButton>
691

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