프로젝트

일반

사용자정보

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

markus / KCOM / Views / MainMenu.xaml @ 9f473fb7

이력 | 보기 | 이력해설 | 다운로드 (70.9 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 a0bab669 KangIngu
                    <telerik:RadPane Header="SEARCH" Visibility="Collapsed" CanFloat="False" CanUserClose="False"  ContextMenuTemplate="{x:Null}" IsPinned="False" telerik:StyleManager.Theme="Office2016" x:Name="searchPane">
523 787a4489 KangIngu
                        <controls:SearchPanel />
524
                    </telerik:RadPane>
525
                </telerik:RadPaneGroup>
526
                <telerik:RadPaneGroup telerik:StyleManager.Theme="Office2016">
527
                    <telerik:RadPane Header="M-TALK" CanFloat="False" CanUserClose="False"  ContextMenuTemplate="{x:Null}" IsPinned="False" telerik:StyleManager.Theme="Office2016"  x:Name="talkPane">
528
                        <messanger:ConversationView/>
529
                    </telerik:RadPane>
530
                </telerik:RadPaneGroup>
531
                <telerik:RadPaneGroup Visibility="Visible" telerik:StyleManager.Theme="Office2016">
532 5ce56a3a 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
            </telerik:RadSplitContainer>
538
            <telerik:RadSplitContainer Orientation="Horizontal" InitialPosition="DockedBottom">
539
                <telerik:RadPaneGroup telerik:StyleManager.Theme="Office2016" telerik:ProportionalStackPanel.RelativeSize="140, 100">
540
                    <telerik:RadPane Header="User information List"  CanFloat="False" CanUserClose="False"  ContextMenuTemplate="{x:Null}" telerik:StyleManager.Theme="Office2016"  x:Name="infoListPane">
541
                        <telerik:RadPane.TitleTemplate>
542
                            <DataTemplate>
543
                                <Grid>
544
                                    <Grid.ColumnDefinitions>
545
                                        <ColumnDefinition Width="*" />
546
                                        <ColumnDefinition Width="Auto" />
547
                                    </Grid.ColumnDefinitions>
548
549
                                    <StackPanel Orientation="Horizontal">
550
                                        <TextBlock Margin="1"
551
                                                   VerticalAlignment="Center"
552
                                                   Text="{Binding}" />
553
                                        <telerik:RadRibbonButton x:Name="btnConsolidate"
554
                                                                 VerticalAlignment="Center"
555
                                                                 Click="btnConsolidate_Click"
556
                                                                 Loaded="btnConsolidate_Loaded"
557
                                                                 telerik:StyleManager.Theme="Office2016"
558
                                                                 ToolTipService.ToolTip="Consolidate">
559
                                            <Border Background="#E9F0F8"
560
                                                    BorderBrush="#839AB3"
561
                                                    BorderThickness="1">
562
                                                <StackPanel Margin="1" Orientation="Horizontal">
563
                                                    <!--<Image Width="15" Source="/DeepView;component/Images/MenuImage/document-new.png" />-->
564
                                                    <TextBlock Margin="1"
565
                                                               VerticalAlignment="Center"
566
                                                               Foreground="Black"
567
                                                               Text="Consolidate" />
568
                                                </StackPanel>
569
                                            </Border>
570
                                        </telerik:RadRibbonButton>
571
                                        <telerik:RadRibbonButton x:Name="btnTeamConsolidate"
572
                                                                 VerticalAlignment="Center"
573
                                                                 Click="btnTeamConsolidate_Click"
574
                                                                 Loaded="btnTeamConsolidate_Loaded"
575
                                                                 telerik:StyleManager.Theme="Office2016"
576
                                                                 ToolTipService.ToolTip="Consolidate">
577
                                            <Border Background="#E9F0F8"
578
                                                    BorderBrush="#839AB3"
579
                                                    BorderThickness="1">
580
                                                <StackPanel Margin="1" Orientation="Horizontal">
581
                                                    <!--<Image Width="15" Source="/DeepView;component/Images/MenuImage/document-team.png" />-->
582
                                                    <TextBlock Margin="1"
583
                                                               VerticalAlignment="Center"
584
                                                               Foreground="Black"
585
                                                               Text="Team Consolidate" />
586
                                                </StackPanel>
587
                                            </Border>
588
                                        </telerik:RadRibbonButton>
589
                                        <telerik:RadRibbonButton x:Name="btnFinalPDF"
590
                                                                 VerticalAlignment="Center"
591
                                                                 Click="FinalPDFEvent"
592
                                                                 Loaded="btnFinalPDF_Loaded"
593
                                                                 telerik:StyleManager.Theme="Office2016"
594
                                                                 ToolTipService.ToolTip="FinalPDF">
595
                                            <Border Background="#E9F0F8"
596
                                                    BorderBrush="#839AB3"
597
                                                    BorderThickness="1">
598
                                                <StackPanel Margin="1" Orientation="Horizontal">
599
                                                    <!--<Image Width="15" Source="/DeepView;component/Images/MenuImage/final_pdf2.png" />-->
600
                                                    <TextBlock Margin="1"
601
                                                               VerticalAlignment="Center"
602
                                                               Foreground="Black"
603
                                                               Text="Merged PDF" />
604
                                                </StackPanel>
605
                                            </Border>
606
                                        </telerik:RadRibbonButton>
607
                                    </StackPanel>
608
                                    <!--<StackPanel Grid.Column="1"
609
                                                HorizontalAlignment="Right"
610
                                                Orientation="Horizontal">
611
                                        <telerik:RadRibbonButton VerticalAlignment="Center"
612
                                                                 Click="ExpandButtonEvent_Click"
613
                                                                 Tag="CLOSE"
614
                                                                 telerik:StyleManager.Theme="Windows8"
615
                                                                 ToolTipService.ToolTip="Expand On">
616
                                        </telerik:RadRibbonButton>
617

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