프로젝트

일반

사용자정보

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

markus / KCOM / Views / MainMenu.xaml @ c854511f

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

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

    
130
                                            <Canvas x:Name="drawingRotateCanvas"
131
                                                        Panel.ZIndex="1"
132
                                                        Background="{Binding BackgroundImage, Mode=OneWay, Source={x:Static common:ViewerDataModel.Instance}}">
133
                                                <Canvas.RenderTransform>
134
                                                    <TransformGroup>
135
                                                        <RotateTransform x:Name="rotate" Angle="0"/>
136
                                                        <TranslateTransform x:Name="translate" X="0" Y="0"/>
137
                                                    </TransformGroup>
138
                                                </Canvas.RenderTransform>
139

    
140
                                                <ItemsControl ItemsSource="{Binding MarkupControls, Source={x:Static common:ViewerDataModel.Instance}}"
141
                                          Panel.ZIndex="1">
142
                                                    <ItemsControl.ItemsPanel>
143
                                                        <ItemsPanelTemplate>
144
                                                            <Canvas />
145
                                                        </ItemsPanelTemplate>
146
                                                    </ItemsControl.ItemsPanel>
147
                                                </ItemsControl>
148
                                                <ItemsControl ItemsSource="{Binding MarkupControls_USER, Source={x:Static common:ViewerDataModel.Instance}}"
149
                                          Panel.ZIndex="30">
150
                                                    <ItemsControl.ItemsPanel>
151
                                                        <ItemsPanelTemplate>
152
                                                            <Canvas />
153
                                                        </ItemsPanelTemplate>
154
                                                    </ItemsControl.ItemsPanel>
155
                                                </ItemsControl>
156
                                                <InkPresenter x:Name="inkBoard" HorizontalAlignment="Stretch" Panel.ZIndex="1" VerticalAlignment="Stretch"/>
157
                                                <InkCanvas x:Name="inkDrawingCanvas"
158
                                               Background="Transparent"
159
                                               IsEnabled="False"
160
                                               Panel.ZIndex="1"
161
                                               Strokes="{Binding MarkupPens, Source={x:Static common:ViewerDataModel.Instance}}" Height="1" Width="1">
162
                                                    <!--<Rectangle Height="41" HorizontalAlignment="Left"  Name="rectangle1" Stroke="Black" VerticalAlignment="Top" Width="69" Fill="#FFDB1111" />-->
163
                                                    <!--<Ellipse Height="41" HorizontalAlignment="Left"  Name="rectangle1" Stroke="Black" VerticalAlignment="Top" Width="69" Fill="#FFDB1111" />-->
164

    
165
                                                    <!--<MarkupToPDF:RectangleControl Height="200" HorizontalAlignment="Center" Name="rectangle2" StrokeColor="Black" VerticalAlignment="Top" Width="00" FillColor="Red"/>-->
166
                                                </InkCanvas>
167
                                                <!--강인구 추가-->
168
                                                <!--<Border x:Name="dragZoomBorder"
169
                                                    BorderBrush="Black"
170
                                                    BorderThickness="1"
171
                                                    
172
                                                    Background="Transparent" 
173
                                                    CornerRadius="1"
174
                                                    Panel.ZIndex="1"
175
                                                    Opacity="0.5"/>-->
176

    
177

    
178
                                                <!--<Border Background="Red" Panel.ZIndex="1" Opacity="0.5" Visibility="Visible" Width="100" Height="100" />-->
179
                                                <!--<controls:ScaleDecodeImage Panel.ZIndex="0" x:Name="mainPanel"
180
                                                   Source="{Binding ImageViewPath,Mode=TwoWay, Source={x:Static common:ViewerDataModel.Instance}}" 
181
                                                    Width="{Binding ImageViewWidth,Mode=TwoWay, Source={x:Static common:ViewerDataModel.Instance}}"
182
                                                        Height="{Binding ImageViewHeight,Mode=TwoWay, Source={x:Static common:ViewerDataModel.Instance}}">
183
                                                </controls:ScaleDecodeImage>-->
184
                                                <Image Panel.ZIndex="0" x:Name="mainPanel" RenderOptions.BitmapScalingMode="HighQuality"
185
                                                       RenderOptions.EdgeMode="Unspecified" RenderOptions.ClearTypeHint="Enabled"
186
                                                        Source="{Binding ImageViewPath, Mode=OneWay, Source={x:Static common:ViewerDataModel.Instance}}" 
187
                                                         Width="{Binding ImageViewWidth, Mode=TwoWay, Source={x:Static common:ViewerDataModel.Instance}}"
188
                                                        Height="{Binding ImageViewHeight, Mode=TwoWay, Source={x:Static common:ViewerDataModel.Instance}}"
189
                                                           />
190
                                                <Canvas x:Name="SelectLayer" HorizontalAlignment="Stretch" VerticalAlignment="Stretch" Panel.ZIndex="32766"/>
191
                                                <Border x:Name="dragSelectionBorder" Visibility="Collapsed"
192
                                                    BorderBrush="Blue"
193
                                                    BorderThickness="1"
194
                                                    Background="LightBlue" 
195
                                                    CornerRadius="1"
196
                                                    Panel.ZIndex="1"
197
                                                    Opacity="0.5"/>
198
                                                <Border x:Name="dragCaptureBorder" Visibility="Collapsed"
199
                                                    BorderBrush="Blue"
200
                                                    BorderThickness="1"
201
                                                    Background="Blue" 
202
                                                    CornerRadius="1"
203
                                                    Panel.ZIndex="1"
204
                                                    Opacity="0.5"/>
205
                                                <Border x:Name="dragZoomBorder" Visibility="Collapsed"
206
                                                    BorderThickness="3"
207
                                                    Background="Transparent" 
208
                                                    CornerRadius="1"
209
                                                    Panel.ZIndex="1"
210
                                                    Opacity="1">
211
                                                    <Border.BorderBrush>
212
                                                        <VisualBrush>
213
                                                            <VisualBrush.Visual>
214
                                                                <Rectangle StrokeDashArray="4 2" Stroke="Gray" StrokeThickness="1"
215
                                                                  Width="{Binding ActualWidth, RelativeSource={RelativeSource AncestorType={x:Type Border}}}"
216
                                                                  Height="{Binding ActualHeight, RelativeSource={RelativeSource AncestorType={x:Type Border}}}"/>
217
                                                            </VisualBrush.Visual>
218
                                                        </VisualBrush>
219
                                                    </Border.BorderBrush>
220
                                                </Border>
221
                                            </Canvas>
222

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

    
225
                                            <!--<Leadtools_Windows_Controls:RasterImageViewer x:Name="_imageViewer" Grid.Row="1" BorderThickness="0"/>-->
226
                                        </Canvas>
227

    
228
                                    </ZoomAndPan:ZoomAndPanControl>
229
                                </telerik:RadBusyIndicator>
230
                                <!--캡쳐 화면을 위한 보더-->
231
                                <Border Background="LightGray" 
232
                                        Opacity="{Binding Capture_Opacity, Source={x:Static common:ViewerDataModel.Instance}}"
233
                                        IsHitTestVisible="False" >
234
                                    <TextBlock HorizontalAlignment="Right" Foreground="Red" Text="캡쳐 진행 화면" FontSize="30"/>
235
                                </Border>
236
                                <Angle:AngleControl x:Name="MainAngle"
237
                                                        Grid.Column="1"
238
                                                        Grid.ColumnSpan="2"
239
                                                        Margin="10"
240
                                                        AngleValue="{Binding Angle, Mode=TwoWay, Source={x:Static common:ViewerDataModel.Instance}, StringFormat=\{0:F0\}°}"
241
                                                        HorizontalAlignment="Right"
242
                                                        VerticalAlignment="Top"
243
                                                        IsHitTestVisible="False"
244
                                                        Visibility="{Binding AngleVisibility, Mode=TwoWay, Source={x:Static common:ViewerDataModel.Instance}}" />
245
                            </Grid>
246
                        </telerik:RadDocumentPane>
247
                    </telerik:RadPaneGroup>
248
                    <telerik:RadPaneGroup Style="{DynamicResource Style_RadPanelGroup}" >
249
                        <telerik:RadPane CanFloat="False" CanUserClose="False" Title="Document 1" PaneHeaderVisibility="Collapsed" x:Name="testPanel2" IsHidden="True" Margin="0,-20,0,0" >
250
                            <Grid Background="{DynamicResource KCOMColor_DocumnetBackgroundBrush}">
251
                                <ZoomAndPan:ZoomAndPanControl x:Name="zoomAndPanControl2" 
252
                                                              MouseWheel="zoomAndPanControl2_MouseWheel"
253
                                                              MouseMove="zoomAndPanControl2_MouseMove"
254
                                                              MouseDown="zoomAndPanControl2_MouseDown"
255
                                                              MouseUp="zoomAndPanControl2_MouseUp"
256
                                                              MouseLeave="zoomAndPanControl_MouseLeave"
257
                                                              ContentScale="{Binding Sync_ContentScale, Mode=TwoWay, Source={x:Static common:ViewerDataModel.Instance}}"
258
                                                              ContentOffsetX="{Binding Sync_ContentOffsetX, Mode=TwoWay, Source={x:Static common:ViewerDataModel.Instance}}"
259
                                                              ContentOffsetY="{Binding Sync_ContentOffsetY, Mode=TwoWay, Source={x:Static common:ViewerDataModel.Instance}}"
260
                                                              ConstrainedContentViewportWidth="{Binding ContentViewportWidth, Mode=TwoWay, Source={x:Static common:ViewerDataModel.Instance}}"
261
                                                              ConstrainedContentViewportHeight="{Binding ContentViewportHeight, Mode=TwoWay, Source={x:Static common:ViewerDataModel.Instance}}"
262
                                                              Background="LightGray">
263
                                    <Canvas x:Name="zoomAndPanCanvas2" Opacity="1" Background="White">
264
                                        <Canvas x:Name="drawingRotateCanvas2"
265
                                                        Panel.ZIndex="1"
266
                                                        Background="{Binding BackgroundImage, Mode=OneWay, Source={x:Static common:ViewerDataModel.Instance}}">
267
                                            <Canvas.RenderTransform>
268
                                                <TransformGroup>
269
                                                    <RotateTransform x:Name="rotate2" Angle="0"/>
270
                                                    <TranslateTransform x:Name="translate2" X="0" Y="0"/>
271
                                                </TransformGroup>
272
                                            </Canvas.RenderTransform>
273
                                            <ItemsControl x:Name="itemsControl" ItemsSource="{Binding MarkupControls_Sync, Source={x:Static common:ViewerDataModel.Instance}}"
274
                                          Panel.ZIndex="1">
275
                                                <ItemsControl.ItemsPanel>
276
                                                    <ItemsPanelTemplate>
277
                                                        <Canvas />
278
                                                    </ItemsPanelTemplate>
279
                                                </ItemsControl.ItemsPanel>
280
                                            </ItemsControl>
281
                                            <Image x:Name="ComparePanel"
282
                                                   Source="{Binding ImageViewPath_C, Source={x:Static common:ViewerDataModel.Instance}}" 
283
                                                   Width="{Binding ImageViewWidth_C, Source={x:Static common:ViewerDataModel.Instance}}" 
284
                                                   Height="{Binding ImageViewHeight_C, Source={x:Static common:ViewerDataModel.Instance}}" />
285
                                            <Canvas x:Name="canvas_compareBorder" IsHitTestVisible="False" 
286
                                                    Width="0"
287
                                                    Height="0"
288
                                                    Panel.ZIndex="1">
289
                                                <!--<Canvas.RenderTransform>
290
                                                    -->
291
                                                <!--<RotateTransform Angle="{Binding Angle, Source={x:Static common:ViewerDataModel.Instance}}"/>-->
292
                                                <!--
293
                                                    <RotateTransform Angle="{Binding Angle, ElementName=zoomAndPanCanvas2}"/>
294
                                                </Canvas.RenderTransform>-->
295
                                            </Canvas>
296
                                            <!--강인구 추가-->
297
                                        </Canvas>
298
                                    </Canvas>
299
                                </ZoomAndPan:ZoomAndPanControl>
300
                                <Grid Background="#FF353535" Opacity="0.1" IsHitTestVisible="False"/>
301

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

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

    
329

    
330
                                        <!--<telerik:RadRibbonToggleButton x:Name="MArkupMode" Content="Markup Mode" Foreground="White"  Margin="5"  Click="SyncChange_Click" BorderThickness="0" telerik:StyleManager.Theme="Office2013"/>-->
331
                                        <!--<telerik:RadRibbonToggleButton x:Name="UserList" Content="User List" Foreground="white"  Margin="5" Click="SyncUserListExpender_Click" BorderThickness="0" telerik:StyleManager.Theme="Office2013" VerticalAlignment="Center"/>-->
332

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

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

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

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

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

    
353

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

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

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

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

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

    
486

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

    
493

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

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

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

    
573
                                    <StackPanel Orientation="Horizontal">
574
                                        <TextBlock Margin="1"
575
                                                   VerticalAlignment="Center"
576
                                                   Text="{Binding}" />
577
                                        <telerik:RadRibbonButton x:Name="btnConsolidate"
578
                                                                 VerticalAlignment="Center"
579
                                                                 Click="btnConsolidate_Click"
580
                                                                 Loaded="btnConsolidate_Loaded"
581
                                                                 telerik:StyleManager.Theme="Office2016"
582
                                                                 ToolTipService.ToolTip="Consolidate">
583
                                            <Border Background="#E9F0F8"
584
                                                    BorderBrush="#839AB3"
585
                                                    BorderThickness="1">
586
                                                <StackPanel Margin="1" Orientation="Horizontal">
587
                                                    <!--<Image Width="15" Source="/DeepView;component/Images/MenuImage/document-new.png" />-->
588
                                                    <TextBlock Margin="1"
589
                                                               VerticalAlignment="Center"
590
                                                               Foreground="Black"
591
                                                               Text="Consolidate" />
592
                                                </StackPanel>
593
                                            </Border>
594
                                        </telerik:RadRibbonButton>
595
                                        <telerik:RadRibbonButton x:Name="btnTeamConsolidate"
596
                                                                 VerticalAlignment="Center"
597
                                                                 Click="btnTeamConsolidate_Click"
598
                                                                 Loaded="btnTeamConsolidate_Loaded"
599
                                                                 telerik:StyleManager.Theme="Office2016"
600
                                                                 ToolTipService.ToolTip="Consolidate">
601
                                            <Border Background="#E9F0F8"
602
                                                    BorderBrush="#839AB3"
603
                                                    BorderThickness="1">
604
                                                <StackPanel Margin="1" Orientation="Horizontal">
605
                                                    <!--<Image Width="15" Source="/DeepView;component/Images/MenuImage/document-team.png" />-->
606
                                                    <TextBlock Margin="1"
607
                                                               VerticalAlignment="Center"
608
                                                               Foreground="Black"
609
                                                               Text="Team Consolidate" />
610
                                                </StackPanel>
611
                                            </Border>
612
                                        </telerik:RadRibbonButton>
613
                                        <telerik:RadRibbonButton x:Name="btnFinalPDF"
614
                                                                 VerticalAlignment="Center"
615
                                                                 Click="FinalPDFEvent"
616
                                                                 Loaded="btnFinalPDF_Loaded"
617
                                                                 telerik:StyleManager.Theme="Office2016"
618
                                                                 ToolTipService.ToolTip="FinalPDF">
619
                                            <Border Background="#E9F0F8"
620
                                                    BorderBrush="#839AB3"
621
                                                    BorderThickness="1">
622
                                                <StackPanel Margin="1" Orientation="Horizontal">
623
                                                    <!--<Image Width="15" Source="/DeepView;component/Images/MenuImage/final_pdf2.png" />-->
624
                                                    <TextBlock Margin="1"
625
                                                               VerticalAlignment="Center"
626
                                                               Foreground="Black"
627
                                                               Text="Merged PDF" />
628
                                                </StackPanel>
629
                                            </Border>
630
                                        </telerik:RadRibbonButton>
631
                                        <telerik:RadRibbonButton x:Name="btnConsolidateFinalPDF"
632
                                                                 VerticalAlignment="Center"
633
                                                                 Click="ConsolidateFinalPDFEvent"
634
                                                                 Loaded="btnConsolidateFinalPDF_Loaded"
635
                                                                 telerik:StyleManager.Theme="Office2016"
636
                                                                 ToolTipService.ToolTip="Consolidate &amp; FinalPDF">
637
                                            <Border Background="#E9F0F8"
638
                                                    BorderBrush="#839AB3"
639
                                                    BorderThickness="1">
640
                                                <StackPanel Margin="1" Orientation="Horizontal">
641
                                                    <!--<Image Width="15" Source="/DeepView;component/Images/MenuImage/final_pdf2.png" />-->
642
                                                    <TextBlock Margin="1"
643
                                                               VerticalAlignment="Center"
644
                                                               Foreground="Black"
645
                                                               Text="Consolidate &amp; Merged PDF" />
646
                                                </StackPanel>
647
                                            </Border>
648
                                        </telerik:RadRibbonButton>
649
                                    </StackPanel>
650
                                </Grid>
651
                            </DataTemplate>
652
                        </telerik:RadPane.TitleTemplate>
653
                        <Grid>
654
                            <Grid.ColumnDefinitions>
655
                                <ColumnDefinition Width="60*"/>
656
                                <ColumnDefinition Width="Auto"/>
657
                                <ColumnDefinition Width="40*"/>
658
                            </Grid.ColumnDefinitions>
659
                            <Grid x:Name="infoListPane" >
660
                                <telerik:RadGridView telerik:StyleManager.Theme="Office2013" ShowGroupPanel="True" ShowGroupFooters="False" AutoExpandGroups="True"  x:Name="gridViewMarkup"
661
                                             AutoGenerateColumns="False" HorizontalContentAlignment="Center" SelectionChanged="gridViewMarkup_SelectionChanged" SelectionMode="Multiple"
662
                                             CanUserDeleteRows="True" CanUserInsertRows="False" IsFilteringAllowed="False" RowIndicatorVisibility="Collapsed" 
663
                                             CanUserSortColumns ="True" >
664
                                    <telerik:RadGridView.GroupDescriptors>
665
                                        <telerik:GroupDescriptor Member="Depatment" SortDirection="Ascending" DisplayContent = "DEPT" x:Name="gDept">
666
                                            <telerik:GroupDescriptor.AggregateFunctions>
667
                                                <telerik:CountFunction Caption="Entries count : " />
668
                                            </telerik:GroupDescriptor.AggregateFunctions>
669
                                        </telerik:GroupDescriptor>
670

    
671
                                    </telerik:RadGridView.GroupDescriptors>
672
                                    <telerik:RadGridView.RowStyle>
673
                                        <Style TargetType="{x:Type telerikGrid:GridViewRow}">
674
                                            <Setter Property="HorizontalContentAlignment" Value="Center"/>
675
                                            <Setter Property="Background" Value="{Binding Consolidate, Converter={StaticResource ConsolidationBackgroudConverter}}" />
676
                                            <Setter Property="Visibility" Value="{Binding IsPreviewUser, Converter={StaticResource previewerVisibleConverter}}"/>
677
                                            <!--<Setter Property="Template" Value="{StaticResource GridViewRowTemplate}" />-->
678
                                        </Style>
679
                                    </telerik:RadGridView.RowStyle>
680
                                    <telerik:RadGridView.Columns>
681
                                        <telerik:GridViewSelectColumn Width="Auto">
682
                                            <telerik:GridViewSelectColumn.Header>
683
                                                <telerik:RadRibbonToggleButton  telerik:StyleManager.Theme="Office2016"
684
                                                                           Visibility="Collapsed" Width="Auto">
685
                                                    <Image HorizontalAlignment="Center"
686
                                                           VerticalAlignment="Center"
687
                                                           Source="/KCOM;component/Resources/Images/MenuImage/check.png" />
688
                                                </telerik:RadRibbonToggleButton>
689
                                            </telerik:GridViewSelectColumn.Header>
690
                                        </telerik:GridViewSelectColumn>
691
                                        <telerik:GridViewDataColumn Width="Auto"
692
                                                                Header="Color"
693
                                                                IsReadOnly="True">
694
                                            <telerik:GridViewDataColumn.CellTemplate>
695
                                                <DataTemplate>
696
                                                    <Grid>
697
                                                        <Grid>
698
                                                            <Rectangle Margin="0,2,2,2" Fill="{Binding DisplayColor, Converter={StaticResource StringToColorConverter}}" />
699
                                                            <TextBlock Foreground="#00000000" Text="Color" />
700
                                                        </Grid>
701
                                                        <Grid VerticalAlignment="Center" Visibility="{Binding AvoidConsolidate, Converter={StaticResource BoolToVisibleConverter}}">
702
                                                            <Image Height="15"
703
                                                               Source="/KCOM;component/Resources/Images/MenuImage/lock_2.png"
704
                                                               Stretch="Uniform" />
705
                                                        </Grid>
706
                                                    </Grid>
707

    
708
                                                </DataTemplate>
709
                                            </telerik:GridViewDataColumn.CellTemplate>
710
                                        </telerik:GridViewDataColumn>
711
                                        <telerik:GridViewDataColumn Header="DEPT"  IsReadOnly="True"  Width="Auto" DataMemberBinding="{Binding Depatment}" >
712
                                            <telerik:GridViewDataColumn.CellTemplate>
713
                                                <DataTemplate>
714
                                                    <TextBlock Text="{Binding Depatment}"/>
715
                                                </DataTemplate>
716
                                            </telerik:GridViewDataColumn.CellTemplate>
717
                                        </telerik:GridViewDataColumn>
718
                                        <telerik:GridViewDataColumn Header="NAME"  IsReadOnly="True" Width="Auto" DataMemberBinding="{Binding UserName}">
719
                                            <telerik:GridViewDataColumn.CellTemplate>
720
                                                <DataTemplate>
721
                                                    <TextBlock Text="{Binding UserName, Mode=TwoWay}"/>
722
                                                </DataTemplate>
723
                                            </telerik:GridViewDataColumn.CellTemplate>
724
                                        </telerik:GridViewDataColumn>
725
                                        <telerik:GridViewDataColumn Header="UPDATETIME"  IsReadOnly="True" Width="Auto">
726
                                            <telerik:GridViewDataColumn.CellTemplate>
727
                                                <DataTemplate>
728
                                                    <TextBlock Text="{Binding UpdateTime}"/>
729
                                                </DataTemplate>
730
                                            </telerik:GridViewDataColumn.CellTemplate>
731
                                        </telerik:GridViewDataColumn>
732
                                        <telerik:GridViewDataColumn Header="CONSOLIDATION"  IsReadOnly="True" Width="Auto">
733
                                            <telerik:GridViewDataColumn.CellTemplate>
734
                                                <DataTemplate>
735
                                                    <!--<TextBlock Text="{Binding Consolidate}"/>-->
736
                                                    <Grid>
737
                                                        <Grid.ColumnDefinitions>
738
                                                            <ColumnDefinition Width="Auto" />
739
                                                            <ColumnDefinition Width="Auto" />
740
                                                            <ColumnDefinition Width="Auto" />
741
                                                        </Grid.ColumnDefinitions>
742

    
743
                                                        <TextBlock Grid.Column="0"
744
                                                               Foreground="Red"
745
                                                               Text="{Binding AvoidConsolidate, Converter={StaticResource AvoidStringConverter}}" />
746
                                                        <TextBlock Grid.Column="1"
747
                                                               Foreground="Blue"
748
                                                               Text="{Binding PartConsolidate, Converter={StaticResource TeamConsoliStringConverter}}" />
749
                                                        <TextBlock Grid.Column="2" Text="{Binding Consolidate, Converter={StaticResource ConsoliStringConverter}}" />
750
                                                        <!--
751
                                                        <TextBlock HorizontalAlignment="Center" Grid.Column="2">
752
                                                        <TextBlock.Text>
753
                                                        <Binding Converter="{StaticResource ConsoliStringConverter}"/>
754
                                                        </TextBlock.Text>
755
                                                        </TextBlock>
756
                                                    -->
757
                                                    </Grid>
758
                                                </DataTemplate>
759
                                            </telerik:GridViewDataColumn.CellTemplate>
760
                                        </telerik:GridViewDataColumn>
761
                                        <telerik:GridViewDataColumn Header="DELETE"  IsReadOnly="True" Width="Auto">
762
                                            <telerik:GridViewDataColumn.CellTemplate>
763
                                                <DataTemplate>
764
                                                    <Button Content="DELETE" Visibility="{Binding userDelete, Converter={StaticResource BooleanToVisibilityConverter}}" Click="DeleteCommentEvent" CommandParameter="{Binding}"/>
765
                                                </DataTemplate>
766
                                            </telerik:GridViewDataColumn.CellTemplate>
767
                                        </telerik:GridViewDataColumn>
768
                                    </telerik:RadGridView.Columns>
769
                                </telerik:RadGridView>
770
                            </Grid>
771
                            <GridSplitter Grid.Column="1" HorizontalAlignment="Center" Width="5"  telerik:StyleManager.Theme="Office2016" />
772
                            <Grid Grid.Column="2" x:Name="historyPane" >
773
                                <telerik:RadGridView telerik:StyleManager.Theme="Office2013" ShowGroupPanel="False" ShowGroupFooters="False" AutoExpandGroups="False"  x:Name="gridViewHistory"
774
                                                 CanUserDeleteRows="True" CanUserInsertRows="False" IsFilteringAllowed="False" RowIndicatorVisibility="Collapsed" AutoGenerateColumns="False">
775
                                    <telerik:RadGridView.Columns>
776
                                        <telerik:GridViewDataColumn Header="Slip No"  IsReadOnly="True" Width="Auto">
777
                                            <telerik:GridViewDataColumn.CellTemplate>
778
                                                <DataTemplate>
779
                                                    <telerik:RadButton Content="{Binding GroupNo}" Tag="{Binding EnsembleLink}" Margin="5" BorderThickness="0" Click="EnsembleLink_Button_Click" Background="Transparent"/>
780
                                                </DataTemplate>
781
                                            </telerik:GridViewDataColumn.CellTemplate>
782
                                        </telerik:GridViewDataColumn>
783
                                        <telerik:GridViewDataColumn Header="Doc No"  IsReadOnly="True" Width="Auto">
784
                                            <telerik:GridViewDataColumn.CellTemplate>
785
                                                <DataTemplate>
786
                                                    <TextBlock Text="{Binding DocNo}" HorizontalAlignment="Center"/>
787
                                                </DataTemplate>
788
                                            </telerik:GridViewDataColumn.CellTemplate>
789
                                        </telerik:GridViewDataColumn>
790
                                        <telerik:GridViewDataColumn Header="Rev No"  IsReadOnly="True" Width="Auto">
791
                                            <telerik:GridViewDataColumn.CellTemplate>
792
                                                <DataTemplate>
793
                                                    <TextBlock Text="{Binding RevNo}" HorizontalAlignment="Center"/>
794
                                                </DataTemplate>
795
                                            </telerik:GridViewDataColumn.CellTemplate>
796
                                        </telerik:GridViewDataColumn>
797
                                        <telerik:GridViewDataColumn Header="RESULT"  IsReadOnly="True" Width="Auto">
798
                                            <telerik:GridViewDataColumn.CellTemplate>
799
                                                <DataTemplate>
800
                                                    <TextBlock Text="{Binding RESULT}" HorizontalAlignment="Center"/>
801
                                                </DataTemplate>
802
                                            </telerik:GridViewDataColumn.CellTemplate>
803
                                        </telerik:GridViewDataColumn>
804
                                        <telerik:GridViewDataColumn CellStyle="{StaticResource GridViewAlign}"  IsReadOnly="True"
805
                                                                            DataMemberBinding="{Binding FROM_VENDOR}"
806
                                                                            Header="File(in)" telerik:StyleManager.Theme="Office2013"
807
                                                                            HeaderTextAlignment="Center">
808
                                            <telerik:GridViewDataColumn.CellTemplate>
809
                                                <DataTemplate>
810
                                                    <Image Height="22" Source="/KCOM;component/Resources/Images/MenuImage_New/PDF.png" 
811
                                                           MouseLeftButtonDown="PdfLink_ButtonDown" Tag="{Binding FROM_VENDOR}"
812
                                                           Visibility="{Binding FROM_VENDOR, Converter={StaticResource PDFVisibleConverter}}"/>
813
                                                </DataTemplate>
814
                                            </telerik:GridViewDataColumn.CellTemplate>
815
                                        </telerik:GridViewDataColumn>
816

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

    
830

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

    
861
                                                    <!--<TextBlock Text="{Binding IsSyncPossible}" HorizontalAlignment="Center"/>-->
862
                                                </DataTemplate>
863
                                            </telerik:GridViewDataColumn.CellTemplate>
864
                                        </telerik:GridViewDataColumn>
865
                                        <telerik:GridViewDataColumn CellStyle="{StaticResource GridViewAlign}"
866
                                                                            DataMemberBinding="{Binding EnsembleLink}" IsReadOnly="True"
867
                                                                            Header="Attachments" telerik:StyleManager.Theme="Office2013"
868
                                                                            HeaderTextAlignment="Center">
869
                                            <telerik:GridViewDataColumn.CellTemplate>
870
                                                <DataTemplate>
871
                                                    <telerik:RadButton Content="Link" Tag="{Binding EnsembleLink}" Margin="5" BorderThickness="0" Click="EnsembleLink_Button_Click" Background="Transparent"/>
872
                                                </DataTemplate>
873
                                            </telerik:GridViewDataColumn.CellTemplate>
874
                                        </telerik:GridViewDataColumn>
875
                                    </telerik:RadGridView.Columns>
876
                                </telerik:RadGridView>
877
                                <telerik:RadBusyIndicator x:Name="gridViewHistory_Busy" IsBusy="False" telerik:StyleManager.Theme="Office2016"
878
                                                      BusyContent="Sync Data Loading"/>
879
                            </Grid>
880
                        </Grid>
881
                    </telerik:RadPane>
882
                    <telerik:RadPane Header="PEMSS(Requirement and Bidders)" CanUserClose="False" CanFloat="False">
883
                        <telerik:RadTabControl>
884
                            <telerik:RadTabItem Header="Requirement">
885
                                <view:RequirementView/>
886
                            </telerik:RadTabItem>
887
                            <telerik:RadTabItem Header="Bidders">
888
                                <view:BiddersView/>
889
                            </telerik:RadTabItem>
890
                        </telerik:RadTabControl>
891
                    </telerik:RadPane>
892
                </telerik:RadPaneGroup>
893
            </telerik:RadSplitContainer>
894
        </telerik:RadDocking>
895
    </Grid>
896
</UserControl>
클립보드 이미지 추가 (최대 크기: 500 MB)