프로젝트

일반

사용자정보

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

markus / ConvertService / ServiceBase / Markus.Service.StationController / Views / FinalPDFView.xaml @ f5ec88b8

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

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 telerik:GridViewCell}" x:Key="OriginalFileGridViewCell">
29
            <Setter Property="HorizontalContentAlignment" Value="Left"/>
30
        </Style>
31
        <Style TargetType="{x:Type controls:RowIndexColumn}">
32
            <Setter Property="TextAlignment" Value="Center"/>
33
        </Style>
34
        <Style TargetType="{x:Type TextBox}">
35
            <Setter Property="Margin" Value="5,5,0,0"/>
36
            <Setter Property="VerticalAlignment" Value="Center"/>
37
            <Setter Property="HorizontalContentAlignment" Value="Left"/>
38
            <Setter Property="Foreground" Value="Black"/>
39
            <Setter Property="Background" Value="Transparent"/>
40
            <Setter Property="BorderBrush" Value="Transparent"/>
41
            <Setter Property="BorderThickness" Value="0"/>
42
            <Setter Property="IsReadOnly" Value="true"/>
43
            <Setter Property="FocusVisualStyle" Value="{x:Null}"/>
44
            <Setter Property="ScrollViewer.PanningMode" Value="VerticalFirst"/>
45
            <Setter Property="Stylus.IsFlicksEnabled" Value="False"/>
46
            <Setter Property="Template">
47
                <Setter.Value>
48
                    <ControlTemplate TargetType="{x:Type TextBox}">
49
                        <Border x:Name="Bd" 
50
                    BorderThickness="{TemplateBinding BorderThickness}" 
51
                    SnapsToDevicePixels="true">
52
                            <ScrollViewer x:Name="PART_ContentHost" BorderThickness="{TemplateBinding BorderThickness}"
53
                    SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}"/>
54
                        </Border>
55
                    </ControlTemplate>
56
                </Setter.Value>
57
            </Setter>
58
        </Style>
59

    
60
        <VM:FinalPDFViewModel x:Key="FinalPDFViewModel"/>
61
        <DataTemplate x:Key="RowDetailsTemplate">
62
            <local:FinalPDFInfo />
63
        </DataTemplate>
64
    </UserControl.Resources>
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">
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
        </StackPanel>
91

    
92

    
93
        <Grid Grid.Row="1">
94
            <Grid.Style>
95
                <Style>
96
                    <Setter Property="TextBlock.Margin" Value="20,0,0,0"/>
97
                </Style>
98
            </Grid.Style>
99
            <Grid.RowDefinitions>
100
                <RowDefinition />
101
                <RowDefinition />
102
            </Grid.RowDefinitions>
103
            <Grid Grid.Row="0">
104
                <Grid.RowDefinitions>
105
                    <RowDefinition Height="10"/>
106
                    <RowDefinition />
107
                    <RowDefinition Height="10"/>
108
                    <RowDefinition />
109
                    <RowDefinition Height="10" />
110
                    <RowDefinition />
111
                    <RowDefinition Height="10" />
112
                </Grid.RowDefinitions>
113
                <Grid.ColumnDefinitions>
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
                    <ColumnDefinition Width="10"/>
123
                    <ColumnDefinition Width="Auto"/>
124
                    <ColumnDefinition Width="*"/>
125
                </Grid.ColumnDefinitions>
126
                <TextBlock Text="Project NO  " Grid.Row="1" Grid.Column="0" VerticalAlignment="Center" HorizontalAlignment="Left"/>
127
                <telerik:RadComboBox Grid.Row="1" Grid.Column="1" HorizontalAlignment="Stretch"
128
                                         DisplayMemberPath="Project_NOAndProject_Name"
129
                                         ItemsSource="{Binding ProjectNames}" 
130
                                         SelectedItem="{Binding ProjectNumberFilter}"
131
                                         AllowMultipleSelection="False"
132
                                         EmptyText="Project_NO : Project_Name"/>
133

    
134
                <TextBlock Text="Document ID  " Grid.Row="1" Grid.Column="3" VerticalAlignment="Center" HorizontalAlignment="Left"/>
135
                <telerik:RadMaskedTextInput IsClearButtonVisible="True"  EmptyContent="DocumentID" Value="{Binding DocumentIDFilter, UpdateSourceTrigger=PropertyChanged, Mode=TwoWay}"
136
                                                        TextMode="PlainText" Grid.Row="1" Grid.Column="4" HorizontalAlignment="Stretch" VerticalAlignment="Center" Margin="2,0"
137
                                                maskedInput:MaskedInputExtensions.MaxTextLength="1000" Mask=""/>
138

    
139
                <TextBlock Text="MarkupInfo ID  " Grid.Row="1" Grid.Column="6"   VerticalAlignment="Center" HorizontalAlignment="Left"/>
140
                <telerik:RadMaskedTextInput IsClearButtonVisible="True" EmptyContent="MarkupInfo ID " Value="{Binding MarkupInfo_IDFilter, UpdateSourceTrigger=PropertyChanged, Mode=TwoWay}"
141
                                                        TextMode="PlainText" Grid.Row="1" Grid.Column="7" HorizontalAlignment="Stretch" VerticalAlignment="Center" Margin="2,0"
142
                                                maskedInput:MaskedInputExtensions.MaxTextLength="1000" Mask=""/>
143

    
144
                <TextBlock Text="Docuemnt Name  " Grid.Row="3" Grid.Column="0" VerticalAlignment="Center" HorizontalAlignment="Left"/>
145
                <telerik:RadMaskedTextInput IsClearButtonVisible="True"  EmptyContent="Docuemnt Name" Value="{Binding Document_NameFilter , UpdateSourceTrigger=PropertyChanged, Mode=TwoWay}"
146
                               TextMode="PlainText" Grid.Row="3" Grid.Column="1" HorizontalContentAlignment="Stretch"  VerticalAlignment="Bottom" HorizontalAlignment="Stretch" Margin="2,0"
147
                                                maskedInput:MaskedInputExtensions.MaxTextLength="1000" Mask=""/>
148

    
149
                <TextBlock Text="Docuemnt NO  " Grid.Row="3" Grid.Column="3"  VerticalAlignment="Center" HorizontalAlignment="Left"/>
150
                <telerik:RadMaskedTextInput IsClearButtonVisible="True" EmptyContent="Docuemnt NO" Value="{Binding Document_NOFilter , UpdateSourceTrigger=PropertyChanged, Mode=TwoWay}"
151
                           TextMode="PlainText" Grid.Row="3" Grid.Column="4"   HorizontalAlignment="Stretch" VerticalAlignment="Center" Margin="2,0"
152
                                                maskedInput:MaskedInputExtensions.MaxTextLength="1000" Mask=""/>
153
                <TextBlock Text="CreateUser ID " Grid.Row="3" Grid.Column="6"  VerticalAlignment="Center" HorizontalAlignment="Left"/>
154
                <telerik:RadMaskedTextInput IsClearButtonVisible="True"   EmptyContent="CreateUser ID "  Value="{Binding CreateUser_IDFilter, UpdateSourceTrigger=PropertyChanged, Mode=TwoWay}"
155
                            TextMode="PlainText" Grid.Row="3" Grid.Column="7"  HorizontalAlignment="Stretch" VerticalAlignment="Center" Margin="2,0"
156
                                                maskedInput:MaskedInputExtensions.MaxTextLength="1000" Mask=""/>
157
                <TextBlock Text="DocInfo ID " Grid.Row="1" Grid.Column="9"  VerticalAlignment="Center" HorizontalAlignment="Left"/>
158
                <telerik:RadMaskedTextInput IsClearButtonVisible="True"  EmptyContent="DocInfo ID"  Value="{Binding DOCINFO_IDFilter, UpdateSourceTrigger=PropertyChanged, Mode=TwoWay}"
159
                         TextMode="PlainText" Grid.Row="1" Grid.Column="10"   HorizontalAlignment="Stretch"   VerticalAlignment="Center" Margin="2,0"
160
                                                maskedInput:MaskedInputExtensions.MaxTextLength="1000" Mask=""/>
161
                <TextBlock Text="GROUP NO " Grid.Row="3" Grid.Column="9"  VerticalAlignment="Center" HorizontalAlignment="Left"/>
162
                <telerik:RadMaskedTextInput IsClearButtonVisible="True"  EmptyContent="GROUP NO"  Value="{Binding GROUP_NOFilter, UpdateSourceTrigger=PropertyChanged, Mode=TwoWay}"
163
                         TextMode="PlainText" Grid.Row="3" Grid.Column="10"   HorizontalAlignment="Stretch"   VerticalAlignment="Center" Margin="2,0"
164
                                                maskedInput:MaskedInputExtensions.MaxTextLength="1000" Mask=""/>
165
                <TextBlock Text="REVISION " Grid.Row="5" Grid.Column="0"  VerticalAlignment="Center" HorizontalAlignment="Left"/>
166
                <telerik:RadMaskedTextInput IsClearButtonVisible="True"  EmptyContent="REVISION"  Value="{Binding REVISIONFilter, UpdateSourceTrigger=PropertyChanged, Mode=TwoWay}"
167
                         TextMode="PlainText" Grid.Row="5" Grid.Column="1"   HorizontalAlignment="Stretch"   VerticalAlignment="Center" Margin="2,0"
168
                                                maskedInput:MaskedInputExtensions.MaxTextLength="1000" Mask=""/>
169

    
170
                <TextBlock Text="DOCUMENT_URL " Grid.Row="5" Grid.Column="3"  VerticalAlignment="Center" HorizontalAlignment="Left"/>
171
                <telerik:RadMaskedTextInput IsClearButtonVisible="True"  EmptyContent="DOCUMENT_URL"  Value="{Binding Document_URLFilter, UpdateSourceTrigger=PropertyChanged, Mode=TwoWay}"
172
                         TextMode="PlainText" Grid.Row="5" Grid.Column="4"   HorizontalAlignment="Stretch"   VerticalAlignment="Center" Margin="2,0" Grid.ColumnSpan="7"
173
                                                maskedInput:MaskedInputExtensions.MaxTextLength="1000" Mask=""/>
174
            </Grid>
175

    
176
            <StackPanel Grid.Row="4" Grid.ColumnSpan="11">
177
                <StackPanel Orientation="Horizontal">
178
                    <TextBlock Text="CreateTime  " VerticalAlignment="Center" Width="102"/>
179
                    <telerik:RadDateTimePicker x:Name="datePicker1" Width="200"
180
                                   InputMode="DateTimePicker"  
181
                                   VerticalAlignment="Center"
182
                                   HorizontalAlignment="Stretch"
183
                                   SelectedValue="{Binding SelectedCreateTimeBegin ,Mode=TwoWay,  UpdateSourceTrigger=PropertyChanged }" >
184
                    </telerik:RadDateTimePicker>
185
                    <TextBlock Text="  ~  " VerticalAlignment="Center"/>
186
                    <telerik:RadDateTimePicker x:Name="datePicker2"  Width="200"
187
                                   InputMode="DateTimePicker"  HorizontalAlignment="Stretch"
188
                                   VerticalAlignment="Center"
189
                                   SelectedValue="{Binding SelectedCreateTimeEnd ,Mode=TwoWay,  UpdateSourceTrigger=PropertyChanged}"
190
                                   Margin="0,1">
191
                    </telerik:RadDateTimePicker>
192
                    <Button Content="Clear" Margin="5"  Width="50" Height="20" HorizontalAlignment="Left" Command="{Binding RemoveCreateTimeFilterCommand, Mode=OneWay}"/>
193

    
194
                    <CheckBox IsChecked="{Binding ExcptionCheck, Mode=TwoWay}">Excption is not NULL</CheckBox>
195
                </StackPanel>
196
            </StackPanel>
197
        </Grid>
198

    
199
        <StackPanel Orientation="Horizontal" HorizontalAlignment="Right" Grid.Row="2">
200
            <telerik:RadToggleButton Content=" Convert 추가" Command="{Binding ConverAddCommand, Mode=OneWay}" Width="100" Margin="0,0,20,0" HorizontalAlignment="Right"/>
201
            <telerik:RadToggleButton Content=" 검색" Command="{Binding DataFilterCommand, Mode=OneWay}" Width="100" Margin="0,0,20,0" HorizontalAlignment="Right"/>
202
            <telerik:RadToggleButton Content=" 초기화" Command="{Binding ResetCommand, Mode=OneWay}" Width="100" Margin="0,0,20,0" HorizontalAlignment="Right"/>
203
        </StackPanel>
204

    
205

    
206
        <telerik:RadExpander ExpandDirection="Down"  BorderThickness="0" Grid.Row="3"
207
                  ScrollViewer.HorizontalScrollBarVisibility="Auto"  ScrollViewer.VerticalScrollBarVisibility="Auto"  IsExpanded="True" 
208
                             telerik:AnimationManager.IsAnimationEnabled="False" >
209
            <telerik:RadExpander.Header>
210
                <Grid>
211
                    <Grid.ColumnDefinitions>
212
                        <ColumnDefinition Width="Auto"/>
213
                        <ColumnDefinition Width="Auto"/>
214
                    </Grid.ColumnDefinitions>
215
                    <TextBlock Text="Final PDF Items : "/>
216
                    <TextBlock Text="{Binding SelectedCount.DisplayMember, StringFormat=\{0:d\}}" Grid.Column="1"/>
217
                </Grid>
218
            </telerik:RadExpander.Header>
219

    
220
            <telerik:RadGridView x:Name="dataGrid1"  GroupRenderMode="Flat" VerticalAlignment="Stretch" HorizontalAlignment="Stretch"  
221
                                                         ItemsSource="{Binding FilterConvertSourceView}" 
222
                             SelectionMode="Extended"
223
                             SelectionUnit="FullRow"
224
                             CanUserSelect ="True"
225
                             RowDetailsTemplate="{StaticResource RowDetailsTemplate}"  
226
                                                         AutoGenerateColumns="False"
227
                             ColumnWidth="*" CanUserFreezeColumns="False"
228
                             Grid.Row="1"  ScrollViewer.CanContentScroll="True" IsFilteringAllowed="True"
229
                             LeftFrozenColumnCount="6" 
230
                             RightFrozenColumnCount="0">
231
                <i:Interaction.Behaviors>
232
                    <controls:GridViewSelectionUtilities SelectedItems="{Binding SelectFilterConvertList, Source={StaticResource FinalPDFViewModel}}" />
233
                </i:Interaction.Behaviors>
234
                <telerik:RadContextMenu.ContextMenu>
235
                    <telerik:RadContextMenu x:Name= "GridContextMenu">
236
                        <telerik:RadMenuItem  Header="Convert"  Command="{Binding ConvertCommand}"/>
237
                        <telerik:RadMenuItem Header="Validation"  Command="{Binding ValidateCommand}"/>
238
                        <telerik:RadMenuItem Header="Delete"  Command="{Binding DeleteCommand}"/>
239
                    </telerik:RadContextMenu>
240
                </telerik:RadContextMenu.ContextMenu>
241
                <telerik:RadGridView.Columns>
242
                    <telerik:GridViewToggleRowDetailsColumn />
243
                    <controls:RowIndexColumn Header="#" Width="30" CellStyle="{StaticResource RowNumberStyle}" />
244

    
245
                    <telerik:GridViewDataColumn Header="Convert ID" 
246
                                                                                        DataMemberBinding="{Binding ConvertID}" Width="*" />
247
                    <telerik:GridViewDataColumn x:Name="commend" Header="Markus " Width="0.5*"  CellStyle="{StaticResource StretchCellStyle}">
248
                        <telerik:GridViewDataColumn.CellTemplate>
249
                            <DataTemplate>
250
                                <telerik:RadButton Content="Click" BorderThickness="0"
251
                                                   Background="Transparent"
252
                                                   Command="{Binding MarkusLinkCommand, Source={StaticResource FinalPDFViewModel}}" CommandParameter="{Binding DataContext, RelativeSource={RelativeSource Self}}"/>
253
                            </DataTemplate>
254
                        </telerik:GridViewDataColumn.CellTemplate>
255
                    </telerik:GridViewDataColumn>
256
                    <telerik:GridViewDataColumn Header="ProjectNO" 
257
                                                                                        DataMemberBinding="{Binding ProjectNumber}" Width="*" />
258
                    <telerik:GridViewDataColumn Header="DocumentID"
259
                                                                                        DataMemberBinding="{Binding DocumentID}" Width="*" />
260
                    <telerik:GridViewDataColumn Header="DocInfoID"
261
                                                                                        DataMemberBinding="{Binding DocInfo_ID}" Width="*" />
262
                    <telerik:GridViewDataColumn Header="MarkusInfoID"
263
                                                                                        DataMemberBinding="{Binding MarkupInfo_ID}" Width="*" />
264
                    <telerik:GridViewDataColumn Header="Create UserID"
265
                                                                                        DataMemberBinding="{Binding Create_User_ID}" Width="*" />
266
                    <telerik:GridViewDataColumn Header="CurrentPageNo"
267
                                                                                        DataMemberBinding="{Binding CurrentPageNo, Mode=TwoWay}" Width="*" />
268
                    <telerik:GridViewDataColumn Header="TotalPageNo"
269
                                                                                        DataMemberBinding="{Binding TotalPage, Mode=TwoWay}" Width="*"  />
270
                    <telerik:GridViewDynamicHyperlinkColumn Header="원본파일"  CellStyle="{StaticResource OriginalFileGridViewCell}"
271
                                                        NavigateUrlFormatString=" {0}"
272
                                                                                                            NavigateUrlMemberPaths="OriginfilePath"
273
                                                                                                                Width="2*">
274
                        <telerik:GridViewDynamicHyperlinkColumn.CellTemplate>
275
                            <DataTemplate>
276
                                <TextBlock Text="{Binding FileName}" HorizontalAlignment="Left"/>
277
                            </DataTemplate>
278
                        </telerik:GridViewDynamicHyperlinkColumn.CellTemplate>
279
                    </telerik:GridViewDynamicHyperlinkColumn>
280

    
281
                    <telerik:GridViewDataColumn Header=" ConvertPath" IsReadOnly="True" Width="*" CellStyle="{StaticResource StretchCellStyle}">
282
                        <telerik:GridViewDataColumn.CellTemplate>
283
                            <DataTemplate>
284
                                <Grid>
285
                                    <Grid.ColumnDefinitions>
286
                                        <ColumnDefinition/>
287
                                        <ColumnDefinition Width="Auto"/>
288
                                    </Grid.ColumnDefinitions>
289
                                    <TextBox TextAlignment="Left" Text="{Binding ConvertPath}" Background="Transparent" BorderBrush="Transparent" BorderThickness="0" Foreground="Black"/>
290
                                    <telerik:RadButton Background="Transparent" BorderBrush="Transparent" BorderThickness="0" Foreground="Black" Grid.Column="1"
291
                                                   Command="{Binding FinalPDFPathFileSearchCommand, Source={StaticResource FinalPDFViewModel}}" CommandParameter="{Binding DataContext, RelativeSource={RelativeSource Self}}">
292
                                        <Image Source="/Markus.Service.StationController;component/Resources/File_Search_Icon.png"  Stretch="None" />
293
                                    </telerik:RadButton>
294
                                </Grid>
295
                            </DataTemplate>
296
                        </telerik:GridViewDataColumn.CellTemplate>
297
                    </telerik:GridViewDataColumn>
298
                    <telerik:GridViewDataColumn Header="CreateTime" 
299
                                                                                        DataMemberBinding="{Binding CreateTime, Mode=TwoWay, StringFormat=\{0:yyyy.MM.dd HH:mm:ss\}}" Width="*"  />
300
                    <telerik:GridViewDataColumn Header="StartTime" IsReadOnly="True"   Background="Transparent" 
301
                                                                                        DataMemberBinding="{Binding StartTime, Mode=TwoWay, StringFormat=\{0:yyyy.MM.dd HH:mm:ss\}}" Width="*" />
302
                    <telerik:GridViewDataColumn Header="EndTime" IsReadOnly="True"   Background="Transparent" 
303
                                                                                        DataMemberBinding="{Binding EndTime, Mode=TwoWay, StringFormat=\{0:yyyy.MM.dd HH:mm:ss\}}" Width="*" />
304
                    <telerik:GridViewDataColumn Header="TotalTime" IsReadOnly="True"   Background="Transparent" 
305
                                                                                        DataMemberBinding="{Binding TotalTime, Mode=TwoWay, StringFormat=\{0:yyyy.MM.dd HH:mm:ss\}}" Width="*" />
306
                </telerik:RadGridView.Columns>
307
            </telerik:RadGridView>
308
        </telerik:RadExpander>
309

    
310
        <telerik:RadExpander Grid.Row="4" ExpandDirection="Down" BorderThickness="0"
311
                  ScrollViewer.HorizontalScrollBarVisibility="Auto" ScrollViewer.VerticalScrollBarVisibility="Auto"
312
                             telerik:AnimationManager.IsAnimationEnabled="False" IsExpanded ="{Binding ConvertShow, Mode=TwoWay}">
313
            <telerik:RadExpander.Header>
314
                <Grid>
315
                    <Grid.ColumnDefinitions>
316
                        <ColumnDefinition Width="Auto"/>
317
                        <ColumnDefinition Width="Auto"/>
318
                    </Grid.ColumnDefinitions>
319
                    <TextBlock Text="Real FinalPDF Items : "/>
320
                    <TextBlock Text="{Binding RealConvertSource.Count, StringFormat=\{0:d\}}" Grid.Column="1"/>
321
                </Grid>
322
            </telerik:RadExpander.Header>
323
            <telerik:RadGridView Name="dataGrid2" GroupRenderMode="Flat" VerticalAlignment="Stretch" HorizontalAlignment="Stretch"
324
                                                         ItemsSource="{Binding RealConvertSource}"
325
                             SelectedItem="{Binding SelectRealConvert, Mode=TwoWay}"
326
                             RowDetailsTemplate="{StaticResource RowDetailsTemplate}"
327
                                                         AutoGenerateColumns="False" CanUserFreezeColumns="False"
328
                             ColumnWidth="*"
329
                             Grid.Row="1"  ScrollViewer.CanContentScroll="False" IsFilteringAllowed="True">
330
                <telerik:RadContextMenu.ContextMenu>
331
                    <telerik:RadContextMenu>
332
                        <telerik:RadMenuItem  Header="Convert"  Command="{Binding ConvertCommand}"/>
333
                        <telerik:RadMenuItem Header="Validation"  Command="{Binding ValidateCommand}"/>
334
                        <telerik:RadMenuItem Header="Delete"  Command="{Binding DeleteCommand}"/>
335
                        <telerik:RadMenuItem Header="Stop Process"  Command="{Binding Stop_ProcessCommand}"/>
336
                    </telerik:RadContextMenu>
337
                </telerik:RadContextMenu.ContextMenu>
338
                <telerik:RadGridView.Columns>
339
                    <telerik:GridViewToggleRowDetailsColumn />
340
                    <controls:RowIndexColumn Header="#" Width="30" CellStyle="{StaticResource RowNumberStyle}" />
341

    
342
                    <telerik:GridViewDataColumn Header="Convert ID" 
343
                                                                                        DataMemberBinding="{Binding ConvertID}" Width="*" />
344

    
345
                    <telerik:GridViewDataColumn Header="Markus " Width="0.5*" CellStyle="{StaticResource StretchCellStyle}">
346
                        <telerik:GridViewDataColumn.CellTemplate>
347
                            <DataTemplate>
348
                                <telerik:RadButton Content="Click "  BorderThickness="0" Background="Transparent"
349
                                                   Command="{Binding MarkusLinkCommand, Source={StaticResource FinalPDFViewModel}}" CommandParameter="{Binding DataContext, RelativeSource={RelativeSource Self}}"/>
350
                            </DataTemplate>
351
                        </telerik:GridViewDataColumn.CellTemplate>
352
                    </telerik:GridViewDataColumn>
353

    
354
                    <telerik:GridViewToggleRowDetailsColumn />
355
                    <controls:RowIndexColumn Header="#" Width="30" CellStyle="{StaticResource RowNumberStyle}" />
356
                    <telerik:GridViewDataColumn Header="Markus " Width="0.5*"  CellStyle="{StaticResource StretchCellStyle}">
357
                        <telerik:GridViewDataColumn.CellTemplate>
358
                            <DataTemplate>
359
                                <telerik:RadButton Content="Click" BorderThickness="0"
360
                                                   Background="Transparent"
361
                                                   Command="{Binding MarkusLinkCommand, Source={StaticResource FinalPDFViewModel}}" CommandParameter="{Binding DataContext, RelativeSource={RelativeSource Self}}"/>
362
                            </DataTemplate>
363
                        </telerik:GridViewDataColumn.CellTemplate>
364
                    </telerik:GridViewDataColumn>
365
                    <telerik:GridViewDataColumn Header="ProjectNO" 
366
                                                                                        DataMemberBinding="{Binding ProjectNumber}" Width="*" />
367
                    <telerik:GridViewDataColumn Header="DocumentID"
368
                                                                                        DataMemberBinding="{Binding DocumentID}" Width="*" />
369
                    <telerik:GridViewDataColumn Header="DocInfoID"
370
                                                                                        DataMemberBinding="{Binding DocInfo_ID}" Width="*" />
371
                    <telerik:GridViewDataColumn Header="MarkusInfoID"
372
                                                                                        DataMemberBinding="{Binding MarkupInfo_ID}" Width="*" />
373
                    <telerik:GridViewDataColumn Header="Create UserID"
374
                                                                                        DataMemberBinding="{Binding Create_User_ID}" Width="*" />
375
                    <telerik:GridViewDataColumn Header="CurrentPageNo"
376
                                                                                        DataMemberBinding="{Binding CurrentPageNo, Mode=TwoWay}" Width="*" />
377
                    <telerik:GridViewDataColumn Header="TotalPageNo"
378
                                                                                        DataMemberBinding="{Binding TotalPage, Mode=TwoWay}" Width="*"  />
379
                    <telerik:GridViewDynamicHyperlinkColumn Header="원본파일"  CellStyle="{StaticResource OriginalFileGridViewCell}"
380
                                                        NavigateUrlFormatString=" {0}"
381
                                                                                                            NavigateUrlMemberPaths="OriginfilePath"
382
                                                                                                                Width="2*">
383
                        <telerik:GridViewDynamicHyperlinkColumn.CellTemplate>
384
                            <DataTemplate>
385
                                <TextBlock Text="{Binding FileName}" HorizontalAlignment="Left" />
386
                            </DataTemplate>
387
                        </telerik:GridViewDynamicHyperlinkColumn.CellTemplate>
388
                    </telerik:GridViewDynamicHyperlinkColumn>
389

    
390
                    <telerik:GridViewDataColumn Header=" ConvertPath" IsReadOnly="True" Width="*" CellStyle="{StaticResource StretchCellStyle}">
391
                        <telerik:GridViewDataColumn.CellTemplate>
392
                            <DataTemplate>
393
                                <Grid>
394
                                    <Grid.ColumnDefinitions>
395
                                        <ColumnDefinition/>
396
                                        <ColumnDefinition Width="Auto"/>
397
                                    </Grid.ColumnDefinitions>
398
                                    <TextBox TextAlignment="Left" Text="{Binding ConvertPath}" Background="Transparent" BorderBrush="Transparent" BorderThickness="0" Foreground="Black"/>
399
                                    <telerik:RadButton Background="Transparent" BorderBrush="Transparent" BorderThickness="0" Foreground="Black" Grid.Column="1"
400
                                                   Command="{Binding FinalPDFPathFileSearchCommand, Source={StaticResource FinalPDFViewModel}}" CommandParameter="{Binding DataContext, RelativeSource={RelativeSource Self}}">
401
                                        <Image Source="/Markus.Service.StationController;component/Resources/File_Search_Icon.png"  Stretch="None" />
402
                                    </telerik:RadButton>
403
                                </Grid>
404
                            </DataTemplate>
405
                        </telerik:GridViewDataColumn.CellTemplate>
406
                    </telerik:GridViewDataColumn>
407

    
408
                    <telerik:GridViewDataColumn Header="CreateTime" 
409
                                                                                        DataMemberBinding="{Binding CreateTime, Mode=TwoWay, StringFormat=\{0:yyyy.MM.dd HH:mm:ss\}}" Width="*" />
410
                    <telerik:GridViewDataColumn Header="StartTime" IsReadOnly="True"   Background="Transparent" 
411
                                                                                        DataMemberBinding="{Binding StartTime, Mode=TwoWay, StringFormat=\{0:yyyy.MM.dd HH:mm:ss\}}" Width="*" />
412
                    <telerik:GridViewDataColumn Header="EndTime" IsReadOnly="True"   Background="Transparent" 
413
                                                                                        DataMemberBinding="{Binding EndTime, Mode=TwoWay, StringFormat=\{0:yyyy.MM.dd HH:mm:ss\}}" Width="*" />
414
                    <telerik:GridViewDataColumn Header="TotalTime" IsReadOnly="True"   Background="Transparent" 
415
                                                                                        DataMemberBinding="{Binding TotalTime, Mode=TwoWay, StringFormat=\{0:yyyy.MM.dd HH:mm:ss\}}" Width="*" />
416
                </telerik:RadGridView.Columns>
417
            </telerik:RadGridView>
418
        </telerik:RadExpander>
419

    
420
        <telerik:RadExpander Grid.Row="5" ExpandDirection="Down" BorderThickness="0"  VerticalAlignment="Stretch" Margin="0,0,0,10"
421
                  ScrollViewer.HorizontalScrollBarVisibility="Auto" ScrollViewer.VerticalScrollBarVisibility="Auto" 
422
                             telerik:AnimationManager.IsAnimationEnabled="False"  IsExpanded ="{Binding AliveShow, Mode=TwoWay}">
423
            <telerik:RadExpander.Header>
424
                <Grid>
425
                    <Grid.ColumnDefinitions>
426
                        <ColumnDefinition Width="Auto"/>
427
                        <ColumnDefinition Width="Auto"/>
428
                    </Grid.ColumnDefinitions>
429
                    <TextBlock Text="Alive FinalPDF Items : " Grid.RowSpan="2"/>
430
                    <TextBlock Text="{Binding AliveItems.Count, StringFormat=\{0:d\}}" Grid.Column="1" Grid.RowSpan="2"/>
431
                </Grid>
432
            </telerik:RadExpander.Header>
433
            <telerik:RadGridView GroupRenderMode="Flat" VerticalAlignment="Stretch" HorizontalAlignment="Stretch"
434
                                                         ItemsSource="{Binding AliveItems}"
435
                             SelectedItem="{Binding SelectAliveConvert, Mode=TwoWay}"
436
                                                         AutoGenerateColumns="False" CanUserFreezeColumns="False" RowDetailsTemplate="{StaticResource RowDetailsTemplate}"
437
                             ColumnWidth="*"  ScrollViewer.CanContentScroll="False" IsFilteringAllowed="True" Grid.Row="1" >
438
                <telerik:RadContextMenu.ContextMenu>
439
                    <telerik:RadContextMenu>
440
                        <telerik:RadMenuItem  Header="Convert"  Command="{Binding ConvertCommand}"/>
441
                        <telerik:RadMenuItem Header="Validation"  Command="{Binding ValidateCommand}"/>
442
                        <telerik:RadMenuItem Header="Delete"  Command="{Binding DeleteCommand}"/>
443
                        <telerik:RadMenuItem Header="Stop Process"  Command="{Binding Stop_ProcessCommand}"/>
444
                    </telerik:RadContextMenu>
445
                </telerik:RadContextMenu.ContextMenu>
446
                <telerik:RadGridView.Columns>
447
                    <telerik:GridViewToggleRowDetailsColumn />
448
                    <controls:RowIndexColumn Header="#" Width="30" CellStyle="{StaticResource RowNumberStyle}" />
449

    
450
                    <telerik:GridViewDataColumn Header="Convert ID" 
451
                                                                                        DataMemberBinding="{Binding ConvertID}" Width="*" />
452

    
453
                    <telerik:GridViewDataColumn Header="Markus " Width="0.5*" CellStyle="{StaticResource StretchCellStyle}">
454
                        <telerik:GridViewDataColumn.CellTemplate>
455
                            <DataTemplate>
456
                                <telerik:RadButton Content="Click "  BorderThickness="0" Background="Transparent"
457
                                                   Command="{Binding MarkusLinkCommand, Source={StaticResource FinalPDFViewModel}}" CommandParameter="{Binding DataContext, RelativeSource={RelativeSource Self}}"/>
458
                            </DataTemplate>
459
                        </telerik:GridViewDataColumn.CellTemplate>
460
                    </telerik:GridViewDataColumn>
461

    
462
                    <telerik:GridViewToggleRowDetailsColumn />
463
                    <controls:RowIndexColumn Header="#" Width="30" CellStyle="{StaticResource RowNumberStyle}" />
464
                    <telerik:GridViewDataColumn Header="Markus " Width="0.5*"  CellStyle="{StaticResource StretchCellStyle}">
465
                        <telerik:GridViewDataColumn.CellTemplate>
466
                            <DataTemplate>
467
                                <telerik:RadButton Content="Click" BorderThickness="0"
468
                                                   Background="Transparent"
469
                                                   Command="{Binding MarkusLinkCommand, Source={StaticResource FinalPDFViewModel}}" CommandParameter="{Binding DataContext, RelativeSource={RelativeSource Self}}"/>
470
                            </DataTemplate>
471
                        </telerik:GridViewDataColumn.CellTemplate>
472
                    </telerik:GridViewDataColumn>
473
                    <telerik:GridViewDataColumn Header="ProjectNO" 
474
                                                                                        DataMemberBinding="{Binding ProjectNumber}" Width="*" />
475
                    <telerik:GridViewDataColumn Header="DocumentID"
476
                                                                                        DataMemberBinding="{Binding DocumentID}" Width="*" />
477
                    <telerik:GridViewDataColumn Header="DocInfoID"
478
                                                                                        DataMemberBinding="{Binding DocInfo_ID}" Width="*" />
479
                    <telerik:GridViewDataColumn Header="MarkusInfoID"
480
                                                                                        DataMemberBinding="{Binding MarkupInfo_ID}" Width="*" />
481
                    <telerik:GridViewDataColumn Header="Create UserID"
482
                                                                                        DataMemberBinding="{Binding Create_User_ID}" Width="*" />
483
                    <telerik:GridViewDataColumn Header="CurrentPageNo"
484
                                                                                        DataMemberBinding="{Binding CurrentPageNo, Mode=TwoWay}" Width="*" />
485
                    <telerik:GridViewDataColumn Header="TotalPageNo"
486
                                                                                        DataMemberBinding="{Binding TotalPage, Mode=TwoWay}" Width="*"  />
487
                    <telerik:GridViewDynamicHyperlinkColumn Header="원본파일"  CellStyle="{StaticResource OriginalFileGridViewCell}"
488
                                                        NavigateUrlFormatString=" {0}"
489
                                                                                                            NavigateUrlMemberPaths="OriginfilePath"
490
                                                                                                                Width="2*">
491
                        <telerik:GridViewDynamicHyperlinkColumn.CellTemplate>
492
                            <DataTemplate>
493
                                <TextBlock Text="{Binding FileName}" HorizontalAlignment="Left"/>
494
                            </DataTemplate>
495
                        </telerik:GridViewDynamicHyperlinkColumn.CellTemplate>
496
                    </telerik:GridViewDynamicHyperlinkColumn>
497
                    
498
                    <telerik:GridViewDataColumn Header=" ConvertPath" IsReadOnly="True" Width="*" CellStyle="{StaticResource StretchCellStyle}">
499
                        <telerik:GridViewDataColumn.CellTemplate>
500
                            <DataTemplate>
501
                                <Grid>
502
                                    <Grid.ColumnDefinitions>
503
                                        <ColumnDefinition/>
504
                                        <ColumnDefinition Width="Auto"/>
505
                                    </Grid.ColumnDefinitions>
506
                                    <TextBox TextAlignment="Left" Text="{Binding ConvertPath}" Background="Transparent" BorderBrush="Transparent" BorderThickness="0" Foreground="Black"/>
507
                                    <telerik:RadButton Grid.Column="1" Background="Transparent" BorderBrush="Transparent" BorderThickness="0" Foreground="Black" 
508
                                                   Command="{Binding FinalPDFPathFileSearchCommand, Source={StaticResource FinalPDFViewModel}}" CommandParameter="{Binding DataContext, RelativeSource={RelativeSource Self}}">
509
                                        <Image Source="/Markus.Service.StationController;component/Resources/File_Search_Icon.png"  Stretch="None" />
510
                                    </telerik:RadButton>
511
                                </Grid>
512
                            </DataTemplate>
513
                        </telerik:GridViewDataColumn.CellTemplate>
514
                    </telerik:GridViewDataColumn>
515

    
516
                    <telerik:GridViewDataColumn Header="CreateTime" 
517
                                                                                        DataMemberBinding="{Binding CreateTime, Mode=TwoWay, StringFormat=\{0:yyyy.MM.dd HH:mm:ss\}}" Width="*" />
518
                    <telerik:GridViewDataColumn Header="StartTime" IsReadOnly="True"   Background="Transparent" 
519
                                                                                        DataMemberBinding="{Binding StartTime, Mode=TwoWay, StringFormat=\{0:yyyy.MM.dd HH:mm:ss\}}" Width="*" />
520
                    <telerik:GridViewDataColumn Header="EndTime" IsReadOnly="True"   Background="Transparent" 
521
                                                                                        DataMemberBinding="{Binding EndTime, Mode=TwoWay, StringFormat=\{0:yyyy.MM.dd HH:mm:ss\}}" Width="*" />
522
                    <telerik:GridViewDataColumn Header="TotalTime" IsReadOnly="True"   Background="Transparent" 
523
                                                                                        DataMemberBinding="{Binding TotalTime, Mode=TwoWay, StringFormat=\{0:yyyy.MM.dd HH:mm:ss\}}" Width="*" />
524
                </telerik:RadGridView.Columns>
525
            </telerik:RadGridView>
526
        </telerik:RadExpander>
527

    
528
    </Grid>
529
</UserControl>
530

    
클립보드 이미지 추가 (최대 크기: 500 MB)