프로젝트

일반

사용자정보

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

markus / KCOM / Views / MainMenu.xaml.bak @ 65eb8dd6

이력 | 보기 | 이력해설 | 다운로드 (67 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" xmlns:converter="clr-namespace:KCOM.Common.Converter"
5
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008"  xmlns:common="clr-namespace:KCOM.Common"
6
             xmlns:controls="clr-namespace:KCOM.Controls"  xmlns:ZoomAndPan="clr-namespace:ZoomAndPan;assembly=ZoomAndPan"
7
             mc:Ignorable="d"   xmlns:Leadtools_Windows_Controls="clr-namespace:Leadtools.Windows.Controls;assembly=Leadtools.Windows.Controls"
8
             d:DesignHeight="768" d:DesignWidth="1080" IsTabStop="True" xmlns:messanger="clr-namespace:KCOM.Messenger"
9
             xmlns:Angle="clr-namespace:MarkupToPDF.Controls.Angle;assembly=MarkupToPDF">
10
    <UserControl.Resources>
11
        <Style TargetType="telerik:GridViewHeaderCell" x:Key="GridViewHeaderStyle">
12
            <Setter Property="VerticalContentAlignment" Value="Center"/>
13
            <Setter Property="HorizontalContentAlignment" Value="Center"/>
14
            <Setter Property="BorderThickness" Value="0"/>
15
            <Setter Property="Background">
16
                <Setter.Value>
17
                    <SolidColorBrush Color="Black" Opacity="0.5"/>
18
                </Setter.Value>
19
            </Setter>
20
            <!--<Setter Property="Background" Value="Black"/>-->
21
            <Setter Property="BorderBrush" Value="White"/>
22
            <Setter Property="Foreground" Value="White"/>
23
            <Setter Property="telerik:StyleManager.Theme" Value="Office2013"/>
24
            <!--<Setter Property="FontWeight" Value="Black"/>-->
25
        </Style>
26
        <Style x:Key="GridViewAlign" TargetType="telerikGrid:GridViewCell">
27
            <Setter Property="HorizontalContentAlignment" Value="Center" />
28
            <Setter Property="TextBlock.TextDecorations">
29
                <Setter.Value>
30
                    <TextDecorationCollection>
31
                        <TextDecoration Location="Underline" />
32
                        <TextDecoration Location="Overline" />
33
                        <TextDecoration  
34
        	PenThicknessUnit="FontRecommended">
35
                            <TextDecoration.Pen>
36
                                <Pen Thickness="1.0">
37
                                    <Pen.Brush>
38
                                        <LinearGradientBrush Opacity="0.5"
39
                		StartPoint="0,0.5"  EndPoint="1,0.5">
40
                                            <LinearGradientBrush.GradientStops>
41
                                                <GradientStop Color="Yellow" Offset="0" />
42
                                                <GradientStop Color="Red" Offset="1" />
43
                                            </LinearGradientBrush.GradientStops>
44
                                        </LinearGradientBrush>
45
                                    </Pen.Brush>
46
                                </Pen>
47
                            </TextDecoration.Pen>
48
                        </TextDecoration>
49
                    </TextDecorationCollection>
50
                </Setter.Value>
51
            </Setter>
52
        </Style>
53
        <converter:PDFVisibleConverter x:Key="PDFVisibleConverter"/>
54
        <converter:ConsolidationBackgroudConverter x:Key="ConsolidationBackgroudConverter" />
55
        <converter:StringToColorConverter x:Key="StringToColorConverter"/>
56
        <converter:AvoidStringConverter x:Key="AvoidStringConverter" />
57
        <converter:TeamConsolidateStringConverter x:Key="TeamConsoliStringConverter" />
58
        <converter:ConsolidationStringConverter x:Key="ConsoliStringConverter" />
59
        <converter:BoolToVisibleConverter x:Key="BoolToVisibleConverter" />
60
        <converter:PreviewerVisibleConverter x:Key="previewerVisibleConverter"/>
61
    </UserControl.Resources>
62
    <Grid Background="{DynamicResource KCOMColor_MainBrush}">
63
        <!--<Grid.ColumnDefinitions>
64
            <ColumnDefinition Width="Auto"/>
65
            <ColumnDefinition Width="*"/>
66
        </Grid.ColumnDefinitions>-->
67
        <!--<Border Background="#fff5f5f5" BorderBrush="#d5d5d5" BorderThickness="0">
68
            -->
69
        <!--<controls:PageNavigator x:Name="pageNavigator" Grid.Row="1" Width="200"/>-->
70
        <!--
71
            <telerik:RadLayoutControl SelectedItem="{x:Null}" VirtualizingStackPanel.VirtualizationMode="Recycling" ScrollViewer.VerticalScrollBarVisibility="Hi">
72
                <telerik:LayoutControlTabGroup Template="{DynamicResource TabControlTemplate}" telerik:StyleManager.Theme="Office2016">
73
                    <telerik:LayoutControlTabGroupItem Header="Thumbnail">
74
                        <telerik:LayoutControlGroup BorderBrush="Transparent" Padding="5" Margin="0,-3">                            
75
                            <controls:PageNavigator x:Name="pageNavigator" Grid.Row="1" Width="300"/>                            
76
                        </telerik:LayoutControlGroup>
77
                    </telerik:LayoutControlTabGroupItem>
78
                    <telerik:LayoutControlTabGroupItem Header="Bookmark">
79
                        <telerik:LayoutControlGroup BorderBrush="Transparent">
80
                            <Border Background="Blue"/>
81
                        </telerik:LayoutControlGroup>
82
                    </telerik:LayoutControlTabGroupItem>
83
                </telerik:LayoutControlTabGroup>
84
            </telerik:RadLayoutControl>
85
        </Border>-->
86
        <!--<Grid.ColumnDefinitions>
87
            <ColumnDefinition Width="Auto"/>
88
            <ColumnDefinition Width="*"/>
89
            <ColumnDefinition Width="Auto"/>
90
        </Grid.ColumnDefinitions>-->
91
        <!--<Border Background="{DynamicResource Office2016Color_PrimaryBrush}">
92
            <Border Background="White" Margin="50"/>
93
        </Border>-->
94
        <telerik:RadDocking BorderThickness="0" Padding="0" Background="{DynamicResource KCOMColor_MainBrush}" Grid.Column="1">
95
            <telerik:RadDocking.DocumentHost>
96
                <telerik:RadSplitContainer Background="Transparent" Margin="0,-1,0,0">
97
                    <telerik:RadPaneGroup Style="{DynamicResource Style_RadPanelGroup}">
98
                        <telerik:RadDocumentPane Header="VP-320A-728063" CanFloat="False" CanUserClose="False" Title="Document 1" PaneHeaderVisibility="Collapsed" Margin="0,-20,0,0">
99
                            <telerik:RadDocumentPane.HeaderTemplate>
100
                                <DataTemplate>
101
                                    <Border Margin="0,0,0,0"/>
102
                                </DataTemplate>
103
                            </telerik:RadDocumentPane.HeaderTemplate>
104
                            <!--<Grid Background="{DynamicResource KCOMColor_AlternativeBrush}">-->
105
                            <Grid Background="{DynamicResource KCOMColor_DocumnetBackgroundBrush}">
106
                                <ZoomAndPan:ZoomAndPanControl x:Name="zoomAndPanControl"
107
                                                              MouseWheel="zoomAndPanControl_MouseWheel"
108
                                                              MouseDown="zoomAndPanControl_MouseDown"
109
                                                              MouseMove="zoomAndPanControl_MouseMove"
110
                                                              MouseUp="zoomAndPanControl_MouseUp"
111
                                                              MouseLeave="zoomAndPanControl_MouseLeave"
112
                                                              MouseDoubleClick="zoomAndPanControl_MouseDoubleClick"
113
                                                              ContentScale="{Binding ContentScale, Mode=TwoWay, Source={x:Static common:ViewerDataModel.Instance}}"
114
                                                              ContentOffsetX="{Binding ContentOffsetX, Mode=TwoWay, Source={x:Static common:ViewerDataModel.Instance}}"
115
                                                              ContentOffsetY="{Binding ContentOffsetY, Mode=TwoWay, Source={x:Static common:ViewerDataModel.Instance}}"
116
                                                              ConstrainedContentViewportWidth="{Binding ContentViewportWidth, Mode=TwoWay, Source={x:Static common:ViewerDataModel.Instance}}"
117
                                                              ConstrainedContentViewportHeight="{Binding ContentViewportHeight, Mode=TwoWay, Source={x:Static common:ViewerDataModel.Instance}}"
118
                                                              Background="LightGray">
119
                                    <Canvas x:Name="zoomAndPanCanvas" Opacity="1" Background="White">
120
                                        <Canvas x:Name="drawingRotateCanvas"
121
                                                        Panel.ZIndex="1"
122
                                                        Background="{Binding BackgroundImage, Mode=OneWay, Source={x:Static common:ViewerDataModel.Instance}}">
123
                                            <Canvas.RenderTransform>
124
                                                <TransformGroup>
125
                                                    <RotateTransform x:Name="rotate" Angle="0"/>
126
                                                    <TranslateTransform x:Name="translate" X="0" Y="0"/>
127
                                                </TransformGroup>
128
                                            </Canvas.RenderTransform>
129
                                            <ItemsControl ItemsSource="{Binding MarkupControls, Source={x:Static common:ViewerDataModel.Instance}}"
130
                                          Panel.ZIndex="1">
131
                                                <ItemsControl.ItemsPanel>
132
                                                    <ItemsPanelTemplate>
133
                                                        <Canvas />
134
                                                    </ItemsPanelTemplate>
135
                                                </ItemsControl.ItemsPanel>
136
                                            </ItemsControl>
137
                                            <ItemsControl ItemsSource="{Binding MarkupControls_USER, Source={x:Static common:ViewerDataModel.Instance}}"
138
                                          Panel.ZIndex="30">
139
                                                <ItemsControl.ItemsPanel>
140
                                                    <ItemsPanelTemplate>
141
                                                        <Canvas />
142
                                                    </ItemsPanelTemplate>
143
                                                </ItemsControl.ItemsPanel>
144
                                            </ItemsControl>
145
                                            <InkPresenter x:Name="inkBoard" HorizontalAlignment="Stretch" Panel.ZIndex="0" VerticalAlignment="Stretch"/>
146
                                            <InkCanvas x:Name="inkDrawingCanvas"
147
                                   Background="Transparent"
148
                                   IsEnabled="False"
149
                                   Panel.ZIndex="1"
150
                                   Strokes="{Binding MarkupPens, Source={x:Static common:ViewerDataModel.Instance}}">
151
                                                <!--<Rectangle Height="41" HorizontalAlignment="Left"  Name="rectangle1" Stroke="Black" VerticalAlignment="Top" Width="69" Fill="#FFDB1111" />-->
152
                                                <!--<Ellipse Height="41" HorizontalAlignment="Left"  Name="rectangle1" Stroke="Black" VerticalAlignment="Top" Width="69" Fill="#FFDB1111" />-->
153

    
154
                                                <!--<MarkupToPDF:RectangleControl Height="200" HorizontalAlignment="Center" Name="rectangle2" StrokeColor="Black" VerticalAlignment="Top" Width="00" FillColor="Red"/>-->
155
                                            </InkCanvas>
156
                                            <Canvas x:Name="SelectLayer" HorizontalAlignment="Stretch" VerticalAlignment="Stretch"/>
157
                                            <Border x:Name="dragSelectionBorder"
158
                                                    BorderBrush="Blue"
159
                                                    BorderThickness="1"
160
                                                    Background="LightBlue" 
161
                                                    CornerRadius="1"
162
                                                    Panel.ZIndex="1"
163
                                                    Opacity="0.5"/>
164
                                            <Border x:Name="dragCaptureBorder"
165
                                                    BorderBrush="Blue"
166
                                                    BorderThickness="1"
167
                                                    Background="Blue" 
168
                                                    CornerRadius="1"
169
                                                    Panel.ZIndex="1"
170
                                                    Opacity="0.5"/>
171
                                        </Canvas>
172
                                        
173
                                        <!--<Leadtools_Windows_Controls:RasterImageViewer x:Name="_imageViewer" Grid.Row="1" BorderThickness="0"/>-->
174
                                    </Canvas>
175
                                    
176
                                </ZoomAndPan:ZoomAndPanControl>
177
                                <!--캡쳐 화면을 위한 보더-->
178
                                <Border Background="LightGray" 
179
                                        Opacity="{Binding Capture_Opacity, Source={x:Static common:ViewerDataModel.Instance}}"
180
                                        IsHitTestVisible="False" >
181
                                    <TextBlock HorizontalAlignment="Right" Foreground="Red" Text="캡쳐 진행 화면" FontSize="30"/>
182
                                </Border>
183
                                <Angle:AngleControl x:Name="MainAngle"
184
                                                        Grid.Column="1"
185
                                                        Grid.ColumnSpan="2"
186
                                                        Margin="10"  
187
                                                        HorizontalAlignment="Right"
188
                                                        VerticalAlignment="Top"
189
                                                        IsHitTestVisible="False"
190
                                                        Visibility="Collapsed" />
191
                            </Grid>
192
                        </telerik:RadDocumentPane>
193
                    </telerik:RadPaneGroup>
194
                    <telerik:RadPaneGroup Style="{DynamicResource Style_RadPanelGroup}" >
195
                        <telerik:RadPane CanFloat="False" CanUserClose="False" Title="Document 1" PaneHeaderVisibility="Collapsed" x:Name="testPanel2" IsHidden="True" Margin="0,-20,0,0">
196
                            <Grid Background="{DynamicResource KCOMColor_DocumnetBackgroundBrush}">
197
                                <ZoomAndPan:ZoomAndPanControl x:Name="zoomAndPanControl2" 
198
                                                              ContentScale="{Binding ContentScale, Mode=TwoWay, Source={x:Static common:ViewerDataModel.Instance}}"
199
                                                              ContentOffsetX="{Binding ContentOffsetX, Mode=TwoWay, Source={x:Static common:ViewerDataModel.Instance}}"
200
                                                              ContentOffsetY="{Binding ContentOffsetY, Mode=TwoWay, Source={x:Static common:ViewerDataModel.Instance}}"
201
                                                              ConstrainedContentViewportWidth="{Binding ContentViewportWidth, Mode=TwoWay, Source={x:Static common:ViewerDataModel.Instance}}"
202
                                                              ConstrainedContentViewportHeight="{Binding ContentViewportHeight, Mode=TwoWay, Source={x:Static common:ViewerDataModel.Instance}}"
203
                                                              Background="LightGray">
204
                                    <Canvas x:Name="zoomAndPanCanvas2" Opacity="1" Background="White">
205
                                        <Canvas x:Name="drawingRotateCanvas2"
206
                                                        Panel.ZIndex="1"
207
                                                        Background="{Binding BackgroundImage, Mode=OneWay, Source={x:Static common:ViewerDataModel.Instance}}">
208
                                            <Canvas.RenderTransform>
209
                                                <TransformGroup>
210
                                                    <RotateTransform x:Name="rotate2" Angle="0"/>
211
                                                    <TranslateTransform x:Name="translate2" X="0" Y="0"/>
212
                                                </TransformGroup>
213
                                            </Canvas.RenderTransform>
214
                                            <ItemsControl x:Name="itemsControl" ItemsSource="{Binding MarkupControls_Sync, Source={x:Static common:ViewerDataModel.Instance}}"
215
                                          Panel.ZIndex="1">
216
                                                <ItemsControl.ItemsPanel>
217
                                                    <ItemsPanelTemplate>
218
                                                        <Canvas >
219

    
220
                                                        </Canvas>
221
                                                    </ItemsPanelTemplate>
222
                                                </ItemsControl.ItemsPanel>
223
                                            </ItemsControl>
224
                                            <Canvas x:Name="canvas_compareBorder" IsHitTestVisible="False" Width="{Binding ActualWidth, ElementName=zoomAndPanCanvas2}" Height="{Binding ActualHeight, ElementName=zoomAndPanCanvas2}" Panel.ZIndex="1">
225
                                                <!--<Canvas.RenderTransform>
226
                                                    --><!--<RotateTransform Angle="{Binding Angle, Source={x:Static common:ViewerDataModel.Instance}}"/>--><!--
227
                                                    <RotateTransform Angle="{Binding Angle, ElementName=zoomAndPanCanvas2}"/>
228
                                                </Canvas.RenderTransform>-->
229
                                            </Canvas>
230
                                        </Canvas>
231
                                    </Canvas>
232
                                </ZoomAndPan:ZoomAndPanControl>
233
                                <Grid Background="#FF353535" Opacity="0.5"/>
234

    
235
                                <Viewbox VerticalAlignment="Stretch" HorizontalAlignment="Stretch" StretchDirection="DownOnly" Stretch="Uniform">
236
                                    <TextBlock Text="Previous Document" HorizontalAlignment="Center" VerticalAlignment="Center" RenderTransformOrigin="0.5, 0.5" FontSize="50"
237
                                           Foreground="White" Opacity="0.5" FontWeight="Bold">
238
                                        <TextBlock.RenderTransform>
239
                                            <RotateTransform Angle="-25"/>
240
                                        </TextBlock.RenderTransform>
241
                                    </TextBlock>
242
                                </Viewbox>
243

    
244
                                <!--<telerik:RadExpander Header="OPEN" Background="Transparent" telerik:StyleManager.Theme="Office2016"
245
                                                     ExpandDirection="Right" VerticalAlignment="Top" HorizontalAlignment="Left">-->
246
                                <Grid Height="Auto" VerticalAlignment="Top" >
247
                                    <Grid.RowDefinitions>
248
                                        <RowDefinition/>
249
                                        <RowDefinition/>
250
                                    </Grid.RowDefinitions>
251
                                    <!--<Border Background="#3b3838" VerticalAlignment="Stretch" HorizontalAlignment="Stretch" Opacity="0.5" Grid.RowSpan="2"/>-->
252
                                    <Border Background="Black" VerticalAlignment="Stretch" HorizontalAlignment="Stretch" Opacity="0.5" Grid.RowSpan="2" BorderThickness="0"/>
253
                                    <StackPanel Orientation="Horizontal" HorizontalAlignment="Left">
254
                                        <!--<TextBlock Text="ReadOnly Mode" Foreground="#FFFF9A25" VerticalAlignment="Center" Margin="10"/>-->
255
                                        <TextBlock Text="Rev.A" Foreground="#FFFF9A25" VerticalAlignment="Center" Margin="10" x:Name="tlSyncRev"/>
256
                                        <TextBlock Text="Current Page : 1" Foreground="White" VerticalAlignment="Center"  x:Name="tlSyncPageNum"/>
257
                                    </StackPanel>
258
                                    <StackPanel Orientation="Horizontal" HorizontalAlignment="Right">                                        
259
                                        <!--<telerik:RadToggleButton x:Name="CompareMode" IsChecked="False" Content="Compare"  Margin="5" Checked="SyncCompare_Click" Unchecked="SyncCompare_Click" BorderThickness="0" telerik:StyleManager.Theme="Office2013"
260
                                                                       Style="{DynamicResource RadToggleSwtichButtonStyle}" Width="Auto" Padding="10,0"/>-->
261
                                        <!--<telerik:RadRibbonToggleButton x:Name="UserList" Content="User List" Foreground="white"  Margin="5" Click="SyncUserListExpender_Click" BorderThickness="0" telerik:StyleManager.Theme="Office2013" VerticalAlignment="Center"/>-->
262
                                        <toggle:HorizontalToggleSwitch x:Name="UserList" CheckedContent="User List" UncheckedContent="User List" Width="75" IsChecked="False" ThumbSize="25"
263
                                                                       FontSize="10" FontWeight="Normal" BorderBrush="Transparent" Opacity="0.6"
264
                                                                       Margin="5" Checked="SyncUserListExpender_Click" Unchecked="SyncUserListExpender_Click" BorderThickness="0" telerik:StyleManager.Theme="Office2013"/>
265
                                        
266
                                        <toggle:HorizontalToggleSwitch x:Name="CompareMode" CheckedContent="Compare On" UncheckedContent="Compare Off" Width="90" IsChecked="False" ThumbSize="25"
267
                                                                       FontSize="10" FontWeight="Normal" BorderBrush="Transparent" Opacity="0.6"
268
                                                                       Margin="5" Checked="SyncCompare_Click" Unchecked="SyncCompare_Click" BorderThickness="0" telerik:StyleManager.Theme="Office2013"/>
269
                                        
270
                                        <toggle:HorizontalToggleSwitch x:Name="MarkupMode" CheckedContent="Pdf" UncheckedContent="Markup" Width="75" IsChecked="False" ThumbSize="25"
271
                                                                       FontSize="10" FontWeight="Normal" BorderBrush="Transparent" Opacity="0.6"
272
                                                                       Margin="5" Checked="SyncChange_Click" Unchecked="SyncChange_Click" BorderThickness="0" telerik:StyleManager.Theme="Office2013"/>
273

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

    
279
                                        <!--<telerik:RadRibbonToggleButton x:Name="MArkupMode" Content="Markup Mode" Foreground="White"  Margin="5"  Click="SyncChange_Click" BorderThickness="0" telerik:StyleManager.Theme="Office2013"/>-->
280
                                        <!--<telerik:RadRibbonToggleButton x:Name="BalanceMode" Content="Balance Mode" Foreground="White"  Margin="5" Click="SyncPageBalance_Click" BorderThickness="0" telerik:StyleManager.Theme="Office2013"/>-->
281
                                        <telerik:RadRibbonButton  Margin="5" Click="SyncPageChange_Click" Tag="-1" telerik:StyleManager.Theme="Office2013" VerticalAlignment="Center">
282
                                            <Image Height="20"
283
                                                               Source="/KCOM;component/Resources/Images/MenuImage_New/up-arrow.png"
284
                                                               Stretch="Uniform" />
285
                                        </telerik:RadRibbonButton>
286
                                        <telerik:RadRibbonButton Margin="5" Click="SyncPageChange_Click" Tag="1" telerik:StyleManager.Theme="Office2013" VerticalAlignment="Center">
287
                                            <Image Height="20"
288
                                                               Source="/KCOM;component/Resources/Images/MenuImage_New/up-arrow.png" RenderTransformOrigin="0.5 0.5"
289
                                                               Stretch="Uniform">
290
                                                <Image.RenderTransform>
291
                                                    <RotateTransform Angle="180"/>
292
                                                </Image.RenderTransform>
293
                                            </Image>
294
                                        </telerik:RadRibbonButton>
295
                                        <telerik:RadRibbonButton  Margin="5" Click="SyncExit_Click" telerik:StyleManager.Theme="Office2013" VerticalAlignment="Center">
296
                                            <Image Height="20"
297
                                                               Source="/KCOM;component/Resources/Images/MenuImage_New/cancel.png"
298
                                                               Stretch="Uniform" />
299
                                        </telerik:RadRibbonButton>
300
                                    </StackPanel>
301
                                    <telerik:RadGridView telerik:StyleManager.Theme="Office2013" ShowGroupPanel="False" ShowGroupFooters="False" AutoExpandGroups="False"  x:Name="gridViewRevMarkup"
302
                                             AutoGenerateColumns="False" HorizontalContentAlignment="Center" SelectionChanged="gridViewRevMarkup_SelectionChanged" SelectionMode="Multiple" BorderThickness="0"
303
                                                      CanUserFreezeColumns ="False" Visibility="Collapsed"  GridLinesVisibility="None" 
304
                                             CanUserDeleteRows="True" CanUserInsertRows="False" IsFilteringAllowed="False" RowIndicatorVisibility="Collapsed" Grid.Row="1">
305
                                        <telerik:RadGridView.HeaderRowStyle>
306
                                            <Style TargetType="telerik:GridViewHeaderRow">
307
                                                <Setter Property="BorderThickness" Value="0"/>
308
                                                <Setter Property="Background" Value="Red"/>
309
                                                <Setter Property="Foreground" Value="White"/>
310
                                                <Setter Property="HorizontalContentAlignment" Value="Center"/>
311
                                                <Setter Property="FontWeight" Value="Black"/>
312
                                                <Setter Property="telerik:StyleManager.Theme" Value="Office2013"/>
313
                                            </Style>
314
                                        </telerik:RadGridView.HeaderRowStyle>
315
                                        <telerik:RadGridView.RowStyle>
316
                                            <Style TargetType="telerik:GridViewRow">
317
                                                <Setter Property="HorizontalContentAlignment" Value="Center"/>
318
                                                <Setter Property="Background" Value="{Binding Path=Consolidate, Converter={StaticResource ConsolidationBackgroudConverter}}" />
319
                                                <Setter Property="Foreground" Value="White"/>
320
                                            </Style>
321
                                        </telerik:RadGridView.RowStyle>
322
                                        <telerik:RadGridView.Columns>
323
                                            <telerik:GridViewSelectColumn Width="Auto"  HeaderCellStyle="{StaticResource GridViewHeaderStyle}">
324
                                                <telerik:GridViewSelectColumn.Header>
325
                                                    <telerik:RadRibbonToggleButton  telerik:StyleManager.Theme="Office2016"
326
                                                                           Visibility="Collapsed" Width="Auto">
327
                                                        <telerik:RadRibbonToggleButton.Content>
328
                                                            <Image HorizontalAlignment="Center"
329
                                                           VerticalAlignment="Center"
330
                                                           Source="/KCOM;component/Resources/Images/MenuImage/check.png" />
331
                                                        </telerik:RadRibbonToggleButton.Content>
332
                                                    </telerik:RadRibbonToggleButton>
333
                                                </telerik:GridViewSelectColumn.Header>
334
                                            </telerik:GridViewSelectColumn>
335
                                            <telerik:GridViewDataColumn Width="Auto"  HeaderCellStyle="{StaticResource GridViewHeaderStyle}"
336
                                                                Header="Color" 
337
                                                                IsReadOnly="True">
338
                                                <telerik:GridViewDataColumn.CellTemplate>
339
                                                    <DataTemplate>
340
                                                        <Grid>
341
                                                            <Grid>
342
                                                                <Rectangle Margin="0,2,2,2" Fill="{Binding DisplayColor, Converter={StaticResource StringToColorConverter}}" />
343
                                                                <TextBlock Foreground="#00000000" Text="Color" />
344
                                                            </Grid>
345
                                                            <Grid VerticalAlignment="Center" Visibility="{Binding AvoidConsolidate, Converter={StaticResource BoolToVisibleConverter}}">
346
                                                                <Image Height="15"
347
                                                               Source="/KCOM;component/Resources/Images/MenuImage/lock_2.png"
348
                                                               Stretch="Uniform" />
349
                                                            </Grid>
350
                                                        </Grid>
351

    
352
                                                    </DataTemplate>
353
                                                </telerik:GridViewDataColumn.CellTemplate>
354
                                            </telerik:GridViewDataColumn>
355
                                            <telerik:GridViewDataColumn Header="DEPT"  IsReadOnly="True"  Width="Auto" HeaderCellStyle="{StaticResource GridViewHeaderStyle}">
356
                                                <telerik:GridViewDataColumn.CellTemplate>
357
                                                    <DataTemplate>
358
                                                        <TextBlock Text="{Binding Depatment}"  FontSize="12"/>
359
                                                    </DataTemplate>
360
                                                </telerik:GridViewDataColumn.CellTemplate>
361
                                            </telerik:GridViewDataColumn>
362
                                            <telerik:GridViewDataColumn Header="NAME"  IsReadOnly="True" Width="Auto"  HeaderCellStyle="{StaticResource GridViewHeaderStyle}">
363
                                                <telerik:GridViewDataColumn.CellTemplate>
364
                                                    <DataTemplate>
365
                                                        <TextBlock Text="{Binding UserName, Mode=TwoWay}" FontSize="10"/>
366
                                                    </DataTemplate>
367
                                                </telerik:GridViewDataColumn.CellTemplate>
368
                                            </telerik:GridViewDataColumn>
369
                                            <telerik:GridViewDataColumn Header="CONSOLIDATION"  IsReadOnly="True" Width="Auto"  HeaderCellStyle="{StaticResource GridViewHeaderStyle}">
370
                                                <telerik:GridViewDataColumn.CellTemplate>
371
                                                    <DataTemplate>
372
                                                        <!--<TextBlock Text="{Binding Consolidate}"/>-->
373
                                                        <Grid>
374
                                                            <Grid.ColumnDefinitions>
375
                                                                <ColumnDefinition Width="Auto" />
376
                                                                <ColumnDefinition Width="Auto" />
377
                                                                <ColumnDefinition Width="Auto" />
378
                                                            </Grid.ColumnDefinitions>
379

    
380
                                                            <TextBlock Grid.Column="0"
381
                                                               Foreground="Red"
382
                                                               Text="{Binding AvoidConsolidate,
383
                                                                              Converter={StaticResource AvoidStringConverter}}" />
384
                                                            <TextBlock Grid.Column="1"
385
                                                               Foreground="Blue"
386
                                                               Text="{Binding PartConsolidate,
387
                                                                              Converter={StaticResource TeamConsoliStringConverter}}" />
388
                                                            <TextBlock Grid.Column="2" Text="{Binding Consolidate, Converter={StaticResource ConsoliStringConverter}}" />
389
                                                            <!--
390
                                                        <TextBlock HorizontalAlignment="Center" Grid.Column="2">
391
                                                        <TextBlock.Text>
392
                                                        <Binding Converter="{StaticResource ConsoliStringConverter}"/>
393
                                                        </TextBlock.Text>
394
                                                        </TextBlock>
395
                                                    -->
396
                                                        </Grid>
397
                                                    </DataTemplate>
398
                                                </telerik:GridViewDataColumn.CellTemplate>
399
                                            </telerik:GridViewDataColumn>
400
                                            
401
                                            <telerik:GridViewDataColumn Header="Comment Move"  IsReadOnly="True" Width="Auto"  HeaderCellStyle="{StaticResource GridViewHeaderStyle}">
402
                                                <telerik:GridViewDataColumn.CellTemplate>
403
                                                    <DataTemplate>
404
                                                        <telerik:RadButton telerik:StyleManager.Theme="Office2016" HorizontalAlignment="Stretch" VerticalAlignment="Stretch" Content="COPY" PreviewMouseDown="Comment_Move" />
405
                                                        <!--<TextBlock Text="{Binding UserName, Mode=TwoWay}" FontSize="10"/>-->
406
                                                    </DataTemplate>
407
                                                </telerik:GridViewDataColumn.CellTemplate>
408
                                            </telerik:GridViewDataColumn>
409
                                            
410
                                            <telerik:GridViewDataColumn Header=""  IsReadOnly="True" Width="*"  HeaderCellStyle="{StaticResource GridViewHeaderStyle}">
411
                                            </telerik:GridViewDataColumn>
412
                                        </telerik:RadGridView.Columns>
413
                                    </telerik:RadGridView>
414
                                </Grid>
415
                                <!--</telerik:RadExpander>-->
416

    
417

    
418
                            </Grid>
419
                        </telerik:RadPane>
420
                    </telerik:RadPaneGroup>
421
                </telerik:RadSplitContainer>
422
            </telerik:RadDocking.DocumentHost>
423

    
424

    
425
            <telerik:RadSplitContainer Orientation="Vertical" InitialPosition="DockedLeft" Width="250" MinWidth="250">
426
                <!--<telerik:RadPaneGroup Margin="0" Style="{DynamicResource Style_RadPanelGroup}">-->
427
                <telerik:RadPaneGroup Margin="0" telerik:StyleManager.Theme="Office2016" x:Name="PN_Navi">
428
                    <telerik:RadPane Header="DOCUMENT" CanFloat="False" CanUserClose="True" CanUserPin="True" 
429
                                     ContextMenuTemplate="{x:Null}" PaneHeaderVisibility="Visible" telerik:StyleManager.Theme="Office2016">
430
                        <!--<telerik:RadPane.TitleTemplate>
431
                            <DataTemplate>
432
                                <Grid>
433
                                    <Grid.ColumnDefinitions>
434
                                        <ColumnDefinition Width="Auto" />
435
                                        <ColumnDefinition />
436
                                    </Grid.ColumnDefinitions>
437
                                    <ContentPresenter Content="{Binding}"
438
                                                      Margin="0,0,75,0" />
439
                                         <telerik:RadButton Grid.Column="1" Content="PIN"/>
440
                                </Grid>
441
                            </DataTemplate>
442
                        </telerik:RadPane.TitleTemplate>-->
443
                        <!--<Grid VerticalAlignment="Stretch" Margin="0">
444
                            <Grid.RowDefinitions>
445
                                <RowDefinition Height="30"/>
446
                                <RowDefinition Height="*"/>
447
                            </Grid.RowDefinitions>
448
                            <Border BorderBrush="{Binding ElementName=leftPanel}" BorderThickness="0,1">
449
                                <TextBlock Text="Thumbnail" Margin="5"/>
450
                            </Border>
451
                            <controls:PageNavigator x:Name="pageNavigator" Grid.Row="1"/>
452
                        </Grid>-->
453
                        <Grid>
454
                            <!--<controls:PageNavigator x:Name="pageNavigator" Grid.Row="1" Visibility="Collapsed"/>-->
455
                            <!--<Grid.RowDefinitions>
456
                                <RowDefinition Height="Auto"/>
457
                                <RowDefinition Height="*"/>
458
                            </Grid.RowDefinitions>-->
459
                            <!--<telerik:RadButton Content="Panorama" telerik:StyleManager.Theme="Office2016" FontSize="8"  Background="#FF0054B9" Foreground="White"
460
                                       BorderThickness="0" CornerRadius="3" HorizontalAlignment="Right" Padding="5" Margin="5,10"/>-->
461
                            <controls:Sample x:Name="pageNavigator"/>
462
                        </Grid>
463

    
464
                    </telerik:RadPane>
465
                </telerik:RadPaneGroup>
466
            </telerik:RadSplitContainer>
467

    
468
            <telerik:RadSplitContainer Orientation="Vertical" InitialPosition="DockedRight" MaxWidth="300" Width="300">
469
                <telerik:RadPaneGroup telerik:StyleManager.Theme="Office2016">
470
                    <telerik:RadPane Header="SEARCH" CanFloat="False" CanUserClose="False"  ContextMenuTemplate="{x:Null}" IsPinned="False" telerik:StyleManager.Theme="Office2016" x:Name="searchPane">
471
                        <controls:SearchPanel />
472
                    </telerik:RadPane>
473
                </telerik:RadPaneGroup>
474
                <telerik:RadPaneGroup telerik:StyleManager.Theme="Office2016">
475
                    <telerik:RadPane Header="M-TALK" CanFloat="False" CanUserClose="False"  ContextMenuTemplate="{x:Null}" IsPinned="False" telerik:StyleManager.Theme="Office2016"  x:Name="talkPane">
476
                        <messanger:ConversationView/>
477
                    </telerik:RadPane>
478
                </telerik:RadPaneGroup>
479
                <telerik:RadPaneGroup Visibility="Collapsed" telerik:StyleManager.Theme="Office2016">
480
                    <telerik:RadPane Header="Symbol" Visibility="Collapsed" CanFloat="False" CanUserClose="False"  ContextMenuTemplate="{x:Null}" IsPinned="False" telerik:StyleManager.Theme="Office2016">
481
                        <telerik:RadButton Click="Create_Symbol">Create</telerik:RadButton>
482
                    </telerik:RadPane>
483
                </telerik:RadPaneGroup>
484
            </telerik:RadSplitContainer>
485
            <telerik:RadSplitContainer Orientation="Horizontal" InitialPosition="DockedBottom">
486
                <telerik:RadPaneGroup telerik:StyleManager.Theme="Office2016" telerik:ProportionalStackPanel.RelativeSize="140, 100">
487
                    <telerik:RadPane Header="User information List"  CanFloat="False" CanUserClose="False"  ContextMenuTemplate="{x:Null}" telerik:StyleManager.Theme="Office2016"  x:Name="infoListPane">
488
                        <telerik:RadPane.TitleTemplate>
489
                            <DataTemplate>
490
                                <Grid>
491
                                    <Grid.ColumnDefinitions>
492
                                        <ColumnDefinition Width="*" />
493
                                        <ColumnDefinition Width="Auto" />
494
                                    </Grid.ColumnDefinitions>
495

    
496
                                    <StackPanel Orientation="Horizontal">
497
                                        <TextBlock Margin="1"
498
                                                   VerticalAlignment="Center"
499
                                                   Text="{Binding}" />
500
                                        <telerik:RadRibbonButton x:Name="btnConsolidate"
501
                                                                 VerticalAlignment="Center"
502
                                                                 Click="btnConsolidate_Click"
503
                                                                 Loaded="btnConsolidate_Loaded"
504
                                                                 telerik:StyleManager.Theme="Office2016"
505
                                                                 ToolTipService.ToolTip="Consolidate">
506
                                            <Border Background="#E9F0F8"
507
                                                    BorderBrush="#839AB3"
508
                                                    BorderThickness="1">
509
                                                <StackPanel Margin="1" Orientation="Horizontal">
510
                                                    <!--<Image Width="15" Source="/DeepView;component/Images/MenuImage/document-new.png" />-->
511
                                                    <TextBlock Margin="1"
512
                                                               VerticalAlignment="Center"
513
                                                               Foreground="Black"
514
                                                               Text="Consolidate" />
515
                                                </StackPanel>
516
                                            </Border>
517
                                        </telerik:RadRibbonButton>
518
                                        <telerik:RadRibbonButton x:Name="btnTeamConsolidate"
519
                                                                 VerticalAlignment="Center"
520
                                                                 Click="btnTeamConsolidate_Click"
521
                                                                 Loaded="btnTeamConsolidate_Loaded"
522
                                                                 telerik:StyleManager.Theme="Office2016"
523
                                                                 ToolTipService.ToolTip="Consolidate">
524
                                            <Border Background="#E9F0F8"
525
                                                    BorderBrush="#839AB3"
526
                                                    BorderThickness="1">
527
                                                <StackPanel Margin="1" Orientation="Horizontal">
528
                                                    <!--<Image Width="15" Source="/DeepView;component/Images/MenuImage/document-team.png" />-->
529
                                                    <TextBlock Margin="1"
530
                                                               VerticalAlignment="Center"
531
                                                               Foreground="Black"
532
                                                               Text="Team Consolidate" />
533
                                                </StackPanel>
534
                                            </Border>
535
                                        </telerik:RadRibbonButton>
536
                                        <telerik:RadRibbonButton x:Name="btnFinalPDF"
537
                                                                 VerticalAlignment="Center"
538
                                                                 Click="FinalPDFEvent"
539
                                                                 Loaded="btnFinalPDF_Loaded"
540
                                                                 telerik:StyleManager.Theme="Office2016"
541
                                                                 ToolTipService.ToolTip="FinalPDF">
542
                                            <Border Background="#E9F0F8"
543
                                                    BorderBrush="#839AB3"
544
                                                    BorderThickness="1">
545
                                                <StackPanel Margin="1" Orientation="Horizontal">
546
                                                    <!--<Image Width="15" Source="/DeepView;component/Images/MenuImage/final_pdf2.png" />-->
547
                                                    <TextBlock Margin="1"
548
                                                               VerticalAlignment="Center"
549
                                                               Foreground="Black"
550
                                                               Text="Final PDF" />
551
                                                </StackPanel>
552
                                            </Border>
553
                                        </telerik:RadRibbonButton>
554
                                    </StackPanel>
555
                                    <!--<StackPanel Grid.Column="1"
556
                                                HorizontalAlignment="Right"
557
                                                Orientation="Horizontal">
558
                                        <telerik:RadRibbonButton VerticalAlignment="Center"
559
                                                                 Click="ExpandButtonEvent_Click"
560
                                                                 Tag="CLOSE"
561
                                                                 telerik:StyleManager.Theme="Windows8"
562
                                                                 ToolTipService.ToolTip="Expand On">
563
                                        </telerik:RadRibbonButton>
564

    
565
                                        <telerik:RadRibbonButton VerticalAlignment="Center"
566
                                                                 Click="ExpandButtonEvent_Click"
567
                                                                 Tag="OPEN"
568
                                                                 telerik:StyleManager.Theme="Windows8"
569
                                                                 ToolTipService.ToolTip="Expand Off">
570
                                            <Image Width="15"
571
                                                   RenderTransformOrigin="0.5,0.5">
572
                                                <Image.RenderTransform>
573
                                                    <RotateTransform Angle="180" />
574
                                                </Image.RenderTransform>
575
                                            </Image>
576
                                        </telerik:RadRibbonButton>
577
                                    </StackPanel>-->
578
                                </Grid>
579
                            </DataTemplate>
580
                        </telerik:RadPane.TitleTemplate>
581
                        <telerik:RadGridView telerik:StyleManager.Theme="Office2013" ShowGroupPanel="False" ShowGroupFooters="False" AutoExpandGroups="False"  x:Name="gridViewMarkup"
582
                                             AutoGenerateColumns="False" HorizontalContentAlignment="Center" SelectionChanged="gridViewMarkup_SelectionChanged" SelectionMode="Multiple"
583
                                             CanUserDeleteRows="True" CanUserInsertRows="False" IsFilteringAllowed="False" RowIndicatorVisibility="Collapsed">
584
                            <telerik:RadGridView.RowStyle>
585
                                <Style TargetType="telerik:GridViewRow">
586
                                    <Setter Property="HorizontalContentAlignment" Value="Center"/>
587
                                    <Setter Property="Background" Value="{Binding Path=Consolidate, Converter={StaticResource ConsolidationBackgroudConverter}}" />
588
                                    <Setter Property="Visibility" Value="{Binding Path=IsPreviewUser,Converter={StaticResource previewerVisibleConverter}}"/>
589
                                    <!--<Setter Property="Template" Value="{StaticResource GridViewRowTemplate}" />-->
590
                                </Style>
591
                            </telerik:RadGridView.RowStyle>
592
                            <telerik:RadGridView.Columns>
593
                                <telerik:GridViewSelectColumn Width="Auto">
594
                                    <telerik:GridViewSelectColumn.Header>
595
                                        <telerik:RadRibbonToggleButton  telerik:StyleManager.Theme="Office2016"
596
                                                                           Visibility="Collapsed" Width="Auto">
597
                                            <telerik:RadRibbonToggleButton.Content>
598
                                                <Image HorizontalAlignment="Center"
599
                                                           VerticalAlignment="Center"
600
                                                           Source="/KCOM;component/Resources/Images/MenuImage/check.png" />
601
                                            </telerik:RadRibbonToggleButton.Content>
602
                                        </telerik:RadRibbonToggleButton>
603
                                    </telerik:GridViewSelectColumn.Header>
604
                                </telerik:GridViewSelectColumn>
605
                                <telerik:GridViewDataColumn Width="Auto"
606
                                                                Header="Color"
607
                                                                IsReadOnly="True">
608
                                    <telerik:GridViewDataColumn.CellTemplate>
609
                                        <DataTemplate>
610
                                            <Grid>
611
                                                <Grid>
612
                                                    <Rectangle Margin="0,2,2,2" Fill="{Binding DisplayColor, Converter={StaticResource StringToColorConverter}}" />
613
                                                    <TextBlock Foreground="#00000000" Text="Color" />
614
                                                </Grid>
615
                                                <Grid VerticalAlignment="Center" Visibility="{Binding AvoidConsolidate, Converter={StaticResource BoolToVisibleConverter}}">
616
                                                    <Image Height="15"
617
                                                               Source="/KCOM;component/Resources/Images/MenuImage/lock_2.png"
618
                                                               Stretch="Uniform" />
619
                                                </Grid>
620
                                            </Grid>
621

    
622
                                        </DataTemplate>
623
                                    </telerik:GridViewDataColumn.CellTemplate>
624
                                </telerik:GridViewDataColumn>
625
                                <telerik:GridViewDataColumn Header="DEPT"  IsReadOnly="True"  Width="Auto">
626
                                    <telerik:GridViewDataColumn.CellTemplate>
627
                                        <DataTemplate>
628
                                            <TextBlock Text="{Binding Depatment}"/>
629
                                        </DataTemplate>
630
                                    </telerik:GridViewDataColumn.CellTemplate>
631
                                </telerik:GridViewDataColumn>
632
                                <telerik:GridViewDataColumn Header="NAME"  IsReadOnly="True" Width="Auto">
633
                                    <telerik:GridViewDataColumn.CellTemplate>
634
                                        <DataTemplate>
635
                                            <TextBlock Text="{Binding UserName, Mode=TwoWay}"/>
636
                                        </DataTemplate>
637
                                    </telerik:GridViewDataColumn.CellTemplate>
638
                                </telerik:GridViewDataColumn>
639
                                <telerik:GridViewDataColumn Header="UPDATETIME"  IsReadOnly="True" Width="Auto">
640
                                    <telerik:GridViewDataColumn.CellTemplate>
641
                                        <DataTemplate>
642
                                            <TextBlock Text="{Binding CreateTime}"/>
643
                                        </DataTemplate>
644
                                    </telerik:GridViewDataColumn.CellTemplate>
645
                                </telerik:GridViewDataColumn>
646
                                <telerik:GridViewDataColumn Header="CONSOLIDATION"  IsReadOnly="True" Width="Auto">
647
                                    <telerik:GridViewDataColumn.CellTemplate>
648
                                        <DataTemplate>
649
                                            <!--<TextBlock Text="{Binding Consolidate}"/>-->
650
                                            <Grid>
651
                                                <Grid.ColumnDefinitions>
652
                                                    <ColumnDefinition Width="Auto" />
653
                                                    <ColumnDefinition Width="Auto" />
654
                                                    <ColumnDefinition Width="Auto" />
655
                                                </Grid.ColumnDefinitions>
656

    
657
                                                <TextBlock Grid.Column="0"
658
                                                               Foreground="Red"
659
                                                               Text="{Binding AvoidConsolidate,
660
                                                                              Converter={StaticResource AvoidStringConverter}}" />
661
                                                <TextBlock Grid.Column="1"
662
                                                               Foreground="Blue"
663
                                                               Text="{Binding PartConsolidate,
664
                                                                              Converter={StaticResource TeamConsoliStringConverter}}" />
665
                                                <TextBlock Grid.Column="2" Text="{Binding Consolidate, Converter={StaticResource ConsoliStringConverter}}" />
666
                                                <!--
667
                                                        <TextBlock HorizontalAlignment="Center" Grid.Column="2">
668
                                                        <TextBlock.Text>
669
                                                        <Binding Converter="{StaticResource ConsoliStringConverter}"/>
670
                                                        </TextBlock.Text>
671
                                                        </TextBlock>
672
                                                    -->
673
                                            </Grid>
674
                                        </DataTemplate>
675
                                    </telerik:GridViewDataColumn.CellTemplate>
676
                                </telerik:GridViewDataColumn>
677
                                <telerik:GridViewDataColumn Header="DESCRIPTION"  IsReadOnly="True" Width="*">
678
                                    <telerik:GridViewDataColumn.CellTemplate>
679
                                        <DataTemplate>
680
                                            <TextBlock Text="{Binding Description}"/>
681
                                        </DataTemplate>
682
                                    </telerik:GridViewDataColumn.CellTemplate>
683
                                </telerik:GridViewDataColumn>
684
                                <telerik:GridViewDataColumn Header="DELETE"  IsReadOnly="True" Width="Auto">
685
                                    <telerik:GridViewDataColumn.CellTemplate>
686
                                        <DataTemplate>
687
                                            <Button Content="DELETE" Visibility="{Binding userDelete, Converter={StaticResource BooleanToVisibilityConverter}}" Click="DeleteCommentEvent" CommandParameter="{Binding}"/>
688
                                        </DataTemplate>
689
                                    </telerik:GridViewDataColumn.CellTemplate>
690
                                </telerik:GridViewDataColumn>
691
                            </telerik:RadGridView.Columns>
692
                        </telerik:RadGridView>
693
                    </telerik:RadPane>
694
                </telerik:RadPaneGroup>
695
                <telerik:RadPaneGroup telerik:StyleManager.Theme="Office2016" telerik:ProportionalStackPanel.RelativeSize="60, 100">
696
                    <telerik:RadPane Header="Document History"  CanFloat="False" CanUserClose="False"  ContextMenuTemplate="{x:Null}" telerik:StyleManager.Theme="Office2016"  x:Name="historyPane">
697
                        <Grid>
698
                            <telerik:RadGridView telerik:StyleManager.Theme="Office2013" ShowGroupPanel="False" ShowGroupFooters="False" AutoExpandGroups="False"  x:Name="gridViewHistory"
699
                                             CanUserDeleteRows="True" CanUserInsertRows="False" IsFilteringAllowed="False" RowIndicatorVisibility="Collapsed" AutoGenerateColumns="False">
700
                                <telerik:RadGridView.Columns>
701
                                    <telerik:GridViewDataColumn Header="Rev No"  IsReadOnly="True" Width="Auto">
702
                                        <telerik:GridViewDataColumn.CellTemplate>
703
                                            <DataTemplate>
704
                                                <TextBlock Text="{Binding RevNo}" HorizontalAlignment="Center"/>
705
                                            </DataTemplate>
706
                                        </telerik:GridViewDataColumn.CellTemplate>
707
                                    </telerik:GridViewDataColumn>
708
                                    <telerik:GridViewDataColumn Header="Slip No"  IsReadOnly="True" Width="Auto">
709
                                        <telerik:GridViewDataColumn.CellTemplate>
710
                                            <DataTemplate>
711
                                                <TextBlock Text="{Binding GroupNo}" HorizontalAlignment="Center"/>
712
                                            </DataTemplate>
713
                                        </telerik:GridViewDataColumn.CellTemplate>
714
                                    </telerik:GridViewDataColumn>
715
                                    <telerik:GridViewDataColumn Header="RESULT"  IsReadOnly="True" Width="Auto">
716
                                        <telerik:GridViewDataColumn.CellTemplate>
717
                                            <DataTemplate>
718
                                                <TextBlock Text="{Binding RESULT}" HorizontalAlignment="Center"/>
719
                                            </DataTemplate>
720
                                        </telerik:GridViewDataColumn.CellTemplate>
721
                                    </telerik:GridViewDataColumn>
722
                                    <telerik:GridViewDataColumn CellStyle="{StaticResource GridViewAlign}"  IsReadOnly="True"
723
                                                                        DataMemberBinding="{Binding FROM_VENDOR}"
724
                                                                        Header="File(in)" telerik:StyleManager.Theme="Office2013"
725
                                                                        HeaderTextAlignment="Center">
726
                                        <telerik:GridViewDataColumn.CellTemplate>
727
                                            <DataTemplate>
728
                                                <Image Height="22" Source="/KCOM;component/Resources/Images/MenuImage_New/PDF.png" 
729
                                                       MouseLeftButtonDown="PdfLink_ButtonDown" Tag="{Binding FROM_VENDOR}"
730
                                                       Visibility="{Binding FROM_VENDOR, Converter={StaticResource PDFVisibleConverter}}"/>
731
                                            </DataTemplate>
732
                                        </telerik:GridViewDataColumn.CellTemplate>
733
                                    </telerik:GridViewDataColumn>
734

    
735
                                    <telerik:GridViewDataColumn CellStyle="{StaticResource GridViewAlign}"
736
                                                                        DataMemberBinding="{Binding TO_VENDOR}" IsReadOnly="True"
737
                                                                        Header="File(out)" telerik:StyleManager.Theme="Office2013"
738
                                                                        HeaderTextAlignment="Center">
739
                                        <telerik:GridViewDataColumn.CellTemplate>
740
                                            <DataTemplate>
741
                                                <Image Height="22" Source="/KCOM;component/Resources/Images/MenuImage_New/PDF.png" 
742
                                                       MouseLeftButtonDown="PdfLink_ButtonDown" Tag="{Binding TO_VENDOR}"
743
                                                       Visibility="{Binding TO_VENDOR, Converter={StaticResource PDFVisibleConverter}}"/>
744
                                            </DataTemplate>
745
                                        </telerik:GridViewDataColumn.CellTemplate>
746
                                    </telerik:GridViewDataColumn>
747

    
748

    
749
                                    <!--<telerik:GridViewDataColumn Header="FROM_VENDOR"  IsReadOnly="True" Width="Auto">
750
                                    <telerik:GridViewDataColumn.CellTemplate>
751
                                        <DataTemplate>
752
                                            <telerik:RadRibbonButton telerik:StyleManager.Theme="Office2016">
753
                                                <
754
                                                <TextBlock Text="{Binding FROM_VENDOR}" HorizontalAlignment="Center"/>
755
                                            </telerik:RadRibbonButton>                                            
756
                                        </DataTemplate>
757
                                    </telerik:GridViewDataColumn.CellTemplate>
758
                                </telerik:GridViewDataColumn>-->
759
                                    <!--<telerik:GridViewDataColumn Header="TO_VENDOR"  IsReadOnly="True" Width="Auto">
760
                                    <telerik:GridViewDataColumn.CellTemplate>
761
                                        <DataTemplate>
762
                                            <TextBlock Text="{Binding TO_VENDOR}" HorizontalAlignment="Center"/>
763
                                        </DataTemplate>
764
                                    </telerik:GridViewDataColumn.CellTemplate>
765
                                </telerik:GridViewDataColumn>-->
766
                                    <telerik:GridViewDataColumn Header="SYNC"  IsReadOnly="True" Width="Auto" CellStyle="{StaticResource GridViewAlign}" HeaderTextAlignment="Center">
767
                                        <telerik:GridViewDataColumn.CellTemplate>
768
                                            <DataTemplate>
769
                                                <!--<Border Grid.Column="1" Background="#FF0054B9" CornerRadius="5" Margin="5" VerticalAlignment="Center" MinHeight="20"
770
                                                        Visibility="{Binding IsSyncPossible, Converter={StaticResource BoolToVisibleConverter}}">
771
                                                    <telerik:RadButton Content="OPEN" telerik:StyleManager.Theme="Office2016"  Foreground="White"
772
                                                                       Background="Transparent" HorizontalAlignment="Stretch" Click="RadButton_Click" CommandParameter="{Binding}"/>
773
                                                </Border>-->
774
                                                <telerik:RadButton  Margin="5" BorderThickness="0" Click="RadButton_Click" CommandParameter="{Binding}" Background="Transparent"
775
                                                                   Visibility="{Binding IsSyncPossible, Converter={StaticResource BoolToVisibleConverter}}">
776
                                                    <telerik:RadButton.Content>
777
                                                        <Image Source="/KCOM;component/Resources/Images/MenuImage_new/file.png" Stretch="Uniform" Width="20" Height="20"/>
778
                                                    </telerik:RadButton.Content>
779
                                                </telerik:RadButton>
780

    
781
                                                <!--<TextBlock Text="{Binding IsSyncPossible}" HorizontalAlignment="Center"/>-->
782
                                            </DataTemplate>
783
                                        </telerik:GridViewDataColumn.CellTemplate>
784
                                    </telerik:GridViewDataColumn>
785
                                </telerik:RadGridView.Columns>
786
                            </telerik:RadGridView>
787
                            <telerik:RadBusyIndicator x:Name="gridViewHistory_Busy" IsBusy="False" telerik:StyleManager.Theme="Office2016"
788
                                                  BusyContent="Sync Data Loading"/>
789
                        </Grid>
790
                    </telerik:RadPane>
791
                </telerik:RadPaneGroup>
792
            </telerik:RadSplitContainer>
793

    
794

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