프로젝트

일반

사용자정보

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

markus / KCOM / Views / MainMenu.xaml @ f3c08420

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

1 787a4489 KangIngu
<UserControl xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation"  x:Class="KCOM.Views.MainMenu"
2
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:toggle="clr-namespace:ToggleSwitch;assembly=ToggleSwitch"
3
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:telerikGrid="clr-namespace:Telerik.Windows.Controls.GridView;assembly=Telerik.Windows.Controls.GridView"
4
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
5
             xmlns:converter="clr-namespace:KCOM.Common.Converter"
6
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008"  xmlns:common="clr-namespace:KCOM.Common"
7
             xmlns:controls="clr-namespace:KCOM.Controls"  xmlns:ZoomAndPan="clr-namespace:ZoomAndPan;assembly=ZoomAndPan"
8 fad4d1c0 taeseongkim
             xmlns:view="clr-namespace:KCOM.Views"
9 63a36cc0 taeseongkim
             mc:Ignorable="d" 
10 df2e7646 taeseongkim
             d:DesignHeight="1080"
11 63a36cc0 taeseongkim
             d:DesignWidth="1080" IsTabStop="True" xmlns:messanger="clr-namespace:KCOM.Messenger"
12
             xmlns:Angle="clr-namespace:MarkupToPDF.Controls.Angle;assembly=MarkupToPDF" LayoutUpdated="UserControl_LayoutUpdated">
13 787a4489 KangIngu
    <UserControl.Resources>
14
        <Style TargetType="telerik:GridViewHeaderCell" x:Key="GridViewHeaderStyle">
15
            <Setter Property="VerticalContentAlignment" Value="Center"/>
16
            <Setter Property="HorizontalContentAlignment" Value="Center"/>
17
            <Setter Property="BorderThickness" Value="0"/>
18
            <Setter Property="Background">
19
                <Setter.Value>
20
                    <SolidColorBrush Color="Black" Opacity="0.5"/>
21
                </Setter.Value>
22
            </Setter>
23
            <!--<Setter Property="Background" Value="Black"/>-->
24
            <Setter Property="BorderBrush" Value="White"/>
25
            <Setter Property="Foreground" Value="White"/>
26
            <Setter Property="telerik:StyleManager.Theme" Value="Office2013"/>
27
            <!--<Setter Property="FontWeight" Value="Black"/>-->
28
        </Style>
29
        <Style x:Key="GridViewAlign" TargetType="telerikGrid:GridViewCell">
30
            <Setter Property="HorizontalContentAlignment" Value="Center" />
31
            <Setter Property="TextBlock.TextDecorations">
32
                <Setter.Value>
33
                    <TextDecorationCollection>
34
                        <TextDecoration Location="Underline" />
35
                        <TextDecoration Location="Overline" />
36
                        <TextDecoration  
37
                PenThicknessUnit="FontRecommended">
38
                            <TextDecoration.Pen>
39
                                <Pen Thickness="1.0">
40
                                    <Pen.Brush>
41
                                        <LinearGradientBrush Opacity="0.5"
42
                                StartPoint="0,0.5"  EndPoint="1,0.5">
43
                                            <LinearGradientBrush.GradientStops>
44
                                                <GradientStop Color="Yellow" Offset="0" />
45
                                                <GradientStop Color="Red" Offset="1" />
46
                                            </LinearGradientBrush.GradientStops>
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 90e7968d ljiyeon
        <converter:PreviewerVisibleConverter x:Key="previewerVisibleConverter"/>
64 787a4489 KangIngu
    </UserControl.Resources>
65 90e7968d ljiyeon
    <Grid Background="{DynamicResource KCOMColor_MainBrush}">
66 787a4489 KangIngu
        <!--<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 Name="rect" Margin="50,50,0,0" Width="100" Height="100" Fill="LightBlue"/>
110
                                <Popup 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 532d83ef humkyung
                                <telerik:RadBusyIndicator x:Name="busyIndicator" IsBusy="False" BusyContent="Saving...">
114 787a4489 KangIngu
                                <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 cdfb57ff taeseongkim
                                                              ScaleChanged="ZoomAndPanControl_ScaleChanged"
121 787a4489 KangIngu
                                                              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 90e7968d ljiyeon
                                    <Canvas x:Name="zoomAndPanCanvas" Opacity="1" Background="White">
129
130
                                        <Canvas x:Name="drawingRotateCanvas"
131 787a4489 KangIngu
                                                        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 7e2d682c taeseongkim
                                                <!--<controls:ScaleDecodeImage Panel.ZIndex="0" x:Name="mainPanel"
169 92442e4a taeseongkim
                                                   Source="{Binding ImageViewPath,Mode=TwoWay, Source={x:Static common:ViewerDataModel.Instance}}" 
170
                                                    Width="{Binding ImageViewWidth,Mode=TwoWay, Source={x:Static common:ViewerDataModel.Instance}}"
171 cdfb57ff taeseongkim
                                                        Height="{Binding ImageViewHeight,Mode=TwoWay, Source={x:Static common:ViewerDataModel.Instance}}">
172 7e2d682c taeseongkim
                                                </controls:ScaleDecodeImage>-->
173
                                                <Image Panel.ZIndex="0" x:Name="mainPanel" RenderOptions.BitmapScalingMode="HighQuality"
174
                                                       RenderOptions.EdgeMode="Unspecified" RenderOptions.ClearTypeHint="Enabled"
175 92442e4a taeseongkim
                                                        Source="{Binding ImageViewPath,Mode=TwoWay, Source={x:Static common:ViewerDataModel.Instance}}" 
176 7e2d682c taeseongkim
                                                         Width="{Binding ImageViewWidth,Mode=TwoWay, Source={x:Static common:ViewerDataModel.Instance}}"
177
                                                        Height="{Binding ImageViewHeight,Mode=TwoWay, Source={x:Static common:ViewerDataModel.Instance}}"
178 92442e4a taeseongkim
                                                           >
179 7e2d682c taeseongkim
                                                    </Image>
180 cdfb57ff taeseongkim
                                                <Canvas x:Name="SelectLayer" HorizontalAlignment="Stretch" VerticalAlignment="Stretch" Panel.ZIndex="32766"/>
181 31d64a8c KangIngu
                                                <Border x:Name="dragSelectionBorder" Visibility="Collapsed"
182 787a4489 KangIngu
                                                    BorderBrush="Blue"
183
                                                    BorderThickness="1"
184
                                                    Background="LightBlue" 
185
                                                    CornerRadius="1"
186
                                                    Panel.ZIndex="1"
187
                                                    Opacity="0.5"/>
188 31d64a8c KangIngu
                                                <Border x:Name="dragCaptureBorder" Visibility="Collapsed"
189 787a4489 KangIngu
                                                    BorderBrush="Blue"
190
                                                    BorderThickness="1"
191
                                                    Background="Blue" 
192
                                                    CornerRadius="1"
193
                                                    Panel.ZIndex="1"
194
                                                    Opacity="0.5"/>
195 31d64a8c KangIngu
                                            <Border x:Name="dragZoomBorder" Visibility="Collapsed"
196 9f473fb7 KangIngu
                                                    BorderThickness="3"
197
                                                    Background="Transparent" 
198
                                                    CornerRadius="1"
199
                                                    Panel.ZIndex="1"
200
                                                    Opacity="1">
201
                                                <Border.BorderBrush>
202
                                                    <VisualBrush>
203
                                                        <VisualBrush.Visual>
204
                                                            <Rectangle StrokeDashArray="4 2" Stroke="Gray" StrokeThickness="1"
205
                                                                  Width="{Binding RelativeSource={RelativeSource AncestorType={x:Type Border}}, Path=ActualWidth}"
206
                                                                  Height="{Binding RelativeSource={RelativeSource AncestorType={x:Type Border}}, Path=ActualHeight}"/>
207
                                                        </VisualBrush.Visual>
208
                                                    </VisualBrush>
209
                                                </Border.BorderBrush>
210
                                            </Border>
211
                                            <!--<Border x:Name="dragZoomBorder"
212
                                                    BorderBrush="Black"
213
                                                    BorderThickness="1"
214
                                                    
215
                                                    Background="Transparent" 
216
                                                    CornerRadius="1"
217
                                                    Panel.ZIndex="1"
218
                                                    Opacity="0.5"/>-->
219
220
221 787a4489 KangIngu
                                            <!--<Border Background="Red" Panel.ZIndex="1" Opacity="0.5" Visibility="Visible" Width="100" Height="100" />-->
222
                                        </Canvas>
223
224
                                        <!--<Border Background="Red" Panel.ZIndex="1" Opacity="0.5" Visibility="Visible" Width="1000" Height="1000" IsHitTestVisible="False"/>-->
225
226
                                        <!--<Leadtools_Windows_Controls:RasterImageViewer x:Name="_imageViewer" Grid.Row="1" BorderThickness="0"/>-->
227
                                    </Canvas>
228
229
                                </ZoomAndPan:ZoomAndPanControl>
230 532d83ef humkyung
                                </telerik:RadBusyIndicator>
231 787a4489 KangIngu
                                <!--캡쳐 화면을 위한 보더-->
232
                                <Border Background="LightGray" 
233
                                        Opacity="{Binding Capture_Opacity, Source={x:Static common:ViewerDataModel.Instance}}"
234
                                        IsHitTestVisible="False" >
235
                                    <TextBlock HorizontalAlignment="Right" Foreground="Red" Text="캡쳐 진행 화면" FontSize="30"/>
236
                                </Border>
237
                                <Angle:AngleControl x:Name="MainAngle"
238
                                                        Grid.Column="1"
239
                                                        Grid.ColumnSpan="2"
240 5ce56a3a KangIngu
                                                        Margin="10"
241 f3c08420 taeseongkim
                                                        AngleValue="{Binding Angle, Mode=TwoWay, StringFormat=\{0:F0\}°, Source={x:Static common:ViewerDataModel.Instance}}"
242 787a4489 KangIngu
                                                        HorizontalAlignment="Right"
243
                                                        VerticalAlignment="Top"
244
                                                        IsHitTestVisible="False"
245 f3c08420 taeseongkim
                                                        Visibility="{Binding AngleVisibility, Mode=TwoWay, Source={x:Static common:ViewerDataModel.Instance}}" />
246 787a4489 KangIngu
                            </Grid>
247
                        </telerik:RadDocumentPane>
248
                    </telerik:RadPaneGroup>
249
                    <telerik:RadPaneGroup Style="{DynamicResource Style_RadPanelGroup}" >
250 a1716fa5 KangIngu
                        <telerik:RadPane CanFloat="False" CanUserClose="False" Title="Document 1" PaneHeaderVisibility="Collapsed" x:Name="testPanel2" IsHidden="True" Margin="0,-20,0,0" >
251 787a4489 KangIngu
                            <Grid Background="{DynamicResource KCOMColor_DocumnetBackgroundBrush}">
252
                                <ZoomAndPan:ZoomAndPanControl x:Name="zoomAndPanControl2" 
253 a1716fa5 KangIngu
                                                              MouseWheel="zoomAndPanControl2_MouseWheel"
254
                                                              MouseMove="zoomAndPanControl2_MouseMove"
255
                                                              MouseDown="zoomAndPanControl2_MouseDown"
256
                                                              MouseUp="zoomAndPanControl2_MouseUp"
257
                                                              MouseLeave="zoomAndPanControl_MouseLeave"
258 9cd2865b KangIngu
                                                              ContentScale="{Binding Sync_ContentScale, Mode=TwoWay, Source={x:Static common:ViewerDataModel.Instance}}"
259
                                                              ContentOffsetX="{Binding Sync_ContentOffsetX, Mode=TwoWay, Source={x:Static common:ViewerDataModel.Instance}}"
260
                                                              ContentOffsetY="{Binding Sync_ContentOffsetY, Mode=TwoWay, Source={x:Static common:ViewerDataModel.Instance}}"
261 787a4489 KangIngu
                                                              ConstrainedContentViewportWidth="{Binding ContentViewportWidth, Mode=TwoWay, Source={x:Static common:ViewerDataModel.Instance}}"
262
                                                              ConstrainedContentViewportHeight="{Binding ContentViewportHeight, Mode=TwoWay, Source={x:Static common:ViewerDataModel.Instance}}"
263
                                                              Background="LightGray">
264 a1716fa5 KangIngu
                                    <Canvas x:Name="zoomAndPanCanvas2" Opacity="1" Background="White">
265 787a4489 KangIngu
                                        <Canvas x:Name="drawingRotateCanvas2"
266
                                                        Panel.ZIndex="1"
267
                                                        Background="{Binding BackgroundImage, Mode=OneWay, Source={x:Static common:ViewerDataModel.Instance}}">
268
                                            <Canvas.RenderTransform>
269
                                                <TransformGroup>
270
                                                    <RotateTransform x:Name="rotate2" Angle="0"/>
271
                                                    <TranslateTransform x:Name="translate2" X="0" Y="0"/>
272
                                                </TransformGroup>
273
                                            </Canvas.RenderTransform>
274
                                            <ItemsControl x:Name="itemsControl" ItemsSource="{Binding MarkupControls_Sync, Source={x:Static common:ViewerDataModel.Instance}}"
275
                                          Panel.ZIndex="1">
276
                                                <ItemsControl.ItemsPanel>
277
                                                    <ItemsPanelTemplate>
278
                                                        <Canvas >
279
280
                                                        </Canvas>
281
                                                    </ItemsPanelTemplate>
282
                                                </ItemsControl.ItemsPanel>
283
                                            </ItemsControl>
284 94b7c12c djkim
                                            <Image x:Name="ComparePanel"
285 787a4489 KangIngu
                                                   Source="{Binding ImageViewPath_C, Source={x:Static common:ViewerDataModel.Instance}}" 
286
                                                   Width="{Binding ImageViewWidth_C, Source={x:Static common:ViewerDataModel.Instance}}" 
287
                                                   Height="{Binding ImageViewHeight_C, Source={x:Static common:ViewerDataModel.Instance}}" >
288
                                            </Image>
289
                                            <Canvas x:Name="canvas_compareBorder" IsHitTestVisible="False" Width="{Binding ActualWidth, ElementName=zoomAndPanCanvas2}" Height="{Binding ActualHeight, ElementName=zoomAndPanCanvas2}" Panel.ZIndex="1">
290
                                                <!--<Canvas.RenderTransform>
291
                                                    -->
292
                                                <!--<RotateTransform Angle="{Binding Angle, Source={x:Static common:ViewerDataModel.Instance}}"/>-->
293
                                                <!--
294
                                                    <RotateTransform Angle="{Binding Angle, ElementName=zoomAndPanCanvas2}"/>
295
                                                </Canvas.RenderTransform>-->
296
                                            </Canvas>
297
                                            <!--강인구 추가-->
298
                                        </Canvas>
299
                                    </Canvas>
300
                                </ZoomAndPan:ZoomAndPanControl>
301 9b9de5b2 ljiyeon
                                <Grid Background="#FF353535" Opacity="0.1" IsHitTestVisible="False"/>
302 787a4489 KangIngu
303 9b9de5b2 ljiyeon
                                <!--<Viewbox VerticalAlignment="Stretch" HorizontalAlignment="Stretch" StretchDirection="DownOnly" Stretch="Uniform" IsHitTestVisible="False">
304 787a4489 KangIngu
                                    <TextBlock Text="Previous Document" HorizontalAlignment="Center" VerticalAlignment="Center" RenderTransformOrigin="0.5, 0.5" FontSize="50"
305
                                           Foreground="White" Opacity="0.5" FontWeight="Bold">
306
                                        <TextBlock.RenderTransform>
307
                                            <RotateTransform Angle="-25"/>
308
                                        </TextBlock.RenderTransform>
309
                                    </TextBlock>
310 9b9de5b2 ljiyeon
                                </Viewbox>-->
311 787a4489 KangIngu
312
                                <!--<telerik:RadExpander Header="OPEN" Background="Transparent" telerik:StyleManager.Theme="Office2016"
313
                                                     ExpandDirection="Right" VerticalAlignment="Top" HorizontalAlignment="Left">-->
314
                                <Grid Height="Auto" VerticalAlignment="Top" >
315
                                    <Grid.RowDefinitions>
316
                                        <RowDefinition/>
317
                                        <RowDefinition/>
318
                                    </Grid.RowDefinitions>
319
                                    <!--<Border Background="#3b3838" VerticalAlignment="Stretch" HorizontalAlignment="Stretch" Opacity="0.5" Grid.RowSpan="2"/>-->
320
                                    <Border Background="Black" VerticalAlignment="Stretch" HorizontalAlignment="Stretch" Opacity="0.5" Grid.RowSpan="2" BorderThickness="0"/>
321
                                    <StackPanel Orientation="Horizontal" HorizontalAlignment="Left">
322
                                        <!--<TextBlock Text="ReadOnly Mode" Foreground="#FFFF9A25" VerticalAlignment="Center" Margin="10"/>-->
323
                                        <TextBlock Text="Rev.A" Foreground="#FFFF9A25" VerticalAlignment="Center" Margin="10" x:Name="tlSyncRev"/>
324
                                        <TextBlock Text="Current Page : 1" Foreground="White" VerticalAlignment="Center"  x:Name="tlSyncPageNum"/>
325
                                    </StackPanel>
326
                                    <StackPanel Orientation="Horizontal" HorizontalAlignment="Right">
327
                                        <!--<telerik:RadToggleButton x:Name="CompareMode" IsChecked="False" Content="Compare"  Margin="5" Checked="SyncCompare_Click" Unchecked="SyncCompare_Click" BorderThickness="0" telerik:StyleManager.Theme="Office2013"
328
                                                                       Style="{DynamicResource RadToggleSwtichButtonStyle}" Width="Auto" Padding="10,0"/>-->
329
                                        <!--<telerik:RadRibbonToggleButton x:Name="UserList" Content="User List" Foreground="white"  Margin="5" Click="SyncUserListExpender_Click" BorderThickness="0" telerik:StyleManager.Theme="Office2013" VerticalAlignment="Center"/>-->
330 9cd2865b KangIngu
331
                                        <toggle:HorizontalToggleSwitch x:Name="Sync" CheckedContent="Sync" UncheckedContent="Sync" Width="75" IsChecked="False" ThumbSize="25"
332
                                                                       FontSize="10" FontWeight="Normal" BorderBrush="Transparent" Opacity="0.6"
333
                                                                       Margin="5" Checked="Sync_Click" Unchecked="Sync_Click" BorderThickness="0" telerik:StyleManager.Theme="Office2013"/>
334
335 787a4489 KangIngu
                                        <toggle:HorizontalToggleSwitch x:Name="UserList" CheckedContent="User List" UncheckedContent="User List" Width="75" IsChecked="False" ThumbSize="25"
336
                                                                       FontSize="10" FontWeight="Normal" BorderBrush="Transparent" Opacity="0.6"
337
                                                                       Margin="5" Checked="SyncUserListExpender_Click" Unchecked="SyncUserListExpender_Click" BorderThickness="0" telerik:StyleManager.Theme="Office2013"/>
338
339
                                        <toggle:HorizontalToggleSwitch x:Name="CompareMode" CheckedContent="Compare On" UncheckedContent="Compare Off" Width="90" IsChecked="False" ThumbSize="25"
340
                                                                       FontSize="10" FontWeight="Normal" BorderBrush="Transparent" Opacity="0.6"
341
                                                                       Margin="5" Checked="SyncCompare_Click" Unchecked="SyncCompare_Click" BorderThickness="0" telerik:StyleManager.Theme="Office2013"/>
342
343
                                        <toggle:HorizontalToggleSwitch x:Name="MarkupMode" CheckedContent="Pdf" UncheckedContent="Markup" Width="75" IsChecked="False" ThumbSize="25"
344 bb4e3ec4 djkim
                                                                       FontSize="10" FontWeight="Normal" BorderBrush="Transparent" Opacity="0.6" Visibility="Collapsed"
345 787a4489 KangIngu
                                                                       Margin="5" Checked="SyncChange_Click" Unchecked="SyncChange_Click" BorderThickness="0" telerik:StyleManager.Theme="Office2013"/>
346
347
                                        <toggle:HorizontalToggleSwitch x:Name="BalanceMode" CheckedContent="Balance On" UncheckedContent="Balance Off" Width="90" IsChecked="False" ThumbSize="25"
348
                                                                       FontSize="10" FontWeight="Normal" BorderBrush="Transparent" Opacity="0.6"
349
                                                                       Margin="5" Checked="SyncPageBalance_Click" Unchecked="SyncPageBalance_Click" BorderThickness="0" telerik:StyleManager.Theme="Office2013"/>
350
351
352
                                        <!--<telerik:RadRibbonToggleButton x:Name="MArkupMode" Content="Markup Mode" Foreground="White"  Margin="5"  Click="SyncChange_Click" BorderThickness="0" telerik:StyleManager.Theme="Office2013"/>-->
353
                                        <!--<telerik:RadRibbonToggleButton x:Name="BalanceMode" Content="Balance Mode" Foreground="White"  Margin="5" Click="SyncPageBalance_Click" BorderThickness="0" telerik:StyleManager.Theme="Office2013"/>-->
354
                                        <telerik:RadRibbonButton  Margin="5" Click="SyncPageChange_Click" Tag="-1" telerik:StyleManager.Theme="Office2013" VerticalAlignment="Center">
355
                                            <Image Height="20"
356
                                                               Source="/KCOM;component/Resources/Images/MenuImage_New/up-arrow.png"
357
                                                               Stretch="Uniform" />
358
                                        </telerik:RadRibbonButton>
359
                                        <telerik:RadRibbonButton Margin="5" Click="SyncPageChange_Click" Tag="1" telerik:StyleManager.Theme="Office2013" VerticalAlignment="Center">
360
                                            <Image Height="20"
361
                                                               Source="/KCOM;component/Resources/Images/MenuImage_New/up-arrow.png" RenderTransformOrigin="0.5 0.5"
362
                                                               Stretch="Uniform">
363
                                                <Image.RenderTransform>
364
                                                    <RotateTransform Angle="180"/>
365
                                                </Image.RenderTransform>
366
                                            </Image>
367
                                        </telerik:RadRibbonButton>
368
                                        <telerik:RadRibbonButton  Margin="5" Click="SyncExit_Click" telerik:StyleManager.Theme="Office2013" VerticalAlignment="Center">
369
                                            <Image Height="20"
370
                                                               Source="/KCOM;component/Resources/Images/MenuImage_New/cancel.png"
371
                                                               Stretch="Uniform" />
372
                                        </telerik:RadRibbonButton>
373
                                    </StackPanel>
374
                                    <telerik:RadGridView telerik:StyleManager.Theme="Office2013" ShowGroupPanel="False" ShowGroupFooters="False" AutoExpandGroups="False"  x:Name="gridViewRevMarkup"
375
                                             AutoGenerateColumns="False" HorizontalContentAlignment="Center" SelectionChanged="gridViewRevMarkup_SelectionChanged" SelectionMode="Multiple" BorderThickness="0"
376
                                                      CanUserFreezeColumns ="False" Visibility="Collapsed"  GridLinesVisibility="None" 
377
                                             CanUserDeleteRows="True" CanUserInsertRows="False" IsFilteringAllowed="False" RowIndicatorVisibility="Collapsed" Grid.Row="1">
378
                                        <telerik:RadGridView.HeaderRowStyle>
379
                                            <Style TargetType="telerik:GridViewHeaderRow">
380
                                                <Setter Property="BorderThickness" Value="0"/>
381
                                                <Setter Property="Background" Value="Red"/>
382
                                                <Setter Property="Foreground" Value="White"/>
383
                                                <Setter Property="HorizontalContentAlignment" Value="Center"/>
384
                                                <Setter Property="FontWeight" Value="Black"/>
385
                                                <Setter Property="telerik:StyleManager.Theme" Value="Office2013"/>
386
                                            </Style>
387
                                        </telerik:RadGridView.HeaderRowStyle>
388
                                        <telerik:RadGridView.RowStyle>
389
                                            <Style TargetType="telerik:GridViewRow">
390
                                                <Setter Property="HorizontalContentAlignment" Value="Center"/>
391
                                                <Setter Property="Background" Value="{Binding Path=Consolidate, Converter={StaticResource ConsolidationBackgroudConverter}}" />
392
                                                <Setter Property="Foreground" Value="White"/>
393
                                            </Style>
394
                                        </telerik:RadGridView.RowStyle>
395
                                        <telerik:RadGridView.Columns>
396
                                            <telerik:GridViewSelectColumn Width="Auto"  HeaderCellStyle="{StaticResource GridViewHeaderStyle}">
397
                                                <telerik:GridViewSelectColumn.Header>
398
                                                    <telerik:RadRibbonToggleButton  telerik:StyleManager.Theme="Office2016"
399
                                                                           Visibility="Collapsed" Width="Auto">
400
                                                        <telerik:RadRibbonToggleButton.Content>
401
                                                            <Image HorizontalAlignment="Center"
402
                                                           VerticalAlignment="Center"
403
                                                           Source="/KCOM;component/Resources/Images/MenuImage/check.png" />
404
                                                        </telerik:RadRibbonToggleButton.Content>
405
                                                    </telerik:RadRibbonToggleButton>
406
                                                </telerik:GridViewSelectColumn.Header>
407
                                            </telerik:GridViewSelectColumn>
408
                                            <telerik:GridViewDataColumn Width="Auto"  HeaderCellStyle="{StaticResource GridViewHeaderStyle}"
409
                                                                Header="Color" 
410
                                                                IsReadOnly="True">
411
                                                <telerik:GridViewDataColumn.CellTemplate>
412
                                                    <DataTemplate>
413
                                                        <Grid>
414
                                                            <Grid>
415
                                                                <Rectangle Margin="0,2,2,2" Fill="{Binding DisplayColor, Converter={StaticResource StringToColorConverter}}" />
416
                                                                <TextBlock Foreground="#00000000" Text="Color" />
417
                                                            </Grid>
418
                                                            <Grid VerticalAlignment="Center" Visibility="{Binding AvoidConsolidate, Converter={StaticResource BoolToVisibleConverter}}">
419
                                                                <Image Height="15"
420
                                                               Source="/KCOM;component/Resources/Images/MenuImage/lock_2.png"
421
                                                               Stretch="Uniform" />
422
                                                            </Grid>
423
                                                        </Grid>
424
425
                                                    </DataTemplate>
426
                                                </telerik:GridViewDataColumn.CellTemplate>
427
                                            </telerik:GridViewDataColumn>
428
                                            <telerik:GridViewDataColumn Header="DEPT"  IsReadOnly="True"  Width="Auto" HeaderCellStyle="{StaticResource GridViewHeaderStyle}">
429
                                                <telerik:GridViewDataColumn.CellTemplate>
430
                                                    <DataTemplate>
431
                                                        <TextBlock Text="{Binding Depatment}"  FontSize="12"/>
432
                                                    </DataTemplate>
433
                                                </telerik:GridViewDataColumn.CellTemplate>
434
                                            </telerik:GridViewDataColumn>
435
                                            <telerik:GridViewDataColumn Header="NAME"  IsReadOnly="True" Width="Auto"  HeaderCellStyle="{StaticResource GridViewHeaderStyle}">
436
                                                <telerik:GridViewDataColumn.CellTemplate>
437
                                                    <DataTemplate>
438
                                                        <TextBlock Text="{Binding UserName, Mode=TwoWay}" FontSize="10"/>
439
                                                    </DataTemplate>
440
                                                </telerik:GridViewDataColumn.CellTemplate>
441
                                            </telerik:GridViewDataColumn>
442
                                            <telerik:GridViewDataColumn Header="CONSOLIDATION"  IsReadOnly="True" Width="Auto"  HeaderCellStyle="{StaticResource GridViewHeaderStyle}">
443
                                                <telerik:GridViewDataColumn.CellTemplate>
444
                                                    <DataTemplate>
445
                                                        <!--<TextBlock Text="{Binding Consolidate}"/>-->
446
                                                        <Grid>
447
                                                            <Grid.ColumnDefinitions>
448
                                                                <ColumnDefinition Width="Auto" />
449
                                                                <ColumnDefinition Width="Auto" />
450
                                                                <ColumnDefinition Width="Auto" />
451
                                                            </Grid.ColumnDefinitions>
452
453
                                                            <TextBlock Grid.Column="0"
454
                                                               Foreground="Red"
455
                                                               Text="{Binding AvoidConsolidate,
456
                                                                              Converter={StaticResource AvoidStringConverter}}" />
457
                                                            <TextBlock Grid.Column="1"
458
                                                               Foreground="Blue"
459
                                                               Text="{Binding PartConsolidate,
460
                                                                              Converter={StaticResource TeamConsoliStringConverter}}" />
461
                                                            <TextBlock Grid.Column="2" Text="{Binding Consolidate, Converter={StaticResource ConsoliStringConverter}}" />
462
                                                            <!--
463
                                                        <TextBlock HorizontalAlignment="Center" Grid.Column="2">
464
                                                        <TextBlock.Text>
465
                                                        <Binding Converter="{StaticResource ConsoliStringConverter}"/>
466
                                                        </TextBlock.Text>
467
                                                        </TextBlock>
468
                                                    -->
469
                                                        </Grid>
470
                                                    </DataTemplate>
471
                                                </telerik:GridViewDataColumn.CellTemplate>
472
                                            </telerik:GridViewDataColumn>
473
474
                                            <telerik:GridViewDataColumn Header="Comment Move"  IsReadOnly="True" Width="Auto"  HeaderCellStyle="{StaticResource GridViewHeaderStyle}">
475
                                                <telerik:GridViewDataColumn.CellTemplate>
476
                                                    <DataTemplate>
477
                                                        <telerik:RadButton telerik:StyleManager.Theme="Office2016" HorizontalAlignment="Stretch" VerticalAlignment="Stretch" Content="COPY" PreviewMouseDown="Comment_Move" />
478
                                                        <!--<TextBlock Text="{Binding UserName, Mode=TwoWay}" FontSize="10"/>-->
479
                                                    </DataTemplate>
480
                                                </telerik:GridViewDataColumn.CellTemplate>
481
                                            </telerik:GridViewDataColumn>
482
483
                                            <telerik:GridViewDataColumn Header=""  IsReadOnly="True" Width="*"  HeaderCellStyle="{StaticResource GridViewHeaderStyle}">
484
                                            </telerik:GridViewDataColumn>
485
                                        </telerik:RadGridView.Columns>
486
                                    </telerik:RadGridView>
487
                                </Grid>
488
                                <!--</telerik:RadExpander>-->
489
490
491
                            </Grid>
492
                        </telerik:RadPane>
493
                    </telerik:RadPaneGroup>
494
                </telerik:RadSplitContainer>
495
            </telerik:RadDocking.DocumentHost>
496
497
498 d0eda156 ljiyeon
            <telerik:RadSplitContainer Orientation="Vertical" InitialPosition="DockedLeft" x:Name="thumbnailPanel" SizeChanged="thumbnailPanel_SizeChanged">
499 29e5dc6a ljiyeon
                <!-- Width="250" MinWidth="250" -->
500 787a4489 KangIngu
                <!--<telerik:RadPaneGroup Margin="0" Style="{DynamicResource Style_RadPanelGroup}">-->
501
                <telerik:RadPaneGroup Margin="0" telerik:StyleManager.Theme="Office2016" x:Name="PN_Navi">
502
                    <telerik:RadPane Header="DOCUMENT" CanFloat="False" CanUserClose="False" CanUserPin="True" 
503
                                     ContextMenuTemplate="{x:Null}" PaneHeaderVisibility="Visible" telerik:StyleManager.Theme="Office2016">
504
                        <!--<telerik:RadPane.TitleTemplate>
505
                            <DataTemplate>
506
                                <Grid>
507
                                    <Grid.ColumnDefinitions>
508
                                        <ColumnDefinition Width="Auto" />
509
                                        <ColumnDefinition />
510
                                    </Grid.ColumnDefinitions>
511
                                    <ContentPresenter Content="{Binding}"
512
                                                      Margin="0,0,75,0" />
513
                                         <telerik:RadButton Grid.Column="1" Content="PIN"/>
514
                                </Grid>
515
                            </DataTemplate>
516
                        </telerik:RadPane.TitleTemplate>-->
517
                        <!--<Grid VerticalAlignment="Stretch" Margin="0">
518
                            <Grid.RowDefinitions>
519
                                <RowDefinition Height="30"/>
520
                                <RowDefinition Height="*"/>
521
                            </Grid.RowDefinitions>
522
                            <Border BorderBrush="{Binding ElementName=leftPanel}" BorderThickness="0,1">
523
                                <TextBlock Text="Thumbnail" Margin="5"/>
524
                            </Border>
525
                            <controls:PageNavigator x:Name="pageNavigator" Grid.Row="1"/>
526
                        </Grid>-->
527
                        <Grid>
528
                            <!--<controls:PageNavigator x:Name="pageNavigator" Grid.Row="1" Visibility="Collapsed"/>-->
529
                            <!--<Grid.RowDefinitions>
530
                                <RowDefinition Height="Auto"/>
531
                                <RowDefinition Height="*"/>
532
                            </Grid.RowDefinitions>-->
533
                            <!--<telerik:RadButton Content="Panorama" telerik:StyleManager.Theme="Office2016" FontSize="8"  Background="#FF0054B9" Foreground="White"
534
                                       BorderThickness="0" CornerRadius="3" HorizontalAlignment="Right" Padding="5" Margin="5,10"/>-->
535
                            <controls:Sample x:Name="pageNavigator"/>
536
                        </Grid>
537
538
                    </telerik:RadPane>
539
                </telerik:RadPaneGroup>
540
            </telerik:RadSplitContainer>
541
542 b10671a4 taeseongkim
            <telerik:RadSplitContainer Orientation="Vertical" InitialPosition="DockedRight">
543 fad4d1c0 taeseongkim
                <telerik:RadPaneGroup telerik:StyleManager.Theme="Office2016">
544 992a98b4 KangIngu
                    <telerik:RadPane Header="SEARCH" Visibility="Visible" CanFloat="False" CanUserClose="False"  ContextMenuTemplate="{x:Null}" IsPinned="False" telerik:StyleManager.Theme="Office2016" x:Name="searchPane">
545
                        <controls:SearchPanel x:Name="searchPanel_Instance"/>
546 787a4489 KangIngu
                    </telerik:RadPane>
547
                </telerik:RadPaneGroup>
548
                <telerik:RadPaneGroup telerik:StyleManager.Theme="Office2016">
549 c460df05 djkim
                    <telerik:RadPane Header="M-TALK" CanFloat="False" CanUserClose="False" ContextMenuTemplate="{x:Null}" IsPinned="False" telerik:StyleManager.Theme="Office2016"  x:Name="talkPane">
550 787a4489 KangIngu
                        <messanger:ConversationView/>
551
                    </telerik:RadPane>
552
                </telerik:RadPaneGroup>
553
                <telerik:RadPaneGroup Visibility="Visible" telerik:StyleManager.Theme="Office2016">
554 992a98b4 KangIngu
                    <telerik:RadPane Header="SYMBOL" Visibility="Visible" CanFloat="False" CanUserClose="False"  ContextMenuTemplate="{x:Null}" IsPinned="False" telerik:StyleManager.Theme="Office2016"  x:Name="SymbolPane">
555 53880c83 ljiyeon
                        <!--<controls:Symbol />-->
556
                        <controls:Symbol x:Name="symbolPanel_Instance"/>
557 787a4489 KangIngu
                        <!--<telerik:RadButton Click="Create_Symbol">Create</telerik:RadButton>-->
558
                    </telerik:RadPane>
559
                </telerik:RadPaneGroup>
560 992a98b4 KangIngu
                <telerik:RadPaneGroup telerik:StyleManager.Theme="Office2016"  telerik:ProportionalStackPanel.RelativeSize="60, 100">
561
                    <telerik:RadPane Header="FAVORITE" Visibility="Visible"  CanFloat="False" CanUserClose="False"  ContextMenuTemplate="{x:Null}" IsPinned="False" telerik:StyleManager.Theme="Office2016"  x:Name="FavoritePane">
562
                        <controls:FavoritePanel/>
563
                    </telerik:RadPane>
564
                </telerik:RadPaneGroup>
565 787a4489 KangIngu
            </telerik:RadSplitContainer>
566 df2e7646 taeseongkim
            <telerik:RadSplitContainer Orientation="Horizontal" InitialPosition="DockedBottom" Height="250">
567 787a4489 KangIngu
                <telerik:RadPaneGroup telerik:StyleManager.Theme="Office2016" telerik:ProportionalStackPanel.RelativeSize="140, 100">
568 37bd9e47 taeseongkim
                    <telerik:RadPane Header="Document Information" CanUserClose="False" CanFloat="False">
569 ce76db67 taeseongkim
                        <Grid>
570
                            <Grid.ColumnDefinitions>
571
                                <ColumnDefinition Width="60*"/>
572
                                <ColumnDefinition Width="Auto"/>
573
                                <ColumnDefinition Width="40*"/>
574
                            </Grid.ColumnDefinitions>
575
                            <Grid x:Name="infoListPane" >
576 b10671a4 taeseongkim
                            <telerik:RadGridView telerik:StyleManager.Theme="Office2013" ShowGroupPanel="True" ShowGroupFooters="False" AutoExpandGroups="True"  x:Name="gridViewMarkup"
577 787a4489 KangIngu
                                             AutoGenerateColumns="False" HorizontalContentAlignment="Center" SelectionChanged="gridViewMarkup_SelectionChanged" SelectionMode="Multiple"
578 5538eb5a ljiyeon
                                             CanUserDeleteRows="True" CanUserInsertRows="False" IsFilteringAllowed="False" RowIndicatorVisibility="Collapsed" 
579
                                             CanUserSortColumns ="True" >
580
                            <telerik:RadGridView.GroupDescriptors>
581 fddb48f7 ljiyeon
                                <telerik:GroupDescriptor Member="Depatment" SortDirection="Ascending" DisplayContent = "DEPT" x:Name="gDept">
582 5538eb5a ljiyeon
                                    <telerik:GroupDescriptor.AggregateFunctions>
583
                                        <telerik:CountFunction Caption="Entries count : " />
584
                                    </telerik:GroupDescriptor.AggregateFunctions>
585
                                </telerik:GroupDescriptor>
586 b10671a4 taeseongkim
587 5538eb5a ljiyeon
                            </telerik:RadGridView.GroupDescriptors>
588 787a4489 KangIngu
                            <telerik:RadGridView.RowStyle>
589
                                <Style TargetType="telerik:GridViewRow">
590
                                    <Setter Property="HorizontalContentAlignment" Value="Center"/>
591
                                    <Setter Property="Background" Value="{Binding Path=Consolidate, Converter={StaticResource ConsolidationBackgroudConverter}}" />
592
                                    <Setter Property="Visibility" Value="{Binding Path=IsPreviewUser,Converter={StaticResource previewerVisibleConverter}}"/>
593
                                    <!--<Setter Property="Template" Value="{StaticResource GridViewRowTemplate}" />-->
594
                                </Style>
595
                            </telerik:RadGridView.RowStyle>
596
                            <telerik:RadGridView.Columns>
597
                                <telerik:GridViewSelectColumn Width="Auto">
598
                                    <telerik:GridViewSelectColumn.Header>
599
                                        <telerik:RadRibbonToggleButton  telerik:StyleManager.Theme="Office2016"
600
                                                                           Visibility="Collapsed" Width="Auto">
601
                                            <telerik:RadRibbonToggleButton.Content>
602
                                                <Image HorizontalAlignment="Center"
603
                                                           VerticalAlignment="Center"
604
                                                           Source="/KCOM;component/Resources/Images/MenuImage/check.png" />
605
                                            </telerik:RadRibbonToggleButton.Content>
606
                                        </telerik:RadRibbonToggleButton>
607
                                    </telerik:GridViewSelectColumn.Header>
608
                                </telerik:GridViewSelectColumn>
609
                                <telerik:GridViewDataColumn Width="Auto"
610
                                                                Header="Color"
611
                                                                IsReadOnly="True">
612
                                    <telerik:GridViewDataColumn.CellTemplate>
613
                                        <DataTemplate>
614
                                            <Grid>
615
                                                <Grid>
616
                                                    <Rectangle Margin="0,2,2,2" Fill="{Binding DisplayColor, Converter={StaticResource StringToColorConverter}}" />
617
                                                    <TextBlock Foreground="#00000000" Text="Color" />
618
                                                </Grid>
619
                                                <Grid VerticalAlignment="Center" Visibility="{Binding AvoidConsolidate, Converter={StaticResource BoolToVisibleConverter}}">
620
                                                    <Image Height="15"
621
                                                               Source="/KCOM;component/Resources/Images/MenuImage/lock_2.png"
622
                                                               Stretch="Uniform" />
623
                                                </Grid>
624
                                            </Grid>
625
626
                                        </DataTemplate>
627
                                    </telerik:GridViewDataColumn.CellTemplate>
628
                                </telerik:GridViewDataColumn>
629 5538eb5a ljiyeon
                                <telerik:GridViewDataColumn Header="DEPT"  IsReadOnly="True"  Width="Auto" DataMemberBinding="{Binding Depatment}" >
630 787a4489 KangIngu
                                    <telerik:GridViewDataColumn.CellTemplate>
631
                                        <DataTemplate>
632
                                            <TextBlock Text="{Binding Depatment}"/>
633
                                        </DataTemplate>
634
                                    </telerik:GridViewDataColumn.CellTemplate>
635
                                </telerik:GridViewDataColumn>
636 5538eb5a ljiyeon
                                <telerik:GridViewDataColumn Header="NAME"  IsReadOnly="True" Width="Auto" DataMemberBinding="{Binding UserName}">
637 787a4489 KangIngu
                                    <telerik:GridViewDataColumn.CellTemplate>
638
                                        <DataTemplate>
639
                                            <TextBlock Text="{Binding UserName, Mode=TwoWay}"/>
640
                                        </DataTemplate>
641
                                    </telerik:GridViewDataColumn.CellTemplate>
642
                                </telerik:GridViewDataColumn>
643
                                <telerik:GridViewDataColumn Header="UPDATETIME"  IsReadOnly="True" Width="Auto">
644
                                    <telerik:GridViewDataColumn.CellTemplate>
645
                                        <DataTemplate>
646 992a98b4 KangIngu
                                            <TextBlock Text="{Binding UpdateTime}"/>
647 787a4489 KangIngu
                                        </DataTemplate>
648
                                    </telerik:GridViewDataColumn.CellTemplate>
649
                                </telerik:GridViewDataColumn>
650
                                <telerik:GridViewDataColumn Header="CONSOLIDATION"  IsReadOnly="True" Width="Auto">
651
                                    <telerik:GridViewDataColumn.CellTemplate>
652
                                        <DataTemplate>
653
                                            <!--<TextBlock Text="{Binding Consolidate}"/>-->
654
                                            <Grid>
655
                                                <Grid.ColumnDefinitions>
656
                                                    <ColumnDefinition Width="Auto" />
657
                                                    <ColumnDefinition Width="Auto" />
658
                                                    <ColumnDefinition Width="Auto" />
659
                                                </Grid.ColumnDefinitions>
660
661
                                                <TextBlock Grid.Column="0"
662
                                                               Foreground="Red"
663
                                                               Text="{Binding AvoidConsolidate,
664
                                                                              Converter={StaticResource AvoidStringConverter}}" />
665
                                                <TextBlock Grid.Column="1"
666
                                                               Foreground="Blue"
667
                                                               Text="{Binding PartConsolidate,
668
                                                                              Converter={StaticResource TeamConsoliStringConverter}}" />
669
                                                <TextBlock Grid.Column="2" Text="{Binding Consolidate, Converter={StaticResource ConsoliStringConverter}}" />
670
                                                <!--
671
                                                        <TextBlock HorizontalAlignment="Center" Grid.Column="2">
672
                                                        <TextBlock.Text>
673
                                                        <Binding Converter="{StaticResource ConsoliStringConverter}"/>
674
                                                        </TextBlock.Text>
675
                                                        </TextBlock>
676
                                                    -->
677
                                            </Grid>
678
                                        </DataTemplate>
679
                                    </telerik:GridViewDataColumn.CellTemplate>
680
                                </telerik:GridViewDataColumn>
681
                                <telerik:GridViewDataColumn Header="DELETE"  IsReadOnly="True" Width="Auto">
682
                                    <telerik:GridViewDataColumn.CellTemplate>
683
                                        <DataTemplate>
684
                                            <Button Content="DELETE" Visibility="{Binding userDelete, Converter={StaticResource BooleanToVisibilityConverter}}" Click="DeleteCommentEvent" CommandParameter="{Binding}"/>
685
                                        </DataTemplate>
686
                                    </telerik:GridViewDataColumn.CellTemplate>
687
                                </telerik:GridViewDataColumn>
688
                            </telerik:RadGridView.Columns>
689
                        </telerik:RadGridView>
690 ce76db67 taeseongkim
                            </Grid>
691
                            <GridSplitter Grid.Column="1" HorizontalAlignment="Center" Width="5"  telerik:StyleManager.Theme="Office2016" />
692
                            <Grid Grid.Column="2" x:Name="historyPane" >
693
                                <telerik:RadGridView telerik:StyleManager.Theme="Office2013" ShowGroupPanel="False" ShowGroupFooters="False" AutoExpandGroups="False"  x:Name="gridViewHistory"
694
                                                 CanUserDeleteRows="True" CanUserInsertRows="False" IsFilteringAllowed="False" RowIndicatorVisibility="Collapsed" AutoGenerateColumns="False">
695
                                    <telerik:RadGridView.Columns>
696
                                        <telerik:GridViewDataColumn Header="Slip No"  IsReadOnly="True" Width="Auto">
697
                                            <telerik:GridViewDataColumn.CellTemplate>
698
                                                <DataTemplate>
699
                                                    <telerik:RadButton Content="{Binding GroupNo}" Tag="{Binding EnsembleLink}" Margin="5" BorderThickness="0" Click="EnsembleLink_Button_Click" Background="Transparent">
700
                                                    </telerik:RadButton>
701
                                                </DataTemplate>
702
                                            </telerik:GridViewDataColumn.CellTemplate>
703
                                        </telerik:GridViewDataColumn>
704
                                        <telerik:GridViewDataColumn Header="Doc No"  IsReadOnly="True" Width="Auto">
705
                                            <telerik:GridViewDataColumn.CellTemplate>
706
                                                <DataTemplate>
707
                                                    <TextBlock Text="{Binding DocNo}" HorizontalAlignment="Center"/>
708
                                                </DataTemplate>
709
                                            </telerik:GridViewDataColumn.CellTemplate>
710
                                        </telerik:GridViewDataColumn>
711
                                        <telerik:GridViewDataColumn Header="Rev No"  IsReadOnly="True" Width="Auto">
712
                                            <telerik:GridViewDataColumn.CellTemplate>
713
                                                <DataTemplate>
714
                                                    <TextBlock Text="{Binding RevNo}" HorizontalAlignment="Center"/>
715
                                                </DataTemplate>
716
                                            </telerik:GridViewDataColumn.CellTemplate>
717
                                        </telerik:GridViewDataColumn>
718
                                        <telerik:GridViewDataColumn Header="RESULT"  IsReadOnly="True" Width="Auto">
719
                                            <telerik:GridViewDataColumn.CellTemplate>
720
                                                <DataTemplate>
721
                                                    <TextBlock Text="{Binding RESULT}" HorizontalAlignment="Center"/>
722
                                                </DataTemplate>
723
                                            </telerik:GridViewDataColumn.CellTemplate>
724
                                        </telerik:GridViewDataColumn>
725
                                        <telerik:GridViewDataColumn CellStyle="{StaticResource GridViewAlign}"  IsReadOnly="True"
726
                                                                            DataMemberBinding="{Binding FROM_VENDOR}"
727
                                                                            Header="File(in)" telerik:StyleManager.Theme="Office2013"
728
                                                                            HeaderTextAlignment="Center">
729
                                            <telerik:GridViewDataColumn.CellTemplate>
730
                                                <DataTemplate>
731
                                                    <Image Height="22" Source="/KCOM;component/Resources/Images/MenuImage_New/PDF.png" 
732
                                                           MouseLeftButtonDown="PdfLink_ButtonDown" Tag="{Binding FROM_VENDOR}"
733
                                                           Visibility="{Binding FROM_VENDOR, Converter={StaticResource PDFVisibleConverter}}"/>
734
                                                </DataTemplate>
735
                                            </telerik:GridViewDataColumn.CellTemplate>
736
                                        </telerik:GridViewDataColumn>
737
738
                                        <telerik:GridViewDataColumn CellStyle="{StaticResource GridViewAlign}"
739
                                                                            DataMemberBinding="{Binding TO_VENDOR}" IsReadOnly="True"
740
                                                                            Header="File(out)" telerik:StyleManager.Theme="Office2013"
741
                                                                            HeaderTextAlignment="Center">
742
                                            <telerik:GridViewDataColumn.CellTemplate>
743
                                                <DataTemplate>
744
                                                    <Image Height="22" Source="/KCOM;component/Resources/Images/MenuImage_New/PDF.png" 
745
                                                           MouseLeftButtonDown="PdfLink_ButtonDown" Tag="{Binding TO_VENDOR}"
746
                                                           Visibility="{Binding TO_VENDOR, Converter={StaticResource PDFVisibleConverter}}"/>
747
                                                </DataTemplate>
748
                                            </telerik:GridViewDataColumn.CellTemplate>
749
                                        </telerik:GridViewDataColumn>
750
751
752
                                        <!--<telerik:GridViewDataColumn Header="FROM_VENDOR"  IsReadOnly="True" Width="Auto">
753 787a4489 KangIngu
                                        <telerik:GridViewDataColumn.CellTemplate>
754
                                            <DataTemplate>
755 ce76db67 taeseongkim
                                                <telerik:RadRibbonButton telerik:StyleManager.Theme="Office2016">
756
                                                    <
757
                                                    <TextBlock Text="{Binding FROM_VENDOR}" HorizontalAlignment="Center"/>
758
                                                </telerik:RadRibbonButton>                                            
759 787a4489 KangIngu
                                            </DataTemplate>
760
                                        </telerik:GridViewDataColumn.CellTemplate>
761 ce76db67 taeseongkim
                                    </telerik:GridViewDataColumn>-->
762
                                        <!--<telerik:GridViewDataColumn Header="TO_VENDOR"  IsReadOnly="True" Width="Auto">
763 94b7c12c djkim
                                        <telerik:GridViewDataColumn.CellTemplate>
764
                                            <DataTemplate>
765 ce76db67 taeseongkim
                                                <TextBlock Text="{Binding TO_VENDOR}" HorizontalAlignment="Center"/>
766 94b7c12c djkim
                                            </DataTemplate>
767
                                        </telerik:GridViewDataColumn.CellTemplate>
768 ce76db67 taeseongkim
                                    </telerik:GridViewDataColumn>-->
769
                                        <telerik:GridViewDataColumn Header="SYNC"  IsReadOnly="True" Width="Auto" CellStyle="{StaticResource GridViewAlign}" HeaderTextAlignment="Center">
770
                                            <telerik:GridViewDataColumn.CellTemplate>
771
                                                <DataTemplate>
772
                                                    <!--<Border Grid.Column="1" Background="#FF0054B9" CornerRadius="5" Margin="5" VerticalAlignment="Center" MinHeight="20"
773
                                                            Visibility="{Binding IsSyncPossible, Converter={StaticResource BoolToVisibleConverter}}">
774
                                                        <telerik:RadButton Content="OPEN" telerik:StyleManager.Theme="Office2016"  Foreground="White"
775
                                                                           Background="Transparent" HorizontalAlignment="Stretch" Click="RadButton_Click" CommandParameter="{Binding}"/>
776
                                                    </Border>-->
777
                                                    <telerik:RadButton  Margin="5" BorderThickness="0" Click="RadButton_Click" CommandParameter="{Binding}" Background="Transparent"
778
                                                                       Visibility="{Binding IsSyncPossible, Converter={StaticResource BoolToVisibleConverter}}">
779
                                                        <telerik:RadButton.Content>
780
                                                            <Image Source="/KCOM;component/Resources/Images/MenuImage_new/file.png" Stretch="Uniform" Width="20" Height="20"/>
781
                                                        </telerik:RadButton.Content>
782
                                                    </telerik:RadButton>
783
784
                                                    <!--<TextBlock Text="{Binding IsSyncPossible}" HorizontalAlignment="Center"/>-->
785
                                                </DataTemplate>
786
                                            </telerik:GridViewDataColumn.CellTemplate>
787
                                        </telerik:GridViewDataColumn>
788
                                        <telerik:GridViewDataColumn CellStyle="{StaticResource GridViewAlign}"
789
                                                                            DataMemberBinding="{Binding EnsembleLink}" IsReadOnly="True"
790
                                                                            Header="Attachments" telerik:StyleManager.Theme="Office2013"
791
                                                                            HeaderTextAlignment="Center">
792
                                            <telerik:GridViewDataColumn.CellTemplate>
793
                                                <DataTemplate>
794
                                                    <telerik:RadButton Content="Link" Tag="{Binding EnsembleLink}" Margin="5" BorderThickness="0" Click="EnsembleLink_Button_Click" Background="Transparent">
795
796
                                                    </telerik:RadButton>
797
                                                </DataTemplate>
798
                                            </telerik:GridViewDataColumn.CellTemplate>
799
                                        </telerik:GridViewDataColumn>
800
                                    </telerik:RadGridView.Columns>
801
                                </telerik:RadGridView>
802
                                <telerik:RadBusyIndicator x:Name="gridViewHistory_Busy" IsBusy="False" telerik:StyleManager.Theme="Office2016"
803
                                                      BusyContent="Sync Data Loading"/>
804
                            </Grid>
805
                    </Grid>
806 b10671a4 taeseongkim
                    </telerik:RadPane>
807 37bd9e47 taeseongkim
                    <telerik:RadPane Header="PEMSS(Requirement and Bidders)" CanUserClose="False" CanFloat="False">
808 b10671a4 taeseongkim
                        <telerik:RadTabControl>
809
                            <telerik:RadTabControl.Items>
810 df2e7646 taeseongkim
                                <telerik:RadTabItem Header="Requirement">
811 b10671a4 taeseongkim
                                    <view:RequirementView/>
812
                                </telerik:RadTabItem>
813
                                <telerik:RadTabItem Header="Bidders">
814
                                    <view:BiddersView/>
815
                                </telerik:RadTabItem>
816
                            </telerik:RadTabControl.Items>
817
                        </telerik:RadTabControl>
818 787a4489 KangIngu
                    </telerik:RadPane>
819
                </telerik:RadPaneGroup>
820
            </telerik:RadSplitContainer>
821
        </telerik:RadDocking>
822
    </Grid>
823
</UserControl>
클립보드 이미지 추가 (최대 크기: 500 MB)