프로젝트

일반

사용자정보

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

markus / KCOM / Views / MainMenu.xaml @ 670a4be2

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

1
<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
             mc:Ignorable="d"   
9
             d:DesignHeight="768" d:DesignWidth="1080" IsTabStop="True" xmlns:messanger="clr-namespace:KCOM.Messenger"
10
             xmlns:Angle="clr-namespace:MarkupToPDF.Controls.Angle;assembly=MarkupToPDF">
11
    <UserControl.Resources>
12
        <Style TargetType="telerik:GridViewHeaderCell" x:Key="GridViewHeaderStyle">
13
            <Setter Property="VerticalContentAlignment" Value="Center"/>
14
            <Setter Property="HorizontalContentAlignment" Value="Center"/>
15
            <Setter Property="BorderThickness" Value="0"/>
16
            <Setter Property="Background">
17
                <Setter.Value>
18
                    <SolidColorBrush Color="Black" Opacity="0.5"/>
19
                </Setter.Value>
20
            </Setter>
21
            <!--<Setter Property="Background" Value="Black"/>-->
22
            <Setter Property="BorderBrush" Value="White"/>
23
            <Setter Property="Foreground" Value="White"/>
24
            <Setter Property="telerik:StyleManager.Theme" Value="Office2013"/>
25
            <!--<Setter Property="FontWeight" Value="Black"/>-->
26
        </Style>
27
        <Style x:Key="GridViewAlign" TargetType="telerikGrid:GridViewCell">
28
            <Setter Property="HorizontalContentAlignment" Value="Center" />
29
            <Setter Property="TextBlock.TextDecorations">
30
                <Setter.Value>
31
                    <TextDecorationCollection>
32
                        <TextDecoration Location="Underline" />
33
                        <TextDecoration Location="Overline" />
34
                        <TextDecoration  
35
                PenThicknessUnit="FontRecommended">
36
                            <TextDecoration.Pen>
37
                                <Pen Thickness="1.0">
38
                                    <Pen.Brush>
39
                                        <LinearGradientBrush Opacity="0.5"
40
                                StartPoint="0,0.5"  EndPoint="1,0.5">
41
                                            <LinearGradientBrush.GradientStops>
42
                                                <GradientStop Color="Yellow" Offset="0" />
43
                                                <GradientStop Color="Red" Offset="1" />
44
                                            </LinearGradientBrush.GradientStops>
45
                                        </LinearGradientBrush>
46
                                    </Pen.Brush>
47
                                </Pen>
48
                            </TextDecoration.Pen>
49
                        </TextDecoration>
50
                    </TextDecorationCollection>
51
                </Setter.Value>
52
            </Setter>
53
        </Style>
54
        <converter:PDFVisibleConverter x:Key="PDFVisibleConverter"/>
55
        <converter:ConsolidationBackgroudConverter x:Key="ConsolidationBackgroudConverter" />
56
        <converter:StringToColorConverter x:Key="StringToColorConverter"/>
57
        <converter:AvoidStringConverter x:Key="AvoidStringConverter" />
58
        <converter:TeamConsolidateStringConverter x:Key="TeamConsoliStringConverter" />
59
        <converter:ConsolidationStringConverter x:Key="ConsoliStringConverter" />
60
        <converter:BoolToVisibleConverter x:Key="BoolToVisibleConverter" />
61
        <converter:PreviewerVisibleConverter x:Key="previewerVisibleConverter"/>
62
    </UserControl.Resources>
63
    <Grid Background="{DynamicResource KCOMColor_MainBrush}">
64
        <!--<Grid.ColumnDefinitions>
65
            <ColumnDefinition Width="Auto"/>
66
            <ColumnDefinition Width="*"/>
67
        </Grid.ColumnDefinitions>-->
68
        <!--<Border Background="#fff5f5f5" BorderBrush="#d5d5d5" BorderThickness="0">
69
            -->
70
        <!--<controls:PageNavigator x:Name="pageNavigator" Grid.Row="1" Width="200"/>-->
71
        <!--
72
            <telerik:RadLayoutControl SelectedItem="{x:Null}" VirtualizingStackPanel.VirtualizationMode="Recycling" ScrollViewer.VerticalScrollBarVisibility="Hi">
73
                <telerik:LayoutControlTabGroup Template="{DynamicResource TabControlTemplate}" telerik:StyleManager.Theme="Office2016">
74
                    <telerik:LayoutControlTabGroupItem Header="Thumbnail">
75
                        <telerik:LayoutControlGroup BorderBrush="Transparent" Padding="5" Margin="0,-3">                            
76
                            <controls:PageNavigator x:Name="pageNavigator" Grid.Row="1" Width="300"/>                            
77
                        </telerik:LayoutControlGroup>
78
                    </telerik:LayoutControlTabGroupItem>
79
                    <telerik:LayoutControlTabGroupItem Header="Bookmark">
80
                        <telerik:LayoutControlGroup BorderBrush="Transparent">
81
                            <Border Background="Blue"/>
82
                        </telerik:LayoutControlGroup>
83
                    </telerik:LayoutControlTabGroupItem>
84
                </telerik:LayoutControlTabGroup>
85
            </telerik:RadLayoutControl>
86
        </Border>-->
87
        <!--<Grid.ColumnDefinitions>
88
            <ColumnDefinition Width="Auto"/>
89
            <ColumnDefinition Width="*"/>
90
            <ColumnDefinition Width="Auto"/>
91
        </Grid.ColumnDefinitions>-->
92
        <!--<Border Background="{DynamicResource Office2016Color_PrimaryBrush}">
93
            <Border Background="White" Margin="50"/>
94
        </Border>-->
95
        <telerik:RadDocking BorderThickness="0" Padding="0" Background="{DynamicResource KCOMColor_MainBrush}" Grid.Column="1">
96
            <telerik:RadDocking.DocumentHost>
97
                <telerik:RadSplitContainer Background="Transparent" Margin="0,-1,0,0">
98
                    <telerik:RadPaneGroup Style="{DynamicResource Style_RadPanelGroup}">
99
                        <telerik:RadDocumentPane Header="VP-320A-728063" CanFloat="False" CanUserClose="False" Title="Document 1" PaneHeaderVisibility="Collapsed" Margin="0,-20,0,0">
100
                            <telerik:RadDocumentPane.HeaderTemplate>
101
                                <DataTemplate>
102
                                    <Border Margin="0,0,0,0"/>
103
                                </DataTemplate>
104
                            </telerik:RadDocumentPane.HeaderTemplate>
105
                            <!--<Grid Background="{DynamicResource KCOMColor_AlternativeBrush}">-->
106
                            <Grid Background="{DynamicResource KCOMColor_DocumnetBackgroundBrush}">
107
                                <Rectangle Name="rect" Margin="50,50,0,0" Width="100" Height="100" Fill="LightBlue"/>
108
                                <Popup Name="floatingTip" AllowsTransparency="True" Placement="Relative" PlacementTarget="{Binding ElementName=rect}">
109
                                    <TextBlock x:Name="txtBatch" Foreground="Red" FontSize="20" Text="Mark Control을 그립니다."/>
110
                                </Popup>
111
                                <telerik:RadBusyIndicator x:Name="busyIndicator" IsBusy="False" BusyContent="Saving...">
112
                                <ZoomAndPan:ZoomAndPanControl x:Name="zoomAndPanControl"
113
                                                              MouseWheel="zoomAndPanControl_MouseWheel"
114
                                                              MouseDown="zoomAndPanControl_MouseDown"
115
                                                              MouseMove="zoomAndPanControl_MouseMove"
116
                                                              MouseUp="zoomAndPanControl_MouseUp"
117
                                                              MouseLeave="zoomAndPanControl_MouseLeave"
118
                                                              MouseDoubleClick="zoomAndPanControl_MouseDoubleClick"
119
                                                              DragDrop.DragOver="zoomAndPanControl_DragOver"
120
                                                              DragDrop.DragEnter="zoomAndPanControl_DragEnter"
121
                                                              DragDrop.DragLeave="zoomAndPanControl_DragLeave"
122
                                                              Drop="zoomAndPanControl_Drop"
123
                                                              AllowDrop="True"
124
                                                              ContentScale="{Binding ContentScale, Mode=TwoWay, Source={x:Static common:ViewerDataModel.Instance}}"
125
                                                              ContentOffsetX="{Binding ContentOffsetX, Mode=TwoWay, Source={x:Static common:ViewerDataModel.Instance}}"
126
                                                              ContentOffsetY="{Binding ContentOffsetY, Mode=TwoWay, Source={x:Static common:ViewerDataModel.Instance}}"
127
                                                              ConstrainedContentViewportWidth="{Binding ContentViewportWidth, Mode=TwoWay, Source={x:Static common:ViewerDataModel.Instance}}"
128
                                                              ConstrainedContentViewportHeight="{Binding ContentViewportHeight, Mode=TwoWay, Source={x:Static common:ViewerDataModel.Instance}}"
129
                                                              Background="LightGray">
130
                                    <Canvas x:Name="zoomAndPanCanvas" Opacity="1" Background="White">
131

    
132
                                        <Canvas x:Name="drawingRotateCanvas"
133
                                                        Panel.ZIndex="1"
134
                                                        Background="{Binding BackgroundImage, Mode=OneWay, Source={x:Static common:ViewerDataModel.Instance}}">
135
                                            <Canvas.RenderTransform>
136
                                                <TransformGroup>
137
                                                    <RotateTransform x:Name="rotate" Angle="0"/>
138
                                                    <TranslateTransform x:Name="translate" X="0" Y="0"/>
139
                                                </TransformGroup>
140
                                            </Canvas.RenderTransform>
141
                                            
142
                                            <ItemsControl ItemsSource="{Binding MarkupControls, Source={x:Static common:ViewerDataModel.Instance}}"
143
                                          Panel.ZIndex="1">
144
                                                <ItemsControl.ItemsPanel>
145
                                                    <ItemsPanelTemplate>
146
                                                        <Canvas />
147
                                                    </ItemsPanelTemplate>
148
                                                </ItemsControl.ItemsPanel>
149
                                            </ItemsControl>
150
                                            <ItemsControl ItemsSource="{Binding MarkupControls_USER, Source={x:Static common:ViewerDataModel.Instance}}"
151
                                          Panel.ZIndex="30">
152
                                                <ItemsControl.ItemsPanel>
153
                                                    <ItemsPanelTemplate>
154
                                                        <Canvas />
155
                                                    </ItemsPanelTemplate>
156
                                                </ItemsControl.ItemsPanel>
157
                                            </ItemsControl>
158
                                            <InkPresenter x:Name="inkBoard" HorizontalAlignment="Stretch" Panel.ZIndex="1" VerticalAlignment="Stretch"/>
159
                                            <InkCanvas x:Name="inkDrawingCanvas"
160
                                               Background="Transparent"
161
                                               IsEnabled="False"
162
                                               Panel.ZIndex="1"
163
                                               Strokes="{Binding MarkupPens, Source={x:Static common:ViewerDataModel.Instance}}" Height="1" Width="1">
164
                                                <!--<Rectangle Height="41" HorizontalAlignment="Left"  Name="rectangle1" Stroke="Black" VerticalAlignment="Top" Width="69" Fill="#FFDB1111" />-->
165
                                                <!--<Ellipse Height="41" HorizontalAlignment="Left"  Name="rectangle1" Stroke="Black" VerticalAlignment="Top" Width="69" Fill="#FFDB1111" />-->
166

    
167
                                                <!--<MarkupToPDF:RectangleControl Height="200" HorizontalAlignment="Center" Name="rectangle2" StrokeColor="Black" VerticalAlignment="Top" Width="00" FillColor="Red"/>-->
168
                                            </InkCanvas>
169
                                            <!--강인구 추가-->
170
                                            <Image Panel.ZIndex="0"
171
                                                   Source="{Binding ImageViewPath, Source={x:Static common:ViewerDataModel.Instance}}" 
172
                                                   Width="{Binding ImageViewWidth, Source={x:Static common:ViewerDataModel.Instance}}" 
173
                                                   Height="{Binding ImageViewHeight, Source={x:Static common:ViewerDataModel.Instance}}" >
174
                                            </Image>
175
                                            
176
                                            <Canvas x:Name="SelectLayer" HorizontalAlignment="Stretch" VerticalAlignment="Stretch"/>
177
                                                <Border x:Name="dragSelectionBorder" Visibility="Collapsed"
178
                                                    BorderBrush="Blue"
179
                                                    BorderThickness="1"
180
                                                    Background="LightBlue" 
181
                                                    CornerRadius="1"
182
                                                    Panel.ZIndex="1"
183
                                                    Opacity="0.5"/>
184
                                                <Border x:Name="dragCaptureBorder" Visibility="Collapsed"
185
                                                    BorderBrush="Blue"
186
                                                    BorderThickness="1"
187
                                                    Background="Blue" 
188
                                                    CornerRadius="1"
189
                                                    Panel.ZIndex="1"
190
                                                    Opacity="0.5"/>
191
                                            <Border x:Name="dragZoomBorder" Visibility="Collapsed"
192
                                                    BorderThickness="3"
193
                                                    Background="Transparent" 
194
                                                    CornerRadius="1"
195
                                                    Panel.ZIndex="1"
196
                                                    Opacity="1">
197
                                                <Border.BorderBrush>
198
                                                    <VisualBrush>
199
                                                        <VisualBrush.Visual>
200
                                                            <Rectangle StrokeDashArray="4 2" Stroke="Gray" StrokeThickness="1"
201
                                                                  Width="{Binding RelativeSource={RelativeSource AncestorType={x:Type Border}}, Path=ActualWidth}"
202
                                                                  Height="{Binding RelativeSource={RelativeSource AncestorType={x:Type Border}}, Path=ActualHeight}"/>
203
                                                        </VisualBrush.Visual>
204
                                                    </VisualBrush>
205
                                                </Border.BorderBrush>
206
                                            </Border>
207
                                            <!--<Border x:Name="dragZoomBorder"
208
                                                    BorderBrush="Black"
209
                                                    BorderThickness="1"
210
                                                    
211
                                                    Background="Transparent" 
212
                                                    CornerRadius="1"
213
                                                    Panel.ZIndex="1"
214
                                                    Opacity="0.5"/>-->
215

    
216

    
217
                                            <!--<Border Background="Red" Panel.ZIndex="1" Opacity="0.5" Visibility="Visible" Width="100" Height="100" />-->
218
                                        </Canvas>
219

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

    
222
                                        <!--<Leadtools_Windows_Controls:RasterImageViewer x:Name="_imageViewer" Grid.Row="1" BorderThickness="0"/>-->
223
                                    </Canvas>
224

    
225
                                </ZoomAndPan:ZoomAndPanControl>
226
                                </telerik:RadBusyIndicator>
227
                                <!--캡쳐 화면을 위한 보더-->
228
                                <Border Background="LightGray" 
229
                                        Opacity="{Binding Capture_Opacity, Source={x:Static common:ViewerDataModel.Instance}}"
230
                                        IsHitTestVisible="False" >
231
                                    <TextBlock HorizontalAlignment="Right" Foreground="Red" Text="캡쳐 진행 화면" FontSize="30"/>
232
                                </Border>
233
                                <Angle:AngleControl x:Name="MainAngle"
234
                                                        Grid.Column="1"
235
                                                        Grid.ColumnSpan="2"
236
                                                        Margin="10"
237
                                                        AngleValue="{Binding AngleValue, Mode=TwoWay, Source={x:Static common:ViewerDataModel.Instance}}"
238
                                                        HorizontalAlignment="Right"
239
                                                        VerticalAlignment="Top"
240
                                                        IsHitTestVisible="False"
241
                                                        Visibility="Collapsed" />
242
                            </Grid>
243
                        </telerik:RadDocumentPane>
244
                    </telerik:RadPaneGroup>
245
                    <telerik:RadPaneGroup Style="{DynamicResource Style_RadPanelGroup}" >
246
                        <telerik:RadPane CanFloat="False" CanUserClose="False" Title="Document 1" PaneHeaderVisibility="Collapsed" x:Name="testPanel2" IsHidden="True" Margin="0,-20,0,0" >
247
                            <Grid Background="{DynamicResource KCOMColor_DocumnetBackgroundBrush}">
248
                                <ZoomAndPan:ZoomAndPanControl x:Name="zoomAndPanControl2" 
249
                                                              MouseWheel="zoomAndPanControl2_MouseWheel"
250
                                                              MouseMove="zoomAndPanControl2_MouseMove"
251
                                                              MouseDown="zoomAndPanControl2_MouseDown"
252
                                                              MouseUp="zoomAndPanControl2_MouseUp"
253
                                                              MouseLeave="zoomAndPanControl_MouseLeave"
254
                                                              ContentScale="{Binding Sync_ContentScale, Mode=TwoWay, Source={x:Static common:ViewerDataModel.Instance}}"
255
                                                              ContentOffsetX="{Binding Sync_ContentOffsetX, Mode=TwoWay, Source={x:Static common:ViewerDataModel.Instance}}"
256
                                                              ContentOffsetY="{Binding Sync_ContentOffsetY, Mode=TwoWay, Source={x:Static common:ViewerDataModel.Instance}}"
257
                                                              ConstrainedContentViewportWidth="{Binding ContentViewportWidth, Mode=TwoWay, Source={x:Static common:ViewerDataModel.Instance}}"
258
                                                              ConstrainedContentViewportHeight="{Binding ContentViewportHeight, Mode=TwoWay, Source={x:Static common:ViewerDataModel.Instance}}"
259
                                                              Background="LightGray">
260
                                    <Canvas x:Name="zoomAndPanCanvas2" Opacity="1" Background="White">
261
                                        <Canvas x:Name="drawingRotateCanvas2"
262
                                                        Panel.ZIndex="1"
263
                                                        Background="{Binding BackgroundImage, Mode=OneWay, Source={x:Static common:ViewerDataModel.Instance}}">
264
                                            <Canvas.RenderTransform>
265
                                                <TransformGroup>
266
                                                    <RotateTransform x:Name="rotate2" Angle="0"/>
267
                                                    <TranslateTransform x:Name="translate2" X="0" Y="0"/>
268
                                                </TransformGroup>
269
                                            </Canvas.RenderTransform>
270
                                            <ItemsControl x:Name="itemsControl" ItemsSource="{Binding MarkupControls_Sync, Source={x:Static common:ViewerDataModel.Instance}}"
271
                                          Panel.ZIndex="1">
272
                                                <ItemsControl.ItemsPanel>
273
                                                    <ItemsPanelTemplate>
274
                                                        <Canvas >
275

    
276
                                                        </Canvas>
277
                                                    </ItemsPanelTemplate>
278
                                                </ItemsControl.ItemsPanel>
279
                                            </ItemsControl>
280
                                            <Image
281
                                                   Source="{Binding ImageViewPath_C, Source={x:Static common:ViewerDataModel.Instance}}" 
282
                                                   Width="{Binding ImageViewWidth_C, Source={x:Static common:ViewerDataModel.Instance}}" 
283
                                                   Height="{Binding ImageViewHeight_C, Source={x:Static common:ViewerDataModel.Instance}}" >
284
                                            </Image>
285
                                            <Canvas x:Name="canvas_compareBorder" IsHitTestVisible="False" Width="{Binding ActualWidth, ElementName=zoomAndPanCanvas2}" Height="{Binding ActualHeight, ElementName=zoomAndPanCanvas2}" Panel.ZIndex="1">
286
                                                <!--<Canvas.RenderTransform>
287
                                                    -->
288
                                                <!--<RotateTransform Angle="{Binding Angle, Source={x:Static common:ViewerDataModel.Instance}}"/>-->
289
                                                <!--
290
                                                    <RotateTransform Angle="{Binding Angle, ElementName=zoomAndPanCanvas2}"/>
291
                                                </Canvas.RenderTransform>-->
292
                                            </Canvas>
293
                                            <!--강인구 추가-->
294
                                        </Canvas>
295
                                    </Canvas>
296
                                </ZoomAndPan:ZoomAndPanControl>
297
                                <Grid Background="#FF353535" Opacity="0.5" IsHitTestVisible="False"/>
298

    
299
                                <Viewbox VerticalAlignment="Stretch" HorizontalAlignment="Stretch" StretchDirection="DownOnly" Stretch="Uniform" IsHitTestVisible="False">
300
                                    <TextBlock Text="Previous Document" HorizontalAlignment="Center" VerticalAlignment="Center" RenderTransformOrigin="0.5, 0.5" FontSize="50"
301
                                           Foreground="White" Opacity="0.5" FontWeight="Bold">
302
                                        <TextBlock.RenderTransform>
303
                                            <RotateTransform Angle="-25"/>
304
                                        </TextBlock.RenderTransform>
305
                                    </TextBlock>
306
                                </Viewbox>
307

    
308
                                <!--<telerik:RadExpander Header="OPEN" Background="Transparent" telerik:StyleManager.Theme="Office2016"
309
                                                     ExpandDirection="Right" VerticalAlignment="Top" HorizontalAlignment="Left">-->
310
                                <Grid Height="Auto" VerticalAlignment="Top" >
311
                                    <Grid.RowDefinitions>
312
                                        <RowDefinition/>
313
                                        <RowDefinition/>
314
                                    </Grid.RowDefinitions>
315
                                    <!--<Border Background="#3b3838" VerticalAlignment="Stretch" HorizontalAlignment="Stretch" Opacity="0.5" Grid.RowSpan="2"/>-->
316
                                    <Border Background="Black" VerticalAlignment="Stretch" HorizontalAlignment="Stretch" Opacity="0.5" Grid.RowSpan="2" BorderThickness="0"/>
317
                                    <StackPanel Orientation="Horizontal" HorizontalAlignment="Left">
318
                                        <!--<TextBlock Text="ReadOnly Mode" Foreground="#FFFF9A25" VerticalAlignment="Center" Margin="10"/>-->
319
                                        <TextBlock Text="Rev.A" Foreground="#FFFF9A25" VerticalAlignment="Center" Margin="10" x:Name="tlSyncRev"/>
320
                                        <TextBlock Text="Current Page : 1" Foreground="White" VerticalAlignment="Center"  x:Name="tlSyncPageNum"/>
321
                                    </StackPanel>
322
                                    <StackPanel Orientation="Horizontal" HorizontalAlignment="Right">
323
                                        <!--<telerik:RadToggleButton x:Name="CompareMode" IsChecked="False" Content="Compare"  Margin="5" Checked="SyncCompare_Click" Unchecked="SyncCompare_Click" BorderThickness="0" telerik:StyleManager.Theme="Office2013"
324
                                                                       Style="{DynamicResource RadToggleSwtichButtonStyle}" Width="Auto" Padding="10,0"/>-->
325
                                        <!--<telerik:RadRibbonToggleButton x:Name="UserList" Content="User List" Foreground="white"  Margin="5" Click="SyncUserListExpender_Click" BorderThickness="0" telerik:StyleManager.Theme="Office2013" VerticalAlignment="Center"/>-->
326

    
327
                                        <toggle:HorizontalToggleSwitch x:Name="Sync" CheckedContent="Sync" UncheckedContent="Sync" Width="75" IsChecked="False" ThumbSize="25"
328
                                                                       FontSize="10" FontWeight="Normal" BorderBrush="Transparent" Opacity="0.6"
329
                                                                       Margin="5" Checked="Sync_Click" Unchecked="Sync_Click" BorderThickness="0" telerik:StyleManager.Theme="Office2013"/>
330

    
331
                                        <toggle:HorizontalToggleSwitch x:Name="UserList" CheckedContent="User List" UncheckedContent="User List" Width="75" IsChecked="False" ThumbSize="25"
332
                                                                       FontSize="10" FontWeight="Normal" BorderBrush="Transparent" Opacity="0.6"
333
                                                                       Margin="5" Checked="SyncUserListExpender_Click" Unchecked="SyncUserListExpender_Click" BorderThickness="0" telerik:StyleManager.Theme="Office2013"/>
334

    
335
                                        <toggle:HorizontalToggleSwitch x:Name="CompareMode" CheckedContent="Compare On" UncheckedContent="Compare Off" Width="90" IsChecked="False" ThumbSize="25"
336
                                                                       FontSize="10" FontWeight="Normal" BorderBrush="Transparent" Opacity="0.6"
337
                                                                       Margin="5" Checked="SyncCompare_Click" Unchecked="SyncCompare_Click" BorderThickness="0" telerik:StyleManager.Theme="Office2013"/>
338

    
339
                                        <toggle:HorizontalToggleSwitch x:Name="MarkupMode" CheckedContent="Pdf" UncheckedContent="Markup" Width="75" IsChecked="False" ThumbSize="25"
340
                                                                       FontSize="10" FontWeight="Normal" BorderBrush="Transparent" Opacity="0.6"
341
                                                                       Margin="5" Checked="SyncChange_Click" Unchecked="SyncChange_Click" BorderThickness="0" telerik:StyleManager.Theme="Office2013"/>
342

    
343
                                        <toggle:HorizontalToggleSwitch x:Name="BalanceMode" CheckedContent="Balance On" UncheckedContent="Balance Off" Width="90" IsChecked="False" ThumbSize="25"
344
                                                                       FontSize="10" FontWeight="Normal" BorderBrush="Transparent" Opacity="0.6"
345
                                                                       Margin="5" Checked="SyncPageBalance_Click" Unchecked="SyncPageBalance_Click" BorderThickness="0" telerik:StyleManager.Theme="Office2013"/>
346

    
347

    
348
                                        <!--<telerik:RadRibbonToggleButton x:Name="MArkupMode" Content="Markup Mode" Foreground="White"  Margin="5"  Click="SyncChange_Click" BorderThickness="0" telerik:StyleManager.Theme="Office2013"/>-->
349
                                        <!--<telerik:RadRibbonToggleButton x:Name="BalanceMode" Content="Balance Mode" Foreground="White"  Margin="5" Click="SyncPageBalance_Click" BorderThickness="0" telerik:StyleManager.Theme="Office2013"/>-->
350
                                        <telerik:RadRibbonButton  Margin="5" Click="SyncPageChange_Click" Tag="-1" telerik:StyleManager.Theme="Office2013" VerticalAlignment="Center">
351
                                            <Image Height="20"
352
                                                               Source="/KCOM;component/Resources/Images/MenuImage_New/up-arrow.png"
353
                                                               Stretch="Uniform" />
354
                                        </telerik:RadRibbonButton>
355
                                        <telerik:RadRibbonButton Margin="5" Click="SyncPageChange_Click" Tag="1" telerik:StyleManager.Theme="Office2013" VerticalAlignment="Center">
356
                                            <Image Height="20"
357
                                                               Source="/KCOM;component/Resources/Images/MenuImage_New/up-arrow.png" RenderTransformOrigin="0.5 0.5"
358
                                                               Stretch="Uniform">
359
                                                <Image.RenderTransform>
360
                                                    <RotateTransform Angle="180"/>
361
                                                </Image.RenderTransform>
362
                                            </Image>
363
                                        </telerik:RadRibbonButton>
364
                                        <telerik:RadRibbonButton  Margin="5" Click="SyncExit_Click" telerik:StyleManager.Theme="Office2013" VerticalAlignment="Center">
365
                                            <Image Height="20"
366
                                                               Source="/KCOM;component/Resources/Images/MenuImage_New/cancel.png"
367
                                                               Stretch="Uniform" />
368
                                        </telerik:RadRibbonButton>
369
                                    </StackPanel>
370
                                    <telerik:RadGridView telerik:StyleManager.Theme="Office2013" ShowGroupPanel="False" ShowGroupFooters="False" AutoExpandGroups="False"  x:Name="gridViewRevMarkup"
371
                                             AutoGenerateColumns="False" HorizontalContentAlignment="Center" SelectionChanged="gridViewRevMarkup_SelectionChanged" SelectionMode="Multiple" BorderThickness="0"
372
                                                      CanUserFreezeColumns ="False" Visibility="Collapsed"  GridLinesVisibility="None" 
373
                                             CanUserDeleteRows="True" CanUserInsertRows="False" IsFilteringAllowed="False" RowIndicatorVisibility="Collapsed" Grid.Row="1">
374
                                        <telerik:RadGridView.HeaderRowStyle>
375
                                            <Style TargetType="telerik:GridViewHeaderRow">
376
                                                <Setter Property="BorderThickness" Value="0"/>
377
                                                <Setter Property="Background" Value="Red"/>
378
                                                <Setter Property="Foreground" Value="White"/>
379
                                                <Setter Property="HorizontalContentAlignment" Value="Center"/>
380
                                                <Setter Property="FontWeight" Value="Black"/>
381
                                                <Setter Property="telerik:StyleManager.Theme" Value="Office2013"/>
382
                                            </Style>
383
                                        </telerik:RadGridView.HeaderRowStyle>
384
                                        <telerik:RadGridView.RowStyle>
385
                                            <Style TargetType="telerik:GridViewRow">
386
                                                <Setter Property="HorizontalContentAlignment" Value="Center"/>
387
                                                <Setter Property="Background" Value="{Binding Path=Consolidate, Converter={StaticResource ConsolidationBackgroudConverter}}" />
388
                                                <Setter Property="Foreground" Value="White"/>
389
                                            </Style>
390
                                        </telerik:RadGridView.RowStyle>
391
                                        <telerik:RadGridView.Columns>
392
                                            <telerik:GridViewSelectColumn Width="Auto"  HeaderCellStyle="{StaticResource GridViewHeaderStyle}">
393
                                                <telerik:GridViewSelectColumn.Header>
394
                                                    <telerik:RadRibbonToggleButton  telerik:StyleManager.Theme="Office2016"
395
                                                                           Visibility="Collapsed" Width="Auto">
396
                                                        <telerik:RadRibbonToggleButton.Content>
397
                                                            <Image HorizontalAlignment="Center"
398
                                                           VerticalAlignment="Center"
399
                                                           Source="/KCOM;component/Resources/Images/MenuImage/check.png" />
400
                                                        </telerik:RadRibbonToggleButton.Content>
401
                                                    </telerik:RadRibbonToggleButton>
402
                                                </telerik:GridViewSelectColumn.Header>
403
                                            </telerik:GridViewSelectColumn>
404
                                            <telerik:GridViewDataColumn Width="Auto"  HeaderCellStyle="{StaticResource GridViewHeaderStyle}"
405
                                                                Header="Color" 
406
                                                                IsReadOnly="True">
407
                                                <telerik:GridViewDataColumn.CellTemplate>
408
                                                    <DataTemplate>
409
                                                        <Grid>
410
                                                            <Grid>
411
                                                                <Rectangle Margin="0,2,2,2" Fill="{Binding DisplayColor, Converter={StaticResource StringToColorConverter}}" />
412
                                                                <TextBlock Foreground="#00000000" Text="Color" />
413
                                                            </Grid>
414
                                                            <Grid VerticalAlignment="Center" Visibility="{Binding AvoidConsolidate, Converter={StaticResource BoolToVisibleConverter}}">
415
                                                                <Image Height="15"
416
                                                               Source="/KCOM;component/Resources/Images/MenuImage/lock_2.png"
417
                                                               Stretch="Uniform" />
418
                                                            </Grid>
419
                                                        </Grid>
420

    
421
                                                    </DataTemplate>
422
                                                </telerik:GridViewDataColumn.CellTemplate>
423
                                            </telerik:GridViewDataColumn>
424
                                            <telerik:GridViewDataColumn Header="DEPT"  IsReadOnly="True"  Width="Auto" HeaderCellStyle="{StaticResource GridViewHeaderStyle}">
425
                                                <telerik:GridViewDataColumn.CellTemplate>
426
                                                    <DataTemplate>
427
                                                        <TextBlock Text="{Binding Depatment}"  FontSize="12"/>
428
                                                    </DataTemplate>
429
                                                </telerik:GridViewDataColumn.CellTemplate>
430
                                            </telerik:GridViewDataColumn>
431
                                            <telerik:GridViewDataColumn Header="NAME"  IsReadOnly="True" Width="Auto"  HeaderCellStyle="{StaticResource GridViewHeaderStyle}">
432
                                                <telerik:GridViewDataColumn.CellTemplate>
433
                                                    <DataTemplate>
434
                                                        <TextBlock Text="{Binding UserName, Mode=TwoWay}" FontSize="10"/>
435
                                                    </DataTemplate>
436
                                                </telerik:GridViewDataColumn.CellTemplate>
437
                                            </telerik:GridViewDataColumn>
438
                                            <telerik:GridViewDataColumn Header="CONSOLIDATION"  IsReadOnly="True" Width="Auto"  HeaderCellStyle="{StaticResource GridViewHeaderStyle}">
439
                                                <telerik:GridViewDataColumn.CellTemplate>
440
                                                    <DataTemplate>
441
                                                        <!--<TextBlock Text="{Binding Consolidate}"/>-->
442
                                                        <Grid>
443
                                                            <Grid.ColumnDefinitions>
444
                                                                <ColumnDefinition Width="Auto" />
445
                                                                <ColumnDefinition Width="Auto" />
446
                                                                <ColumnDefinition Width="Auto" />
447
                                                            </Grid.ColumnDefinitions>
448

    
449
                                                            <TextBlock Grid.Column="0"
450
                                                               Foreground="Red"
451
                                                               Text="{Binding AvoidConsolidate,
452
                                                                              Converter={StaticResource AvoidStringConverter}}" />
453
                                                            <TextBlock Grid.Column="1"
454
                                                               Foreground="Blue"
455
                                                               Text="{Binding PartConsolidate,
456
                                                                              Converter={StaticResource TeamConsoliStringConverter}}" />
457
                                                            <TextBlock Grid.Column="2" Text="{Binding Consolidate, Converter={StaticResource ConsoliStringConverter}}" />
458
                                                            <!--
459
                                                        <TextBlock HorizontalAlignment="Center" Grid.Column="2">
460
                                                        <TextBlock.Text>
461
                                                        <Binding Converter="{StaticResource ConsoliStringConverter}"/>
462
                                                        </TextBlock.Text>
463
                                                        </TextBlock>
464
                                                    -->
465
                                                        </Grid>
466
                                                    </DataTemplate>
467
                                                </telerik:GridViewDataColumn.CellTemplate>
468
                                            </telerik:GridViewDataColumn>
469

    
470
                                            <telerik:GridViewDataColumn Header="Comment Move"  IsReadOnly="True" Width="Auto"  HeaderCellStyle="{StaticResource GridViewHeaderStyle}">
471
                                                <telerik:GridViewDataColumn.CellTemplate>
472
                                                    <DataTemplate>
473
                                                        <telerik:RadButton telerik:StyleManager.Theme="Office2016" HorizontalAlignment="Stretch" VerticalAlignment="Stretch" Content="COPY" PreviewMouseDown="Comment_Move" />
474
                                                        <!--<TextBlock Text="{Binding UserName, Mode=TwoWay}" FontSize="10"/>-->
475
                                                    </DataTemplate>
476
                                                </telerik:GridViewDataColumn.CellTemplate>
477
                                            </telerik:GridViewDataColumn>
478

    
479
                                            <telerik:GridViewDataColumn Header=""  IsReadOnly="True" Width="*"  HeaderCellStyle="{StaticResource GridViewHeaderStyle}">
480
                                            </telerik:GridViewDataColumn>
481
                                        </telerik:RadGridView.Columns>
482
                                    </telerik:RadGridView>
483
                                </Grid>
484
                                <!--</telerik:RadExpander>-->
485

    
486

    
487
                            </Grid>
488
                        </telerik:RadPane>
489
                    </telerik:RadPaneGroup>
490
                </telerik:RadSplitContainer>
491
            </telerik:RadDocking.DocumentHost>
492

    
493

    
494
            <telerik:RadSplitContainer Orientation="Vertical" InitialPosition="DockedLeft" Width="250" MinWidth="250">
495
                <!--<telerik:RadPaneGroup Margin="0" Style="{DynamicResource Style_RadPanelGroup}">-->
496
                <telerik:RadPaneGroup Margin="0" telerik:StyleManager.Theme="Office2016" x:Name="PN_Navi">
497
                    <telerik:RadPane Header="DOCUMENT" CanFloat="False" CanUserClose="False" CanUserPin="True" 
498
                                     ContextMenuTemplate="{x:Null}" PaneHeaderVisibility="Visible" telerik:StyleManager.Theme="Office2016">
499
                        <!--<telerik:RadPane.TitleTemplate>
500
                            <DataTemplate>
501
                                <Grid>
502
                                    <Grid.ColumnDefinitions>
503
                                        <ColumnDefinition Width="Auto" />
504
                                        <ColumnDefinition />
505
                                    </Grid.ColumnDefinitions>
506
                                    <ContentPresenter Content="{Binding}"
507
                                                      Margin="0,0,75,0" />
508
                                         <telerik:RadButton Grid.Column="1" Content="PIN"/>
509
                                </Grid>
510
                            </DataTemplate>
511
                        </telerik:RadPane.TitleTemplate>-->
512
                        <!--<Grid VerticalAlignment="Stretch" Margin="0">
513
                            <Grid.RowDefinitions>
514
                                <RowDefinition Height="30"/>
515
                                <RowDefinition Height="*"/>
516
                            </Grid.RowDefinitions>
517
                            <Border BorderBrush="{Binding ElementName=leftPanel}" BorderThickness="0,1">
518
                                <TextBlock Text="Thumbnail" Margin="5"/>
519
                            </Border>
520
                            <controls:PageNavigator x:Name="pageNavigator" Grid.Row="1"/>
521
                        </Grid>-->
522
                        <Grid>
523
                            <!--<controls:PageNavigator x:Name="pageNavigator" Grid.Row="1" Visibility="Collapsed"/>-->
524
                            <!--<Grid.RowDefinitions>
525
                                <RowDefinition Height="Auto"/>
526
                                <RowDefinition Height="*"/>
527
                            </Grid.RowDefinitions>-->
528
                            <!--<telerik:RadButton Content="Panorama" telerik:StyleManager.Theme="Office2016" FontSize="8"  Background="#FF0054B9" Foreground="White"
529
                                       BorderThickness="0" CornerRadius="3" HorizontalAlignment="Right" Padding="5" Margin="5,10"/>-->
530
                            <controls:Sample x:Name="pageNavigator"/>
531
                        </Grid>
532

    
533
                    </telerik:RadPane>
534
                </telerik:RadPaneGroup>
535
            </telerik:RadSplitContainer>
536

    
537
            <telerik:RadSplitContainer Orientation="Vertical" InitialPosition="DockedRight" MaxWidth="300" Width="300">
538
                <telerik:RadPaneGroup telerik:StyleManager.Theme="Office2016">
539
                    <telerik:RadPane Header="SEARCH" Visibility="Visible" CanFloat="False" CanUserClose="False"  ContextMenuTemplate="{x:Null}" IsPinned="False" telerik:StyleManager.Theme="Office2016" x:Name="searchPane">
540
                        <controls:SearchPanel x:Name="searchPanel_Instance"/>
541
                    </telerik:RadPane>
542
                </telerik:RadPaneGroup>
543
                <telerik:RadPaneGroup telerik:StyleManager.Theme="Office2016">
544
                    <telerik:RadPane Header="M-TALK" CanFloat="False" CanUserClose="False" Visibility="Collapsed"  ContextMenuTemplate="{x:Null}" IsPinned="False" telerik:StyleManager.Theme="Office2016"  x:Name="talkPane">
545
                        <messanger:ConversationView/>
546
                    </telerik:RadPane>
547
                </telerik:RadPaneGroup>
548
                <telerik:RadPaneGroup Visibility="Visible" telerik:StyleManager.Theme="Office2016">
549
                    <telerik:RadPane Header="SYMBOL" Visibility="Visible" CanFloat="False" CanUserClose="False"  ContextMenuTemplate="{x:Null}" IsPinned="False" telerik:StyleManager.Theme="Office2016"  x:Name="SymbolPane">
550
                        <controls:Symbol />
551
                        <!--<telerik:RadButton Click="Create_Symbol">Create</telerik:RadButton>-->
552
                    </telerik:RadPane>
553
                </telerik:RadPaneGroup>
554
                <telerik:RadPaneGroup telerik:StyleManager.Theme="Office2016"  telerik:ProportionalStackPanel.RelativeSize="60, 100">
555
                    <telerik:RadPane Header="FAVORITE" Visibility="Visible"  CanFloat="False" CanUserClose="False"  ContextMenuTemplate="{x:Null}" IsPinned="False" telerik:StyleManager.Theme="Office2016"  x:Name="FavoritePane">
556
                        <controls:FavoritePanel/>
557
                    </telerik:RadPane>
558
                </telerik:RadPaneGroup>
559
            </telerik:RadSplitContainer>
560
            <telerik:RadSplitContainer Orientation="Horizontal" InitialPosition="DockedBottom">
561
                <telerik:RadPaneGroup telerik:StyleManager.Theme="Office2016" telerik:ProportionalStackPanel.RelativeSize="140, 100">
562
                    <telerik:RadPane Header="User information List"  CanFloat="False" CanUserClose="False"  ContextMenuTemplate="{x:Null}" telerik:StyleManager.Theme="Office2016"  x:Name="infoListPane">
563
                        <telerik:RadPane.TitleTemplate>
564
                            <DataTemplate>
565
                                <Grid>
566
                                    <Grid.ColumnDefinitions>
567
                                        <ColumnDefinition Width="*" />
568
                                        <ColumnDefinition Width="Auto" />
569
                                    </Grid.ColumnDefinitions>
570

    
571
                                    <StackPanel Orientation="Horizontal">
572
                                        <TextBlock Margin="1"
573
                                                   VerticalAlignment="Center"
574
                                                   Text="{Binding}" />
575
                                        <telerik:RadRibbonButton x:Name="btnConsolidate"
576
                                                                 VerticalAlignment="Center"
577
                                                                 Click="btnConsolidate_Click"
578
                                                                 Loaded="btnConsolidate_Loaded"
579
                                                                 telerik:StyleManager.Theme="Office2016"
580
                                                                 ToolTipService.ToolTip="Consolidate">
581
                                            <Border Background="#E9F0F8"
582
                                                    BorderBrush="#839AB3"
583
                                                    BorderThickness="1">
584
                                                <StackPanel Margin="1" Orientation="Horizontal">
585
                                                    <!--<Image Width="15" Source="/DeepView;component/Images/MenuImage/document-new.png" />-->
586
                                                    <TextBlock Margin="1"
587
                                                               VerticalAlignment="Center"
588
                                                               Foreground="Black"
589
                                                               Text="Consolidate" />
590
                                                </StackPanel>
591
                                            </Border>
592
                                        </telerik:RadRibbonButton>
593
                                        <telerik:RadRibbonButton x:Name="btnTeamConsolidate"
594
                                                                 VerticalAlignment="Center"
595
                                                                 Click="btnTeamConsolidate_Click"
596
                                                                 Loaded="btnTeamConsolidate_Loaded"
597
                                                                 telerik:StyleManager.Theme="Office2016"
598
                                                                 ToolTipService.ToolTip="Consolidate">
599
                                            <Border Background="#E9F0F8"
600
                                                    BorderBrush="#839AB3"
601
                                                    BorderThickness="1">
602
                                                <StackPanel Margin="1" Orientation="Horizontal">
603
                                                    <!--<Image Width="15" Source="/DeepView;component/Images/MenuImage/document-team.png" />-->
604
                                                    <TextBlock Margin="1"
605
                                                               VerticalAlignment="Center"
606
                                                               Foreground="Black"
607
                                                               Text="Team Consolidate" />
608
                                                </StackPanel>
609
                                            </Border>
610
                                        </telerik:RadRibbonButton>
611
                                        <telerik:RadRibbonButton x:Name="btnFinalPDF"
612
                                                                 VerticalAlignment="Center"
613
                                                                 Click="FinalPDFEvent"
614
                                                                 Loaded="btnFinalPDF_Loaded"
615
                                                                 telerik:StyleManager.Theme="Office2016"
616
                                                                 ToolTipService.ToolTip="FinalPDF">
617
                                            <Border Background="#E9F0F8"
618
                                                    BorderBrush="#839AB3"
619
                                                    BorderThickness="1">
620
                                                <StackPanel Margin="1" Orientation="Horizontal">
621
                                                    <!--<Image Width="15" Source="/DeepView;component/Images/MenuImage/final_pdf2.png" />-->
622
                                                    <TextBlock Margin="1"
623
                                                               VerticalAlignment="Center"
624
                                                               Foreground="Black"
625
                                                               Text="Merged PDF" />
626
                                                </StackPanel>
627
                                            </Border>
628
                                        </telerik:RadRibbonButton>
629
                                    </StackPanel>
630
                                    <!--<StackPanel Grid.Column="1"
631
                                                HorizontalAlignment="Right"
632
                                                Orientation="Horizontal">
633
                                        <telerik:RadRibbonButton VerticalAlignment="Center"
634
                                                                 Click="ExpandButtonEvent_Click"
635
                                                                 Tag="CLOSE"
636
                                                                 telerik:StyleManager.Theme="Windows8"
637
                                                                 ToolTipService.ToolTip="Expand On">
638
                                        </telerik:RadRibbonButton>
639

640
                                        <telerik:RadRibbonButton VerticalAlignment="Center"
641
                                                                 Click="ExpandButtonEvent_Click"
642
                                                                 Tag="OPEN"
643
                                                                 telerik:StyleManager.Theme="Windows8"
644
                                                                 ToolTipService.ToolTip="Expand Off">
645
                                            <Image Width="15"
646
                                                   RenderTransformOrigin="0.5,0.5">
647
                                                <Image.RenderTransform>
648
                                                    <RotateTransform Angle="180" />
649
                                                </Image.RenderTransform>
650
                                            </Image>
651
                                        </telerik:RadRibbonButton>
652
                                    </StackPanel>-->
653
                                </Grid>
654
                            </DataTemplate>
655
                        </telerik:RadPane.TitleTemplate>
656
                        <telerik:RadGridView telerik:StyleManager.Theme="Office2013" ShowGroupPanel="False" ShowGroupFooters="False" AutoExpandGroups="False"  x:Name="gridViewMarkup"
657
                                             AutoGenerateColumns="False" HorizontalContentAlignment="Center" SelectionChanged="gridViewMarkup_SelectionChanged" SelectionMode="Multiple"
658
                                             CanUserDeleteRows="True" CanUserInsertRows="False" IsFilteringAllowed="False" RowIndicatorVisibility="Collapsed">
659
                            <telerik:RadGridView.RowStyle>
660
                                <Style TargetType="telerik:GridViewRow">
661
                                    <Setter Property="HorizontalContentAlignment" Value="Center"/>
662
                                    <Setter Property="Background" Value="{Binding Path=Consolidate, Converter={StaticResource ConsolidationBackgroudConverter}}" />
663
                                    <Setter Property="Visibility" Value="{Binding Path=IsPreviewUser,Converter={StaticResource previewerVisibleConverter}}"/>
664
                                    <!--<Setter Property="Template" Value="{StaticResource GridViewRowTemplate}" />-->
665
                                </Style>
666
                            </telerik:RadGridView.RowStyle>
667
                            <telerik:RadGridView.Columns>
668
                                <telerik:GridViewSelectColumn Width="Auto">
669
                                    <telerik:GridViewSelectColumn.Header>
670
                                        <telerik:RadRibbonToggleButton  telerik:StyleManager.Theme="Office2016"
671
                                                                           Visibility="Collapsed" Width="Auto">
672
                                            <telerik:RadRibbonToggleButton.Content>
673
                                                <Image HorizontalAlignment="Center"
674
                                                           VerticalAlignment="Center"
675
                                                           Source="/KCOM;component/Resources/Images/MenuImage/check.png" />
676
                                            </telerik:RadRibbonToggleButton.Content>
677
                                        </telerik:RadRibbonToggleButton>
678
                                    </telerik:GridViewSelectColumn.Header>
679
                                </telerik:GridViewSelectColumn>
680
                                <telerik:GridViewDataColumn Width="Auto"
681
                                                                Header="Color"
682
                                                                IsReadOnly="True">
683
                                    <telerik:GridViewDataColumn.CellTemplate>
684
                                        <DataTemplate>
685
                                            <Grid>
686
                                                <Grid>
687
                                                    <Rectangle Margin="0,2,2,2" Fill="{Binding DisplayColor, Converter={StaticResource StringToColorConverter}}" />
688
                                                    <TextBlock Foreground="#00000000" Text="Color" />
689
                                                </Grid>
690
                                                <Grid VerticalAlignment="Center" Visibility="{Binding AvoidConsolidate, Converter={StaticResource BoolToVisibleConverter}}">
691
                                                    <Image Height="15"
692
                                                               Source="/KCOM;component/Resources/Images/MenuImage/lock_2.png"
693
                                                               Stretch="Uniform" />
694
                                                </Grid>
695
                                            </Grid>
696

    
697
                                        </DataTemplate>
698
                                    </telerik:GridViewDataColumn.CellTemplate>
699
                                </telerik:GridViewDataColumn>
700
                                <telerik:GridViewDataColumn Header="DEPT"  IsReadOnly="True"  Width="Auto">
701
                                    <telerik:GridViewDataColumn.CellTemplate>
702
                                        <DataTemplate>
703
                                            <TextBlock Text="{Binding Depatment}"/>
704
                                        </DataTemplate>
705
                                    </telerik:GridViewDataColumn.CellTemplate>
706
                                </telerik:GridViewDataColumn>
707
                                <telerik:GridViewDataColumn Header="NAME"  IsReadOnly="True" Width="Auto">
708
                                    <telerik:GridViewDataColumn.CellTemplate>
709
                                        <DataTemplate>
710
                                            <TextBlock Text="{Binding UserName, Mode=TwoWay}"/>
711
                                        </DataTemplate>
712
                                    </telerik:GridViewDataColumn.CellTemplate>
713
                                </telerik:GridViewDataColumn>
714
                                <telerik:GridViewDataColumn Header="UPDATETIME"  IsReadOnly="True" Width="Auto">
715
                                    <telerik:GridViewDataColumn.CellTemplate>
716
                                        <DataTemplate>
717
                                            <TextBlock Text="{Binding UpdateTime}"/>
718
                                        </DataTemplate>
719
                                    </telerik:GridViewDataColumn.CellTemplate>
720
                                </telerik:GridViewDataColumn>
721
                                <telerik:GridViewDataColumn Header="CONSOLIDATION"  IsReadOnly="True" Width="Auto">
722
                                    <telerik:GridViewDataColumn.CellTemplate>
723
                                        <DataTemplate>
724
                                            <!--<TextBlock Text="{Binding Consolidate}"/>-->
725
                                            <Grid>
726
                                                <Grid.ColumnDefinitions>
727
                                                    <ColumnDefinition Width="Auto" />
728
                                                    <ColumnDefinition Width="Auto" />
729
                                                    <ColumnDefinition Width="Auto" />
730
                                                </Grid.ColumnDefinitions>
731

    
732
                                                <TextBlock Grid.Column="0"
733
                                                               Foreground="Red"
734
                                                               Text="{Binding AvoidConsolidate,
735
                                                                              Converter={StaticResource AvoidStringConverter}}" />
736
                                                <TextBlock Grid.Column="1"
737
                                                               Foreground="Blue"
738
                                                               Text="{Binding PartConsolidate,
739
                                                                              Converter={StaticResource TeamConsoliStringConverter}}" />
740
                                                <TextBlock Grid.Column="2" Text="{Binding Consolidate, Converter={StaticResource ConsoliStringConverter}}" />
741
                                                <!--
742
                                                        <TextBlock HorizontalAlignment="Center" Grid.Column="2">
743
                                                        <TextBlock.Text>
744
                                                        <Binding Converter="{StaticResource ConsoliStringConverter}"/>
745
                                                        </TextBlock.Text>
746
                                                        </TextBlock>
747
                                                    -->
748
                                            </Grid>
749
                                        </DataTemplate>
750
                                    </telerik:GridViewDataColumn.CellTemplate>
751
                                </telerik:GridViewDataColumn>
752
                                <telerik:GridViewDataColumn Header="DESCRIPTION"  IsReadOnly="True" Width="*">
753
                                    <telerik:GridViewDataColumn.CellTemplate>
754
                                        <DataTemplate>
755
                                            <TextBlock Text="{Binding Description}"/>
756
                                        </DataTemplate>
757
                                    </telerik:GridViewDataColumn.CellTemplate>
758
                                </telerik:GridViewDataColumn>
759
                                <telerik:GridViewDataColumn Header="DELETE"  IsReadOnly="True" Width="Auto">
760
                                    <telerik:GridViewDataColumn.CellTemplate>
761
                                        <DataTemplate>
762
                                            <Button Content="DELETE" Visibility="{Binding userDelete, Converter={StaticResource BooleanToVisibilityConverter}}" Click="DeleteCommentEvent" CommandParameter="{Binding}"/>
763
                                        </DataTemplate>
764
                                    </telerik:GridViewDataColumn.CellTemplate>
765
                                </telerik:GridViewDataColumn>
766
                            </telerik:RadGridView.Columns>
767
                        </telerik:RadGridView>
768
                    </telerik:RadPane>
769
                </telerik:RadPaneGroup>
770
                <telerik:RadPaneGroup telerik:StyleManager.Theme="Office2016" telerik:ProportionalStackPanel.RelativeSize="60, 100">
771
                    <telerik:RadPane Header="Document History"  CanFloat="False" CanUserClose="False"  ContextMenuTemplate="{x:Null}" telerik:StyleManager.Theme="Office2016"  x:Name="historyPane">
772
                        <Grid>
773
                            <telerik:RadGridView telerik:StyleManager.Theme="Office2013" ShowGroupPanel="False" ShowGroupFooters="False" AutoExpandGroups="False"  x:Name="gridViewHistory"
774
                                             CanUserDeleteRows="True" CanUserInsertRows="False" IsFilteringAllowed="False" RowIndicatorVisibility="Collapsed" AutoGenerateColumns="False">
775
                                <telerik:RadGridView.Columns>
776
                                    <telerik:GridViewDataColumn Header="Rev No"  IsReadOnly="True" Width="Auto">
777
                                        <telerik:GridViewDataColumn.CellTemplate>
778
                                            <DataTemplate>
779
                                                <TextBlock Text="{Binding RevNo}" HorizontalAlignment="Center"/>
780
                                            </DataTemplate>
781
                                        </telerik:GridViewDataColumn.CellTemplate>
782
                                    </telerik:GridViewDataColumn>
783
                                    <telerik:GridViewDataColumn Header="Slip No"  IsReadOnly="True" Width="Auto">
784
                                        <telerik:GridViewDataColumn.CellTemplate>
785
                                            <DataTemplate>
786
                                                <TextBlock Text="{Binding GroupNo}" HorizontalAlignment="Center"/>
787
                                            </DataTemplate>
788
                                        </telerik:GridViewDataColumn.CellTemplate>
789
                                    </telerik:GridViewDataColumn>
790
                                    <telerik:GridViewDataColumn Header="RESULT"  IsReadOnly="True" Width="Auto">
791
                                        <telerik:GridViewDataColumn.CellTemplate>
792
                                            <DataTemplate>
793
                                                <TextBlock Text="{Binding RESULT}" HorizontalAlignment="Center"/>
794
                                            </DataTemplate>
795
                                        </telerik:GridViewDataColumn.CellTemplate>
796
                                    </telerik:GridViewDataColumn>
797
                                    <telerik:GridViewDataColumn CellStyle="{StaticResource GridViewAlign}"  IsReadOnly="True"
798
                                                                        DataMemberBinding="{Binding FROM_VENDOR}"
799
                                                                        Header="File(in)" telerik:StyleManager.Theme="Office2013"
800
                                                                        HeaderTextAlignment="Center">
801
                                        <telerik:GridViewDataColumn.CellTemplate>
802
                                            <DataTemplate>
803
                                                <Image Height="22" Source="/KCOM;component/Resources/Images/MenuImage_New/PDF.png" 
804
                                                       MouseLeftButtonDown="PdfLink_ButtonDown" Tag="{Binding FROM_VENDOR}"
805
                                                       Visibility="{Binding FROM_VENDOR, Converter={StaticResource PDFVisibleConverter}}"/>
806
                                            </DataTemplate>
807
                                        </telerik:GridViewDataColumn.CellTemplate>
808
                                    </telerik:GridViewDataColumn>
809

    
810
                                    <telerik:GridViewDataColumn CellStyle="{StaticResource GridViewAlign}"
811
                                                                        DataMemberBinding="{Binding TO_VENDOR}" IsReadOnly="True"
812
                                                                        Header="File(out)" telerik:StyleManager.Theme="Office2013"
813
                                                                        HeaderTextAlignment="Center">
814
                                        <telerik:GridViewDataColumn.CellTemplate>
815
                                            <DataTemplate>
816
                                                <Image Height="22" Source="/KCOM;component/Resources/Images/MenuImage_New/PDF.png" 
817
                                                       MouseLeftButtonDown="PdfLink_ButtonDown" Tag="{Binding TO_VENDOR}"
818
                                                       Visibility="{Binding TO_VENDOR, Converter={StaticResource PDFVisibleConverter}}"/>
819
                                            </DataTemplate>
820
                                        </telerik:GridViewDataColumn.CellTemplate>
821
                                    </telerik:GridViewDataColumn>
822

    
823

    
824
                                    <!--<telerik:GridViewDataColumn Header="FROM_VENDOR"  IsReadOnly="True" Width="Auto">
825
                                    <telerik:GridViewDataColumn.CellTemplate>
826
                                        <DataTemplate>
827
                                            <telerik:RadRibbonButton telerik:StyleManager.Theme="Office2016">
828
                                                <
829
                                                <TextBlock Text="{Binding FROM_VENDOR}" HorizontalAlignment="Center"/>
830
                                            </telerik:RadRibbonButton>                                            
831
                                        </DataTemplate>
832
                                    </telerik:GridViewDataColumn.CellTemplate>
833
                                </telerik:GridViewDataColumn>-->
834
                                    <!--<telerik:GridViewDataColumn Header="TO_VENDOR"  IsReadOnly="True" Width="Auto">
835
                                    <telerik:GridViewDataColumn.CellTemplate>
836
                                        <DataTemplate>
837
                                            <TextBlock Text="{Binding TO_VENDOR}" HorizontalAlignment="Center"/>
838
                                        </DataTemplate>
839
                                    </telerik:GridViewDataColumn.CellTemplate>
840
                                </telerik:GridViewDataColumn>-->
841
                                    <telerik:GridViewDataColumn Header="SYNC"  IsReadOnly="True" Width="Auto" CellStyle="{StaticResource GridViewAlign}" HeaderTextAlignment="Center">
842
                                        <telerik:GridViewDataColumn.CellTemplate>
843
                                            <DataTemplate>
844
                                                <!--<Border Grid.Column="1" Background="#FF0054B9" CornerRadius="5" Margin="5" VerticalAlignment="Center" MinHeight="20"
845
                                                        Visibility="{Binding IsSyncPossible, Converter={StaticResource BoolToVisibleConverter}}">
846
                                                    <telerik:RadButton Content="OPEN" telerik:StyleManager.Theme="Office2016"  Foreground="White"
847
                                                                       Background="Transparent" HorizontalAlignment="Stretch" Click="RadButton_Click" CommandParameter="{Binding}"/>
848
                                                </Border>-->
849
                                                <telerik:RadButton  Margin="5" BorderThickness="0" Click="RadButton_Click" CommandParameter="{Binding}" Background="Transparent"
850
                                                                   Visibility="{Binding IsSyncPossible, Converter={StaticResource BoolToVisibleConverter}}">
851
                                                    <telerik:RadButton.Content>
852
                                                        <Image Source="/KCOM;component/Resources/Images/MenuImage_new/file.png" Stretch="Uniform" Width="20" Height="20"/>
853
                                                    </telerik:RadButton.Content>
854
                                                </telerik:RadButton>
855

    
856
                                                <!--<TextBlock Text="{Binding IsSyncPossible}" HorizontalAlignment="Center"/>-->
857
                                            </DataTemplate>
858
                                        </telerik:GridViewDataColumn.CellTemplate>
859
                                    </telerik:GridViewDataColumn>
860
                                </telerik:RadGridView.Columns>
861
                            </telerik:RadGridView>
862
                            <telerik:RadBusyIndicator x:Name="gridViewHistory_Busy" IsBusy="False" telerik:StyleManager.Theme="Office2016"
863
                                                  BusyContent="Sync Data Loading"/>
864
                        </Grid>
865
                    </telerik:RadPane>
866
                </telerik:RadPaneGroup>
867
            </telerik:RadSplitContainer>
868

    
869

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