1
|
<UserControl
|
2
|
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
3
|
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
4
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
5
|
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
6
|
xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation"
|
7
|
xmlns:controls="clr-namespace:Markus.Service.StationController.Controls"
|
8
|
xmlns:VM="clr-namespace:Markus.Service.StationController.ViewModel"
|
9
|
xmlns:i="clr-namespace:System.Windows.Interactivity;assembly=System.Windows.Interactivity"
|
10
|
xmlns:local="clr-namespace:Markus.Service.StationController.Views" x:Class="Markus.Service.StationController.Views.FinalPDFView"
|
11
|
xmlns:maskedInput="clr-namespace:Telerik.Windows.Controls.MaskedInput;assembly=Telerik.Windows.Controls.Input"
|
12
|
mc:Ignorable="d" Background="White" DataContext="{DynamicResource FinalPDFViewModel}"
|
13
|
d:DesignHeight="450" d:DesignWidth="1000">
|
14
|
<UserControl.Resources>
|
15
|
<Style TargetType="telerik:GridViewCell" x:Key="StretchCellStyle">
|
16
|
<Setter Property="Margin" Value="0"/>
|
17
|
<Setter Property="Padding" Value="0"/>
|
18
|
<Setter Property="VerticalContentAlignment" Value="Stretch"/>
|
19
|
<Setter Property="HorizontalContentAlignment" Value="Stretch"/>
|
20
|
</Style>
|
21
|
<Style TargetType="{x:Type telerik:GridViewHeaderCell}">
|
22
|
<Setter Property="HorizontalContentAlignment" Value="Center"/>
|
23
|
<Setter Property="Background" Value="Gray"/>
|
24
|
</Style>
|
25
|
<Style TargetType="{x:Type telerik:GridViewCell}">
|
26
|
<Setter Property="HorizontalContentAlignment" Value="Center"/>
|
27
|
</Style>
|
28
|
<Style TargetType="{x:Type controls:RowIndexColumn}">
|
29
|
<Setter Property="TextAlignment" Value="Center"/>
|
30
|
</Style>
|
31
|
<Style TargetType="{x:Type TextBox}">
|
32
|
<Setter Property="Margin" Value="5,5,0,0"/>
|
33
|
<Setter Property="VerticalAlignment" Value="Center"/>
|
34
|
<Setter Property="HorizontalContentAlignment" Value="Left"/>
|
35
|
<Setter Property="Foreground" Value="Black"/>
|
36
|
<Setter Property="Background" Value="Transparent"/>
|
37
|
<Setter Property="BorderBrush" Value="Transparent"/>
|
38
|
<Setter Property="BorderThickness" Value="0"/>
|
39
|
<Setter Property="IsReadOnly" Value="true"/>
|
40
|
<Setter Property="FocusVisualStyle" Value="{x:Null}"/>
|
41
|
<Setter Property="ScrollViewer.PanningMode" Value="VerticalFirst"/>
|
42
|
<Setter Property="Stylus.IsFlicksEnabled" Value="False"/>
|
43
|
<Setter Property="Template">
|
44
|
<Setter.Value>
|
45
|
<ControlTemplate TargetType="{x:Type TextBox}">
|
46
|
<Border x:Name="Bd"
|
47
|
BorderThickness="{TemplateBinding BorderThickness}"
|
48
|
SnapsToDevicePixels="true">
|
49
|
<ScrollViewer x:Name="PART_ContentHost" BorderThickness="{TemplateBinding BorderThickness}"
|
50
|
SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}"/>
|
51
|
</Border>
|
52
|
</ControlTemplate>
|
53
|
</Setter.Value>
|
54
|
</Setter>
|
55
|
</Style>
|
56
|
|
57
|
<VM:FinalPDFViewModel x:Key="FinalPDFViewModel"/>
|
58
|
<DataTemplate x:Key="RowDetailsTemplate">
|
59
|
<local:FinalPDFInfo />
|
60
|
</DataTemplate>
|
61
|
</UserControl.Resources>
|
62
|
|
63
|
|
64
|
|
65
|
<i:Interaction.Triggers>
|
66
|
<i:EventTrigger EventName="Loaded">
|
67
|
<i:InvokeCommandAction Command="{Binding LoadedCommand}"/>
|
68
|
</i:EventTrigger>
|
69
|
<i:EventTrigger EventName="Unloaded">
|
70
|
<i:InvokeCommandAction Command="{Binding ClosingCommand}"/>
|
71
|
</i:EventTrigger>
|
72
|
</i:Interaction.Triggers>
|
73
|
<Grid HorizontalAlignment="Stretch" ScrollViewer.HorizontalScrollBarVisibility="Auto" ScrollViewer.VerticalScrollBarVisibility="Auto" VerticalAlignment="Stretch">
|
74
|
<Grid.RowDefinitions>
|
75
|
<RowDefinition Height="Auto"/>
|
76
|
<RowDefinition Height="Auto"/>
|
77
|
<RowDefinition Height="Auto"/>
|
78
|
<RowDefinition Height="*"/>
|
79
|
<RowDefinition Height="Auto"/>
|
80
|
<RowDefinition Height="Auto"/>
|
81
|
</Grid.RowDefinitions>
|
82
|
<StackPanel Margin="0,10" Orientation="Horizontal" HorizontalAlignment="Right" Grid.Row="0" Height="20" >
|
83
|
<TextBlock Text="Display Count : " VerticalAlignment="Center"/>
|
84
|
<telerik:RadComboBox Width="100" SelectedItem="{Binding SelectedCount, Mode=TwoWay}" Margin="0,0,10,0" SelectedValuePath="DisplayMember"
|
85
|
DisplayMemberPath="ValueMember" ItemsSource="{Binding SelectedCountList}" SelectedIndex="0" />
|
86
|
<TextBlock Text="Status Type : " Margin="10,0,0,0" VerticalAlignment="Center"/>
|
87
|
<telerik:RadComboBox Width="100" SelectedItem="{Binding SelectedStatus, Mode=TwoWay}" SelectedIndex="4"
|
88
|
DisplayMemberPath="DisplayName" SelectedValuePath="Value" ItemsSource="{Binding StatusCodeList}" Height="20"/>
|
89
|
<telerik:RadToggleButton Content=" 엑셀 저장 " Margin="10,0" Height="20" Command="{Binding DataSaveFileGemBoxCommand, Mode=OneWay}"/>
|
90
|
|
91
|
</StackPanel>
|
92
|
|
93
|
|
94
|
<Grid Grid.Row="1">
|
95
|
<Grid.Style>
|
96
|
<Style>
|
97
|
<Setter Property="TextBlock.Margin" Value="20,0,0,0"/>
|
98
|
</Style>
|
99
|
</Grid.Style>
|
100
|
<Grid.RowDefinitions>
|
101
|
<RowDefinition />
|
102
|
<RowDefinition />
|
103
|
</Grid.RowDefinitions>
|
104
|
<Grid Grid.Row="0">
|
105
|
<Grid.RowDefinitions>
|
106
|
<RowDefinition />
|
107
|
<RowDefinition />
|
108
|
<RowDefinition />
|
109
|
</Grid.RowDefinitions>
|
110
|
<Grid.ColumnDefinitions>
|
111
|
<ColumnDefinition Width="Auto"/>
|
112
|
<ColumnDefinition Width="*" />
|
113
|
<ColumnDefinition Width="10"/>
|
114
|
<ColumnDefinition Width="Auto"/>
|
115
|
<ColumnDefinition Width="*"/>
|
116
|
<ColumnDefinition Width="10"/>
|
117
|
<ColumnDefinition Width="Auto"/>
|
118
|
<ColumnDefinition Width="*"/>
|
119
|
<ColumnDefinition Width="10"/>
|
120
|
<ColumnDefinition Width="Auto"/>
|
121
|
<ColumnDefinition Width="*"/>
|
122
|
</Grid.ColumnDefinitions>
|
123
|
<TextBlock Text="Project NO " Grid.Row="0" Grid.Column="0" VerticalAlignment="Center" HorizontalAlignment="Left"/>
|
124
|
<telerik:RadMaskedTextInput IsClearButtonVisible="True" Grid.Row="0" Grid.Column="1" EmptyContent="ProjectNumber" InputBehavior="Replace" HorizontalContentAlignment="Stretch"
|
125
|
TextMode="PlainText" Value="{Binding ProjectNumberFilter, UpdateSourceTrigger=PropertyChanged, Mode=TwoWay}" VerticalAlignment="Center" HorizontalAlignment="Stretch" Margin="2,0"
|
126
|
maskedInput:MaskedInputExtensions.MaxTextLength="1000" Mask=""/>
|
127
|
|
128
|
<TextBlock Text="Document ID " Grid.Row="0" Grid.Column="3" VerticalAlignment="Center" HorizontalAlignment="Left"/>
|
129
|
<telerik:RadMaskedTextInput IsClearButtonVisible="True" EmptyContent="DocumentID" Value="{Binding DocumentIDFilter, UpdateSourceTrigger=PropertyChanged, Mode=TwoWay}"
|
130
|
TextMode="PlainText" Grid.Row="0" Grid.Column="4" HorizontalAlignment="Stretch" VerticalAlignment="Center" Margin="2,0"
|
131
|
maskedInput:MaskedInputExtensions.MaxTextLength="1000" Mask=""/>
|
132
|
|
133
|
<TextBlock Text="MarkupInfo ID " Grid.Row="0" Grid.Column="6" VerticalAlignment="Center" HorizontalAlignment="Left"/>
|
134
|
<telerik:RadMaskedTextInput IsClearButtonVisible="True" EmptyContent="MarkupInfo ID " Value="{Binding MarkupInfo_IDFilter, UpdateSourceTrigger=PropertyChanged, Mode=TwoWay}"
|
135
|
TextMode="PlainText" Grid.Row="0" Grid.Column="7" HorizontalAlignment="Stretch" VerticalAlignment="Center" Margin="2,0"
|
136
|
maskedInput:MaskedInputExtensions.MaxTextLength="1000" Mask=""/>
|
137
|
|
138
|
<TextBlock Text="Docuemnt Name " Grid.Row="1" Grid.Column="0" VerticalAlignment="Center" HorizontalAlignment="Left"/>
|
139
|
<telerik:RadMaskedTextInput IsClearButtonVisible="True" EmptyContent="Docuemnt Name" Value="{Binding Document_NameFilter , UpdateSourceTrigger=PropertyChanged, Mode=TwoWay}"
|
140
|
TextMode="PlainText" Grid.Row="1" Grid.Column="1" HorizontalContentAlignment="Stretch" VerticalAlignment="Bottom" HorizontalAlignment="Stretch" Margin="2,0"
|
141
|
maskedInput:MaskedInputExtensions.MaxTextLength="1000" Mask=""/>
|
142
|
|
143
|
<TextBlock Text="Docuemnt NO " Grid.Row="1" Grid.Column="3" VerticalAlignment="Center" HorizontalAlignment="Left"/>
|
144
|
<telerik:RadMaskedTextInput IsClearButtonVisible="True" EmptyContent="Docuemnt NO" Value="{Binding Document_NOFilter , UpdateSourceTrigger=PropertyChanged, Mode=TwoWay}"
|
145
|
TextMode="PlainText" Grid.Row="1" Grid.Column="4" HorizontalAlignment="Stretch" VerticalAlignment="Center" Margin="2,0"
|
146
|
maskedInput:MaskedInputExtensions.MaxTextLength="1000" Mask=""/>
|
147
|
<TextBlock Text="CreateUser ID " Grid.Row="1" Grid.Column="6" VerticalAlignment="Center" HorizontalAlignment="Left"/>
|
148
|
<telerik:RadMaskedTextInput IsClearButtonVisible="True" EmptyContent="CreateUser ID " Value="{Binding CreateUser_IDFilter, UpdateSourceTrigger=PropertyChanged, Mode=TwoWay}"
|
149
|
TextMode="PlainText" Grid.Row="1" Grid.Column="7" HorizontalAlignment="Stretch" VerticalAlignment="Center" Margin="2,0"
|
150
|
maskedInput:MaskedInputExtensions.MaxTextLength="1000" Mask=""/>
|
151
|
<TextBlock Text="DocInfo ID " Grid.Row="0" Grid.Column="9" VerticalAlignment="Center" HorizontalAlignment="Left"/>
|
152
|
<telerik:RadMaskedTextInput IsClearButtonVisible="True" EmptyContent="DocInfo ID" Value="{Binding DOCINFO_IDFilter, UpdateSourceTrigger=PropertyChanged, Mode=TwoWay}"
|
153
|
TextMode="PlainText" Grid.Row="0" Grid.Column="10" HorizontalAlignment="Stretch" VerticalAlignment="Center" Margin="2,0"
|
154
|
maskedInput:MaskedInputExtensions.MaxTextLength="1000" Mask=""/>
|
155
|
<TextBlock Text="GROUP NO " Grid.Row="1" Grid.Column="9" VerticalAlignment="Center" HorizontalAlignment="Left"/>
|
156
|
<telerik:RadMaskedTextInput IsClearButtonVisible="True" EmptyContent="GROUP NO" Value="{Binding GROUP_NOFilter, UpdateSourceTrigger=PropertyChanged, Mode=TwoWay}"
|
157
|
TextMode="PlainText" Grid.Row="1" Grid.Column="10" HorizontalAlignment="Stretch" VerticalAlignment="Center" Margin="2,0"
|
158
|
maskedInput:MaskedInputExtensions.MaxTextLength="1000" Mask=""/>
|
159
|
<TextBlock Text="REVISION " Grid.Row="2" Grid.Column="0" VerticalAlignment="Center" HorizontalAlignment="Left"/>
|
160
|
<telerik:RadMaskedTextInput IsClearButtonVisible="True" EmptyContent="REVISION" Value="{Binding REVISIONFilter, UpdateSourceTrigger=PropertyChanged, Mode=TwoWay}"
|
161
|
TextMode="PlainText" Grid.Row="2" Grid.Column="1" HorizontalAlignment="Stretch" VerticalAlignment="Center" Margin="2,0"
|
162
|
maskedInput:MaskedInputExtensions.MaxTextLength="1000" Mask=""/>
|
163
|
|
164
|
<TextBlock Text="DOCUMENT_URL " Grid.Row="2" Grid.Column="3" VerticalAlignment="Center" HorizontalAlignment="Left"/>
|
165
|
<telerik:RadMaskedTextInput IsClearButtonVisible="True" EmptyContent="DOCUMENT_URL" Value="{Binding Document_URLFilter, UpdateSourceTrigger=PropertyChanged, Mode=TwoWay}"
|
166
|
TextMode="PlainText" Grid.Row="2" Grid.Column="4" HorizontalAlignment="Stretch" VerticalAlignment="Center" Margin="2,0" Grid.ColumnSpan="7"
|
167
|
maskedInput:MaskedInputExtensions.MaxTextLength="1000" Mask=""/>
|
168
|
</Grid>
|
169
|
|
170
|
<StackPanel Grid.Row="4" Grid.ColumnSpan="11">
|
171
|
<StackPanel Orientation="Horizontal">
|
172
|
<TextBlock Text="CreateTime " VerticalAlignment="Center" Width="102"/>
|
173
|
<telerik:RadDateTimePicker x:Name="datePicker1" Width="200"
|
174
|
InputMode="DateTimePicker"
|
175
|
VerticalAlignment="Center"
|
176
|
HorizontalAlignment="Stretch"
|
177
|
SelectedValue="{Binding SelectedCreateTimeBegin ,Mode=TwoWay, UpdateSourceTrigger=PropertyChanged }" >
|
178
|
</telerik:RadDateTimePicker>
|
179
|
|
180
|
<TextBlock Text=" ~ " VerticalAlignment="Center"/>
|
181
|
<telerik:RadDateTimePicker x:Name="datePicker2" Width="200"
|
182
|
InputMode="DateTimePicker" HorizontalAlignment="Stretch"
|
183
|
VerticalAlignment="Center"
|
184
|
SelectedValue="{Binding SelectedCreateTimeEnd ,Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}"
|
185
|
Margin="0,1">
|
186
|
</telerik:RadDateTimePicker>
|
187
|
<Button Content="Clear" Margin="5" Width="50" Height="20" HorizontalAlignment="Left" Command="{Binding RemoveCreateTimeFilterCommand, Mode=OneWay}"/>
|
188
|
</StackPanel>
|
189
|
</StackPanel>
|
190
|
</Grid>
|
191
|
|
192
|
<StackPanel Orientation="Horizontal" HorizontalAlignment="Right" Grid.Row="2">
|
193
|
<telerik:RadToggleButton Content=" Convert 추가" Command="{Binding ConverAddCommand, Mode=OneWay}" Width="100" Margin="0,0,20,0" HorizontalAlignment="Right"/>
|
194
|
<telerik:RadToggleButton Content=" 검색" Command="{Binding DataFilterCommand, Mode=OneWay}" Width="100" Margin="0,0,20,0" HorizontalAlignment="Right"/>
|
195
|
<telerik:RadToggleButton Content=" 초기화" Command="{Binding ResetCommand, Mode=OneWay}" Width="100" Margin="0,0,20,0" HorizontalAlignment="Right"/>
|
196
|
</StackPanel>
|
197
|
|
198
|
|
199
|
<telerik:RadExpander ExpandDirection="Down" BorderThickness="0" Grid.Row="3"
|
200
|
ScrollViewer.HorizontalScrollBarVisibility="Auto" ScrollViewer.VerticalScrollBarVisibility="Auto" IsExpanded="True"
|
201
|
telerik:AnimationManager.IsAnimationEnabled="False" >
|
202
|
<telerik:RadExpander.Header>
|
203
|
<Grid>
|
204
|
<Grid.ColumnDefinitions>
|
205
|
<ColumnDefinition Width="Auto"/>
|
206
|
<ColumnDefinition Width="Auto"/>
|
207
|
</Grid.ColumnDefinitions>
|
208
|
<TextBlock Text="Final PDF Items : "/>
|
209
|
<TextBlock Text="{Binding SelectedCount.DisplayMember, StringFormat=\{0:d\}}" Grid.Column="1"/>
|
210
|
</Grid>
|
211
|
</telerik:RadExpander.Header>
|
212
|
|
213
|
<telerik:RadGridView x:Name="dataGrid1" GroupRenderMode="Flat" VerticalAlignment="Stretch" HorizontalAlignment="Stretch"
|
214
|
ItemsSource="{Binding FilterConvertSourceView}"
|
215
|
SelectedItem="{Binding SelectFilterConvert, Mode=TwoWay}"
|
216
|
RowDetailsTemplate="{StaticResource RowDetailsTemplate}"
|
217
|
AutoGenerateColumns="False"
|
218
|
ColumnWidth="*" CanUserFreezeColumns="False"
|
219
|
Grid.Row="1" ScrollViewer.CanContentScroll="True" IsFilteringAllowed="True"
|
220
|
LeftFrozenColumnCount="6"
|
221
|
RightFrozenColumnCount="0">
|
222
|
<telerik:RadContextMenu.ContextMenu>
|
223
|
<telerik:RadContextMenu x:Name= "GridContextMenu">
|
224
|
<telerik:RadMenuItem Header="Convert" Command="{Binding ConvertCommand}"/>
|
225
|
<telerik:RadMenuItem Header="Validation" Command="{Binding ValidateCommand}"/>
|
226
|
<telerik:RadMenuItem Header="Delete" Command="{Binding DeleteCommand}"/>
|
227
|
</telerik:RadContextMenu>
|
228
|
</telerik:RadContextMenu.ContextMenu>
|
229
|
<telerik:RadGridView.Columns>
|
230
|
<telerik:GridViewToggleRowDetailsColumn />
|
231
|
<controls:RowIndexColumn Header="#" Width="30" CellStyle="{StaticResource RowNumberStyle}" />
|
232
|
<telerik:GridViewDataColumn Header=" ID "
|
233
|
DataMemberBinding="{Binding ConvertID}" Width="1.5*" />
|
234
|
<telerik:GridViewDataColumn x:Name="commend" Header="Markus " Width="0.5*" CellStyle="{StaticResource StretchCellStyle}">
|
235
|
<telerik:GridViewDataColumn.CellTemplate>
|
236
|
<DataTemplate>
|
237
|
<telerik:RadButton Content="Click" BorderThickness="0"
|
238
|
Background="Transparent"
|
239
|
Command="{Binding MarkusLinkCommand, Source={StaticResource FinalPDFViewModel}}" CommandParameter="{Binding DataContext, RelativeSource={RelativeSource Self}}"/>
|
240
|
</DataTemplate>
|
241
|
</telerik:GridViewDataColumn.CellTemplate>
|
242
|
</telerik:GridViewDataColumn>
|
243
|
<telerik:GridViewDataColumn Header="ProjectNO"
|
244
|
DataMemberBinding="{Binding ProjectNumber}" Width="*" />
|
245
|
<telerik:GridViewDataColumn Header="DocumentID"
|
246
|
DataMemberBinding="{Binding DocumentID}" Width="*" />
|
247
|
<telerik:GridViewDataColumn Header="DocInfoID"
|
248
|
DataMemberBinding="{Binding DocInfo_ID}" Width="*" />
|
249
|
<telerik:GridViewDataColumn Header="MarkusInfoID"
|
250
|
DataMemberBinding="{Binding MarkupInfo_ID}" Width="*" />
|
251
|
<telerik:GridViewDataColumn Header="Create UserID"
|
252
|
DataMemberBinding="{Binding Create_User_ID}" Width="*" />
|
253
|
<telerik:GridViewDataColumn Header="ConvertState"
|
254
|
DataMemberBinding="{Binding ConvertState, Mode=TwoWay}" Width="*" />
|
255
|
<telerik:GridViewDataColumn Header="CurrentPageNo"
|
256
|
DataMemberBinding="{Binding CurrentPageNo, Mode=TwoWay}" Width="*" />
|
257
|
<telerik:GridViewDataColumn Header="TotalPageNo"
|
258
|
DataMemberBinding="{Binding TotalPage, Mode=TwoWay}" Width="*" />
|
259
|
<telerik:GridViewDynamicHyperlinkColumn Header="원본파일"
|
260
|
NavigateUrlFormatString=" {0}"
|
261
|
NavigateUrlMemberPaths="OriginfilePath"
|
262
|
Width="2*">
|
263
|
<telerik:GridViewDynamicHyperlinkColumn.CellTemplate>
|
264
|
<DataTemplate>
|
265
|
<TextBlock Text="{Binding FileName}"/>
|
266
|
</DataTemplate>
|
267
|
</telerik:GridViewDynamicHyperlinkColumn.CellTemplate>
|
268
|
</telerik:GridViewDynamicHyperlinkColumn>
|
269
|
<telerik:GridViewDataColumn Header=" ConvertPath" Width="2.5*">
|
270
|
<telerik:GridViewDataColumn.CellTemplate>
|
271
|
<DataTemplate>
|
272
|
<StackPanel Orientation="Horizontal">
|
273
|
<TextBlock Text="{Binding ConvertPath}"/>
|
274
|
<telerik:RadButton BorderThickness="0"
|
275
|
Background="Transparent"
|
276
|
Command="{Binding ConvertPathFileSearchCommand, Source={StaticResource FinalPDFViewModel}}" CommandParameter="{Binding DataContext, RelativeSource={RelativeSource Self}}">
|
277
|
<telerik:RadButton.Content>
|
278
|
<Image Source="E:\Source\MARKUS\ConvertService\ServiceBase\Markus.Service.StationController\Picture\File_Search_Icon.png" Stretch="None" />
|
279
|
</telerik:RadButton.Content>
|
280
|
</telerik:RadButton>
|
281
|
</StackPanel>
|
282
|
</DataTemplate>
|
283
|
</telerik:GridViewDataColumn.CellTemplate>
|
284
|
</telerik:GridViewDataColumn>
|
285
|
<telerik:GridViewDataColumn Header="CreateTime"
|
286
|
DataMemberBinding="{Binding CreateTime, Mode=TwoWay, StringFormat=\{0:yyyy.MM.dd HH:mm:ss\}}" Width="*" />
|
287
|
<telerik:GridViewDataColumn Header="StartTime"
|
288
|
DataMemberBinding="{Binding StartTime, Mode=TwoWay, StringFormat=\{0:yyyy.MM.dd HH:mm:ss\}}" Width="*" />
|
289
|
<telerik:GridViewDataColumn Header="EndTime"
|
290
|
DataMemberBinding="{Binding EndTime, Mode=TwoWay, StringFormat=\{0:yyyy.MM.dd HH:mm:ss\}}" Width="*" />
|
291
|
</telerik:RadGridView.Columns>
|
292
|
</telerik:RadGridView>
|
293
|
</telerik:RadExpander>
|
294
|
|
295
|
<telerik:RadExpander Grid.Row="4" ExpandDirection="Down" BorderThickness="0"
|
296
|
ScrollViewer.HorizontalScrollBarVisibility="Auto" ScrollViewer.VerticalScrollBarVisibility="Auto"
|
297
|
telerik:AnimationManager.IsAnimationEnabled="False" IsExpanded ="{Binding ConvertShow, Mode=TwoWay}">
|
298
|
<telerik:RadExpander.Header>
|
299
|
<Grid>
|
300
|
<Grid.ColumnDefinitions>
|
301
|
<ColumnDefinition Width="Auto"/>
|
302
|
<ColumnDefinition Width="Auto"/>
|
303
|
</Grid.ColumnDefinitions>
|
304
|
<TextBlock Text="Real FinalPDF Items : "/>
|
305
|
<TextBlock Text="{Binding RealConvertSource.Count, StringFormat=\{0:d\}}" Grid.Column="1"/>
|
306
|
</Grid>
|
307
|
</telerik:RadExpander.Header>
|
308
|
<telerik:RadGridView Name="dataGrid2" GroupRenderMode="Flat" VerticalAlignment="Stretch" HorizontalAlignment="Stretch"
|
309
|
ItemsSource="{Binding RealConvertSource}"
|
310
|
SelectedItem="{Binding SelectRealConvert, Mode=TwoWay}"
|
311
|
RowDetailsTemplate="{StaticResource RowDetailsTemplate}"
|
312
|
AutoGenerateColumns="False" CanUserFreezeColumns="False"
|
313
|
ColumnWidth="*"
|
314
|
Grid.Row="1" ScrollViewer.CanContentScroll="False" IsFilteringAllowed="True">
|
315
|
<telerik:RadContextMenu.ContextMenu>
|
316
|
<telerik:RadContextMenu>
|
317
|
<telerik:RadMenuItem Header="Convert" Command="{Binding ConvertCommand}"/>
|
318
|
<telerik:RadMenuItem Header="Validation" Command="{Binding ValidateCommand}"/>
|
319
|
<telerik:RadMenuItem Header="Delete" Command="{Binding DeleteCommand}"/>
|
320
|
</telerik:RadContextMenu>
|
321
|
</telerik:RadContextMenu.ContextMenu>
|
322
|
<telerik:RadGridView.Columns>
|
323
|
<telerik:GridViewToggleRowDetailsColumn />
|
324
|
<controls:RowIndexColumn Header="#" Width="30" CellStyle="{StaticResource RowNumberStyle}" />
|
325
|
|
326
|
<telerik:GridViewDataColumn Header=" ID "
|
327
|
DataMemberBinding="{Binding ConvertID}" Width="1.5*" />
|
328
|
|
329
|
<telerik:GridViewDataColumn Header="Markus " Width="0.5*" CellStyle="{StaticResource StretchCellStyle}">
|
330
|
<telerik:GridViewDataColumn.CellTemplate>
|
331
|
<DataTemplate>
|
332
|
<telerik:RadButton Content="Click " BorderThickness="0" Background="Transparent"
|
333
|
Command="{Binding MarkusLinkCommand, Source={StaticResource FinalPDFViewModel}}" CommandParameter="{Binding DataContext, RelativeSource={RelativeSource Self}}"/>
|
334
|
</DataTemplate>
|
335
|
</telerik:GridViewDataColumn.CellTemplate>
|
336
|
</telerik:GridViewDataColumn>
|
337
|
|
338
|
<telerik:GridViewToggleRowDetailsColumn />
|
339
|
<controls:RowIndexColumn Header="#" Width="30" CellStyle="{StaticResource RowNumberStyle}" />
|
340
|
<telerik:GridViewDataColumn Header=" ID "
|
341
|
DataMemberBinding="{Binding ConvertID}" Width="1.5*" />
|
342
|
<telerik:GridViewDataColumn Header="Markus " Width="0.5*" CellStyle="{StaticResource StretchCellStyle}">
|
343
|
<telerik:GridViewDataColumn.CellTemplate>
|
344
|
<DataTemplate>
|
345
|
<telerik:RadButton Content="Click" BorderThickness="0"
|
346
|
Background="Transparent"
|
347
|
Command="{Binding MarkusLinkCommand, Source={StaticResource FinalPDFViewModel}}" CommandParameter="{Binding DataContext, RelativeSource={RelativeSource Self}}"/>
|
348
|
</DataTemplate>
|
349
|
</telerik:GridViewDataColumn.CellTemplate>
|
350
|
</telerik:GridViewDataColumn>
|
351
|
<telerik:GridViewDataColumn Header="ProjectNO"
|
352
|
DataMemberBinding="{Binding ProjectNumber}" Width="*" />
|
353
|
<telerik:GridViewDataColumn Header="DocumentID"
|
354
|
DataMemberBinding="{Binding DocumentID}" Width="*" />
|
355
|
<telerik:GridViewDataColumn Header="DocInfoID"
|
356
|
DataMemberBinding="{Binding DocInfo_ID}" Width="*" />
|
357
|
<telerik:GridViewDataColumn Header="MarkusInfoID"
|
358
|
DataMemberBinding="{Binding MarkupInfo_ID}" Width="*" />
|
359
|
<telerik:GridViewDataColumn Header="Create UserID"
|
360
|
DataMemberBinding="{Binding Create_User_ID}" Width="*" />
|
361
|
<telerik:GridViewDataColumn Header="ConvertState"
|
362
|
DataMemberBinding="{Binding ConvertState, Mode=TwoWay}" Width="*" />
|
363
|
<telerik:GridViewDataColumn Header="CurrentPageNo"
|
364
|
DataMemberBinding="{Binding CurrentPageNo, Mode=TwoWay}" Width="*" />
|
365
|
<telerik:GridViewDataColumn Header="TotalPageNo"
|
366
|
DataMemberBinding="{Binding TotalPage, Mode=TwoWay}" Width="*" />
|
367
|
<telerik:GridViewDynamicHyperlinkColumn Header="원본파일"
|
368
|
NavigateUrlFormatString=" {0}"
|
369
|
NavigateUrlMemberPaths="OriginfilePath"
|
370
|
Width="2*">
|
371
|
<telerik:GridViewDynamicHyperlinkColumn.CellTemplate>
|
372
|
<DataTemplate>
|
373
|
<TextBlock Text="{Binding FileName}"/>
|
374
|
</DataTemplate>
|
375
|
</telerik:GridViewDynamicHyperlinkColumn.CellTemplate>
|
376
|
</telerik:GridViewDynamicHyperlinkColumn>
|
377
|
<telerik:GridViewDataColumn Header=" ConvertPath"
|
378
|
DataMemberBinding="{Binding ConvertPath}" Width="2.5*" />
|
379
|
<telerik:GridViewDataColumn Header="CreateTime"
|
380
|
DataMemberBinding="{Binding CreateTime, Mode=TwoWay, StringFormat=\{0:yyyy.MM.dd HH:mm:ss\}}" Width="*" />
|
381
|
<telerik:GridViewDataColumn Header="StartTime"
|
382
|
DataMemberBinding="{Binding StartTime, Mode=TwoWay, StringFormat=\{0:yyyy.MM.dd HH:mm:ss\}}" Width="*" />
|
383
|
<telerik:GridViewDataColumn Header="EndTime"
|
384
|
DataMemberBinding="{Binding EndTime, Mode=TwoWay, StringFormat=\{0:yyyy.MM.dd HH:mm:ss\}}" Width="*" />
|
385
|
</telerik:RadGridView.Columns>
|
386
|
</telerik:RadGridView>
|
387
|
</telerik:RadExpander>
|
388
|
|
389
|
<telerik:RadExpander Grid.Row="5" ExpandDirection="Down" BorderThickness="0" VerticalAlignment="Stretch" Margin="0,0,0,10"
|
390
|
ScrollViewer.HorizontalScrollBarVisibility="Auto" ScrollViewer.VerticalScrollBarVisibility="Auto"
|
391
|
telerik:AnimationManager.IsAnimationEnabled="False" IsExpanded ="False">
|
392
|
<telerik:RadExpander.Header>
|
393
|
<Grid>
|
394
|
<Grid.ColumnDefinitions>
|
395
|
<ColumnDefinition Width="Auto"/>
|
396
|
<ColumnDefinition Width="Auto"/>
|
397
|
</Grid.ColumnDefinitions>
|
398
|
<TextBlock Text="Alive FinalPDF Items : " Grid.RowSpan="2"/>
|
399
|
<TextBlock Text="{Binding AliveItems.Count, StringFormat=\{0:d\}}" Grid.Column="1" Grid.RowSpan="2"/>
|
400
|
</Grid>
|
401
|
</telerik:RadExpander.Header>
|
402
|
<telerik:RadGridView GroupRenderMode="Flat" VerticalAlignment="Stretch" HorizontalAlignment="Stretch"
|
403
|
ItemsSource="{Binding AliveItems}"
|
404
|
SelectedItem="{Binding SelectAliveConvert, Mode=TwoWay}"
|
405
|
AutoGenerateColumns="False" CanUserFreezeColumns="False" RowDetailsTemplate="{StaticResource RowDetailsTemplate}"
|
406
|
ColumnWidth="*" ScrollViewer.CanContentScroll="False" IsFilteringAllowed="True" Grid.Row="1" >
|
407
|
<telerik:RadGridView.Columns>
|
408
|
<telerik:GridViewToggleRowDetailsColumn />
|
409
|
<controls:RowIndexColumn Header="#" Width="30" CellStyle="{StaticResource RowNumberStyle}" />
|
410
|
|
411
|
<telerik:GridViewDataColumn Header=" ID "
|
412
|
DataMemberBinding="{Binding ConvertID}" Width="1.5*" />
|
413
|
|
414
|
<telerik:GridViewDataColumn Header="Markus " Width="0.5*" CellStyle="{StaticResource StretchCellStyle}">
|
415
|
<telerik:GridViewDataColumn.CellTemplate>
|
416
|
<DataTemplate>
|
417
|
<telerik:RadButton Content="Click " BorderThickness="0" Background="Transparent"
|
418
|
Command="{Binding MarkusLinkCommand, Source={StaticResource FinalPDFViewModel}}" CommandParameter="{Binding DataContext, RelativeSource={RelativeSource Self}}"/>
|
419
|
</DataTemplate>
|
420
|
</telerik:GridViewDataColumn.CellTemplate>
|
421
|
</telerik:GridViewDataColumn>
|
422
|
|
423
|
<telerik:GridViewToggleRowDetailsColumn />
|
424
|
<controls:RowIndexColumn Header="#" Width="30" CellStyle="{StaticResource RowNumberStyle}" />
|
425
|
<telerik:GridViewDataColumn Header=" ID "
|
426
|
DataMemberBinding="{Binding ConvertID}" Width="1.5*" />
|
427
|
<telerik:GridViewDataColumn Header="Markus " Width="0.5*" CellStyle="{StaticResource StretchCellStyle}">
|
428
|
<telerik:GridViewDataColumn.CellTemplate>
|
429
|
<DataTemplate>
|
430
|
<telerik:RadButton Content="Click" BorderThickness="0"
|
431
|
Background="Transparent"
|
432
|
Command="{Binding MarkusLinkCommand, Source={StaticResource FinalPDFViewModel}}" CommandParameter="{Binding DataContext, RelativeSource={RelativeSource Self}}"/>
|
433
|
</DataTemplate>
|
434
|
</telerik:GridViewDataColumn.CellTemplate>
|
435
|
</telerik:GridViewDataColumn>
|
436
|
<telerik:GridViewDataColumn Header="ProjectNO"
|
437
|
DataMemberBinding="{Binding ProjectNumber}" Width="*" />
|
438
|
<telerik:GridViewDataColumn Header="DocumentID"
|
439
|
DataMemberBinding="{Binding DocumentID}" Width="*" />
|
440
|
<telerik:GridViewDataColumn Header="DocInfoID"
|
441
|
DataMemberBinding="{Binding DocInfo_ID}" Width="*" />
|
442
|
<telerik:GridViewDataColumn Header="MarkusInfoID"
|
443
|
DataMemberBinding="{Binding MarkupInfo_ID}" Width="*" />
|
444
|
<telerik:GridViewDataColumn Header="Create UserID"
|
445
|
DataMemberBinding="{Binding Create_User_ID}" Width="*" />
|
446
|
<telerik:GridViewDataColumn Header="ConvertState"
|
447
|
DataMemberBinding="{Binding ConvertState, Mode=TwoWay}" Width="*" />
|
448
|
<telerik:GridViewDataColumn Header="CurrentPageNo"
|
449
|
DataMemberBinding="{Binding CurrentPageNo, Mode=TwoWay}" Width="*" />
|
450
|
<telerik:GridViewDataColumn Header="TotalPageNo"
|
451
|
DataMemberBinding="{Binding TotalPage, Mode=TwoWay}" Width="*" />
|
452
|
<telerik:GridViewDynamicHyperlinkColumn Header="원본파일"
|
453
|
NavigateUrlFormatString=" {0}"
|
454
|
NavigateUrlMemberPaths="OriginfilePath"
|
455
|
Width="2*">
|
456
|
<telerik:GridViewDynamicHyperlinkColumn.CellTemplate>
|
457
|
<DataTemplate>
|
458
|
<TextBlock Text="{Binding FileName}"/>
|
459
|
</DataTemplate>
|
460
|
</telerik:GridViewDynamicHyperlinkColumn.CellTemplate>
|
461
|
</telerik:GridViewDynamicHyperlinkColumn>
|
462
|
<telerik:GridViewDataColumn Header=" ConvertPath"
|
463
|
DataMemberBinding="{Binding ConvertPath}" Width="2.5*" />
|
464
|
<telerik:GridViewDataColumn Header="CreateTime"
|
465
|
DataMemberBinding="{Binding CreateTime, Mode=TwoWay, StringFormat=\{0:yyyy.MM.dd HH:mm:ss\}}" Width="*" />
|
466
|
<telerik:GridViewDataColumn Header="StartTime"
|
467
|
DataMemberBinding="{Binding StartTime, Mode=TwoWay, StringFormat=\{0:yyyy.MM.dd HH:mm:ss\}}" Width="*" />
|
468
|
<telerik:GridViewDataColumn Header="EndTime"
|
469
|
DataMemberBinding="{Binding EndTime, Mode=TwoWay, StringFormat=\{0:yyyy.MM.dd HH:mm:ss\}}" Width="*" />
|
470
|
</telerik:RadGridView.Columns>
|
471
|
</telerik:RadGridView>
|
472
|
</telerik:RadExpander>
|
473
|
|
474
|
</Grid>
|
475
|
</UserControl>
|
476
|
|