markus / KCOM / Views / MainMenu.xaml @ a1716fa5
이력 | 보기 | 이력해설 | 다운로드 (72.4 KB)
1 |
<UserControl xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation" x:Class="KCOM.Views.MainMenu" |
---|---|
2 |
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:toggle="clr-namespace:ToggleSwitch;assembly=ToggleSwitch" |
3 |
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:telerikGrid="clr-namespace:Telerik.Windows.Controls.GridView;assembly=Telerik.Windows.Controls.GridView" |
4 |
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" |
5 |
xmlns:converter="clr-namespace:KCOM.Common.Converter" |
6 |
xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:common="clr-namespace:KCOM.Common" |
7 |
xmlns:controls="clr-namespace:KCOM.Controls" xmlns:ZoomAndPan="clr-namespace:ZoomAndPan;assembly=ZoomAndPan" |
8 |
mc:Ignorable="d" |
9 |
d:DesignHeight="768" d:DesignWidth="1080" IsTabStop="True" xmlns:messanger="clr-namespace:KCOM.Messenger" |
10 |
xmlns:Angle="clr-namespace:MarkupToPDF.Controls.Angle;assembly=MarkupToPDF"> |
11 |
<UserControl.Resources>
|
12 |
<Style TargetType="telerik:GridViewHeaderCell" x:Key="GridViewHeaderStyle"> |
13 |
<Setter Property="VerticalContentAlignment" Value="Center"/> |
14 |
<Setter Property="HorizontalContentAlignment" Value="Center"/> |
15 |
<Setter Property="BorderThickness" Value="0"/> |
16 |
<Setter Property="Background"> |
17 |
<Setter.Value>
|
18 |
<SolidColorBrush Color="Black" Opacity="0.5"/> |
19 |
</Setter.Value>
|
20 |
</Setter>
|
21 |
<!--<Setter Property="Background" Value="Black"/>-->
|
22 |
<Setter Property="BorderBrush" Value="White"/> |
23 |
<Setter Property="Foreground" Value="White"/> |
24 |
<Setter Property="telerik:StyleManager.Theme" Value="Office2013"/> |
25 |
<!--<Setter Property="FontWeight" Value="Black"/>-->
|
26 |
</Style>
|
27 |
<Style x:Key="GridViewAlign" TargetType="telerikGrid:GridViewCell"> |
28 |
<Setter Property="HorizontalContentAlignment" Value="Center" /> |
29 |
<Setter Property="TextBlock.TextDecorations"> |
30 |
<Setter.Value>
|
31 |
<TextDecorationCollection>
|
32 |
<TextDecoration Location="Underline" /> |
33 |
<TextDecoration Location="Overline" /> |
34 |
<TextDecoration
|
35 |
PenThicknessUnit="FontRecommended"> |
36 |
<TextDecoration.Pen>
|
37 |
<Pen Thickness="1.0"> |
38 |
<Pen.Brush>
|
39 |
<LinearGradientBrush Opacity="0.5" |
40 |
StartPoint="0,0.5" EndPoint="1,0.5"> |
41 |
<LinearGradientBrush.GradientStops>
|
42 |
<GradientStop Color="Yellow" Offset="0" /> |
43 |
<GradientStop Color="Red" Offset="1" /> |
44 |
</LinearGradientBrush.GradientStops>
|
45 |
</LinearGradientBrush>
|
46 |
</Pen.Brush>
|
47 |
</Pen>
|
48 |
</TextDecoration.Pen>
|
49 |
</TextDecoration>
|
50 |
</TextDecorationCollection>
|
51 |
</Setter.Value>
|
52 |
</Setter>
|
53 |
</Style>
|
54 |
<converter:PDFVisibleConverter x:Key="PDFVisibleConverter"/> |
55 |
<converter:ConsolidationBackgroudConverter x:Key="ConsolidationBackgroudConverter" /> |
56 |
<converter:StringToColorConverter x:Key="StringToColorConverter"/> |
57 |
<converter:AvoidStringConverter x:Key="AvoidStringConverter" /> |
58 |
<converter:TeamConsolidateStringConverter x:Key="TeamConsoliStringConverter" /> |
59 |
<converter:ConsolidationStringConverter x:Key="ConsoliStringConverter" /> |
60 |
<converter:BoolToVisibleConverter x:Key="BoolToVisibleConverter" /> |
61 |
<converter:PreviewerVisibleConverter x:Key="previewerVisibleConverter"/> |
62 |
</UserControl.Resources>
|
63 |
<Grid Background="{DynamicResource KCOMColor_MainBrush}"> |
64 |
<!--<Grid.ColumnDefinitions>
|
65 |
<ColumnDefinition Width="Auto"/>
|
66 |
<ColumnDefinition Width="*"/>
|
67 |
</Grid.ColumnDefinitions>-->
|
68 |
<!--<Border Background="#fff5f5f5" BorderBrush="#d5d5d5" BorderThickness="0">
|
69 |
-->
|
70 |
<!--<controls:PageNavigator x:Name="pageNavigator" Grid.Row="1" Width="200"/>-->
|
71 |
<!--
|
72 |
<telerik:RadLayoutControl SelectedItem="{x:Null}" VirtualizingStackPanel.VirtualizationMode="Recycling" ScrollViewer.VerticalScrollBarVisibility="Hi">
|
73 |
<telerik:LayoutControlTabGroup Template="{DynamicResource TabControlTemplate}" telerik:StyleManager.Theme="Office2016">
|
74 |
<telerik:LayoutControlTabGroupItem Header="Thumbnail">
|
75 |
<telerik:LayoutControlGroup BorderBrush="Transparent" Padding="5" Margin="0,-3">
|
76 |
<controls:PageNavigator x:Name="pageNavigator" Grid.Row="1" Width="300"/>
|
77 |
</telerik:LayoutControlGroup>
|
78 |
</telerik:LayoutControlTabGroupItem>
|
79 |
<telerik:LayoutControlTabGroupItem Header="Bookmark">
|
80 |
<telerik:LayoutControlGroup BorderBrush="Transparent">
|
81 |
<Border Background="Blue"/>
|
82 |
</telerik:LayoutControlGroup>
|
83 |
</telerik:LayoutControlTabGroupItem>
|
84 |
</telerik:LayoutControlTabGroup>
|
85 |
</telerik:RadLayoutControl>
|
86 |
</Border>-->
|
87 |
<!--<Grid.ColumnDefinitions>
|
88 |
<ColumnDefinition Width="Auto"/>
|
89 |
<ColumnDefinition Width="*"/>
|
90 |
<ColumnDefinition Width="Auto"/>
|
91 |
</Grid.ColumnDefinitions>-->
|
92 |
<!--<Border Background="{DynamicResource Office2016Color_PrimaryBrush}">
|
93 |
<Border Background="White" Margin="50"/>
|
94 |
</Border>-->
|
95 |
<telerik:RadDocking BorderThickness="0" Padding="0" Background="{DynamicResource KCOMColor_MainBrush}" Grid.Column="1"> |
96 |
<telerik:RadDocking.DocumentHost>
|
97 |
<telerik:RadSplitContainer Background="Transparent" Margin="0,-1,0,0"> |
98 |
<telerik:RadPaneGroup Style="{DynamicResource Style_RadPanelGroup}"> |
99 |
<telerik:RadDocumentPane Header="VP-320A-728063" CanFloat="False" CanUserClose="False" Title="Document 1" PaneHeaderVisibility="Collapsed" Margin="0,-20,0,0"> |
100 |
<telerik:RadDocumentPane.HeaderTemplate>
|
101 |
<DataTemplate>
|
102 |
<Border Margin="0,0,0,0"/> |
103 |
</DataTemplate>
|
104 |
</telerik:RadDocumentPane.HeaderTemplate>
|
105 |
<!--<Grid Background="{DynamicResource KCOMColor_AlternativeBrush}">-->
|
106 |
<Grid Background="{DynamicResource KCOMColor_DocumnetBackgroundBrush}"> |
107 |
<Rectangle Name="rect" Margin="50,50,0,0" Width="100" Height="100" Fill="LightBlue"/> |
108 |
<Popup Name="floatingTip" AllowsTransparency="True" Placement="Relative" PlacementTarget="{Binding ElementName=rect}"> |
109 |
<TextBlock x:Name="txtBatch" Foreground="Red" FontSize="20" Text="Mark Control을 그립니다."/> |
110 |
</Popup>
|
111 |
<ZoomAndPan:ZoomAndPanControl x:Name="zoomAndPanControl" |
112 |
MouseWheel="zoomAndPanControl_MouseWheel" |
113 |
MouseDown="zoomAndPanControl_MouseDown" |
114 |
MouseMove="zoomAndPanControl_MouseMove" |
115 |
MouseUp="zoomAndPanControl_MouseUp" |
116 |
MouseLeave="zoomAndPanControl_MouseLeave" |
117 |
MouseDoubleClick="zoomAndPanControl_MouseDoubleClick" |
118 |
ContentScale="{Binding ContentScale, Mode=TwoWay, Source={x:Static common:ViewerDataModel.Instance}}" |
119 |
ContentOffsetX="{Binding ContentOffsetX, Mode=TwoWay, Source={x:Static common:ViewerDataModel.Instance}}" |
120 |
ContentOffsetY="{Binding ContentOffsetY, Mode=TwoWay, Source={x:Static common:ViewerDataModel.Instance}}" |
121 |
ConstrainedContentViewportWidth="{Binding ContentViewportWidth, Mode=TwoWay, Source={x:Static common:ViewerDataModel.Instance}}" |
122 |
ConstrainedContentViewportHeight="{Binding ContentViewportHeight, Mode=TwoWay, Source={x:Static common:ViewerDataModel.Instance}}" |
123 |
Background="LightGray"> |
124 |
<Canvas x:Name="zoomAndPanCanvas" Opacity="1" Background="White"> |
125 |
|
126 |
<Canvas x:Name="drawingRotateCanvas" |
127 |
Panel.ZIndex="1" |
128 |
Background="{Binding BackgroundImage, Mode=OneWay, Source={x:Static common:ViewerDataModel.Instance}}"> |
129 |
<Canvas.RenderTransform>
|
130 |
<TransformGroup>
|
131 |
<RotateTransform x:Name="rotate" Angle="0"/> |
132 |
<TranslateTransform x:Name="translate" X="0" Y="0"/> |
133 |
</TransformGroup>
|
134 |
</Canvas.RenderTransform>
|
135 |
|
136 |
<ItemsControl ItemsSource="{Binding MarkupControls, Source={x:Static common:ViewerDataModel.Instance}}" |
137 |
Panel.ZIndex="1"> |
138 |
<ItemsControl.ItemsPanel>
|
139 |
<ItemsPanelTemplate>
|
140 |
<Canvas /> |
141 |
</ItemsPanelTemplate>
|
142 |
</ItemsControl.ItemsPanel>
|
143 |
</ItemsControl>
|
144 |
<ItemsControl ItemsSource="{Binding MarkupControls_USER, Source={x:Static common:ViewerDataModel.Instance}}" |
145 |
Panel.ZIndex="30"> |
146 |
<ItemsControl.ItemsPanel>
|
147 |
<ItemsPanelTemplate>
|
148 |
<Canvas /> |
149 |
</ItemsPanelTemplate>
|
150 |
</ItemsControl.ItemsPanel>
|
151 |
</ItemsControl>
|
152 |
<InkPresenter x:Name="inkBoard" HorizontalAlignment="Stretch" Panel.ZIndex="1" VerticalAlignment="Stretch"/> |
153 |
<InkCanvas x:Name="inkDrawingCanvas" |
154 |
Background="Transparent" |
155 |
IsEnabled="False" |
156 |
Panel.ZIndex="1" |
157 |
Strokes="{Binding MarkupPens, Source={x:Static common:ViewerDataModel.Instance}}" Height="1" Width="1"> |
158 |
<!--<Rectangle Height="41" HorizontalAlignment="Left" Name="rectangle1" Stroke="Black" VerticalAlignment="Top" Width="69" Fill="#FFDB1111" />-->
|
159 |
<!--<Ellipse Height="41" HorizontalAlignment="Left" Name="rectangle1" Stroke="Black" VerticalAlignment="Top" Width="69" Fill="#FFDB1111" />-->
|
160 |
|
161 |
<!--<MarkupToPDF:RectangleControl Height="200" HorizontalAlignment="Center" Name="rectangle2" StrokeColor="Black" VerticalAlignment="Top" Width="00" FillColor="Red"/>-->
|
162 |
</InkCanvas>
|
163 |
<!--강인구 추가-->
|
164 |
<Image Panel.ZIndex="0" |
165 |
Source="{Binding ImageViewPath, Source={x:Static common:ViewerDataModel.Instance}}" |
166 |
Width="{Binding ImageViewWidth, Source={x:Static common:ViewerDataModel.Instance}}" |
167 |
Height="{Binding ImageViewHeight, Source={x:Static common:ViewerDataModel.Instance}}" > |
168 |
</Image>
|
169 |
|
170 |
<Canvas x:Name="SelectLayer" HorizontalAlignment="Stretch" VerticalAlignment="Stretch"/> |
171 |
<Border x:Name="dragSelectionBorder" |
172 |
BorderBrush="Blue" |
173 |
BorderThickness="1" |
174 |
Background="LightBlue" |
175 |
CornerRadius="1" |
176 |
Panel.ZIndex="1" |
177 |
Opacity="0.5"/> |
178 |
<Border x:Name="dragCaptureBorder" |
179 |
BorderBrush="Blue" |
180 |
BorderThickness="1" |
181 |
Background="Blue" |
182 |
CornerRadius="1" |
183 |
Panel.ZIndex="1" |
184 |
Opacity="0.5"/> |
185 |
<Border x:Name="dragZoomBorder" |
186 |
BorderThickness="3" |
187 |
Background="Transparent" |
188 |
CornerRadius="1" |
189 |
Panel.ZIndex="1" |
190 |
Opacity="1"> |
191 |
<Border.BorderBrush>
|
192 |
<VisualBrush>
|
193 |
<VisualBrush.Visual>
|
194 |
<Rectangle StrokeDashArray="4 2" Stroke="Gray" StrokeThickness="1" |
195 |
Width="{Binding RelativeSource={RelativeSource AncestorType={x:Type Border}}, Path=ActualWidth}" |
196 |
Height="{Binding RelativeSource={RelativeSource AncestorType={x:Type Border}}, Path=ActualHeight}"/> |
197 |
</VisualBrush.Visual>
|
198 |
</VisualBrush>
|
199 |
</Border.BorderBrush>
|
200 |
</Border>
|
201 |
<!--<Border x:Name="dragZoomBorder"
|
202 |
BorderBrush="Black"
|
203 |
BorderThickness="1"
|
204 |
|
205 |
Background="Transparent"
|
206 |
CornerRadius="1"
|
207 |
Panel.ZIndex="1"
|
208 |
Opacity="0.5"/>-->
|
209 |
|
210 |
|
211 |
<!--<Border Background="Red" Panel.ZIndex="1" Opacity="0.5" Visibility="Visible" Width="100" Height="100" />-->
|
212 |
</Canvas>
|
213 |
|
214 |
<!--<Border Background="Red" Panel.ZIndex="1" Opacity="0.5" Visibility="Visible" Width="1000" Height="1000" IsHitTestVisible="False"/>-->
|
215 |
|
216 |
<!--<Leadtools_Windows_Controls:RasterImageViewer x:Name="_imageViewer" Grid.Row="1" BorderThickness="0"/>-->
|
217 |
</Canvas>
|
218 |
|
219 |
</ZoomAndPan:ZoomAndPanControl>
|
220 |
<!--캡쳐 화면을 위한 보더-->
|
221 |
<Border Background="LightGray" |
222 |
Opacity="{Binding Capture_Opacity, Source={x:Static common:ViewerDataModel.Instance}}" |
223 |
IsHitTestVisible="False" > |
224 |
<TextBlock HorizontalAlignment="Right" Foreground="Red" Text="캡쳐 진행 화면" FontSize="30"/> |
225 |
</Border>
|
226 |
<Angle:AngleControl x:Name="MainAngle" |
227 |
Grid.Column="1" |
228 |
Grid.ColumnSpan="2" |
229 |
Margin="10" |
230 |
AngleValue="{Binding AngleValue, Mode=TwoWay, Source={x:Static common:ViewerDataModel.Instance}}" |
231 |
HorizontalAlignment="Right" |
232 |
VerticalAlignment="Top" |
233 |
IsHitTestVisible="False" |
234 |
Visibility="Collapsed" /> |
235 |
</Grid>
|
236 |
</telerik:RadDocumentPane>
|
237 |
</telerik:RadPaneGroup>
|
238 |
<telerik:RadPaneGroup Style="{DynamicResource Style_RadPanelGroup}" > |
239 |
<telerik:RadPane CanFloat="False" CanUserClose="False" Title="Document 1" PaneHeaderVisibility="Collapsed" x:Name="testPanel2" IsHidden="True" Margin="0,-20,0,0" > |
240 |
<Grid Background="{DynamicResource KCOMColor_DocumnetBackgroundBrush}"> |
241 |
<ZoomAndPan:ZoomAndPanControl x:Name="zoomAndPanControl2" |
242 |
MouseWheel="zoomAndPanControl2_MouseWheel" |
243 |
MouseMove="zoomAndPanControl2_MouseMove" |
244 |
MouseDown="zoomAndPanControl2_MouseDown" |
245 |
MouseUp="zoomAndPanControl2_MouseUp" |
246 |
MouseLeave="zoomAndPanControl_MouseLeave" |
247 |
ContentScale="{Binding Sync_ContentScale, Mode=TwoWay, Source={x:Static common:ViewerDataModel.Instance}}" |
248 |
ContentOffsetX="{Binding Sync_ContentOffsetX, Mode=TwoWay, Source={x:Static common:ViewerDataModel.Instance}}" |
249 |
ContentOffsetY="{Binding Sync_ContentOffsetY, Mode=TwoWay, Source={x:Static common:ViewerDataModel.Instance}}" |
250 |
ConstrainedContentViewportWidth="{Binding ContentViewportWidth, Mode=TwoWay, Source={x:Static common:ViewerDataModel.Instance}}" |
251 |
ConstrainedContentViewportHeight="{Binding ContentViewportHeight, Mode=TwoWay, Source={x:Static common:ViewerDataModel.Instance}}" |
252 |
Background="LightGray"> |
253 |
<Canvas x:Name="zoomAndPanCanvas2" Opacity="1" Background="White"> |
254 |
<Canvas x:Name="drawingRotateCanvas2" |
255 |
Panel.ZIndex="1" |
256 |
Background="{Binding BackgroundImage, Mode=OneWay, Source={x:Static common:ViewerDataModel.Instance}}"> |
257 |
<Canvas.RenderTransform>
|
258 |
<TransformGroup>
|
259 |
<RotateTransform x:Name="rotate2" Angle="0"/> |
260 |
<TranslateTransform x:Name="translate2" X="0" Y="0"/> |
261 |
</TransformGroup>
|
262 |
</Canvas.RenderTransform>
|
263 |
<ItemsControl x:Name="itemsControl" ItemsSource="{Binding MarkupControls_Sync, Source={x:Static common:ViewerDataModel.Instance}}" |
264 |
Panel.ZIndex="1"> |
265 |
<ItemsControl.ItemsPanel>
|
266 |
<ItemsPanelTemplate>
|
267 |
<Canvas > |
268 |
|
269 |
</Canvas>
|
270 |
</ItemsPanelTemplate>
|
271 |
</ItemsControl.ItemsPanel>
|
272 |
</ItemsControl>
|
273 |
<Image
|
274 |
Source="{Binding ImageViewPath_C, Source={x:Static common:ViewerDataModel.Instance}}" |
275 |
Width="{Binding ImageViewWidth_C, Source={x:Static common:ViewerDataModel.Instance}}" |
276 |
Height="{Binding ImageViewHeight_C, Source={x:Static common:ViewerDataModel.Instance}}" > |
277 |
</Image>
|
278 |
<Canvas x:Name="canvas_compareBorder" IsHitTestVisible="False" Width="{Binding ActualWidth, ElementName=zoomAndPanCanvas2}" Height="{Binding ActualHeight, ElementName=zoomAndPanCanvas2}" Panel.ZIndex="1"> |
279 |
<!--<Canvas.RenderTransform>
|
280 |
-->
|
281 |
<!--<RotateTransform Angle="{Binding Angle, Source={x:Static common:ViewerDataModel.Instance}}"/>-->
|
282 |
<!--
|
283 |
<RotateTransform Angle="{Binding Angle, ElementName=zoomAndPanCanvas2}"/>
|
284 |
</Canvas.RenderTransform>-->
|
285 |
</Canvas>
|
286 |
<!--강인구 추가-->
|
287 |
</Canvas>
|
288 |
</Canvas>
|
289 |
</ZoomAndPan:ZoomAndPanControl>
|
290 |
<Grid Background="#FF353535" Opacity="0.5" IsHitTestVisible="False"/> |
291 |
|
292 |
<Viewbox VerticalAlignment="Stretch" HorizontalAlignment="Stretch" StretchDirection="DownOnly" Stretch="Uniform" IsHitTestVisible="False"> |
293 |
<TextBlock Text="Previous Document" HorizontalAlignment="Center" VerticalAlignment="Center" RenderTransformOrigin="0.5, 0.5" FontSize="50" |
294 |
Foreground="White" Opacity="0.5" FontWeight="Bold"> |
295 |
<TextBlock.RenderTransform>
|
296 |
<RotateTransform Angle="-25"/> |
297 |
</TextBlock.RenderTransform>
|
298 |
</TextBlock>
|
299 |
</Viewbox>
|
300 |
|
301 |
<!--<telerik:RadExpander Header="OPEN" Background="Transparent" telerik:StyleManager.Theme="Office2016"
|
302 |
ExpandDirection="Right" VerticalAlignment="Top" HorizontalAlignment="Left">-->
|
303 |
<Grid Height="Auto" VerticalAlignment="Top" > |
304 |
<Grid.RowDefinitions>
|
305 |
<RowDefinition/> |
306 |
<RowDefinition/> |
307 |
</Grid.RowDefinitions>
|
308 |
<!--<Border Background="#3b3838" VerticalAlignment="Stretch" HorizontalAlignment="Stretch" Opacity="0.5" Grid.RowSpan="2"/>-->
|
309 |
<Border Background="Black" VerticalAlignment="Stretch" HorizontalAlignment="Stretch" Opacity="0.5" Grid.RowSpan="2" BorderThickness="0"/> |
310 |
<StackPanel Orientation="Horizontal" HorizontalAlignment="Left"> |
311 |
<!--<TextBlock Text="ReadOnly Mode" Foreground="#FFFF9A25" VerticalAlignment="Center" Margin="10"/>-->
|
312 |
<TextBlock Text="Rev.A" Foreground="#FFFF9A25" VerticalAlignment="Center" Margin="10" x:Name="tlSyncRev"/> |
313 |
<TextBlock Text="Current Page : 1" Foreground="White" VerticalAlignment="Center" x:Name="tlSyncPageNum"/> |
314 |
</StackPanel>
|
315 |
<StackPanel Orientation="Horizontal" HorizontalAlignment="Right"> |
316 |
<!--<telerik:RadToggleButton x:Name="CompareMode" IsChecked="False" Content="Compare" Margin="5" Checked="SyncCompare_Click" Unchecked="SyncCompare_Click" BorderThickness="0" telerik:StyleManager.Theme="Office2013"
|
317 |
Style="{DynamicResource RadToggleSwtichButtonStyle}" Width="Auto" Padding="10,0"/>-->
|
318 |
<!--<telerik:RadRibbonToggleButton x:Name="UserList" Content="User List" Foreground="white" Margin="5" Click="SyncUserListExpender_Click" BorderThickness="0" telerik:StyleManager.Theme="Office2013" VerticalAlignment="Center"/>-->
|
319 |
|
320 |
<toggle:HorizontalToggleSwitch x:Name="Sync" CheckedContent="Sync" UncheckedContent="Sync" Width="75" IsChecked="False" ThumbSize="25" |
321 |
FontSize="10" FontWeight="Normal" BorderBrush="Transparent" Opacity="0.6" |
322 |
Margin="5" Checked="Sync_Click" Unchecked="Sync_Click" BorderThickness="0" telerik:StyleManager.Theme="Office2013"/> |
323 |
|
324 |
<toggle:HorizontalToggleSwitch x:Name="UserList" CheckedContent="User List" UncheckedContent="User List" Width="75" IsChecked="False" ThumbSize="25" |
325 |
FontSize="10" FontWeight="Normal" BorderBrush="Transparent" Opacity="0.6" |
326 |
Margin="5" Checked="SyncUserListExpender_Click" Unchecked="SyncUserListExpender_Click" BorderThickness="0" telerik:StyleManager.Theme="Office2013"/> |
327 |
|
328 |
<toggle:HorizontalToggleSwitch x:Name="CompareMode" CheckedContent="Compare On" UncheckedContent="Compare Off" Width="90" IsChecked="False" ThumbSize="25" |
329 |
FontSize="10" FontWeight="Normal" BorderBrush="Transparent" Opacity="0.6" |
330 |
Margin="5" Checked="SyncCompare_Click" Unchecked="SyncCompare_Click" BorderThickness="0" telerik:StyleManager.Theme="Office2013"/> |
331 |
|
332 |
<toggle:HorizontalToggleSwitch x:Name="MarkupMode" CheckedContent="Pdf" UncheckedContent="Markup" Width="75" IsChecked="False" ThumbSize="25" |
333 |
FontSize="10" FontWeight="Normal" BorderBrush="Transparent" Opacity="0.6" |
334 |
Margin="5" Checked="SyncChange_Click" Unchecked="SyncChange_Click" BorderThickness="0" telerik:StyleManager.Theme="Office2013"/> |
335 |
|
336 |
<toggle:HorizontalToggleSwitch x:Name="BalanceMode" CheckedContent="Balance On" UncheckedContent="Balance Off" Width="90" IsChecked="False" ThumbSize="25" |
337 |
FontSize="10" FontWeight="Normal" BorderBrush="Transparent" Opacity="0.6" |
338 |
Margin="5" Checked="SyncPageBalance_Click" Unchecked="SyncPageBalance_Click" BorderThickness="0" telerik:StyleManager.Theme="Office2013"/> |
339 |
|
340 |
|
341 |
<!--<telerik:RadRibbonToggleButton x:Name="MArkupMode" Content="Markup Mode" Foreground="White" Margin="5" Click="SyncChange_Click" BorderThickness="0" telerik:StyleManager.Theme="Office2013"/>-->
|
342 |
<!--<telerik:RadRibbonToggleButton x:Name="BalanceMode" Content="Balance Mode" Foreground="White" Margin="5" Click="SyncPageBalance_Click" BorderThickness="0" telerik:StyleManager.Theme="Office2013"/>-->
|
343 |
<telerik:RadRibbonButton Margin="5" Click="SyncPageChange_Click" Tag="-1" telerik:StyleManager.Theme="Office2013" VerticalAlignment="Center"> |
344 |
<Image Height="20" |
345 |
Source="/KCOM;component/Resources/Images/MenuImage_New/up-arrow.png" |
346 |
Stretch="Uniform" /> |
347 |
</telerik:RadRibbonButton>
|
348 |
<telerik:RadRibbonButton Margin="5" Click="SyncPageChange_Click" Tag="1" telerik:StyleManager.Theme="Office2013" VerticalAlignment="Center"> |
349 |
<Image Height="20" |
350 |
Source="/KCOM;component/Resources/Images/MenuImage_New/up-arrow.png" RenderTransformOrigin="0.5 0.5" |
351 |
Stretch="Uniform"> |
352 |
<Image.RenderTransform>
|
353 |
<RotateTransform Angle="180"/> |
354 |
</Image.RenderTransform>
|
355 |
</Image>
|
356 |
</telerik:RadRibbonButton>
|
357 |
<telerik:RadRibbonButton Margin="5" Click="SyncExit_Click" telerik:StyleManager.Theme="Office2013" VerticalAlignment="Center"> |
358 |
<Image Height="20" |
359 |
Source="/KCOM;component/Resources/Images/MenuImage_New/cancel.png" |
360 |
Stretch="Uniform" /> |
361 |
</telerik:RadRibbonButton>
|
362 |
</StackPanel>
|
363 |
<telerik:RadGridView telerik:StyleManager.Theme="Office2013" ShowGroupPanel="False" ShowGroupFooters="False" AutoExpandGroups="False" x:Name="gridViewRevMarkup" |
364 |
AutoGenerateColumns="False" HorizontalContentAlignment="Center" SelectionChanged="gridViewRevMarkup_SelectionChanged" SelectionMode="Multiple" BorderThickness="0" |
365 |
CanUserFreezeColumns ="False" Visibility="Collapsed" GridLinesVisibility="None" |
366 |
CanUserDeleteRows="True" CanUserInsertRows="False" IsFilteringAllowed="False" RowIndicatorVisibility="Collapsed" Grid.Row="1"> |
367 |
<telerik:RadGridView.HeaderRowStyle>
|
368 |
<Style TargetType="telerik:GridViewHeaderRow"> |
369 |
<Setter Property="BorderThickness" Value="0"/> |
370 |
<Setter Property="Background" Value="Red"/> |
371 |
<Setter Property="Foreground" Value="White"/> |
372 |
<Setter Property="HorizontalContentAlignment" Value="Center"/> |
373 |
<Setter Property="FontWeight" Value="Black"/> |
374 |
<Setter Property="telerik:StyleManager.Theme" Value="Office2013"/> |
375 |
</Style>
|
376 |
</telerik:RadGridView.HeaderRowStyle>
|
377 |
<telerik:RadGridView.RowStyle>
|
378 |
<Style TargetType="telerik:GridViewRow"> |
379 |
<Setter Property="HorizontalContentAlignment" Value="Center"/> |
380 |
<Setter Property="Background" Value="{Binding Path=Consolidate, Converter={StaticResource ConsolidationBackgroudConverter}}" /> |
381 |
<Setter Property="Foreground" Value="White"/> |
382 |
</Style>
|
383 |
</telerik:RadGridView.RowStyle>
|
384 |
<telerik:RadGridView.Columns>
|
385 |
<telerik:GridViewSelectColumn Width="Auto" HeaderCellStyle="{StaticResource GridViewHeaderStyle}"> |
386 |
<telerik:GridViewSelectColumn.Header>
|
387 |
<telerik:RadRibbonToggleButton telerik:StyleManager.Theme="Office2016" |
388 |
Visibility="Collapsed" Width="Auto"> |
389 |
<telerik:RadRibbonToggleButton.Content>
|
390 |
<Image HorizontalAlignment="Center" |
391 |
VerticalAlignment="Center" |
392 |
Source="/KCOM;component/Resources/Images/MenuImage/check.png" /> |
393 |
</telerik:RadRibbonToggleButton.Content>
|
394 |
</telerik:RadRibbonToggleButton>
|
395 |
</telerik:GridViewSelectColumn.Header>
|
396 |
</telerik:GridViewSelectColumn>
|
397 |
<telerik:GridViewDataColumn Width="Auto" HeaderCellStyle="{StaticResource GridViewHeaderStyle}" |
398 |
Header="Color" |
399 |
IsReadOnly="True"> |
400 |
<telerik:GridViewDataColumn.CellTemplate>
|
401 |
<DataTemplate>
|
402 |
<Grid>
|
403 |
<Grid>
|
404 |
<Rectangle Margin="0,2,2,2" Fill="{Binding DisplayColor, Converter={StaticResource StringToColorConverter}}" /> |
405 |
<TextBlock Foreground="#00000000" Text="Color" /> |
406 |
</Grid>
|
407 |
<Grid VerticalAlignment="Center" Visibility="{Binding AvoidConsolidate, Converter={StaticResource BoolToVisibleConverter}}"> |
408 |
<Image Height="15" |
409 |
Source="/KCOM;component/Resources/Images/MenuImage/lock_2.png" |
410 |
Stretch="Uniform" /> |
411 |
</Grid>
|
412 |
</Grid>
|
413 |
|
414 |
</DataTemplate>
|
415 |
</telerik:GridViewDataColumn.CellTemplate>
|
416 |
</telerik:GridViewDataColumn>
|
417 |
<telerik:GridViewDataColumn Header="DEPT" IsReadOnly="True" Width="Auto" HeaderCellStyle="{StaticResource GridViewHeaderStyle}"> |
418 |
<telerik:GridViewDataColumn.CellTemplate>
|
419 |
<DataTemplate>
|
420 |
<TextBlock Text="{Binding Depatment}" FontSize="12"/> |
421 |
</DataTemplate>
|
422 |
</telerik:GridViewDataColumn.CellTemplate>
|
423 |
</telerik:GridViewDataColumn>
|
424 |
<telerik:GridViewDataColumn Header="NAME" IsReadOnly="True" Width="Auto" HeaderCellStyle="{StaticResource GridViewHeaderStyle}"> |
425 |
<telerik:GridViewDataColumn.CellTemplate>
|
426 |
<DataTemplate>
|
427 |
<TextBlock Text="{Binding UserName, Mode=TwoWay}" FontSize="10"/> |
428 |
</DataTemplate>
|
429 |
</telerik:GridViewDataColumn.CellTemplate>
|
430 |
</telerik:GridViewDataColumn>
|
431 |
<telerik:GridViewDataColumn Header="CONSOLIDATION" IsReadOnly="True" Width="Auto" HeaderCellStyle="{StaticResource GridViewHeaderStyle}"> |
432 |
<telerik:GridViewDataColumn.CellTemplate>
|
433 |
<DataTemplate>
|
434 |
<!--<TextBlock Text="{Binding Consolidate}"/>-->
|
435 |
<Grid>
|
436 |
<Grid.ColumnDefinitions>
|
437 |
<ColumnDefinition Width="Auto" /> |
438 |
<ColumnDefinition Width="Auto" /> |
439 |
<ColumnDefinition Width="Auto" /> |
440 |
</Grid.ColumnDefinitions>
|
441 |
|
442 |
<TextBlock Grid.Column="0" |
443 |
Foreground="Red" |
444 |
Text="{Binding AvoidConsolidate, |
445 |
Converter={StaticResource AvoidStringConverter}}" /> |
446 |
<TextBlock Grid.Column="1" |
447 |
Foreground="Blue" |
448 |
Text="{Binding PartConsolidate, |
449 |
Converter={StaticResource TeamConsoliStringConverter}}" /> |
450 |
<TextBlock Grid.Column="2" Text="{Binding Consolidate, Converter={StaticResource ConsoliStringConverter}}" /> |
451 |
<!--
|
452 |
<TextBlock HorizontalAlignment="Center" Grid.Column="2">
|
453 |
<TextBlock.Text>
|
454 |
<Binding Converter="{StaticResource ConsoliStringConverter}"/>
|
455 |
</TextBlock.Text>
|
456 |
</TextBlock>
|
457 |
-->
|
458 |
</Grid>
|
459 |
</DataTemplate>
|
460 |
</telerik:GridViewDataColumn.CellTemplate>
|
461 |
</telerik:GridViewDataColumn>
|
462 |
|
463 |
<telerik:GridViewDataColumn Header="Comment Move" IsReadOnly="True" Width="Auto" HeaderCellStyle="{StaticResource GridViewHeaderStyle}"> |
464 |
<telerik:GridViewDataColumn.CellTemplate>
|
465 |
<DataTemplate>
|
466 |
<telerik:RadButton telerik:StyleManager.Theme="Office2016" HorizontalAlignment="Stretch" VerticalAlignment="Stretch" Content="COPY" PreviewMouseDown="Comment_Move" /> |
467 |
<!--<TextBlock Text="{Binding UserName, Mode=TwoWay}" FontSize="10"/>-->
|
468 |
</DataTemplate>
|
469 |
</telerik:GridViewDataColumn.CellTemplate>
|
470 |
</telerik:GridViewDataColumn>
|
471 |
|
472 |
<telerik:GridViewDataColumn Header="" IsReadOnly="True" Width="*" HeaderCellStyle="{StaticResource GridViewHeaderStyle}"> |
473 |
</telerik:GridViewDataColumn>
|
474 |
</telerik:RadGridView.Columns>
|
475 |
</telerik:RadGridView>
|
476 |
</Grid>
|
477 |
<!--</telerik:RadExpander>-->
|
478 |
|
479 |
|
480 |
</Grid>
|
481 |
</telerik:RadPane>
|
482 |
</telerik:RadPaneGroup>
|
483 |
</telerik:RadSplitContainer>
|
484 |
</telerik:RadDocking.DocumentHost>
|
485 |
|
486 |
|
487 |
<telerik:RadSplitContainer Orientation="Vertical" InitialPosition="DockedLeft" Width="250" MinWidth="250"> |
488 |
<!--<telerik:RadPaneGroup Margin="0" Style="{DynamicResource Style_RadPanelGroup}">-->
|
489 |
<telerik:RadPaneGroup Margin="0" telerik:StyleManager.Theme="Office2016" x:Name="PN_Navi"> |
490 |
<telerik:RadPane Header="DOCUMENT" CanFloat="False" CanUserClose="False" CanUserPin="True" |
491 |
ContextMenuTemplate="{x:Null}" PaneHeaderVisibility="Visible" telerik:StyleManager.Theme="Office2016"> |
492 |
<!--<telerik:RadPane.TitleTemplate>
|
493 |
<DataTemplate>
|
494 |
<Grid>
|
495 |
<Grid.ColumnDefinitions>
|
496 |
<ColumnDefinition Width="Auto" />
|
497 |
<ColumnDefinition />
|
498 |
</Grid.ColumnDefinitions>
|
499 |
<ContentPresenter Content="{Binding}"
|
500 |
Margin="0,0,75,0" />
|
501 |
<telerik:RadButton Grid.Column="1" Content="PIN"/>
|
502 |
</Grid>
|
503 |
</DataTemplate>
|
504 |
</telerik:RadPane.TitleTemplate>-->
|
505 |
<!--<Grid VerticalAlignment="Stretch" Margin="0">
|
506 |
<Grid.RowDefinitions>
|
507 |
<RowDefinition Height="30"/>
|
508 |
<RowDefinition Height="*"/>
|
509 |
</Grid.RowDefinitions>
|
510 |
<Border BorderBrush="{Binding ElementName=leftPanel}" BorderThickness="0,1">
|
511 |
<TextBlock Text="Thumbnail" Margin="5"/>
|
512 |
</Border>
|
513 |
<controls:PageNavigator x:Name="pageNavigator" Grid.Row="1"/>
|
514 |
</Grid>-->
|
515 |
<Grid>
|
516 |
<!--<controls:PageNavigator x:Name="pageNavigator" Grid.Row="1" Visibility="Collapsed"/>-->
|
517 |
<!--<Grid.RowDefinitions>
|
518 |
<RowDefinition Height="Auto"/>
|
519 |
<RowDefinition Height="*"/>
|
520 |
</Grid.RowDefinitions>-->
|
521 |
<!--<telerik:RadButton Content="Panorama" telerik:StyleManager.Theme="Office2016" FontSize="8" Background="#FF0054B9" Foreground="White"
|
522 |
BorderThickness="0" CornerRadius="3" HorizontalAlignment="Right" Padding="5" Margin="5,10"/>-->
|
523 |
<controls:Sample x:Name="pageNavigator"/> |
524 |
</Grid>
|
525 |
|
526 |
</telerik:RadPane>
|
527 |
</telerik:RadPaneGroup>
|
528 |
</telerik:RadSplitContainer>
|
529 |
|
530 |
<telerik:RadSplitContainer Orientation="Vertical" InitialPosition="DockedRight" MaxWidth="300" Width="300"> |
531 |
<telerik:RadPaneGroup telerik:StyleManager.Theme="Office2016"> |
532 |
<telerik:RadPane Header="SEARCH" Visibility="Visible" CanFloat="False" CanUserClose="False" ContextMenuTemplate="{x:Null}" IsPinned="False" telerik:StyleManager.Theme="Office2016" x:Name="searchPane"> |
533 |
<controls:SearchPanel x:Name="searchPanel_Instance"/> |
534 |
</telerik:RadPane>
|
535 |
</telerik:RadPaneGroup>
|
536 |
<telerik:RadPaneGroup telerik:StyleManager.Theme="Office2016"> |
537 |
<telerik:RadPane Header="M-TALK" CanFloat="False" CanUserClose="False" Visibility="Collapsed" ContextMenuTemplate="{x:Null}" IsPinned="False" telerik:StyleManager.Theme="Office2016" x:Name="talkPane"> |
538 |
<messanger:ConversationView/> |
539 |
</telerik:RadPane>
|
540 |
</telerik:RadPaneGroup>
|
541 |
<telerik:RadPaneGroup Visibility="Visible" telerik:StyleManager.Theme="Office2016"> |
542 |
<telerik:RadPane Header="SYMBOL" Visibility="Visible" CanFloat="False" CanUserClose="False" ContextMenuTemplate="{x:Null}" IsPinned="False" telerik:StyleManager.Theme="Office2016" x:Name="SymbolPane"> |
543 |
<controls:Symbol /> |
544 |
<!--<telerik:RadButton Click="Create_Symbol">Create</telerik:RadButton>-->
|
545 |
</telerik:RadPane>
|
546 |
</telerik:RadPaneGroup>
|
547 |
<telerik:RadPaneGroup telerik:StyleManager.Theme="Office2016" telerik:ProportionalStackPanel.RelativeSize="60, 100"> |
548 |
<telerik:RadPane Header="FAVORITE" Visibility="Visible" CanFloat="False" CanUserClose="False" ContextMenuTemplate="{x:Null}" IsPinned="False" telerik:StyleManager.Theme="Office2016" x:Name="FavoritePane"> |
549 |
<controls:FavoritePanel/> |
550 |
</telerik:RadPane>
|
551 |
</telerik:RadPaneGroup>
|
552 |
</telerik:RadSplitContainer>
|
553 |
<telerik:RadSplitContainer Orientation="Horizontal" InitialPosition="DockedBottom"> |
554 |
<telerik:RadPaneGroup telerik:StyleManager.Theme="Office2016" telerik:ProportionalStackPanel.RelativeSize="140, 100"> |
555 |
<telerik:RadPane Header="User information List" CanFloat="False" CanUserClose="False" ContextMenuTemplate="{x:Null}" telerik:StyleManager.Theme="Office2016" x:Name="infoListPane"> |
556 |
<telerik:RadPane.TitleTemplate>
|
557 |
<DataTemplate>
|
558 |
<Grid>
|
559 |
<Grid.ColumnDefinitions>
|
560 |
<ColumnDefinition Width="*" /> |
561 |
<ColumnDefinition Width="Auto" /> |
562 |
</Grid.ColumnDefinitions>
|
563 |
|
564 |
<StackPanel Orientation="Horizontal"> |
565 |
<TextBlock Margin="1" |
566 |
VerticalAlignment="Center" |
567 |
Text="{Binding}" /> |
568 |
<telerik:RadRibbonButton x:Name="btnConsolidate" |
569 |
VerticalAlignment="Center" |
570 |
Click="btnConsolidate_Click" |
571 |
Loaded="btnConsolidate_Loaded" |
572 |
telerik:StyleManager.Theme="Office2016" |
573 |
ToolTipService.ToolTip="Consolidate"> |
574 |
<Border Background="#E9F0F8" |
575 |
BorderBrush="#839AB3" |
576 |
BorderThickness="1"> |
577 |
<StackPanel Margin="1" Orientation="Horizontal"> |
578 |
<!--<Image Width="15" Source="/DeepView;component/Images/MenuImage/document-new.png" />-->
|
579 |
<TextBlock Margin="1" |
580 |
VerticalAlignment="Center" |
581 |
Foreground="Black" |
582 |
Text="Consolidate" /> |
583 |
</StackPanel>
|
584 |
</Border>
|
585 |
</telerik:RadRibbonButton>
|
586 |
<telerik:RadRibbonButton x:Name="btnTeamConsolidate" |
587 |
VerticalAlignment="Center" |
588 |
Click="btnTeamConsolidate_Click" |
589 |
Loaded="btnTeamConsolidate_Loaded" |
590 |
telerik:StyleManager.Theme="Office2016" |
591 |
ToolTipService.ToolTip="Consolidate"> |
592 |
<Border Background="#E9F0F8" |
593 |
BorderBrush="#839AB3" |
594 |
BorderThickness="1"> |
595 |
<StackPanel Margin="1" Orientation="Horizontal"> |
596 |
<!--<Image Width="15" Source="/DeepView;component/Images/MenuImage/document-team.png" />-->
|
597 |
<TextBlock Margin="1" |
598 |
VerticalAlignment="Center" |
599 |
Foreground="Black" |
600 |
Text="Team Consolidate" /> |
601 |
</StackPanel>
|
602 |
</Border>
|
603 |
</telerik:RadRibbonButton>
|
604 |
<telerik:RadRibbonButton x:Name="btnFinalPDF" |
605 |
VerticalAlignment="Center" |
606 |
Click="FinalPDFEvent" |
607 |
Loaded="btnFinalPDF_Loaded" |
608 |
telerik:StyleManager.Theme="Office2016" |
609 |
ToolTipService.ToolTip="FinalPDF"> |
610 |
<Border Background="#E9F0F8" |
611 |
BorderBrush="#839AB3" |
612 |
BorderThickness="1"> |
613 |
<StackPanel Margin="1" Orientation="Horizontal"> |
614 |
<!--<Image Width="15" Source="/DeepView;component/Images/MenuImage/final_pdf2.png" />-->
|
615 |
<TextBlock Margin="1" |
616 |
VerticalAlignment="Center" |
617 |
Foreground="Black" |
618 |
Text="Merged PDF" /> |
619 |
</StackPanel>
|
620 |
</Border>
|
621 |
</telerik:RadRibbonButton>
|
622 |
</StackPanel>
|
623 |
<!--<StackPanel Grid.Column="1"
|
624 |
HorizontalAlignment="Right"
|
625 |
Orientation="Horizontal">
|
626 |
<telerik:RadRibbonButton VerticalAlignment="Center"
|
627 |
Click="ExpandButtonEvent_Click"
|
628 |
Tag="CLOSE"
|
629 |
telerik:StyleManager.Theme="Windows8"
|
630 |
ToolTipService.ToolTip="Expand On">
|
631 |
</telerik:RadRibbonButton>
|
632 |
|
633 |
<telerik:RadRibbonButton VerticalAlignment="Center"
|
634 |
Click="ExpandButtonEvent_Click"
|
635 |
Tag="OPEN"
|
636 |
telerik:StyleManager.Theme="Windows8"
|
637 |
ToolTipService.ToolTip="Expand Off">
|
638 |
<Image Width="15"
|
639 |
RenderTransformOrigin="0.5,0.5">
|
640 |
<Image.RenderTransform>
|
641 |
<RotateTransform Angle="180" />
|
642 |
</Image.RenderTransform>
|
643 |
</Image>
|
644 |
</telerik:RadRibbonButton>
|
645 |
</StackPanel>-->
|
646 |
</Grid>
|
647 |
</DataTemplate>
|
648 |
</telerik:RadPane.TitleTemplate>
|
649 |
<telerik:RadGridView telerik:StyleManager.Theme="Office2013" ShowGroupPanel="False" ShowGroupFooters="False" AutoExpandGroups="False" x:Name="gridViewMarkup" |
650 |
AutoGenerateColumns="False" HorizontalContentAlignment="Center" SelectionChanged="gridViewMarkup_SelectionChanged" SelectionMode="Multiple" |
651 |
CanUserDeleteRows="True" CanUserInsertRows="False" IsFilteringAllowed="False" RowIndicatorVisibility="Collapsed"> |
652 |
<telerik:RadGridView.RowStyle>
|
653 |
<Style TargetType="telerik:GridViewRow"> |
654 |
<Setter Property="HorizontalContentAlignment" Value="Center"/> |
655 |
<Setter Property="Background" Value="{Binding Path=Consolidate, Converter={StaticResource ConsolidationBackgroudConverter}}" /> |
656 |
<Setter Property="Visibility" Value="{Binding Path=IsPreviewUser,Converter={StaticResource previewerVisibleConverter}}"/> |
657 |
<!--<Setter Property="Template" Value="{StaticResource GridViewRowTemplate}" />-->
|
658 |
</Style>
|
659 |
</telerik:RadGridView.RowStyle>
|
660 |
<telerik:RadGridView.Columns>
|
661 |
<telerik:GridViewSelectColumn Width="Auto"> |
662 |
<telerik:GridViewSelectColumn.Header>
|
663 |
<telerik:RadRibbonToggleButton telerik:StyleManager.Theme="Office2016" |
664 |
Visibility="Collapsed" Width="Auto"> |
665 |
<telerik:RadRibbonToggleButton.Content>
|
666 |
<Image HorizontalAlignment="Center" |
667 |
VerticalAlignment="Center" |
668 |
Source="/KCOM;component/Resources/Images/MenuImage/check.png" /> |
669 |
</telerik:RadRibbonToggleButton.Content>
|
670 |
</telerik:RadRibbonToggleButton>
|
671 |
</telerik:GridViewSelectColumn.Header>
|
672 |
</telerik:GridViewSelectColumn>
|
673 |
<telerik:GridViewDataColumn Width="Auto" |
674 |
Header="Color" |
675 |
IsReadOnly="True"> |
676 |
<telerik:GridViewDataColumn.CellTemplate>
|
677 |
<DataTemplate>
|
678 |
<Grid>
|
679 |
<Grid>
|
680 |
<Rectangle Margin="0,2,2,2" Fill="{Binding DisplayColor, Converter={StaticResource StringToColorConverter}}" /> |
681 |
<TextBlock Foreground="#00000000" Text="Color" /> |
682 |
</Grid>
|
683 |
<Grid VerticalAlignment="Center" Visibility="{Binding AvoidConsolidate, Converter={StaticResource BoolToVisibleConverter}}"> |
684 |
<Image Height="15" |
685 |
Source="/KCOM;component/Resources/Images/MenuImage/lock_2.png" |
686 |
Stretch="Uniform" /> |
687 |
</Grid>
|
688 |
</Grid>
|
689 |
|
690 |
</DataTemplate>
|
691 |
</telerik:GridViewDataColumn.CellTemplate>
|
692 |
</telerik:GridViewDataColumn>
|
693 |
<telerik:GridViewDataColumn Header="DEPT" IsReadOnly="True" Width="Auto"> |
694 |
<telerik:GridViewDataColumn.CellTemplate>
|
695 |
<DataTemplate>
|
696 |
<TextBlock Text="{Binding Depatment}"/> |
697 |
</DataTemplate>
|
698 |
</telerik:GridViewDataColumn.CellTemplate>
|
699 |
</telerik:GridViewDataColumn>
|
700 |
<telerik:GridViewDataColumn Header="NAME" IsReadOnly="True" Width="Auto"> |
701 |
<telerik:GridViewDataColumn.CellTemplate>
|
702 |
<DataTemplate>
|
703 |
<TextBlock Text="{Binding UserName, Mode=TwoWay}"/> |
704 |
</DataTemplate>
|
705 |
</telerik:GridViewDataColumn.CellTemplate>
|
706 |
</telerik:GridViewDataColumn>
|
707 |
<telerik:GridViewDataColumn Header="UPDATETIME" IsReadOnly="True" Width="Auto"> |
708 |
<telerik:GridViewDataColumn.CellTemplate>
|
709 |
<DataTemplate>
|
710 |
<TextBlock Text="{Binding UpdateTime}"/> |
711 |
</DataTemplate>
|
712 |
</telerik:GridViewDataColumn.CellTemplate>
|
713 |
</telerik:GridViewDataColumn>
|
714 |
<telerik:GridViewDataColumn Header="CONSOLIDATION" IsReadOnly="True" Width="Auto"> |
715 |
<telerik:GridViewDataColumn.CellTemplate>
|
716 |
<DataTemplate>
|
717 |
<!--<TextBlock Text="{Binding Consolidate}"/>-->
|
718 |
<Grid>
|
719 |
<Grid.ColumnDefinitions>
|
720 |
<ColumnDefinition Width="Auto" /> |
721 |
<ColumnDefinition Width="Auto" /> |
722 |
<ColumnDefinition Width="Auto" /> |
723 |
</Grid.ColumnDefinitions>
|
724 |
|
725 |
<TextBlock Grid.Column="0" |
726 |
Foreground="Red" |
727 |
Text="{Binding AvoidConsolidate, |
728 |
Converter={StaticResource AvoidStringConverter}}" /> |
729 |
<TextBlock Grid.Column="1" |
730 |
Foreground="Blue" |
731 |
Text="{Binding PartConsolidate, |
732 |
Converter={StaticResource TeamConsoliStringConverter}}" /> |
733 |
<TextBlock Grid.Column="2" Text="{Binding Consolidate, Converter={StaticResource ConsoliStringConverter}}" /> |
734 |
<!--
|
735 |
<TextBlock HorizontalAlignment="Center" Grid.Column="2">
|
736 |
<TextBlock.Text>
|
737 |
<Binding Converter="{StaticResource ConsoliStringConverter}"/>
|
738 |
</TextBlock.Text>
|
739 |
</TextBlock>
|
740 |
-->
|
741 |
</Grid>
|
742 |
</DataTemplate>
|
743 |
</telerik:GridViewDataColumn.CellTemplate>
|
744 |
</telerik:GridViewDataColumn>
|
745 |
<telerik:GridViewDataColumn Header="DESCRIPTION" IsReadOnly="True" Width="*"> |
746 |
<telerik:GridViewDataColumn.CellTemplate>
|
747 |
<DataTemplate>
|
748 |
<TextBlock Text="{Binding Description}"/> |
749 |
</DataTemplate>
|
750 |
</telerik:GridViewDataColumn.CellTemplate>
|
751 |
</telerik:GridViewDataColumn>
|
752 |
<telerik:GridViewDataColumn Header="DELETE" IsReadOnly="True" Width="Auto"> |
753 |
<telerik:GridViewDataColumn.CellTemplate>
|
754 |
<DataTemplate>
|
755 |
<Button Content="DELETE" Visibility="{Binding userDelete, Converter={StaticResource BooleanToVisibilityConverter}}" Click="DeleteCommentEvent" CommandParameter="{Binding}"/> |
756 |
</DataTemplate>
|
757 |
</telerik:GridViewDataColumn.CellTemplate>
|
758 |
</telerik:GridViewDataColumn>
|
759 |
</telerik:RadGridView.Columns>
|
760 |
</telerik:RadGridView>
|
761 |
</telerik:RadPane>
|
762 |
</telerik:RadPaneGroup>
|
763 |
<telerik:RadPaneGroup telerik:StyleManager.Theme="Office2016" telerik:ProportionalStackPanel.RelativeSize="60, 100"> |
764 |
<telerik:RadPane Header="Document History" CanFloat="False" CanUserClose="False" ContextMenuTemplate="{x:Null}" telerik:StyleManager.Theme="Office2016" x:Name="historyPane"> |
765 |
<Grid>
|
766 |
<telerik:RadGridView telerik:StyleManager.Theme="Office2013" ShowGroupPanel="False" ShowGroupFooters="False" AutoExpandGroups="False" x:Name="gridViewHistory" |
767 |
CanUserDeleteRows="True" CanUserInsertRows="False" IsFilteringAllowed="False" RowIndicatorVisibility="Collapsed" AutoGenerateColumns="False"> |
768 |
<telerik:RadGridView.Columns>
|
769 |
<telerik:GridViewDataColumn Header="Rev No" IsReadOnly="True" Width="Auto"> |
770 |
<telerik:GridViewDataColumn.CellTemplate>
|
771 |
<DataTemplate>
|
772 |
<TextBlock Text="{Binding RevNo}" HorizontalAlignment="Center"/> |
773 |
</DataTemplate>
|
774 |
</telerik:GridViewDataColumn.CellTemplate>
|
775 |
</telerik:GridViewDataColumn>
|
776 |
<telerik:GridViewDataColumn Header="Slip No" IsReadOnly="True" Width="Auto"> |
777 |
<telerik:GridViewDataColumn.CellTemplate>
|
778 |
<DataTemplate>
|
779 |
<TextBlock Text="{Binding GroupNo}" HorizontalAlignment="Center"/> |
780 |
</DataTemplate>
|
781 |
</telerik:GridViewDataColumn.CellTemplate>
|
782 |
</telerik:GridViewDataColumn>
|
783 |
<telerik:GridViewDataColumn Header="RESULT" IsReadOnly="True" Width="Auto"> |
784 |
<telerik:GridViewDataColumn.CellTemplate>
|
785 |
<DataTemplate>
|
786 |
<TextBlock Text="{Binding RESULT}" HorizontalAlignment="Center"/> |
787 |
</DataTemplate>
|
788 |
</telerik:GridViewDataColumn.CellTemplate>
|
789 |
</telerik:GridViewDataColumn>
|
790 |
<telerik:GridViewDataColumn CellStyle="{StaticResource GridViewAlign}" IsReadOnly="True" |
791 |
DataMemberBinding="{Binding FROM_VENDOR}" |
792 |
Header="File(in)" telerik:StyleManager.Theme="Office2013" |
793 |
HeaderTextAlignment="Center"> |
794 |
<telerik:GridViewDataColumn.CellTemplate>
|
795 |
<DataTemplate>
|
796 |
<Image Height="22" Source="/KCOM;component/Resources/Images/MenuImage_New/PDF.png" |
797 |
MouseLeftButtonDown="PdfLink_ButtonDown" Tag="{Binding FROM_VENDOR}" |
798 |
Visibility="{Binding FROM_VENDOR, Converter={StaticResource PDFVisibleConverter}}"/> |
799 |
</DataTemplate>
|
800 |
</telerik:GridViewDataColumn.CellTemplate>
|
801 |
</telerik:GridViewDataColumn>
|
802 |
|
803 |
<telerik:GridViewDataColumn CellStyle="{StaticResource GridViewAlign}" |
804 |
DataMemberBinding="{Binding TO_VENDOR}" IsReadOnly="True" |
805 |
Header="File(out)" telerik:StyleManager.Theme="Office2013" |
806 |
HeaderTextAlignment="Center"> |
807 |
<telerik:GridViewDataColumn.CellTemplate>
|
808 |
<DataTemplate>
|
809 |
<Image Height="22" Source="/KCOM;component/Resources/Images/MenuImage_New/PDF.png" |
810 |
MouseLeftButtonDown="PdfLink_ButtonDown" Tag="{Binding TO_VENDOR}" |
811 |
Visibility="{Binding TO_VENDOR, Converter={StaticResource PDFVisibleConverter}}"/> |
812 |
</DataTemplate>
|
813 |
</telerik:GridViewDataColumn.CellTemplate>
|
814 |
</telerik:GridViewDataColumn>
|
815 |
|
816 |
|
817 |
<!--<telerik:GridViewDataColumn Header="FROM_VENDOR" IsReadOnly="True" Width="Auto">
|
818 |
<telerik:GridViewDataColumn.CellTemplate>
|
819 |
<DataTemplate>
|
820 |
<telerik:RadRibbonButton telerik:StyleManager.Theme="Office2016">
|
821 |
<
|
822 |
<TextBlock Text="{Binding FROM_VENDOR}" HorizontalAlignment="Center"/>
|
823 |
</telerik:RadRibbonButton>
|
824 |
</DataTemplate>
|
825 |
</telerik:GridViewDataColumn.CellTemplate>
|
826 |
</telerik:GridViewDataColumn>-->
|
827 |
<!--<telerik:GridViewDataColumn Header="TO_VENDOR" IsReadOnly="True" Width="Auto">
|
828 |
<telerik:GridViewDataColumn.CellTemplate>
|
829 |
<DataTemplate>
|
830 |
<TextBlock Text="{Binding TO_VENDOR}" HorizontalAlignment="Center"/>
|
831 |
</DataTemplate>
|
832 |
</telerik:GridViewDataColumn.CellTemplate>
|
833 |
</telerik:GridViewDataColumn>-->
|
834 |
<telerik:GridViewDataColumn Header="SYNC" IsReadOnly="True" Width="Auto" CellStyle="{StaticResource GridViewAlign}" HeaderTextAlignment="Center"> |
835 |
<telerik:GridViewDataColumn.CellTemplate>
|
836 |
<DataTemplate>
|
837 |
<!--<Border Grid.Column="1" Background="#FF0054B9" CornerRadius="5" Margin="5" VerticalAlignment="Center" MinHeight="20"
|
838 |
Visibility="{Binding IsSyncPossible, Converter={StaticResource BoolToVisibleConverter}}">
|
839 |
<telerik:RadButton Content="OPEN" telerik:StyleManager.Theme="Office2016" Foreground="White"
|
840 |
Background="Transparent" HorizontalAlignment="Stretch" Click="RadButton_Click" CommandParameter="{Binding}"/>
|
841 |
</Border>-->
|
842 |
<telerik:RadButton Margin="5" BorderThickness="0" Click="RadButton_Click" CommandParameter="{Binding}" Background="Transparent" |
843 |
Visibility="{Binding IsSyncPossible, Converter={StaticResource BoolToVisibleConverter}}"> |
844 |
<telerik:RadButton.Content>
|
845 |
<Image Source="/KCOM;component/Resources/Images/MenuImage_new/file.png" Stretch="Uniform" Width="20" Height="20"/> |
846 |
</telerik:RadButton.Content>
|
847 |
</telerik:RadButton>
|
848 |
|
849 |
<!--<TextBlock Text="{Binding IsSyncPossible}" HorizontalAlignment="Center"/>-->
|
850 |
</DataTemplate>
|
851 |
</telerik:GridViewDataColumn.CellTemplate>
|
852 |
</telerik:GridViewDataColumn>
|
853 |
</telerik:RadGridView.Columns>
|
854 |
</telerik:RadGridView>
|
855 |
<telerik:RadBusyIndicator x:Name="gridViewHistory_Busy" IsBusy="False" telerik:StyleManager.Theme="Office2016" |
856 |
BusyContent="Sync Data Loading"/> |
857 |
</Grid>
|
858 |
</telerik:RadPane>
|
859 |
</telerik:RadPaneGroup>
|
860 |
</telerik:RadSplitContainer>
|
861 |
|
862 |
|
863 |
</telerik:RadDocking>
|
864 |
</Grid>
|
865 |
</UserControl>
|