프로젝트

일반

사용자정보

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

markus / KCOM / Views / MainMenu.xaml @ 32e95118

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

1 787a4489 KangIngu
<UserControl xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation"  x:Class="KCOM.Views.MainMenu"
2
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:toggle="clr-namespace:ToggleSwitch;assembly=ToggleSwitch"
3
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:telerikGrid="clr-namespace:Telerik.Windows.Controls.GridView;assembly=Telerik.Windows.Controls.GridView"
4
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
5
             xmlns:converter="clr-namespace:KCOM.Common.Converter"
6
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008"  xmlns:common="clr-namespace:KCOM.Common"
7
             xmlns:controls="clr-namespace:KCOM.Controls"  xmlns:ZoomAndPan="clr-namespace:ZoomAndPan;assembly=ZoomAndPan"
8
             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
                                <ZoomAndPan:ZoomAndPanControl x:Name="zoomAndPanControl"
112
                                                              MouseWheel="zoomAndPanControl_MouseWheel"
113
                                                              MouseDown="zoomAndPanControl_MouseDown"
114
                                                              MouseMove="zoomAndPanControl_MouseMove"
115
                                                              MouseUp="zoomAndPanControl_MouseUp"
116
                                                              MouseLeave="zoomAndPanControl_MouseLeave"
117
                                                              MouseDoubleClick="zoomAndPanControl_MouseDoubleClick"
118
                                                              ContentScale="{Binding ContentScale, Mode=TwoWay, Source={x:Static common:ViewerDataModel.Instance}}"
119
                                                              ContentOffsetX="{Binding ContentOffsetX, Mode=TwoWay, Source={x:Static common:ViewerDataModel.Instance}}"
120
                                                              ContentOffsetY="{Binding ContentOffsetY, Mode=TwoWay, Source={x:Static common:ViewerDataModel.Instance}}"
121
                                                              ConstrainedContentViewportWidth="{Binding ContentViewportWidth, Mode=TwoWay, Source={x:Static common:ViewerDataModel.Instance}}"
122
                                                              ConstrainedContentViewportHeight="{Binding ContentViewportHeight, Mode=TwoWay, Source={x:Static common:ViewerDataModel.Instance}}"
123
                                                              Background="LightGray">
124
                                    <Canvas x:Name="zoomAndPanCanvas" Opacity="1" Background="White">
125
126
                                        <Canvas x:Name="drawingRotateCanvas"
127
                                                        Panel.ZIndex="1"
128
                                                        Background="{Binding BackgroundImage, Mode=OneWay, Source={x:Static common:ViewerDataModel.Instance}}">
129
                                            <Canvas.RenderTransform>
130
                                                <TransformGroup>
131
                                                    <RotateTransform x:Name="rotate" Angle="0"/>
132
                                                    <TranslateTransform x:Name="translate" X="0" Y="0"/>
133
                                                </TransformGroup>
134
                                            </Canvas.RenderTransform>
135
                                            
136
                                            <ItemsControl ItemsSource="{Binding MarkupControls, Source={x:Static common:ViewerDataModel.Instance}}"
137
                                          Panel.ZIndex="1">
138
                                                <ItemsControl.ItemsPanel>
139
                                                    <ItemsPanelTemplate>
140
                                                        <Canvas />
141
                                                    </ItemsPanelTemplate>
142
                                                </ItemsControl.ItemsPanel>
143
                                            </ItemsControl>
144
                                            <ItemsControl ItemsSource="{Binding MarkupControls_USER, Source={x:Static common:ViewerDataModel.Instance}}"
145
                                          Panel.ZIndex="30">
146
                                                <ItemsControl.ItemsPanel>
147
                                                    <ItemsPanelTemplate>
148
                                                        <Canvas />
149
                                                    </ItemsPanelTemplate>
150
                                                </ItemsControl.ItemsPanel>
151
                                            </ItemsControl>
152
                                            <InkPresenter x:Name="inkBoard" HorizontalAlignment="Stretch" Panel.ZIndex="1" VerticalAlignment="Stretch"/>
153
                                            <InkCanvas x:Name="inkDrawingCanvas"
154
                                               Background="Transparent"
155
                                               IsEnabled="False"
156
                                               Panel.ZIndex="1"
157
                                               Strokes="{Binding MarkupPens, Source={x:Static common:ViewerDataModel.Instance}}" Height="1" Width="1">
158
                                                <!--<Rectangle Height="41" HorizontalAlignment="Left"  Name="rectangle1" Stroke="Black" VerticalAlignment="Top" Width="69" Fill="#FFDB1111" />-->
159
                                                <!--<Ellipse Height="41" HorizontalAlignment="Left"  Name="rectangle1" Stroke="Black" VerticalAlignment="Top" Width="69" Fill="#FFDB1111" />-->
160
161
                                                <!--<MarkupToPDF:RectangleControl Height="200" HorizontalAlignment="Center" Name="rectangle2" StrokeColor="Black" VerticalAlignment="Top" Width="00" FillColor="Red"/>-->
162
                                            </InkCanvas>
163
                                            <!--강인구 추가-->
164
                                            <Image Panel.ZIndex="0"
165
                                                   Source="{Binding ImageViewPath, Source={x:Static common:ViewerDataModel.Instance}}" 
166
                                                   Width="{Binding ImageViewWidth, Source={x:Static common:ViewerDataModel.Instance}}" 
167
                                                   Height="{Binding ImageViewHeight, Source={x:Static common:ViewerDataModel.Instance}}" >
168
                                            </Image>
169
                                            
170
                                            <Canvas x:Name="SelectLayer" HorizontalAlignment="Stretch" VerticalAlignment="Stretch"/>
171
                                            <Border x:Name="dragSelectionBorder"
172
                                                    BorderBrush="Blue"
173
                                                    BorderThickness="1"
174
                                                    Background="LightBlue" 
175
                                                    CornerRadius="1"
176
                                                    Panel.ZIndex="1"
177
                                                    Opacity="0.5"/>
178
                                            <Border x:Name="dragCaptureBorder"
179
                                                    BorderBrush="Blue"
180
                                                    BorderThickness="1"
181
                                                    Background="Blue" 
182
                                                    CornerRadius="1"
183
                                                    Panel.ZIndex="1"
184
                                                    Opacity="0.5"/>
185 9f473fb7 KangIngu
                                            <Border x:Name="dragZoomBorder"
186
                                                    BorderThickness="3"
187
                                                    Background="Transparent" 
188
                                                    CornerRadius="1"
189
                                                    Panel.ZIndex="1"
190
                                                    Opacity="1">
191
                                                <Border.BorderBrush>
192
                                                    <VisualBrush>
193
                                                        <VisualBrush.Visual>
194
                                                            <Rectangle StrokeDashArray="4 2" Stroke="Gray" StrokeThickness="1"
195
                                                                  Width="{Binding RelativeSource={RelativeSource AncestorType={x:Type Border}}, Path=ActualWidth}"
196
                                                                  Height="{Binding RelativeSource={RelativeSource AncestorType={x:Type Border}}, Path=ActualHeight}"/>
197
                                                        </VisualBrush.Visual>
198
                                                    </VisualBrush>
199
                                                </Border.BorderBrush>
200
                                            </Border>
201
                                            <!--<Border x:Name="dragZoomBorder"
202
                                                    BorderBrush="Black"
203
                                                    BorderThickness="1"
204
                                                    
205
                                                    Background="Transparent" 
206
                                                    CornerRadius="1"
207
                                                    Panel.ZIndex="1"
208
                                                    Opacity="0.5"/>-->
209
210
211 787a4489 KangIngu
                                            <!--<Border Background="Red" Panel.ZIndex="1" Opacity="0.5" Visibility="Visible" Width="100" Height="100" />-->
212
                                        </Canvas>
213
214
                                        <!--<Border Background="Red" Panel.ZIndex="1" Opacity="0.5" Visibility="Visible" Width="1000" Height="1000" IsHitTestVisible="False"/>-->
215
216
                                        <!--<Leadtools_Windows_Controls:RasterImageViewer x:Name="_imageViewer" Grid.Row="1" BorderThickness="0"/>-->
217
                                    </Canvas>
218
219
                                </ZoomAndPan:ZoomAndPanControl>
220
                                <!--캡쳐 화면을 위한 보더-->
221
                                <Border Background="LightGray" 
222
                                        Opacity="{Binding Capture_Opacity, Source={x:Static common:ViewerDataModel.Instance}}"
223
                                        IsHitTestVisible="False" >
224
                                    <TextBlock HorizontalAlignment="Right" Foreground="Red" Text="캡쳐 진행 화면" FontSize="30"/>
225
                                </Border>
226
                                <Angle:AngleControl x:Name="MainAngle"
227
                                                        Grid.Column="1"
228
                                                        Grid.ColumnSpan="2"
229 5ce56a3a KangIngu
                                                        Margin="10"
230
                                                        AngleValue="{Binding AngleValue, Mode=TwoWay, Source={x:Static common:ViewerDataModel.Instance}}"
231 787a4489 KangIngu
                                                        HorizontalAlignment="Right"
232
                                                        VerticalAlignment="Top"
233
                                                        IsHitTestVisible="False"
234
                                                        Visibility="Collapsed" />
235
                            </Grid>
236
                        </telerik:RadDocumentPane>
237
                    </telerik:RadPaneGroup>
238
                    <telerik:RadPaneGroup Style="{DynamicResource Style_RadPanelGroup}" >
239
                        <telerik:RadPane CanFloat="False" CanUserClose="False" Title="Document 1" PaneHeaderVisibility="Collapsed" x:Name="testPanel2" IsHidden="True" Margin="0,-20,0,0">
240
                            <Grid Background="{DynamicResource KCOMColor_DocumnetBackgroundBrush}">
241
                                <ZoomAndPan:ZoomAndPanControl x:Name="zoomAndPanControl2" 
242
                                                              ContentScale="{Binding ContentScale, Mode=TwoWay, Source={x:Static common:ViewerDataModel.Instance}}"
243
                                                              ContentOffsetX="{Binding ContentOffsetX, Mode=TwoWay, Source={x:Static common:ViewerDataModel.Instance}}"
244
                                                              ContentOffsetY="{Binding ContentOffsetY, Mode=TwoWay, Source={x:Static common:ViewerDataModel.Instance}}"
245
                                                              ConstrainedContentViewportWidth="{Binding ContentViewportWidth, Mode=TwoWay, Source={x:Static common:ViewerDataModel.Instance}}"
246
                                                              ConstrainedContentViewportHeight="{Binding ContentViewportHeight, Mode=TwoWay, Source={x:Static common:ViewerDataModel.Instance}}"
247
                                                              Background="LightGray">
248
                                    <Canvas x:Name="zoomAndPanCanvas2" Opacity="1" Background="White" >
249
                                        <Canvas x:Name="drawingRotateCanvas2"
250
                                                        Panel.ZIndex="1"
251
                                                        Background="{Binding BackgroundImage, Mode=OneWay, Source={x:Static common:ViewerDataModel.Instance}}">
252
                                            <Canvas.RenderTransform>
253
                                                <TransformGroup>
254
                                                    <RotateTransform x:Name="rotate2" Angle="0"/>
255
                                                    <TranslateTransform x:Name="translate2" X="0" Y="0"/>
256
                                                </TransformGroup>
257
                                            </Canvas.RenderTransform>
258
                                            <ItemsControl x:Name="itemsControl" ItemsSource="{Binding MarkupControls_Sync, Source={x:Static common:ViewerDataModel.Instance}}"
259
                                          Panel.ZIndex="1">
260
                                                <ItemsControl.ItemsPanel>
261
                                                    <ItemsPanelTemplate>
262
                                                        <Canvas >
263
264
                                                        </Canvas>
265
                                                    </ItemsPanelTemplate>
266
                                                </ItemsControl.ItemsPanel>
267
                                            </ItemsControl>
268
                                            <Image
269
                                                   Source="{Binding ImageViewPath_C, Source={x:Static common:ViewerDataModel.Instance}}" 
270
                                                   Width="{Binding ImageViewWidth_C, Source={x:Static common:ViewerDataModel.Instance}}" 
271
                                                   Height="{Binding ImageViewHeight_C, Source={x:Static common:ViewerDataModel.Instance}}" >
272
                                            </Image>
273
                                            <Canvas x:Name="canvas_compareBorder" IsHitTestVisible="False" Width="{Binding ActualWidth, ElementName=zoomAndPanCanvas2}" Height="{Binding ActualHeight, ElementName=zoomAndPanCanvas2}" Panel.ZIndex="1">
274
                                                <!--<Canvas.RenderTransform>
275
                                                    -->
276
                                                <!--<RotateTransform Angle="{Binding Angle, Source={x:Static common:ViewerDataModel.Instance}}"/>-->
277
                                                <!--
278
                                                    <RotateTransform Angle="{Binding Angle, ElementName=zoomAndPanCanvas2}"/>
279
                                                </Canvas.RenderTransform>-->
280
                                            </Canvas>
281
                                            <!--강인구 추가-->
282
                                        </Canvas>
283
                                    </Canvas>
284
                                </ZoomAndPan:ZoomAndPanControl>
285
                                <Grid Background="#FF353535" Opacity="0.5"/>
286
287
                                <Viewbox VerticalAlignment="Stretch" HorizontalAlignment="Stretch" StretchDirection="DownOnly" Stretch="Uniform">
288
                                    <TextBlock Text="Previous Document" HorizontalAlignment="Center" VerticalAlignment="Center" RenderTransformOrigin="0.5, 0.5" FontSize="50"
289
                                           Foreground="White" Opacity="0.5" FontWeight="Bold">
290
                                        <TextBlock.RenderTransform>
291
                                            <RotateTransform Angle="-25"/>
292
                                        </TextBlock.RenderTransform>
293
                                    </TextBlock>
294
                                </Viewbox>
295
296
                                <!--<telerik:RadExpander Header="OPEN" Background="Transparent" telerik:StyleManager.Theme="Office2016"
297
                                                     ExpandDirection="Right" VerticalAlignment="Top" HorizontalAlignment="Left">-->
298
                                <Grid Height="Auto" VerticalAlignment="Top" >
299
                                    <Grid.RowDefinitions>
300
                                        <RowDefinition/>
301
                                        <RowDefinition/>
302
                                    </Grid.RowDefinitions>
303
                                    <!--<Border Background="#3b3838" VerticalAlignment="Stretch" HorizontalAlignment="Stretch" Opacity="0.5" Grid.RowSpan="2"/>-->
304
                                    <Border Background="Black" VerticalAlignment="Stretch" HorizontalAlignment="Stretch" Opacity="0.5" Grid.RowSpan="2" BorderThickness="0"/>
305
                                    <StackPanel Orientation="Horizontal" HorizontalAlignment="Left">
306
                                        <!--<TextBlock Text="ReadOnly Mode" Foreground="#FFFF9A25" VerticalAlignment="Center" Margin="10"/>-->
307
                                        <TextBlock Text="Rev.A" Foreground="#FFFF9A25" VerticalAlignment="Center" Margin="10" x:Name="tlSyncRev"/>
308
                                        <TextBlock Text="Current Page : 1" Foreground="White" VerticalAlignment="Center"  x:Name="tlSyncPageNum"/>
309
                                    </StackPanel>
310
                                    <StackPanel Orientation="Horizontal" HorizontalAlignment="Right">
311
                                        <!--<telerik:RadToggleButton x:Name="CompareMode" IsChecked="False" Content="Compare"  Margin="5" Checked="SyncCompare_Click" Unchecked="SyncCompare_Click" BorderThickness="0" telerik:StyleManager.Theme="Office2013"
312
                                                                       Style="{DynamicResource RadToggleSwtichButtonStyle}" Width="Auto" Padding="10,0"/>-->
313
                                        <!--<telerik:RadRibbonToggleButton x:Name="UserList" Content="User List" Foreground="white"  Margin="5" Click="SyncUserListExpender_Click" BorderThickness="0" telerik:StyleManager.Theme="Office2013" VerticalAlignment="Center"/>-->
314
                                        <toggle:HorizontalToggleSwitch x:Name="UserList" CheckedContent="User List" UncheckedContent="User List" Width="75" IsChecked="False" ThumbSize="25"
315
                                                                       FontSize="10" FontWeight="Normal" BorderBrush="Transparent" Opacity="0.6"
316
                                                                       Margin="5" Checked="SyncUserListExpender_Click" Unchecked="SyncUserListExpender_Click" BorderThickness="0" telerik:StyleManager.Theme="Office2013"/>
317
318
                                        <toggle:HorizontalToggleSwitch x:Name="CompareMode" CheckedContent="Compare On" UncheckedContent="Compare Off" Width="90" IsChecked="False" ThumbSize="25"
319
                                                                       FontSize="10" FontWeight="Normal" BorderBrush="Transparent" Opacity="0.6"
320
                                                                       Margin="5" Checked="SyncCompare_Click" Unchecked="SyncCompare_Click" BorderThickness="0" telerik:StyleManager.Theme="Office2013"/>
321
322
                                        <toggle:HorizontalToggleSwitch x:Name="MarkupMode" CheckedContent="Pdf" UncheckedContent="Markup" Width="75" IsChecked="False" ThumbSize="25"
323
                                                                       FontSize="10" FontWeight="Normal" BorderBrush="Transparent" Opacity="0.6"
324
                                                                       Margin="5" Checked="SyncChange_Click" Unchecked="SyncChange_Click" BorderThickness="0" telerik:StyleManager.Theme="Office2013"/>
325
326
                                        <toggle:HorizontalToggleSwitch x:Name="BalanceMode" CheckedContent="Balance On" UncheckedContent="Balance Off" Width="90" IsChecked="False" ThumbSize="25"
327
                                                                       FontSize="10" FontWeight="Normal" BorderBrush="Transparent" Opacity="0.6"
328
                                                                       Margin="5" Checked="SyncPageBalance_Click" Unchecked="SyncPageBalance_Click" BorderThickness="0" telerik:StyleManager.Theme="Office2013"/>
329
330
331
                                        <!--<telerik:RadRibbonToggleButton x:Name="MArkupMode" Content="Markup Mode" Foreground="White"  Margin="5"  Click="SyncChange_Click" BorderThickness="0" telerik:StyleManager.Theme="Office2013"/>-->
332
                                        <!--<telerik:RadRibbonToggleButton x:Name="BalanceMode" Content="Balance Mode" Foreground="White"  Margin="5" Click="SyncPageBalance_Click" BorderThickness="0" telerik:StyleManager.Theme="Office2013"/>-->
333
                                        <telerik:RadRibbonButton  Margin="5" Click="SyncPageChange_Click" Tag="-1" telerik:StyleManager.Theme="Office2013" VerticalAlignment="Center">
334
                                            <Image Height="20"
335
                                                               Source="/KCOM;component/Resources/Images/MenuImage_New/up-arrow.png"
336
                                                               Stretch="Uniform" />
337
                                        </telerik:RadRibbonButton>
338
                                        <telerik:RadRibbonButton Margin="5" Click="SyncPageChange_Click" Tag="1" telerik:StyleManager.Theme="Office2013" VerticalAlignment="Center">
339
                                            <Image Height="20"
340
                                                               Source="/KCOM;component/Resources/Images/MenuImage_New/up-arrow.png" RenderTransformOrigin="0.5 0.5"
341
                                                               Stretch="Uniform">
342
                                                <Image.RenderTransform>
343
                                                    <RotateTransform Angle="180"/>
344
                                                </Image.RenderTransform>
345
                                            </Image>
346
                                        </telerik:RadRibbonButton>
347
                                        <telerik:RadRibbonButton  Margin="5" Click="SyncExit_Click" telerik:StyleManager.Theme="Office2013" VerticalAlignment="Center">
348
                                            <Image Height="20"
349
                                                               Source="/KCOM;component/Resources/Images/MenuImage_New/cancel.png"
350
                                                               Stretch="Uniform" />
351
                                        </telerik:RadRibbonButton>
352
                                    </StackPanel>
353
                                    <telerik:RadGridView telerik:StyleManager.Theme="Office2013" ShowGroupPanel="False" ShowGroupFooters="False" AutoExpandGroups="False"  x:Name="gridViewRevMarkup"
354
                                             AutoGenerateColumns="False" HorizontalContentAlignment="Center" SelectionChanged="gridViewRevMarkup_SelectionChanged" SelectionMode="Multiple" BorderThickness="0"
355
                                                      CanUserFreezeColumns ="False" Visibility="Collapsed"  GridLinesVisibility="None" 
356
                                             CanUserDeleteRows="True" CanUserInsertRows="False" IsFilteringAllowed="False" RowIndicatorVisibility="Collapsed" Grid.Row="1">
357
                                        <telerik:RadGridView.HeaderRowStyle>
358
                                            <Style TargetType="telerik:GridViewHeaderRow">
359
                                                <Setter Property="BorderThickness" Value="0"/>
360
                                                <Setter Property="Background" Value="Red"/>
361
                                                <Setter Property="Foreground" Value="White"/>
362
                                                <Setter Property="HorizontalContentAlignment" Value="Center"/>
363
                                                <Setter Property="FontWeight" Value="Black"/>
364
                                                <Setter Property="telerik:StyleManager.Theme" Value="Office2013"/>
365
                                            </Style>
366
                                        </telerik:RadGridView.HeaderRowStyle>
367
                                        <telerik:RadGridView.RowStyle>
368
                                            <Style TargetType="telerik:GridViewRow">
369
                                                <Setter Property="HorizontalContentAlignment" Value="Center"/>
370
                                                <Setter Property="Background" Value="{Binding Path=Consolidate, Converter={StaticResource ConsolidationBackgroudConverter}}" />
371
                                                <Setter Property="Foreground" Value="White"/>
372
                                            </Style>
373
                                        </telerik:RadGridView.RowStyle>
374
                                        <telerik:RadGridView.Columns>
375
                                            <telerik:GridViewSelectColumn Width="Auto"  HeaderCellStyle="{StaticResource GridViewHeaderStyle}">
376
                                                <telerik:GridViewSelectColumn.Header>
377
                                                    <telerik:RadRibbonToggleButton  telerik:StyleManager.Theme="Office2016"
378
                                                                           Visibility="Collapsed" Width="Auto">
379
                                                        <telerik:RadRibbonToggleButton.Content>
380
                                                            <Image HorizontalAlignment="Center"
381
                                                           VerticalAlignment="Center"
382
                                                           Source="/KCOM;component/Resources/Images/MenuImage/check.png" />
383
                                                        </telerik:RadRibbonToggleButton.Content>
384
                                                    </telerik:RadRibbonToggleButton>
385
                                                </telerik:GridViewSelectColumn.Header>
386
                                            </telerik:GridViewSelectColumn>
387
                                            <telerik:GridViewDataColumn Width="Auto"  HeaderCellStyle="{StaticResource GridViewHeaderStyle}"
388
                                                                Header="Color" 
389
                                                                IsReadOnly="True">
390
                                                <telerik:GridViewDataColumn.CellTemplate>
391
                                                    <DataTemplate>
392
                                                        <Grid>
393
                                                            <Grid>
394
                                                                <Rectangle Margin="0,2,2,2" Fill="{Binding DisplayColor, Converter={StaticResource StringToColorConverter}}" />
395
                                                                <TextBlock Foreground="#00000000" Text="Color" />
396
                                                            </Grid>
397
                                                            <Grid VerticalAlignment="Center" Visibility="{Binding AvoidConsolidate, Converter={StaticResource BoolToVisibleConverter}}">
398
                                                                <Image Height="15"
399
                                                               Source="/KCOM;component/Resources/Images/MenuImage/lock_2.png"
400
                                                               Stretch="Uniform" />
401
                                                            </Grid>
402
                                                        </Grid>
403
404
                                                    </DataTemplate>
405
                                                </telerik:GridViewDataColumn.CellTemplate>
406
                                            </telerik:GridViewDataColumn>
407
                                            <telerik:GridViewDataColumn Header="DEPT"  IsReadOnly="True"  Width="Auto" HeaderCellStyle="{StaticResource GridViewHeaderStyle}">
408
                                                <telerik:GridViewDataColumn.CellTemplate>
409
                                                    <DataTemplate>
410
                                                        <TextBlock Text="{Binding Depatment}"  FontSize="12"/>
411
                                                    </DataTemplate>
412
                                                </telerik:GridViewDataColumn.CellTemplate>
413
                                            </telerik:GridViewDataColumn>
414
                                            <telerik:GridViewDataColumn Header="NAME"  IsReadOnly="True" Width="Auto"  HeaderCellStyle="{StaticResource GridViewHeaderStyle}">
415
                                                <telerik:GridViewDataColumn.CellTemplate>
416
                                                    <DataTemplate>
417
                                                        <TextBlock Text="{Binding UserName, Mode=TwoWay}" FontSize="10"/>
418
                                                    </DataTemplate>
419
                                                </telerik:GridViewDataColumn.CellTemplate>
420
                                            </telerik:GridViewDataColumn>
421
                                            <telerik:GridViewDataColumn Header="CONSOLIDATION"  IsReadOnly="True" Width="Auto"  HeaderCellStyle="{StaticResource GridViewHeaderStyle}">
422
                                                <telerik:GridViewDataColumn.CellTemplate>
423
                                                    <DataTemplate>
424
                                                        <!--<TextBlock Text="{Binding Consolidate}"/>-->
425
                                                        <Grid>
426
                                                            <Grid.ColumnDefinitions>
427
                                                                <ColumnDefinition Width="Auto" />
428
                                                                <ColumnDefinition Width="Auto" />
429
                                                                <ColumnDefinition Width="Auto" />
430
                                                            </Grid.ColumnDefinitions>
431
432
                                                            <TextBlock Grid.Column="0"
433
                                                               Foreground="Red"
434
                                                               Text="{Binding AvoidConsolidate,
435
                                                                              Converter={StaticResource AvoidStringConverter}}" />
436
                                                            <TextBlock Grid.Column="1"
437
                                                               Foreground="Blue"
438
                                                               Text="{Binding PartConsolidate,
439
                                                                              Converter={StaticResource TeamConsoliStringConverter}}" />
440
                                                            <TextBlock Grid.Column="2" Text="{Binding Consolidate, Converter={StaticResource ConsoliStringConverter}}" />
441
                                                            <!--
442
                                                        <TextBlock HorizontalAlignment="Center" Grid.Column="2">
443
                                                        <TextBlock.Text>
444
                                                        <Binding Converter="{StaticResource ConsoliStringConverter}"/>
445
                                                        </TextBlock.Text>
446
                                                        </TextBlock>
447
                                                    -->
448
                                                        </Grid>
449
                                                    </DataTemplate>
450
                                                </telerik:GridViewDataColumn.CellTemplate>
451
                                            </telerik:GridViewDataColumn>
452
453
                                            <telerik:GridViewDataColumn Header="Comment Move"  IsReadOnly="True" Width="Auto"  HeaderCellStyle="{StaticResource GridViewHeaderStyle}">
454
                                                <telerik:GridViewDataColumn.CellTemplate>
455
                                                    <DataTemplate>
456
                                                        <telerik:RadButton telerik:StyleManager.Theme="Office2016" HorizontalAlignment="Stretch" VerticalAlignment="Stretch" Content="COPY" PreviewMouseDown="Comment_Move" />
457
                                                        <!--<TextBlock Text="{Binding UserName, Mode=TwoWay}" FontSize="10"/>-->
458
                                                    </DataTemplate>
459
                                                </telerik:GridViewDataColumn.CellTemplate>
460
                                            </telerik:GridViewDataColumn>
461
462
                                            <telerik:GridViewDataColumn Header=""  IsReadOnly="True" Width="*"  HeaderCellStyle="{StaticResource GridViewHeaderStyle}">
463
                                            </telerik:GridViewDataColumn>
464
                                        </telerik:RadGridView.Columns>
465
                                    </telerik:RadGridView>
466
                                </Grid>
467
                                <!--</telerik:RadExpander>-->
468
469
470
                            </Grid>
471
                        </telerik:RadPane>
472
                    </telerik:RadPaneGroup>
473
                </telerik:RadSplitContainer>
474
            </telerik:RadDocking.DocumentHost>
475
476
477
            <telerik:RadSplitContainer Orientation="Vertical" InitialPosition="DockedLeft" Width="250" MinWidth="250">
478
                <!--<telerik:RadPaneGroup Margin="0" Style="{DynamicResource Style_RadPanelGroup}">-->
479
                <telerik:RadPaneGroup Margin="0" telerik:StyleManager.Theme="Office2016" x:Name="PN_Navi">
480
                    <telerik:RadPane Header="DOCUMENT" CanFloat="False" CanUserClose="False" CanUserPin="True" 
481
                                     ContextMenuTemplate="{x:Null}" PaneHeaderVisibility="Visible" telerik:StyleManager.Theme="Office2016">
482
                        <!--<telerik:RadPane.TitleTemplate>
483
                            <DataTemplate>
484
                                <Grid>
485
                                    <Grid.ColumnDefinitions>
486
                                        <ColumnDefinition Width="Auto" />
487
                                        <ColumnDefinition />
488
                                    </Grid.ColumnDefinitions>
489
                                    <ContentPresenter Content="{Binding}"
490
                                                      Margin="0,0,75,0" />
491
                                         <telerik:RadButton Grid.Column="1" Content="PIN"/>
492
                                </Grid>
493
                            </DataTemplate>
494
                        </telerik:RadPane.TitleTemplate>-->
495
                        <!--<Grid VerticalAlignment="Stretch" Margin="0">
496
                            <Grid.RowDefinitions>
497
                                <RowDefinition Height="30"/>
498
                                <RowDefinition Height="*"/>
499
                            </Grid.RowDefinitions>
500
                            <Border BorderBrush="{Binding ElementName=leftPanel}" BorderThickness="0,1">
501
                                <TextBlock Text="Thumbnail" Margin="5"/>
502
                            </Border>
503
                            <controls:PageNavigator x:Name="pageNavigator" Grid.Row="1"/>
504
                        </Grid>-->
505
                        <Grid>
506
                            <!--<controls:PageNavigator x:Name="pageNavigator" Grid.Row="1" Visibility="Collapsed"/>-->
507
                            <!--<Grid.RowDefinitions>
508
                                <RowDefinition Height="Auto"/>
509
                                <RowDefinition Height="*"/>
510
                            </Grid.RowDefinitions>-->
511
                            <!--<telerik:RadButton Content="Panorama" telerik:StyleManager.Theme="Office2016" FontSize="8"  Background="#FF0054B9" Foreground="White"
512
                                       BorderThickness="0" CornerRadius="3" HorizontalAlignment="Right" Padding="5" Margin="5,10"/>-->
513
                            <controls:Sample x:Name="pageNavigator"/>
514
                        </Grid>
515
516
                    </telerik:RadPane>
517
                </telerik:RadPaneGroup>
518
            </telerik:RadSplitContainer>
519
520
            <telerik:RadSplitContainer Orientation="Vertical" InitialPosition="DockedRight" MaxWidth="300" Width="300">
521
                <telerik:RadPaneGroup telerik:StyleManager.Theme="Office2016">
522 992a98b4 KangIngu
                    <telerik:RadPane Header="SEARCH" Visibility="Visible" CanFloat="False" CanUserClose="False"  ContextMenuTemplate="{x:Null}" IsPinned="False" telerik:StyleManager.Theme="Office2016" x:Name="searchPane">
523
                        <controls:SearchPanel x:Name="searchPanel_Instance"/>
524 787a4489 KangIngu
                    </telerik:RadPane>
525
                </telerik:RadPaneGroup>
526
                <telerik:RadPaneGroup telerik:StyleManager.Theme="Office2016">
527 992a98b4 KangIngu
                    <telerik:RadPane Header="M-TALK" CanFloat="False" CanUserClose="False" Visibility="Collapsed"  ContextMenuTemplate="{x:Null}" IsPinned="False" telerik:StyleManager.Theme="Office2016"  x:Name="talkPane">
528 787a4489 KangIngu
                        <messanger:ConversationView/>
529
                    </telerik:RadPane>
530
                </telerik:RadPaneGroup>
531
                <telerik:RadPaneGroup Visibility="Visible" telerik:StyleManager.Theme="Office2016">
532 992a98b4 KangIngu
                    <telerik:RadPane Header="SYMBOL" Visibility="Visible" CanFloat="False" CanUserClose="False"  ContextMenuTemplate="{x:Null}" IsPinned="False" telerik:StyleManager.Theme="Office2016"  x:Name="SymbolPane">
533 787a4489 KangIngu
                        <controls:Symbol />
534
                        <!--<telerik:RadButton Click="Create_Symbol">Create</telerik:RadButton>-->
535
                    </telerik:RadPane>
536
                </telerik:RadPaneGroup>
537 992a98b4 KangIngu
                <telerik:RadPaneGroup telerik:StyleManager.Theme="Office2016"  telerik:ProportionalStackPanel.RelativeSize="60, 100">
538
                    <telerik:RadPane Header="FAVORITE" Visibility="Visible"  CanFloat="False" CanUserClose="False"  ContextMenuTemplate="{x:Null}" IsPinned="False" telerik:StyleManager.Theme="Office2016"  x:Name="FavoritePane">
539
                        <controls:FavoritePanel/>
540
                    </telerik:RadPane>
541
                </telerik:RadPaneGroup>
542 787a4489 KangIngu
            </telerik:RadSplitContainer>
543
            <telerik:RadSplitContainer Orientation="Horizontal" InitialPosition="DockedBottom">
544
                <telerik:RadPaneGroup telerik:StyleManager.Theme="Office2016" telerik:ProportionalStackPanel.RelativeSize="140, 100">
545
                    <telerik:RadPane Header="User information List"  CanFloat="False" CanUserClose="False"  ContextMenuTemplate="{x:Null}" telerik:StyleManager.Theme="Office2016"  x:Name="infoListPane">
546
                        <telerik:RadPane.TitleTemplate>
547
                            <DataTemplate>
548
                                <Grid>
549
                                    <Grid.ColumnDefinitions>
550
                                        <ColumnDefinition Width="*" />
551
                                        <ColumnDefinition Width="Auto" />
552
                                    </Grid.ColumnDefinitions>
553
554
                                    <StackPanel Orientation="Horizontal">
555
                                        <TextBlock Margin="1"
556
                                                   VerticalAlignment="Center"
557
                                                   Text="{Binding}" />
558
                                        <telerik:RadRibbonButton x:Name="btnConsolidate"
559
                                                                 VerticalAlignment="Center"
560
                                                                 Click="btnConsolidate_Click"
561
                                                                 Loaded="btnConsolidate_Loaded"
562
                                                                 telerik:StyleManager.Theme="Office2016"
563
                                                                 ToolTipService.ToolTip="Consolidate">
564
                                            <Border Background="#E9F0F8"
565
                                                    BorderBrush="#839AB3"
566
                                                    BorderThickness="1">
567
                                                <StackPanel Margin="1" Orientation="Horizontal">
568
                                                    <!--<Image Width="15" Source="/DeepView;component/Images/MenuImage/document-new.png" />-->
569
                                                    <TextBlock Margin="1"
570
                                                               VerticalAlignment="Center"
571
                                                               Foreground="Black"
572
                                                               Text="Consolidate" />
573
                                                </StackPanel>
574
                                            </Border>
575
                                        </telerik:RadRibbonButton>
576
                                        <telerik:RadRibbonButton x:Name="btnTeamConsolidate"
577
                                                                 VerticalAlignment="Center"
578
                                                                 Click="btnTeamConsolidate_Click"
579
                                                                 Loaded="btnTeamConsolidate_Loaded"
580
                                                                 telerik:StyleManager.Theme="Office2016"
581
                                                                 ToolTipService.ToolTip="Consolidate">
582
                                            <Border Background="#E9F0F8"
583
                                                    BorderBrush="#839AB3"
584
                                                    BorderThickness="1">
585
                                                <StackPanel Margin="1" Orientation="Horizontal">
586
                                                    <!--<Image Width="15" Source="/DeepView;component/Images/MenuImage/document-team.png" />-->
587
                                                    <TextBlock Margin="1"
588
                                                               VerticalAlignment="Center"
589
                                                               Foreground="Black"
590
                                                               Text="Team Consolidate" />
591
                                                </StackPanel>
592
                                            </Border>
593
                                        </telerik:RadRibbonButton>
594
                                        <telerik:RadRibbonButton x:Name="btnFinalPDF"
595
                                                                 VerticalAlignment="Center"
596
                                                                 Click="FinalPDFEvent"
597
                                                                 Loaded="btnFinalPDF_Loaded"
598
                                                                 telerik:StyleManager.Theme="Office2016"
599
                                                                 ToolTipService.ToolTip="FinalPDF">
600
                                            <Border Background="#E9F0F8"
601
                                                    BorderBrush="#839AB3"
602
                                                    BorderThickness="1">
603
                                                <StackPanel Margin="1" Orientation="Horizontal">
604
                                                    <!--<Image Width="15" Source="/DeepView;component/Images/MenuImage/final_pdf2.png" />-->
605
                                                    <TextBlock Margin="1"
606
                                                               VerticalAlignment="Center"
607
                                                               Foreground="Black"
608
                                                               Text="Merged PDF" />
609
                                                </StackPanel>
610
                                            </Border>
611
                                        </telerik:RadRibbonButton>
612
                                    </StackPanel>
613
                                    <!--<StackPanel Grid.Column="1"
614
                                                HorizontalAlignment="Right"
615
                                                Orientation="Horizontal">
616
                                        <telerik:RadRibbonButton VerticalAlignment="Center"
617
                                                                 Click="ExpandButtonEvent_Click"
618
                                                                 Tag="CLOSE"
619
                                                                 telerik:StyleManager.Theme="Windows8"
620
                                                                 ToolTipService.ToolTip="Expand On">
621
                                        </telerik:RadRibbonButton>
622

623
                                        <telerik:RadRibbonButton VerticalAlignment="Center"
624
                                                                 Click="ExpandButtonEvent_Click"
625
                                                                 Tag="OPEN"
626
                                                                 telerik:StyleManager.Theme="Windows8"
627
                                                                 ToolTipService.ToolTip="Expand Off">
628
                                            <Image Width="15"
629
                                                   RenderTransformOrigin="0.5,0.5">
630
                                                <Image.RenderTransform>
631
                                                    <RotateTransform Angle="180" />
632
                                                </Image.RenderTransform>
633
                                            </Image>
634
                                        </telerik:RadRibbonButton>
635
                                    </StackPanel>-->
636
                                </Grid>
637
                            </DataTemplate>
638
                        </telerik:RadPane.TitleTemplate>
639
                        <telerik:RadGridView telerik:StyleManager.Theme="Office2013" ShowGroupPanel="False" ShowGroupFooters="False" AutoExpandGroups="False"  x:Name="gridViewMarkup"
640
                                             AutoGenerateColumns="False" HorizontalContentAlignment="Center" SelectionChanged="gridViewMarkup_SelectionChanged" SelectionMode="Multiple"
641
                                             CanUserDeleteRows="True" CanUserInsertRows="False" IsFilteringAllowed="False" RowIndicatorVisibility="Collapsed">
642
                            <telerik:RadGridView.RowStyle>
643
                                <Style TargetType="telerik:GridViewRow">
644
                                    <Setter Property="HorizontalContentAlignment" Value="Center"/>
645
                                    <Setter Property="Background" Value="{Binding Path=Consolidate, Converter={StaticResource ConsolidationBackgroudConverter}}" />
646
                                    <Setter Property="Visibility" Value="{Binding Path=IsPreviewUser,Converter={StaticResource previewerVisibleConverter}}"/>
647
                                    <!--<Setter Property="Template" Value="{StaticResource GridViewRowTemplate}" />-->
648
                                </Style>
649
                            </telerik:RadGridView.RowStyle>
650
                            <telerik:RadGridView.Columns>
651
                                <telerik:GridViewSelectColumn Width="Auto">
652
                                    <telerik:GridViewSelectColumn.Header>
653
                                        <telerik:RadRibbonToggleButton  telerik:StyleManager.Theme="Office2016"
654
                                                                           Visibility="Collapsed" Width="Auto">
655
                                            <telerik:RadRibbonToggleButton.Content>
656
                                                <Image HorizontalAlignment="Center"
657
                                                           VerticalAlignment="Center"
658
                                                           Source="/KCOM;component/Resources/Images/MenuImage/check.png" />
659
                                            </telerik:RadRibbonToggleButton.Content>
660
                                        </telerik:RadRibbonToggleButton>
661
                                    </telerik:GridViewSelectColumn.Header>
662
                                </telerik:GridViewSelectColumn>
663
                                <telerik:GridViewDataColumn Width="Auto"
664
                                                                Header="Color"
665
                                                                IsReadOnly="True">
666
                                    <telerik:GridViewDataColumn.CellTemplate>
667
                                        <DataTemplate>
668
                                            <Grid>
669
                                                <Grid>
670
                                                    <Rectangle Margin="0,2,2,2" Fill="{Binding DisplayColor, Converter={StaticResource StringToColorConverter}}" />
671
                                                    <TextBlock Foreground="#00000000" Text="Color" />
672
                                                </Grid>
673
                                                <Grid VerticalAlignment="Center" Visibility="{Binding AvoidConsolidate, Converter={StaticResource BoolToVisibleConverter}}">
674
                                                    <Image Height="15"
675
                                                               Source="/KCOM;component/Resources/Images/MenuImage/lock_2.png"
676
                                                               Stretch="Uniform" />
677
                                                </Grid>
678
                                            </Grid>
679
680
                                        </DataTemplate>
681
                                    </telerik:GridViewDataColumn.CellTemplate>
682
                                </telerik:GridViewDataColumn>
683
                                <telerik:GridViewDataColumn Header="DEPT"  IsReadOnly="True"  Width="Auto">
684
                                    <telerik:GridViewDataColumn.CellTemplate>
685
                                        <DataTemplate>
686
                                            <TextBlock Text="{Binding Depatment}"/>
687
                                        </DataTemplate>
688
                                    </telerik:GridViewDataColumn.CellTemplate>
689
                                </telerik:GridViewDataColumn>
690
                                <telerik:GridViewDataColumn Header="NAME"  IsReadOnly="True" Width="Auto">
691
                                    <telerik:GridViewDataColumn.CellTemplate>
692
                                        <DataTemplate>
693
                                            <TextBlock Text="{Binding UserName, Mode=TwoWay}"/>
694
                                        </DataTemplate>
695
                                    </telerik:GridViewDataColumn.CellTemplate>
696
                                </telerik:GridViewDataColumn>
697
                                <telerik:GridViewDataColumn Header="UPDATETIME"  IsReadOnly="True" Width="Auto">
698
                                    <telerik:GridViewDataColumn.CellTemplate>
699
                                        <DataTemplate>
700 992a98b4 KangIngu
                                            <TextBlock Text="{Binding UpdateTime}"/>
701 787a4489 KangIngu
                                        </DataTemplate>
702
                                    </telerik:GridViewDataColumn.CellTemplate>
703
                                </telerik:GridViewDataColumn>
704
                                <telerik:GridViewDataColumn Header="CONSOLIDATION"  IsReadOnly="True" Width="Auto">
705
                                    <telerik:GridViewDataColumn.CellTemplate>
706
                                        <DataTemplate>
707
                                            <!--<TextBlock Text="{Binding Consolidate}"/>-->
708
                                            <Grid>
709
                                                <Grid.ColumnDefinitions>
710
                                                    <ColumnDefinition Width="Auto" />
711
                                                    <ColumnDefinition Width="Auto" />
712
                                                    <ColumnDefinition Width="Auto" />
713
                                                </Grid.ColumnDefinitions>
714
715
                                                <TextBlock Grid.Column="0"
716
                                                               Foreground="Red"
717
                                                               Text="{Binding AvoidConsolidate,
718
                                                                              Converter={StaticResource AvoidStringConverter}}" />
719
                                                <TextBlock Grid.Column="1"
720
                                                               Foreground="Blue"
721
                                                               Text="{Binding PartConsolidate,
722
                                                                              Converter={StaticResource TeamConsoliStringConverter}}" />
723
                                                <TextBlock Grid.Column="2" Text="{Binding Consolidate, Converter={StaticResource ConsoliStringConverter}}" />
724
                                                <!--
725
                                                        <TextBlock HorizontalAlignment="Center" Grid.Column="2">
726
                                                        <TextBlock.Text>
727
                                                        <Binding Converter="{StaticResource ConsoliStringConverter}"/>
728
                                                        </TextBlock.Text>
729
                                                        </TextBlock>
730
                                                    -->
731
                                            </Grid>
732
                                        </DataTemplate>
733
                                    </telerik:GridViewDataColumn.CellTemplate>
734
                                </telerik:GridViewDataColumn>
735
                                <telerik:GridViewDataColumn Header="DESCRIPTION"  IsReadOnly="True" Width="*">
736
                                    <telerik:GridViewDataColumn.CellTemplate>
737
                                        <DataTemplate>
738
                                            <TextBlock Text="{Binding Description}"/>
739
                                        </DataTemplate>
740
                                    </telerik:GridViewDataColumn.CellTemplate>
741
                                </telerik:GridViewDataColumn>
742
                                <telerik:GridViewDataColumn Header="DELETE"  IsReadOnly="True" Width="Auto">
743
                                    <telerik:GridViewDataColumn.CellTemplate>
744
                                        <DataTemplate>
745
                                            <Button Content="DELETE" Visibility="{Binding userDelete, Converter={StaticResource BooleanToVisibilityConverter}}" Click="DeleteCommentEvent" CommandParameter="{Binding}"/>
746
                                        </DataTemplate>
747
                                    </telerik:GridViewDataColumn.CellTemplate>
748
                                </telerik:GridViewDataColumn>
749
                            </telerik:RadGridView.Columns>
750
                        </telerik:RadGridView>
751
                    </telerik:RadPane>
752
                </telerik:RadPaneGroup>
753
                <telerik:RadPaneGroup telerik:StyleManager.Theme="Office2016" telerik:ProportionalStackPanel.RelativeSize="60, 100">
754
                    <telerik:RadPane Header="Document History"  CanFloat="False" CanUserClose="False"  ContextMenuTemplate="{x:Null}" telerik:StyleManager.Theme="Office2016"  x:Name="historyPane">
755
                        <Grid>
756
                            <telerik:RadGridView telerik:StyleManager.Theme="Office2013" ShowGroupPanel="False" ShowGroupFooters="False" AutoExpandGroups="False"  x:Name="gridViewHistory"
757
                                             CanUserDeleteRows="True" CanUserInsertRows="False" IsFilteringAllowed="False" RowIndicatorVisibility="Collapsed" AutoGenerateColumns="False">
758
                                <telerik:RadGridView.Columns>
759
                                    <telerik:GridViewDataColumn Header="Rev No"  IsReadOnly="True" Width="Auto">
760
                                        <telerik:GridViewDataColumn.CellTemplate>
761
                                            <DataTemplate>
762
                                                <TextBlock Text="{Binding RevNo}" HorizontalAlignment="Center"/>
763
                                            </DataTemplate>
764
                                        </telerik:GridViewDataColumn.CellTemplate>
765
                                    </telerik:GridViewDataColumn>
766
                                    <telerik:GridViewDataColumn Header="Slip No"  IsReadOnly="True" Width="Auto">
767
                                        <telerik:GridViewDataColumn.CellTemplate>
768
                                            <DataTemplate>
769
                                                <TextBlock Text="{Binding GroupNo}" HorizontalAlignment="Center"/>
770
                                            </DataTemplate>
771
                                        </telerik:GridViewDataColumn.CellTemplate>
772
                                    </telerik:GridViewDataColumn>
773
                                    <telerik:GridViewDataColumn Header="RESULT"  IsReadOnly="True" Width="Auto">
774
                                        <telerik:GridViewDataColumn.CellTemplate>
775
                                            <DataTemplate>
776
                                                <TextBlock Text="{Binding RESULT}" HorizontalAlignment="Center"/>
777
                                            </DataTemplate>
778
                                        </telerik:GridViewDataColumn.CellTemplate>
779
                                    </telerik:GridViewDataColumn>
780
                                    <telerik:GridViewDataColumn CellStyle="{StaticResource GridViewAlign}"  IsReadOnly="True"
781
                                                                        DataMemberBinding="{Binding FROM_VENDOR}"
782
                                                                        Header="File(in)" telerik:StyleManager.Theme="Office2013"
783
                                                                        HeaderTextAlignment="Center">
784
                                        <telerik:GridViewDataColumn.CellTemplate>
785
                                            <DataTemplate>
786
                                                <Image Height="22" Source="/KCOM;component/Resources/Images/MenuImage_New/PDF.png" 
787
                                                       MouseLeftButtonDown="PdfLink_ButtonDown" Tag="{Binding FROM_VENDOR}"
788
                                                       Visibility="{Binding FROM_VENDOR, Converter={StaticResource PDFVisibleConverter}}"/>
789
                                            </DataTemplate>
790
                                        </telerik:GridViewDataColumn.CellTemplate>
791
                                    </telerik:GridViewDataColumn>
792
793
                                    <telerik:GridViewDataColumn CellStyle="{StaticResource GridViewAlign}"
794
                                                                        DataMemberBinding="{Binding TO_VENDOR}" IsReadOnly="True"
795
                                                                        Header="File(out)" telerik:StyleManager.Theme="Office2013"
796
                                                                        HeaderTextAlignment="Center">
797
                                        <telerik:GridViewDataColumn.CellTemplate>
798
                                            <DataTemplate>
799
                                                <Image Height="22" Source="/KCOM;component/Resources/Images/MenuImage_New/PDF.png" 
800
                                                       MouseLeftButtonDown="PdfLink_ButtonDown" Tag="{Binding TO_VENDOR}"
801
                                                       Visibility="{Binding TO_VENDOR, Converter={StaticResource PDFVisibleConverter}}"/>
802
                                            </DataTemplate>
803
                                        </telerik:GridViewDataColumn.CellTemplate>
804
                                    </telerik:GridViewDataColumn>
805
806
807
                                    <!--<telerik:GridViewDataColumn Header="FROM_VENDOR"  IsReadOnly="True" Width="Auto">
808
                                    <telerik:GridViewDataColumn.CellTemplate>
809
                                        <DataTemplate>
810
                                            <telerik:RadRibbonButton telerik:StyleManager.Theme="Office2016">
811
                                                <
812
                                                <TextBlock Text="{Binding FROM_VENDOR}" HorizontalAlignment="Center"/>
813
                                            </telerik:RadRibbonButton>                                            
814
                                        </DataTemplate>
815
                                    </telerik:GridViewDataColumn.CellTemplate>
816
                                </telerik:GridViewDataColumn>-->
817
                                    <!--<telerik:GridViewDataColumn Header="TO_VENDOR"  IsReadOnly="True" Width="Auto">
818
                                    <telerik:GridViewDataColumn.CellTemplate>
819
                                        <DataTemplate>
820
                                            <TextBlock Text="{Binding TO_VENDOR}" HorizontalAlignment="Center"/>
821
                                        </DataTemplate>
822
                                    </telerik:GridViewDataColumn.CellTemplate>
823
                                </telerik:GridViewDataColumn>-->
824
                                    <telerik:GridViewDataColumn Header="SYNC"  IsReadOnly="True" Width="Auto" CellStyle="{StaticResource GridViewAlign}" HeaderTextAlignment="Center">
825
                                        <telerik:GridViewDataColumn.CellTemplate>
826
                                            <DataTemplate>
827
                                                <!--<Border Grid.Column="1" Background="#FF0054B9" CornerRadius="5" Margin="5" VerticalAlignment="Center" MinHeight="20"
828
                                                        Visibility="{Binding IsSyncPossible, Converter={StaticResource BoolToVisibleConverter}}">
829
                                                    <telerik:RadButton Content="OPEN" telerik:StyleManager.Theme="Office2016"  Foreground="White"
830
                                                                       Background="Transparent" HorizontalAlignment="Stretch" Click="RadButton_Click" CommandParameter="{Binding}"/>
831
                                                </Border>-->
832
                                                <telerik:RadButton  Margin="5" BorderThickness="0" Click="RadButton_Click" CommandParameter="{Binding}" Background="Transparent"
833
                                                                   Visibility="{Binding IsSyncPossible, Converter={StaticResource BoolToVisibleConverter}}">
834
                                                    <telerik:RadButton.Content>
835
                                                        <Image Source="/KCOM;component/Resources/Images/MenuImage_new/file.png" Stretch="Uniform" Width="20" Height="20"/>
836
                                                    </telerik:RadButton.Content>
837
                                                </telerik:RadButton>
838
839
                                                <!--<TextBlock Text="{Binding IsSyncPossible}" HorizontalAlignment="Center"/>-->
840
                                            </DataTemplate>
841
                                        </telerik:GridViewDataColumn.CellTemplate>
842
                                    </telerik:GridViewDataColumn>
843
                                </telerik:RadGridView.Columns>
844
                            </telerik:RadGridView>
845
                            <telerik:RadBusyIndicator x:Name="gridViewHistory_Busy" IsBusy="False" telerik:StyleManager.Theme="Office2016"
846
                                                  BusyContent="Sync Data Loading"/>
847
                        </Grid>
848
                    </telerik:RadPane>
849
                </telerik:RadPaneGroup>
850
            </telerik:RadSplitContainer>
851
852
853
        </telerik:RadDocking>
854
    </Grid>
855
</UserControl>
클립보드 이미지 추가 (최대 크기: 500 MB)