프로젝트

일반

사용자정보

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

markus / KCOM / Views / MainMenu.xaml @ 5ce56a3a

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

1
<UserControl xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation"  x:Class="KCOM.Views.MainMenu"
2
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:toggle="clr-namespace:ToggleSwitch;assembly=ToggleSwitch"
3
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:telerikGrid="clr-namespace:Telerik.Windows.Controls.GridView;assembly=Telerik.Windows.Controls.GridView"
4
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
5
             xmlns:converter="clr-namespace:KCOM.Common.Converter"
6
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008"  xmlns:common="clr-namespace:KCOM.Common"
7
             xmlns:controls="clr-namespace:KCOM.Controls"  xmlns:ZoomAndPan="clr-namespace:ZoomAndPan;assembly=ZoomAndPan"
8
             mc:Ignorable="d"   
9
             d:DesignHeight="768" d:DesignWidth="1080" IsTabStop="True" xmlns:messanger="clr-namespace:KCOM.Messenger"
10
             xmlns:Angle="clr-namespace:MarkupToPDF.Controls.Angle;assembly=MarkupToPDF">
11
    <UserControl.Resources>
12
        <Style TargetType="telerik:GridViewHeaderCell" x:Key="GridViewHeaderStyle">
13
            <Setter Property="VerticalContentAlignment" Value="Center"/>
14
            <Setter Property="HorizontalContentAlignment" Value="Center"/>
15
            <Setter Property="BorderThickness" Value="0"/>
16
            <Setter Property="Background">
17
                <Setter.Value>
18
                    <SolidColorBrush Color="Black" Opacity="0.5"/>
19
                </Setter.Value>
20
            </Setter>
21
            <!--<Setter Property="Background" Value="Black"/>-->
22
            <Setter Property="BorderBrush" Value="White"/>
23
            <Setter Property="Foreground" Value="White"/>
24
            <Setter Property="telerik:StyleManager.Theme" Value="Office2013"/>
25
            <!--<Setter Property="FontWeight" Value="Black"/>-->
26
        </Style>
27
        <Style x:Key="GridViewAlign" TargetType="telerikGrid:GridViewCell">
28
            <Setter Property="HorizontalContentAlignment" Value="Center" />
29
            <Setter Property="TextBlock.TextDecorations">
30
                <Setter.Value>
31
                    <TextDecorationCollection>
32
                        <TextDecoration Location="Underline" />
33
                        <TextDecoration Location="Overline" />
34
                        <TextDecoration  
35
                PenThicknessUnit="FontRecommended">
36
                            <TextDecoration.Pen>
37
                                <Pen Thickness="1.0">
38
                                    <Pen.Brush>
39
                                        <LinearGradientBrush Opacity="0.5"
40
                                StartPoint="0,0.5"  EndPoint="1,0.5">
41
                                            <LinearGradientBrush.GradientStops>
42
                                                <GradientStop Color="Yellow" Offset="0" />
43
                                                <GradientStop Color="Red" Offset="1" />
44
                                            </LinearGradientBrush.GradientStops>
45
                                        </LinearGradientBrush>
46
                                    </Pen.Brush>
47
                                </Pen>
48
                            </TextDecoration.Pen>
49
                        </TextDecoration>
50
                    </TextDecorationCollection>
51
                </Setter.Value>
52
            </Setter>
53
        </Style>
54
        <converter:PDFVisibleConverter x:Key="PDFVisibleConverter"/>
55
        <converter:ConsolidationBackgroudConverter x:Key="ConsolidationBackgroudConverter" />
56
        <converter:StringToColorConverter x:Key="StringToColorConverter"/>
57
        <converter:AvoidStringConverter x:Key="AvoidStringConverter" />
58
        <converter:TeamConsolidateStringConverter x:Key="TeamConsoliStringConverter" />
59
        <converter:ConsolidationStringConverter x:Key="ConsoliStringConverter" />
60
        <converter:BoolToVisibleConverter x:Key="BoolToVisibleConverter" />
61
        <converter:PreviewerVisibleConverter x:Key="previewerVisibleConverter"/>
62
    </UserControl.Resources>
63
    <Grid Background="{DynamicResource KCOMColor_MainBrush}">
64
        <!--<Grid.ColumnDefinitions>
65
            <ColumnDefinition Width="Auto"/>
66
            <ColumnDefinition Width="*"/>
67
        </Grid.ColumnDefinitions>-->
68
        <!--<Border Background="#fff5f5f5" BorderBrush="#d5d5d5" BorderThickness="0">
69
            -->
70
        <!--<controls:PageNavigator x:Name="pageNavigator" Grid.Row="1" Width="200"/>-->
71
        <!--
72
            <telerik:RadLayoutControl SelectedItem="{x:Null}" VirtualizingStackPanel.VirtualizationMode="Recycling" ScrollViewer.VerticalScrollBarVisibility="Hi">
73
                <telerik:LayoutControlTabGroup Template="{DynamicResource TabControlTemplate}" telerik:StyleManager.Theme="Office2016">
74
                    <telerik:LayoutControlTabGroupItem Header="Thumbnail">
75
                        <telerik:LayoutControlGroup BorderBrush="Transparent" Padding="5" Margin="0,-3">                            
76
                            <controls:PageNavigator x:Name="pageNavigator" Grid.Row="1" Width="300"/>                            
77
                        </telerik:LayoutControlGroup>
78
                    </telerik:LayoutControlTabGroupItem>
79
                    <telerik:LayoutControlTabGroupItem Header="Bookmark">
80
                        <telerik:LayoutControlGroup BorderBrush="Transparent">
81
                            <Border Background="Blue"/>
82
                        </telerik:LayoutControlGroup>
83
                    </telerik:LayoutControlTabGroupItem>
84
                </telerik:LayoutControlTabGroup>
85
            </telerik:RadLayoutControl>
86
        </Border>-->
87
        <!--<Grid.ColumnDefinitions>
88
            <ColumnDefinition Width="Auto"/>
89
            <ColumnDefinition Width="*"/>
90
            <ColumnDefinition Width="Auto"/>
91
        </Grid.ColumnDefinitions>-->
92
        <!--<Border Background="{DynamicResource Office2016Color_PrimaryBrush}">
93
            <Border Background="White" Margin="50"/>
94
        </Border>-->
95
        <telerik:RadDocking BorderThickness="0" Padding="0" Background="{DynamicResource KCOMColor_MainBrush}" Grid.Column="1">
96
            <telerik:RadDocking.DocumentHost>
97
                <telerik:RadSplitContainer Background="Transparent" Margin="0,-1,0,0">
98
                    <telerik:RadPaneGroup Style="{DynamicResource Style_RadPanelGroup}">
99
                        <telerik:RadDocumentPane Header="VP-320A-728063" CanFloat="False" CanUserClose="False" Title="Document 1" PaneHeaderVisibility="Collapsed" Margin="0,-20,0,0">
100
                            <telerik:RadDocumentPane.HeaderTemplate>
101
                                <DataTemplate>
102
                                    <Border Margin="0,0,0,0"/>
103
                                </DataTemplate>
104
                            </telerik:RadDocumentPane.HeaderTemplate>
105
                            <!--<Grid Background="{DynamicResource KCOMColor_AlternativeBrush}">-->
106
                            <Grid Background="{DynamicResource KCOMColor_DocumnetBackgroundBrush}">
107
                                <Rectangle Name="rect" Margin="50,50,0,0" Width="100" Height="100" Fill="LightBlue"/>
108
                                <Popup Name="floatingTip" AllowsTransparency="True" Placement="Relative" PlacementTarget="{Binding ElementName=rect}">
109
                                    <TextBlock x:Name="txtBatch" Foreground="Red" FontSize="20" Text="Mark Control을 그립니다."/>
110
                                </Popup>
111
                                <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
                                            
186
                                            <!--<Border Background="Red" Panel.ZIndex="1" Opacity="0.5" Visibility="Visible" Width="100" Height="100" />-->
187
                                        </Canvas>
188

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

    
191
                                        <!--<Leadtools_Windows_Controls:RasterImageViewer x:Name="_imageViewer" Grid.Row="1" BorderThickness="0"/>-->
192
                                    </Canvas>
193

    
194
                                </ZoomAndPan:ZoomAndPanControl>
195
                                <!--캡쳐 화면을 위한 보더-->
196
                                <Border Background="LightGray" 
197
                                        Opacity="{Binding Capture_Opacity, Source={x:Static common:ViewerDataModel.Instance}}"
198
                                        IsHitTestVisible="False" >
199
                                    <TextBlock HorizontalAlignment="Right" Foreground="Red" Text="캡쳐 진행 화면" FontSize="30"/>
200
                                </Border>
201
                                <Angle:AngleControl x:Name="MainAngle"
202
                                                        Grid.Column="1"
203
                                                        Grid.ColumnSpan="2"
204
                                                        Margin="10"
205
                                                        AngleValue="{Binding AngleValue, Mode=TwoWay, Source={x:Static common:ViewerDataModel.Instance}}"
206
                                                        HorizontalAlignment="Right"
207
                                                        VerticalAlignment="Top"
208
                                                        IsHitTestVisible="False"
209
                                                        Visibility="Collapsed" />
210
                            </Grid>
211
                        </telerik:RadDocumentPane>
212
                    </telerik:RadPaneGroup>
213
                    <telerik:RadPaneGroup Style="{DynamicResource Style_RadPanelGroup}" >
214
                        <telerik:RadPane CanFloat="False" CanUserClose="False" Title="Document 1" PaneHeaderVisibility="Collapsed" x:Name="testPanel2" IsHidden="True" Margin="0,-20,0,0">
215
                            <Grid Background="{DynamicResource KCOMColor_DocumnetBackgroundBrush}">
216
                                <ZoomAndPan:ZoomAndPanControl x:Name="zoomAndPanControl2" 
217
                                                              ContentScale="{Binding ContentScale, Mode=TwoWay, Source={x:Static common:ViewerDataModel.Instance}}"
218
                                                              ContentOffsetX="{Binding ContentOffsetX, Mode=TwoWay, Source={x:Static common:ViewerDataModel.Instance}}"
219
                                                              ContentOffsetY="{Binding ContentOffsetY, Mode=TwoWay, Source={x:Static common:ViewerDataModel.Instance}}"
220
                                                              ConstrainedContentViewportWidth="{Binding ContentViewportWidth, Mode=TwoWay, Source={x:Static common:ViewerDataModel.Instance}}"
221
                                                              ConstrainedContentViewportHeight="{Binding ContentViewportHeight, Mode=TwoWay, Source={x:Static common:ViewerDataModel.Instance}}"
222
                                                              Background="LightGray">
223
                                    <Canvas x:Name="zoomAndPanCanvas2" Opacity="1" Background="White" >
224
                                        <Canvas x:Name="drawingRotateCanvas2"
225
                                                        Panel.ZIndex="1"
226
                                                        Background="{Binding BackgroundImage, Mode=OneWay, Source={x:Static common:ViewerDataModel.Instance}}">
227
                                            <Canvas.RenderTransform>
228
                                                <TransformGroup>
229
                                                    <RotateTransform x:Name="rotate2" Angle="0"/>
230
                                                    <TranslateTransform x:Name="translate2" X="0" Y="0"/>
231
                                                </TransformGroup>
232
                                            </Canvas.RenderTransform>
233
                                            <ItemsControl x:Name="itemsControl" ItemsSource="{Binding MarkupControls_Sync, Source={x:Static common:ViewerDataModel.Instance}}"
234
                                          Panel.ZIndex="1">
235
                                                <ItemsControl.ItemsPanel>
236
                                                    <ItemsPanelTemplate>
237
                                                        <Canvas >
238

    
239
                                                        </Canvas>
240
                                                    </ItemsPanelTemplate>
241
                                                </ItemsControl.ItemsPanel>
242
                                            </ItemsControl>
243
                                            <Image
244
                                                   Source="{Binding ImageViewPath_C, Source={x:Static common:ViewerDataModel.Instance}}" 
245
                                                   Width="{Binding ImageViewWidth_C, Source={x:Static common:ViewerDataModel.Instance}}" 
246
                                                   Height="{Binding ImageViewHeight_C, Source={x:Static common:ViewerDataModel.Instance}}" >
247
                                            </Image>
248
                                            <Canvas x:Name="canvas_compareBorder" IsHitTestVisible="False" Width="{Binding ActualWidth, ElementName=zoomAndPanCanvas2}" Height="{Binding ActualHeight, ElementName=zoomAndPanCanvas2}" Panel.ZIndex="1">
249
                                                <!--<Canvas.RenderTransform>
250
                                                    -->
251
                                                <!--<RotateTransform Angle="{Binding Angle, Source={x:Static common:ViewerDataModel.Instance}}"/>-->
252
                                                <!--
253
                                                    <RotateTransform Angle="{Binding Angle, ElementName=zoomAndPanCanvas2}"/>
254
                                                </Canvas.RenderTransform>-->
255
                                            </Canvas>
256
                                            <!--강인구 추가-->
257
                                        </Canvas>
258
                                    </Canvas>
259
                                </ZoomAndPan:ZoomAndPanControl>
260
                                <Grid Background="#FF353535" Opacity="0.5"/>
261

    
262
                                <Viewbox VerticalAlignment="Stretch" HorizontalAlignment="Stretch" StretchDirection="DownOnly" Stretch="Uniform">
263
                                    <TextBlock Text="Previous Document" HorizontalAlignment="Center" VerticalAlignment="Center" RenderTransformOrigin="0.5, 0.5" FontSize="50"
264
                                           Foreground="White" Opacity="0.5" FontWeight="Bold">
265
                                        <TextBlock.RenderTransform>
266
                                            <RotateTransform Angle="-25"/>
267
                                        </TextBlock.RenderTransform>
268
                                    </TextBlock>
269
                                </Viewbox>
270

    
271
                                <!--<telerik:RadExpander Header="OPEN" Background="Transparent" telerik:StyleManager.Theme="Office2016"
272
                                                     ExpandDirection="Right" VerticalAlignment="Top" HorizontalAlignment="Left">-->
273
                                <Grid Height="Auto" VerticalAlignment="Top" >
274
                                    <Grid.RowDefinitions>
275
                                        <RowDefinition/>
276
                                        <RowDefinition/>
277
                                    </Grid.RowDefinitions>
278
                                    <!--<Border Background="#3b3838" VerticalAlignment="Stretch" HorizontalAlignment="Stretch" Opacity="0.5" Grid.RowSpan="2"/>-->
279
                                    <Border Background="Black" VerticalAlignment="Stretch" HorizontalAlignment="Stretch" Opacity="0.5" Grid.RowSpan="2" BorderThickness="0"/>
280
                                    <StackPanel Orientation="Horizontal" HorizontalAlignment="Left">
281
                                        <!--<TextBlock Text="ReadOnly Mode" Foreground="#FFFF9A25" VerticalAlignment="Center" Margin="10"/>-->
282
                                        <TextBlock Text="Rev.A" Foreground="#FFFF9A25" VerticalAlignment="Center" Margin="10" x:Name="tlSyncRev"/>
283
                                        <TextBlock Text="Current Page : 1" Foreground="White" VerticalAlignment="Center"  x:Name="tlSyncPageNum"/>
284
                                    </StackPanel>
285
                                    <StackPanel Orientation="Horizontal" HorizontalAlignment="Right">
286
                                        <!--<telerik:RadToggleButton x:Name="CompareMode" IsChecked="False" Content="Compare"  Margin="5" Checked="SyncCompare_Click" Unchecked="SyncCompare_Click" BorderThickness="0" telerik:StyleManager.Theme="Office2013"
287
                                                                       Style="{DynamicResource RadToggleSwtichButtonStyle}" Width="Auto" Padding="10,0"/>-->
288
                                        <!--<telerik:RadRibbonToggleButton x:Name="UserList" Content="User List" Foreground="white"  Margin="5" Click="SyncUserListExpender_Click" BorderThickness="0" telerik:StyleManager.Theme="Office2013" VerticalAlignment="Center"/>-->
289
                                        <toggle:HorizontalToggleSwitch x:Name="UserList" CheckedContent="User List" UncheckedContent="User List" Width="75" IsChecked="False" ThumbSize="25"
290
                                                                       FontSize="10" FontWeight="Normal" BorderBrush="Transparent" Opacity="0.6"
291
                                                                       Margin="5" Checked="SyncUserListExpender_Click" Unchecked="SyncUserListExpender_Click" BorderThickness="0" telerik:StyleManager.Theme="Office2013"/>
292

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

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

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

    
305

    
306
                                        <!--<telerik:RadRibbonToggleButton x:Name="MArkupMode" Content="Markup Mode" Foreground="White"  Margin="5"  Click="SyncChange_Click" BorderThickness="0" telerik:StyleManager.Theme="Office2013"/>-->
307
                                        <!--<telerik:RadRibbonToggleButton x:Name="BalanceMode" Content="Balance Mode" Foreground="White"  Margin="5" Click="SyncPageBalance_Click" BorderThickness="0" telerik:StyleManager.Theme="Office2013"/>-->
308
                                        <telerik:RadRibbonButton  Margin="5" Click="SyncPageChange_Click" Tag="-1" telerik:StyleManager.Theme="Office2013" VerticalAlignment="Center">
309
                                            <Image Height="20"
310
                                                               Source="/KCOM;component/Resources/Images/MenuImage_New/up-arrow.png"
311
                                                               Stretch="Uniform" />
312
                                        </telerik:RadRibbonButton>
313
                                        <telerik:RadRibbonButton Margin="5" Click="SyncPageChange_Click" Tag="1" telerik:StyleManager.Theme="Office2013" VerticalAlignment="Center">
314
                                            <Image Height="20"
315
                                                               Source="/KCOM;component/Resources/Images/MenuImage_New/up-arrow.png" RenderTransformOrigin="0.5 0.5"
316
                                                               Stretch="Uniform">
317
                                                <Image.RenderTransform>
318
                                                    <RotateTransform Angle="180"/>
319
                                                </Image.RenderTransform>
320
                                            </Image>
321
                                        </telerik:RadRibbonButton>
322
                                        <telerik:RadRibbonButton  Margin="5" Click="SyncExit_Click" telerik:StyleManager.Theme="Office2013" VerticalAlignment="Center">
323
                                            <Image Height="20"
324
                                                               Source="/KCOM;component/Resources/Images/MenuImage_New/cancel.png"
325
                                                               Stretch="Uniform" />
326
                                        </telerik:RadRibbonButton>
327
                                    </StackPanel>
328
                                    <telerik:RadGridView telerik:StyleManager.Theme="Office2013" ShowGroupPanel="False" ShowGroupFooters="False" AutoExpandGroups="False"  x:Name="gridViewRevMarkup"
329
                                             AutoGenerateColumns="False" HorizontalContentAlignment="Center" SelectionChanged="gridViewRevMarkup_SelectionChanged" SelectionMode="Multiple" BorderThickness="0"
330
                                                      CanUserFreezeColumns ="False" Visibility="Collapsed"  GridLinesVisibility="None" 
331
                                             CanUserDeleteRows="True" CanUserInsertRows="False" IsFilteringAllowed="False" RowIndicatorVisibility="Collapsed" Grid.Row="1">
332
                                        <telerik:RadGridView.HeaderRowStyle>
333
                                            <Style TargetType="telerik:GridViewHeaderRow">
334
                                                <Setter Property="BorderThickness" Value="0"/>
335
                                                <Setter Property="Background" Value="Red"/>
336
                                                <Setter Property="Foreground" Value="White"/>
337
                                                <Setter Property="HorizontalContentAlignment" Value="Center"/>
338
                                                <Setter Property="FontWeight" Value="Black"/>
339
                                                <Setter Property="telerik:StyleManager.Theme" Value="Office2013"/>
340
                                            </Style>
341
                                        </telerik:RadGridView.HeaderRowStyle>
342
                                        <telerik:RadGridView.RowStyle>
343
                                            <Style TargetType="telerik:GridViewRow">
344
                                                <Setter Property="HorizontalContentAlignment" Value="Center"/>
345
                                                <Setter Property="Background" Value="{Binding Path=Consolidate, Converter={StaticResource ConsolidationBackgroudConverter}}" />
346
                                                <Setter Property="Foreground" Value="White"/>
347
                                            </Style>
348
                                        </telerik:RadGridView.RowStyle>
349
                                        <telerik:RadGridView.Columns>
350
                                            <telerik:GridViewSelectColumn Width="Auto"  HeaderCellStyle="{StaticResource GridViewHeaderStyle}">
351
                                                <telerik:GridViewSelectColumn.Header>
352
                                                    <telerik:RadRibbonToggleButton  telerik:StyleManager.Theme="Office2016"
353
                                                                           Visibility="Collapsed" Width="Auto">
354
                                                        <telerik:RadRibbonToggleButton.Content>
355
                                                            <Image HorizontalAlignment="Center"
356
                                                           VerticalAlignment="Center"
357
                                                           Source="/KCOM;component/Resources/Images/MenuImage/check.png" />
358
                                                        </telerik:RadRibbonToggleButton.Content>
359
                                                    </telerik:RadRibbonToggleButton>
360
                                                </telerik:GridViewSelectColumn.Header>
361
                                            </telerik:GridViewSelectColumn>
362
                                            <telerik:GridViewDataColumn Width="Auto"  HeaderCellStyle="{StaticResource GridViewHeaderStyle}"
363
                                                                Header="Color" 
364
                                                                IsReadOnly="True">
365
                                                <telerik:GridViewDataColumn.CellTemplate>
366
                                                    <DataTemplate>
367
                                                        <Grid>
368
                                                            <Grid>
369
                                                                <Rectangle Margin="0,2,2,2" Fill="{Binding DisplayColor, Converter={StaticResource StringToColorConverter}}" />
370
                                                                <TextBlock Foreground="#00000000" Text="Color" />
371
                                                            </Grid>
372
                                                            <Grid VerticalAlignment="Center" Visibility="{Binding AvoidConsolidate, Converter={StaticResource BoolToVisibleConverter}}">
373
                                                                <Image Height="15"
374
                                                               Source="/KCOM;component/Resources/Images/MenuImage/lock_2.png"
375
                                                               Stretch="Uniform" />
376
                                                            </Grid>
377
                                                        </Grid>
378

    
379
                                                    </DataTemplate>
380
                                                </telerik:GridViewDataColumn.CellTemplate>
381
                                            </telerik:GridViewDataColumn>
382
                                            <telerik:GridViewDataColumn Header="DEPT"  IsReadOnly="True"  Width="Auto" HeaderCellStyle="{StaticResource GridViewHeaderStyle}">
383
                                                <telerik:GridViewDataColumn.CellTemplate>
384
                                                    <DataTemplate>
385
                                                        <TextBlock Text="{Binding Depatment}"  FontSize="12"/>
386
                                                    </DataTemplate>
387
                                                </telerik:GridViewDataColumn.CellTemplate>
388
                                            </telerik:GridViewDataColumn>
389
                                            <telerik:GridViewDataColumn Header="NAME"  IsReadOnly="True" Width="Auto"  HeaderCellStyle="{StaticResource GridViewHeaderStyle}">
390
                                                <telerik:GridViewDataColumn.CellTemplate>
391
                                                    <DataTemplate>
392
                                                        <TextBlock Text="{Binding UserName, Mode=TwoWay}" FontSize="10"/>
393
                                                    </DataTemplate>
394
                                                </telerik:GridViewDataColumn.CellTemplate>
395
                                            </telerik:GridViewDataColumn>
396
                                            <telerik:GridViewDataColumn Header="CONSOLIDATION"  IsReadOnly="True" Width="Auto"  HeaderCellStyle="{StaticResource GridViewHeaderStyle}">
397
                                                <telerik:GridViewDataColumn.CellTemplate>
398
                                                    <DataTemplate>
399
                                                        <!--<TextBlock Text="{Binding Consolidate}"/>-->
400
                                                        <Grid>
401
                                                            <Grid.ColumnDefinitions>
402
                                                                <ColumnDefinition Width="Auto" />
403
                                                                <ColumnDefinition Width="Auto" />
404
                                                                <ColumnDefinition Width="Auto" />
405
                                                            </Grid.ColumnDefinitions>
406

    
407
                                                            <TextBlock Grid.Column="0"
408
                                                               Foreground="Red"
409
                                                               Text="{Binding AvoidConsolidate,
410
                                                                              Converter={StaticResource AvoidStringConverter}}" />
411
                                                            <TextBlock Grid.Column="1"
412
                                                               Foreground="Blue"
413
                                                               Text="{Binding PartConsolidate,
414
                                                                              Converter={StaticResource TeamConsoliStringConverter}}" />
415
                                                            <TextBlock Grid.Column="2" Text="{Binding Consolidate, Converter={StaticResource ConsoliStringConverter}}" />
416
                                                            <!--
417
                                                        <TextBlock HorizontalAlignment="Center" Grid.Column="2">
418
                                                        <TextBlock.Text>
419
                                                        <Binding Converter="{StaticResource ConsoliStringConverter}"/>
420
                                                        </TextBlock.Text>
421
                                                        </TextBlock>
422
                                                    -->
423
                                                        </Grid>
424
                                                    </DataTemplate>
425
                                                </telerik:GridViewDataColumn.CellTemplate>
426
                                            </telerik:GridViewDataColumn>
427

    
428
                                            <telerik:GridViewDataColumn Header="Comment Move"  IsReadOnly="True" Width="Auto"  HeaderCellStyle="{StaticResource GridViewHeaderStyle}">
429
                                                <telerik:GridViewDataColumn.CellTemplate>
430
                                                    <DataTemplate>
431
                                                        <telerik:RadButton telerik:StyleManager.Theme="Office2016" HorizontalAlignment="Stretch" VerticalAlignment="Stretch" Content="COPY" PreviewMouseDown="Comment_Move" />
432
                                                        <!--<TextBlock Text="{Binding UserName, Mode=TwoWay}" FontSize="10"/>-->
433
                                                    </DataTemplate>
434
                                                </telerik:GridViewDataColumn.CellTemplate>
435
                                            </telerik:GridViewDataColumn>
436

    
437
                                            <telerik:GridViewDataColumn Header=""  IsReadOnly="True" Width="*"  HeaderCellStyle="{StaticResource GridViewHeaderStyle}">
438
                                            </telerik:GridViewDataColumn>
439
                                        </telerik:RadGridView.Columns>
440
                                    </telerik:RadGridView>
441
                                </Grid>
442
                                <!--</telerik:RadExpander>-->
443

    
444

    
445
                            </Grid>
446
                        </telerik:RadPane>
447
                    </telerik:RadPaneGroup>
448
                </telerik:RadSplitContainer>
449
            </telerik:RadDocking.DocumentHost>
450

    
451

    
452
            <telerik:RadSplitContainer Orientation="Vertical" InitialPosition="DockedLeft" Width="250" MinWidth="250">
453
                <!--<telerik:RadPaneGroup Margin="0" Style="{DynamicResource Style_RadPanelGroup}">-->
454
                <telerik:RadPaneGroup Margin="0" telerik:StyleManager.Theme="Office2016" x:Name="PN_Navi">
455
                    <telerik:RadPane Header="DOCUMENT" CanFloat="False" CanUserClose="False" CanUserPin="True" 
456
                                     ContextMenuTemplate="{x:Null}" PaneHeaderVisibility="Visible" telerik:StyleManager.Theme="Office2016">
457
                        <!--<telerik:RadPane.TitleTemplate>
458
                            <DataTemplate>
459
                                <Grid>
460
                                    <Grid.ColumnDefinitions>
461
                                        <ColumnDefinition Width="Auto" />
462
                                        <ColumnDefinition />
463
                                    </Grid.ColumnDefinitions>
464
                                    <ContentPresenter Content="{Binding}"
465
                                                      Margin="0,0,75,0" />
466
                                         <telerik:RadButton Grid.Column="1" Content="PIN"/>
467
                                </Grid>
468
                            </DataTemplate>
469
                        </telerik:RadPane.TitleTemplate>-->
470
                        <!--<Grid VerticalAlignment="Stretch" Margin="0">
471
                            <Grid.RowDefinitions>
472
                                <RowDefinition Height="30"/>
473
                                <RowDefinition Height="*"/>
474
                            </Grid.RowDefinitions>
475
                            <Border BorderBrush="{Binding ElementName=leftPanel}" BorderThickness="0,1">
476
                                <TextBlock Text="Thumbnail" Margin="5"/>
477
                            </Border>
478
                            <controls:PageNavigator x:Name="pageNavigator" Grid.Row="1"/>
479
                        </Grid>-->
480
                        <Grid>
481
                            <!--<controls:PageNavigator x:Name="pageNavigator" Grid.Row="1" Visibility="Collapsed"/>-->
482
                            <!--<Grid.RowDefinitions>
483
                                <RowDefinition Height="Auto"/>
484
                                <RowDefinition Height="*"/>
485
                            </Grid.RowDefinitions>-->
486
                            <!--<telerik:RadButton Content="Panorama" telerik:StyleManager.Theme="Office2016" FontSize="8"  Background="#FF0054B9" Foreground="White"
487
                                       BorderThickness="0" CornerRadius="3" HorizontalAlignment="Right" Padding="5" Margin="5,10"/>-->
488
                            <controls:Sample x:Name="pageNavigator"/>
489
                        </Grid>
490

    
491
                    </telerik:RadPane>
492
                </telerik:RadPaneGroup>
493
            </telerik:RadSplitContainer>
494

    
495
            <telerik:RadSplitContainer Orientation="Vertical" InitialPosition="DockedRight" MaxWidth="300" Width="300">
496
                <telerik:RadPaneGroup telerik:StyleManager.Theme="Office2016">
497
                    <telerik:RadPane Header="SEARCH" Visibility="Collapsed" CanFloat="False" CanUserClose="False"  ContextMenuTemplate="{x:Null}" IsPinned="False" telerik:StyleManager.Theme="Office2016" x:Name="searchPane">
498
                        <controls:SearchPanel />
499
                    </telerik:RadPane>
500
                </telerik:RadPaneGroup>
501
                <telerik:RadPaneGroup telerik:StyleManager.Theme="Office2016">
502
                    <telerik:RadPane Header="M-TALK" CanFloat="False" CanUserClose="False"  ContextMenuTemplate="{x:Null}" IsPinned="False" telerik:StyleManager.Theme="Office2016"  x:Name="talkPane">
503
                        <messanger:ConversationView/>
504
                    </telerik:RadPane>
505
                </telerik:RadPaneGroup>
506
                <telerik:RadPaneGroup Visibility="Visible" telerik:StyleManager.Theme="Office2016">
507
                    <telerik:RadPane Header="Symbol" Visibility="Visible" CanFloat="False" CanUserClose="False"  ContextMenuTemplate="{x:Null}" IsPinned="False" telerik:StyleManager.Theme="Office2016"  x:Name="SymbolPane">
508
                        <controls:Symbol />
509
                        <!--<telerik:RadButton Click="Create_Symbol">Create</telerik:RadButton>-->
510
                    </telerik:RadPane>
511
                </telerik:RadPaneGroup>
512
            </telerik:RadSplitContainer>
513
            <telerik:RadSplitContainer Orientation="Horizontal" InitialPosition="DockedBottom">
514
                <telerik:RadPaneGroup telerik:StyleManager.Theme="Office2016" telerik:ProportionalStackPanel.RelativeSize="140, 100">
515
                    <telerik:RadPane Header="User information List"  CanFloat="False" CanUserClose="False"  ContextMenuTemplate="{x:Null}" telerik:StyleManager.Theme="Office2016"  x:Name="infoListPane">
516
                        <telerik:RadPane.TitleTemplate>
517
                            <DataTemplate>
518
                                <Grid>
519
                                    <Grid.ColumnDefinitions>
520
                                        <ColumnDefinition Width="*" />
521
                                        <ColumnDefinition Width="Auto" />
522
                                    </Grid.ColumnDefinitions>
523

    
524
                                    <StackPanel Orientation="Horizontal">
525
                                        <TextBlock Margin="1"
526
                                                   VerticalAlignment="Center"
527
                                                   Text="{Binding}" />
528
                                        <telerik:RadRibbonButton x:Name="btnConsolidate"
529
                                                                 VerticalAlignment="Center"
530
                                                                 Click="btnConsolidate_Click"
531
                                                                 Loaded="btnConsolidate_Loaded"
532
                                                                 telerik:StyleManager.Theme="Office2016"
533
                                                                 ToolTipService.ToolTip="Consolidate">
534
                                            <Border Background="#E9F0F8"
535
                                                    BorderBrush="#839AB3"
536
                                                    BorderThickness="1">
537
                                                <StackPanel Margin="1" Orientation="Horizontal">
538
                                                    <!--<Image Width="15" Source="/DeepView;component/Images/MenuImage/document-new.png" />-->
539
                                                    <TextBlock Margin="1"
540
                                                               VerticalAlignment="Center"
541
                                                               Foreground="Black"
542
                                                               Text="Consolidate" />
543
                                                </StackPanel>
544
                                            </Border>
545
                                        </telerik:RadRibbonButton>
546
                                        <telerik:RadRibbonButton x:Name="btnTeamConsolidate"
547
                                                                 VerticalAlignment="Center"
548
                                                                 Click="btnTeamConsolidate_Click"
549
                                                                 Loaded="btnTeamConsolidate_Loaded"
550
                                                                 telerik:StyleManager.Theme="Office2016"
551
                                                                 ToolTipService.ToolTip="Consolidate">
552
                                            <Border Background="#E9F0F8"
553
                                                    BorderBrush="#839AB3"
554
                                                    BorderThickness="1">
555
                                                <StackPanel Margin="1" Orientation="Horizontal">
556
                                                    <!--<Image Width="15" Source="/DeepView;component/Images/MenuImage/document-team.png" />-->
557
                                                    <TextBlock Margin="1"
558
                                                               VerticalAlignment="Center"
559
                                                               Foreground="Black"
560
                                                               Text="Team Consolidate" />
561
                                                </StackPanel>
562
                                            </Border>
563
                                        </telerik:RadRibbonButton>
564
                                        <telerik:RadRibbonButton x:Name="btnFinalPDF"
565
                                                                 VerticalAlignment="Center"
566
                                                                 Click="FinalPDFEvent"
567
                                                                 Loaded="btnFinalPDF_Loaded"
568
                                                                 telerik:StyleManager.Theme="Office2016"
569
                                                                 ToolTipService.ToolTip="FinalPDF">
570
                                            <Border Background="#E9F0F8"
571
                                                    BorderBrush="#839AB3"
572
                                                    BorderThickness="1">
573
                                                <StackPanel Margin="1" Orientation="Horizontal">
574
                                                    <!--<Image Width="15" Source="/DeepView;component/Images/MenuImage/final_pdf2.png" />-->
575
                                                    <TextBlock Margin="1"
576
                                                               VerticalAlignment="Center"
577
                                                               Foreground="Black"
578
                                                               Text="Merged PDF" />
579
                                                </StackPanel>
580
                                            </Border>
581
                                        </telerik:RadRibbonButton>
582
                                    </StackPanel>
583
                                    <!--<StackPanel Grid.Column="1"
584
                                                HorizontalAlignment="Right"
585
                                                Orientation="Horizontal">
586
                                        <telerik:RadRibbonButton VerticalAlignment="Center"
587
                                                                 Click="ExpandButtonEvent_Click"
588
                                                                 Tag="CLOSE"
589
                                                                 telerik:StyleManager.Theme="Windows8"
590
                                                                 ToolTipService.ToolTip="Expand On">
591
                                        </telerik:RadRibbonButton>
592

593
                                        <telerik:RadRibbonButton VerticalAlignment="Center"
594
                                                                 Click="ExpandButtonEvent_Click"
595
                                                                 Tag="OPEN"
596
                                                                 telerik:StyleManager.Theme="Windows8"
597
                                                                 ToolTipService.ToolTip="Expand Off">
598
                                            <Image Width="15"
599
                                                   RenderTransformOrigin="0.5,0.5">
600
                                                <Image.RenderTransform>
601
                                                    <RotateTransform Angle="180" />
602
                                                </Image.RenderTransform>
603
                                            </Image>
604
                                        </telerik:RadRibbonButton>
605
                                    </StackPanel>-->
606
                                </Grid>
607
                            </DataTemplate>
608
                        </telerik:RadPane.TitleTemplate>
609
                        <telerik:RadGridView telerik:StyleManager.Theme="Office2013" ShowGroupPanel="False" ShowGroupFooters="False" AutoExpandGroups="False"  x:Name="gridViewMarkup"
610
                                             AutoGenerateColumns="False" HorizontalContentAlignment="Center" SelectionChanged="gridViewMarkup_SelectionChanged" SelectionMode="Multiple"
611
                                             CanUserDeleteRows="True" CanUserInsertRows="False" IsFilteringAllowed="False" RowIndicatorVisibility="Collapsed">
612
                            <telerik:RadGridView.RowStyle>
613
                                <Style TargetType="telerik:GridViewRow">
614
                                    <Setter Property="HorizontalContentAlignment" Value="Center"/>
615
                                    <Setter Property="Background" Value="{Binding Path=Consolidate, Converter={StaticResource ConsolidationBackgroudConverter}}" />
616
                                    <Setter Property="Visibility" Value="{Binding Path=IsPreviewUser,Converter={StaticResource previewerVisibleConverter}}"/>
617
                                    <!--<Setter Property="Template" Value="{StaticResource GridViewRowTemplate}" />-->
618
                                </Style>
619
                            </telerik:RadGridView.RowStyle>
620
                            <telerik:RadGridView.Columns>
621
                                <telerik:GridViewSelectColumn Width="Auto">
622
                                    <telerik:GridViewSelectColumn.Header>
623
                                        <telerik:RadRibbonToggleButton  telerik:StyleManager.Theme="Office2016"
624
                                                                           Visibility="Collapsed" Width="Auto">
625
                                            <telerik:RadRibbonToggleButton.Content>
626
                                                <Image HorizontalAlignment="Center"
627
                                                           VerticalAlignment="Center"
628
                                                           Source="/KCOM;component/Resources/Images/MenuImage/check.png" />
629
                                            </telerik:RadRibbonToggleButton.Content>
630
                                        </telerik:RadRibbonToggleButton>
631
                                    </telerik:GridViewSelectColumn.Header>
632
                                </telerik:GridViewSelectColumn>
633
                                <telerik:GridViewDataColumn Width="Auto"
634
                                                                Header="Color"
635
                                                                IsReadOnly="True">
636
                                    <telerik:GridViewDataColumn.CellTemplate>
637
                                        <DataTemplate>
638
                                            <Grid>
639
                                                <Grid>
640
                                                    <Rectangle Margin="0,2,2,2" Fill="{Binding DisplayColor, Converter={StaticResource StringToColorConverter}}" />
641
                                                    <TextBlock Foreground="#00000000" Text="Color" />
642
                                                </Grid>
643
                                                <Grid VerticalAlignment="Center" Visibility="{Binding AvoidConsolidate, Converter={StaticResource BoolToVisibleConverter}}">
644
                                                    <Image Height="15"
645
                                                               Source="/KCOM;component/Resources/Images/MenuImage/lock_2.png"
646
                                                               Stretch="Uniform" />
647
                                                </Grid>
648
                                            </Grid>
649

    
650
                                        </DataTemplate>
651
                                    </telerik:GridViewDataColumn.CellTemplate>
652
                                </telerik:GridViewDataColumn>
653
                                <telerik:GridViewDataColumn Header="DEPT"  IsReadOnly="True"  Width="Auto">
654
                                    <telerik:GridViewDataColumn.CellTemplate>
655
                                        <DataTemplate>
656
                                            <TextBlock Text="{Binding Depatment}"/>
657
                                        </DataTemplate>
658
                                    </telerik:GridViewDataColumn.CellTemplate>
659
                                </telerik:GridViewDataColumn>
660
                                <telerik:GridViewDataColumn Header="NAME"  IsReadOnly="True" Width="Auto">
661
                                    <telerik:GridViewDataColumn.CellTemplate>
662
                                        <DataTemplate>
663
                                            <TextBlock Text="{Binding UserName, Mode=TwoWay}"/>
664
                                        </DataTemplate>
665
                                    </telerik:GridViewDataColumn.CellTemplate>
666
                                </telerik:GridViewDataColumn>
667
                                <telerik:GridViewDataColumn Header="UPDATETIME"  IsReadOnly="True" Width="Auto">
668
                                    <telerik:GridViewDataColumn.CellTemplate>
669
                                        <DataTemplate>
670
                                            <TextBlock Text="{Binding CreateTime}"/>
671
                                        </DataTemplate>
672
                                    </telerik:GridViewDataColumn.CellTemplate>
673
                                </telerik:GridViewDataColumn>
674
                                <telerik:GridViewDataColumn Header="CONSOLIDATION"  IsReadOnly="True" Width="Auto">
675
                                    <telerik:GridViewDataColumn.CellTemplate>
676
                                        <DataTemplate>
677
                                            <!--<TextBlock Text="{Binding Consolidate}"/>-->
678
                                            <Grid>
679
                                                <Grid.ColumnDefinitions>
680
                                                    <ColumnDefinition Width="Auto" />
681
                                                    <ColumnDefinition Width="Auto" />
682
                                                    <ColumnDefinition Width="Auto" />
683
                                                </Grid.ColumnDefinitions>
684

    
685
                                                <TextBlock Grid.Column="0"
686
                                                               Foreground="Red"
687
                                                               Text="{Binding AvoidConsolidate,
688
                                                                              Converter={StaticResource AvoidStringConverter}}" />
689
                                                <TextBlock Grid.Column="1"
690
                                                               Foreground="Blue"
691
                                                               Text="{Binding PartConsolidate,
692
                                                                              Converter={StaticResource TeamConsoliStringConverter}}" />
693
                                                <TextBlock Grid.Column="2" Text="{Binding Consolidate, Converter={StaticResource ConsoliStringConverter}}" />
694
                                                <!--
695
                                                        <TextBlock HorizontalAlignment="Center" Grid.Column="2">
696
                                                        <TextBlock.Text>
697
                                                        <Binding Converter="{StaticResource ConsoliStringConverter}"/>
698
                                                        </TextBlock.Text>
699
                                                        </TextBlock>
700
                                                    -->
701
                                            </Grid>
702
                                        </DataTemplate>
703
                                    </telerik:GridViewDataColumn.CellTemplate>
704
                                </telerik:GridViewDataColumn>
705
                                <telerik:GridViewDataColumn Header="DESCRIPTION"  IsReadOnly="True" Width="*">
706
                                    <telerik:GridViewDataColumn.CellTemplate>
707
                                        <DataTemplate>
708
                                            <TextBlock Text="{Binding Description}"/>
709
                                        </DataTemplate>
710
                                    </telerik:GridViewDataColumn.CellTemplate>
711
                                </telerik:GridViewDataColumn>
712
                                <telerik:GridViewDataColumn Header="DELETE"  IsReadOnly="True" Width="Auto">
713
                                    <telerik:GridViewDataColumn.CellTemplate>
714
                                        <DataTemplate>
715
                                            <Button Content="DELETE" Visibility="{Binding userDelete, Converter={StaticResource BooleanToVisibilityConverter}}" Click="DeleteCommentEvent" CommandParameter="{Binding}"/>
716
                                        </DataTemplate>
717
                                    </telerik:GridViewDataColumn.CellTemplate>
718
                                </telerik:GridViewDataColumn>
719
                            </telerik:RadGridView.Columns>
720
                        </telerik:RadGridView>
721
                    </telerik:RadPane>
722
                </telerik:RadPaneGroup>
723
                <telerik:RadPaneGroup telerik:StyleManager.Theme="Office2016" telerik:ProportionalStackPanel.RelativeSize="60, 100">
724
                    <telerik:RadPane Header="Document History"  CanFloat="False" CanUserClose="False"  ContextMenuTemplate="{x:Null}" telerik:StyleManager.Theme="Office2016"  x:Name="historyPane">
725
                        <Grid>
726
                            <telerik:RadGridView telerik:StyleManager.Theme="Office2013" ShowGroupPanel="False" ShowGroupFooters="False" AutoExpandGroups="False"  x:Name="gridViewHistory"
727
                                             CanUserDeleteRows="True" CanUserInsertRows="False" IsFilteringAllowed="False" RowIndicatorVisibility="Collapsed" AutoGenerateColumns="False">
728
                                <telerik:RadGridView.Columns>
729
                                    <telerik:GridViewDataColumn Header="Rev No"  IsReadOnly="True" Width="Auto">
730
                                        <telerik:GridViewDataColumn.CellTemplate>
731
                                            <DataTemplate>
732
                                                <TextBlock Text="{Binding RevNo}" HorizontalAlignment="Center"/>
733
                                            </DataTemplate>
734
                                        </telerik:GridViewDataColumn.CellTemplate>
735
                                    </telerik:GridViewDataColumn>
736
                                    <telerik:GridViewDataColumn Header="Slip No"  IsReadOnly="True" Width="Auto">
737
                                        <telerik:GridViewDataColumn.CellTemplate>
738
                                            <DataTemplate>
739
                                                <TextBlock Text="{Binding GroupNo}" HorizontalAlignment="Center"/>
740
                                            </DataTemplate>
741
                                        </telerik:GridViewDataColumn.CellTemplate>
742
                                    </telerik:GridViewDataColumn>
743
                                    <telerik:GridViewDataColumn Header="RESULT"  IsReadOnly="True" Width="Auto">
744
                                        <telerik:GridViewDataColumn.CellTemplate>
745
                                            <DataTemplate>
746
                                                <TextBlock Text="{Binding RESULT}" HorizontalAlignment="Center"/>
747
                                            </DataTemplate>
748
                                        </telerik:GridViewDataColumn.CellTemplate>
749
                                    </telerik:GridViewDataColumn>
750
                                    <telerik:GridViewDataColumn CellStyle="{StaticResource GridViewAlign}"  IsReadOnly="True"
751
                                                                        DataMemberBinding="{Binding FROM_VENDOR}"
752
                                                                        Header="File(in)" telerik:StyleManager.Theme="Office2013"
753
                                                                        HeaderTextAlignment="Center">
754
                                        <telerik:GridViewDataColumn.CellTemplate>
755
                                            <DataTemplate>
756
                                                <Image Height="22" Source="/KCOM;component/Resources/Images/MenuImage_New/PDF.png" 
757
                                                       MouseLeftButtonDown="PdfLink_ButtonDown" Tag="{Binding FROM_VENDOR}"
758
                                                       Visibility="{Binding FROM_VENDOR, Converter={StaticResource PDFVisibleConverter}}"/>
759
                                            </DataTemplate>
760
                                        </telerik:GridViewDataColumn.CellTemplate>
761
                                    </telerik:GridViewDataColumn>
762

    
763
                                    <telerik:GridViewDataColumn CellStyle="{StaticResource GridViewAlign}"
764
                                                                        DataMemberBinding="{Binding TO_VENDOR}" IsReadOnly="True"
765
                                                                        Header="File(out)" telerik:StyleManager.Theme="Office2013"
766
                                                                        HeaderTextAlignment="Center">
767
                                        <telerik:GridViewDataColumn.CellTemplate>
768
                                            <DataTemplate>
769
                                                <Image Height="22" Source="/KCOM;component/Resources/Images/MenuImage_New/PDF.png" 
770
                                                       MouseLeftButtonDown="PdfLink_ButtonDown" Tag="{Binding TO_VENDOR}"
771
                                                       Visibility="{Binding TO_VENDOR, Converter={StaticResource PDFVisibleConverter}}"/>
772
                                            </DataTemplate>
773
                                        </telerik:GridViewDataColumn.CellTemplate>
774
                                    </telerik:GridViewDataColumn>
775

    
776

    
777
                                    <!--<telerik:GridViewDataColumn Header="FROM_VENDOR"  IsReadOnly="True" Width="Auto">
778
                                    <telerik:GridViewDataColumn.CellTemplate>
779
                                        <DataTemplate>
780
                                            <telerik:RadRibbonButton telerik:StyleManager.Theme="Office2016">
781
                                                <
782
                                                <TextBlock Text="{Binding FROM_VENDOR}" HorizontalAlignment="Center"/>
783
                                            </telerik:RadRibbonButton>                                            
784
                                        </DataTemplate>
785
                                    </telerik:GridViewDataColumn.CellTemplate>
786
                                </telerik:GridViewDataColumn>-->
787
                                    <!--<telerik:GridViewDataColumn Header="TO_VENDOR"  IsReadOnly="True" Width="Auto">
788
                                    <telerik:GridViewDataColumn.CellTemplate>
789
                                        <DataTemplate>
790
                                            <TextBlock Text="{Binding TO_VENDOR}" HorizontalAlignment="Center"/>
791
                                        </DataTemplate>
792
                                    </telerik:GridViewDataColumn.CellTemplate>
793
                                </telerik:GridViewDataColumn>-->
794
                                    <telerik:GridViewDataColumn Header="SYNC"  IsReadOnly="True" Width="Auto" CellStyle="{StaticResource GridViewAlign}" HeaderTextAlignment="Center">
795
                                        <telerik:GridViewDataColumn.CellTemplate>
796
                                            <DataTemplate>
797
                                                <!--<Border Grid.Column="1" Background="#FF0054B9" CornerRadius="5" Margin="5" VerticalAlignment="Center" MinHeight="20"
798
                                                        Visibility="{Binding IsSyncPossible, Converter={StaticResource BoolToVisibleConverter}}">
799
                                                    <telerik:RadButton Content="OPEN" telerik:StyleManager.Theme="Office2016"  Foreground="White"
800
                                                                       Background="Transparent" HorizontalAlignment="Stretch" Click="RadButton_Click" CommandParameter="{Binding}"/>
801
                                                </Border>-->
802
                                                <telerik:RadButton  Margin="5" BorderThickness="0" Click="RadButton_Click" CommandParameter="{Binding}" Background="Transparent"
803
                                                                   Visibility="{Binding IsSyncPossible, Converter={StaticResource BoolToVisibleConverter}}">
804
                                                    <telerik:RadButton.Content>
805
                                                        <Image Source="/KCOM;component/Resources/Images/MenuImage_new/file.png" Stretch="Uniform" Width="20" Height="20"/>
806
                                                    </telerik:RadButton.Content>
807
                                                </telerik:RadButton>
808

    
809
                                                <!--<TextBlock Text="{Binding IsSyncPossible}" HorizontalAlignment="Center"/>-->
810
                                            </DataTemplate>
811
                                        </telerik:GridViewDataColumn.CellTemplate>
812
                                    </telerik:GridViewDataColumn>
813
                                </telerik:RadGridView.Columns>
814
                            </telerik:RadGridView>
815
                            <telerik:RadBusyIndicator x:Name="gridViewHistory_Busy" IsBusy="False" telerik:StyleManager.Theme="Office2016"
816
                                                  BusyContent="Sync Data Loading"/>
817
                        </Grid>
818
                    </telerik:RadPane>
819
                </telerik:RadPaneGroup>
820
            </telerik:RadSplitContainer>
821

    
822

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