프로젝트

일반

사용자정보

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

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

이력 | 보기 | 이력해설 | 다운로드 (40 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
        <Grid Grid.Row="1">
92
            <Grid.Style>
93
                <Style>
94
                    <Setter Property="TextBlock.Margin" Value="20,0,0,0"/>
95
                </Style>
96
            </Grid.Style>
97
            <Grid.RowDefinitions>
98
                <RowDefinition />
99
                <RowDefinition />
100
            </Grid.RowDefinitions>
101
            <Grid Grid.Row="0">
102
                <Grid.RowDefinitions>
103
                    <RowDefinition Height="10"/>
104
                    <RowDefinition />
105
                    <RowDefinition Height="10"/>
106
                    <RowDefinition />
107
                    <RowDefinition Height="10" />
108
                    <RowDefinition />
109
                    <RowDefinition Height="10" />
110
                </Grid.RowDefinitions>
111
                <Grid.ColumnDefinitions>
112
                    <ColumnDefinition Width="Auto"/>
113
                    <ColumnDefinition Width="*" />
114
                    <ColumnDefinition Width="10"/>
115
                    <ColumnDefinition Width="Auto"/>
116
                    <ColumnDefinition Width="*"/>
117
                    <ColumnDefinition Width="10"/>
118
                    <ColumnDefinition Width="Auto"/>
119
                    <ColumnDefinition Width="*"/>
120
                    <ColumnDefinition Width="10"/>
121
                    <ColumnDefinition Width="Auto"/>
122
                    <ColumnDefinition Width="*"/>
123
                </Grid.ColumnDefinitions>
124
                <TextBlock Text="Project NO  " Grid.Row="1" Grid.Column="0" VerticalAlignment="Center" HorizontalAlignment="Left"/>
125
                <telerik:RadComboBox Grid.Row="1" Grid.Column="1" HorizontalAlignment="Stretch"
126
                                         DisplayMemberPath="Project_NOAndProject_Name"
127
                                         ItemsSource="{Binding ProjectNames}" 
128
                                         SelectedItem="{Binding ProjectNumberFilter}"
129
                                         AllowMultipleSelection="False"
130
                                         EmptyText="Project_NO : Project_Name" Height="22" VerticalAlignment="Top"/>
131

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

    
141
                <TextBlock Text="MarkupInfo ID  " Grid.Row="1" Grid.Column="6"   VerticalAlignment="Center" HorizontalAlignment="Left"/>
142
                <telerik:RadMaskedTextInput IsClearButtonVisible="True" EmptyContent="MarkupInfo ID " Value="{Binding MarkupInfo_IDFilter, UpdateSourceTrigger=PropertyChanged, Mode=TwoWay}"
143
                                                        TextMode="PlainText" Grid.Row="1" Grid.Column="7" HorizontalAlignment="Stretch" VerticalAlignment="Center" Margin="2,0"
144
                                                maskedInput:MaskedInputExtensions.MaxTextLength="1000" Mask=""  AcceptsReturn="False">
145
                    <telerik:RadMaskedTextInput.InputBindings>
146
                        <KeyBinding Key="Enter" Command="{Binding EnterCommand, UpdateSourceTrigger=PropertyChanged}" />
147
                    </telerik:RadMaskedTextInput.InputBindings>
148
                </telerik:RadMaskedTextInput>
149

    
150
                <TextBlock Text="Docuemnt Name  " Grid.Row="3" Grid.Column="0" VerticalAlignment="Center" HorizontalAlignment="Left"/>
151
                <telerik:RadMaskedTextInput IsClearButtonVisible="True"  EmptyContent="Docuemnt Name" Value="{Binding Document_NameFilter , UpdateSourceTrigger=PropertyChanged, Mode=TwoWay}"
152
                               TextMode="PlainText" Grid.Row="3" Grid.Column="1" HorizontalContentAlignment="Stretch"  VerticalAlignment="Bottom" HorizontalAlignment="Stretch" Margin="2,0"
153
                                                maskedInput:MaskedInputExtensions.MaxTextLength="1000" Mask=""  AcceptsReturn="False">
154
                    <telerik:RadMaskedTextInput.InputBindings>
155
                        <KeyBinding Key="Enter" Command="{Binding EnterCommand, UpdateSourceTrigger=PropertyChanged}" />
156
                    </telerik:RadMaskedTextInput.InputBindings>
157
                </telerik:RadMaskedTextInput>
158

    
159
                <TextBlock Text="Docuemnt NO  " Grid.Row="3" Grid.Column="3"  VerticalAlignment="Center" HorizontalAlignment="Left"/>
160
                <telerik:RadMaskedTextInput IsClearButtonVisible="True" EmptyContent="Docuemnt NO" Value="{Binding Document_NOFilter , UpdateSourceTrigger=PropertyChanged, Mode=TwoWay}"
161
                           TextMode="PlainText" Grid.Row="3" Grid.Column="4"   HorizontalAlignment="Stretch" VerticalAlignment="Center" Margin="2,0"
162
                                                maskedInput:MaskedInputExtensions.MaxTextLength="1000" Mask=""  AcceptsReturn="False">
163
                    <telerik:RadMaskedTextInput.InputBindings>
164
                        <KeyBinding Key="Enter" Command="{Binding EnterCommand, UpdateSourceTrigger=PropertyChanged}" />
165
                    </telerik:RadMaskedTextInput.InputBindings>
166
                </telerik:RadMaskedTextInput>
167
                
168
                <TextBlock Text="CreateUser ID " Grid.Row="3" Grid.Column="6"  VerticalAlignment="Center" HorizontalAlignment="Left"/>
169
                <telerik:RadMaskedTextInput IsClearButtonVisible="True"   EmptyContent="CreateUser ID "  Value="{Binding CreateUser_IDFilter, UpdateSourceTrigger=PropertyChanged, Mode=TwoWay}"
170
                            TextMode="PlainText" Grid.Row="3" Grid.Column="7"  HorizontalAlignment="Stretch" VerticalAlignment="Center" Margin="2,0"
171
                                                maskedInput:MaskedInputExtensions.MaxTextLength="1000" Mask=""  AcceptsReturn="False">
172
                    <telerik:RadMaskedTextInput.InputBindings>
173
                        <KeyBinding Key="Enter" Command="{Binding EnterCommand, UpdateSourceTrigger=PropertyChanged}" />
174
                    </telerik:RadMaskedTextInput.InputBindings>
175
                </telerik:RadMaskedTextInput>
176
                
177
                <TextBlock Text="DocInfo ID " Grid.Row="1" Grid.Column="9"  VerticalAlignment="Center" HorizontalAlignment="Left"/>
178
                <telerik:RadMaskedTextInput IsClearButtonVisible="True"  EmptyContent="DocInfo ID"  Value="{Binding DOCINFO_IDFilter, UpdateSourceTrigger=PropertyChanged, Mode=TwoWay}"
179
                         TextMode="PlainText" Grid.Row="1" Grid.Column="10"   HorizontalAlignment="Stretch"   VerticalAlignment="Center" Margin="2,0"
180
                                                maskedInput:MaskedInputExtensions.MaxTextLength="1000" Mask=""  AcceptsReturn="False">
181
                    <telerik:RadMaskedTextInput.InputBindings>
182
                        <KeyBinding Key="Enter" Command="{Binding EnterCommand, UpdateSourceTrigger=PropertyChanged}" />
183
                    </telerik:RadMaskedTextInput.InputBindings>
184
                </telerik:RadMaskedTextInput>
185
                
186
                <TextBlock Text="GROUP NO " Grid.Row="3" Grid.Column="9"  VerticalAlignment="Center" HorizontalAlignment="Left"/>
187
                <telerik:RadMaskedTextInput IsClearButtonVisible="True"  EmptyContent="GROUP NO"  Value="{Binding GROUP_NOFilter, UpdateSourceTrigger=PropertyChanged, Mode=TwoWay}"
188
                         TextMode="PlainText" Grid.Row="3" Grid.Column="10"   HorizontalAlignment="Stretch"   VerticalAlignment="Center" Margin="2,0"
189
                                                maskedInput:MaskedInputExtensions.MaxTextLength="1000" Mask=""  AcceptsReturn="False">
190
                    <telerik:RadMaskedTextInput.InputBindings>
191
                        <KeyBinding Key="Enter" Command="{Binding EnterCommand, UpdateSourceTrigger=PropertyChanged}" />
192
                    </telerik:RadMaskedTextInput.InputBindings>
193
                </telerik:RadMaskedTextInput>
194
                
195
                <TextBlock Text="REVISION " Grid.Row="5" Grid.Column="0"  VerticalAlignment="Center" HorizontalAlignment="Left"/>
196
                <telerik:RadMaskedTextInput IsClearButtonVisible="True"  EmptyContent="REVISION"  Value="{Binding REVISIONFilter, UpdateSourceTrigger=PropertyChanged, Mode=TwoWay}"
197
                         TextMode="PlainText" Grid.Row="5" Grid.Column="1"   HorizontalAlignment="Stretch"   VerticalAlignment="Center" Margin="2,0"
198
                                                maskedInput:MaskedInputExtensions.MaxTextLength="1000" Mask=""  AcceptsReturn="False">
199
                    <telerik:RadMaskedTextInput.InputBindings>
200
                        <KeyBinding Key="Enter" Command="{Binding EnterCommand, UpdateSourceTrigger=PropertyChanged}" />
201
                    </telerik:RadMaskedTextInput.InputBindings>
202
                </telerik:RadMaskedTextInput>
203

    
204
                <TextBlock Text="DOCUMENT_URL " Grid.Row="5" Grid.Column="3"  VerticalAlignment="Center" HorizontalAlignment="Left"/>
205
                <telerik:RadMaskedTextInput IsClearButtonVisible="True"  EmptyContent="DOCUMENT_URL"  Value="{Binding Document_URLFilter, UpdateSourceTrigger=PropertyChanged, Mode=TwoWay}"
206
                         TextMode="PlainText" Grid.Row="5" Grid.Column="4"   HorizontalAlignment="Stretch"   VerticalAlignment="Center" Margin="2,0" Grid.ColumnSpan="7"
207
                                                maskedInput:MaskedInputExtensions.MaxTextLength="1000" Mask="" AcceptsReturn="False">
208
                    <telerik:RadMaskedTextInput.InputBindings>
209
                        <KeyBinding Key="Enter" Command="{Binding EnterCommand, UpdateSourceTrigger=PropertyChanged}" />
210
                    </telerik:RadMaskedTextInput.InputBindings>
211
                </telerik:RadMaskedTextInput>
212
            </Grid>
213

    
214
            <StackPanel Grid.Row="4" Grid.ColumnSpan="11">
215
                <StackPanel Orientation="Horizontal">
216
                    <TextBlock Text="CreateTime  " VerticalAlignment="Center" Width="102"/>
217
                    <telerik:RadDateTimePicker x:Name="datePicker1" Width="200"
218
                                   InputMode="DateTimePicker"  
219
                                   VerticalAlignment="Center"
220
                                   HorizontalAlignment="Stretch"
221
                                   SelectedValue="{Binding SelectedCreateTimeBegin ,Mode=TwoWay,  UpdateSourceTrigger=PropertyChanged }" >
222
                    </telerik:RadDateTimePicker>
223
                    <TextBlock Text="  ~  " VerticalAlignment="Center"/>
224
                    <telerik:RadDateTimePicker x:Name="datePicker2"  Width="200"
225
                                   InputMode="DateTimePicker"  HorizontalAlignment="Stretch"
226
                                   VerticalAlignment="Center"
227
                                   SelectedValue="{Binding SelectedCreateTimeEnd ,Mode=TwoWay,  UpdateSourceTrigger=PropertyChanged}"
228
                                   Margin="0,1">
229
                    </telerik:RadDateTimePicker>
230
                    <Button Content="Clear" Margin="5"  Width="50" Height="20" HorizontalAlignment="Left" Command="{Binding RemoveCreateTimeFilterCommand, Mode=OneWay}"/>
231

    
232
                    <CheckBox IsChecked="{Binding ExcptionCheck, Mode=TwoWay}">Excption is not NULL</CheckBox>
233
                </StackPanel>
234
            </StackPanel>
235
        </Grid>
236

    
237
        <StackPanel Orientation="Horizontal" HorizontalAlignment="Right" Grid.Row="2">
238
            <telerik:RadToggleButton Content=" Document Items" Command="{Binding DocumentFilterCommand, Mode=OneWay}" Width="100" Margin="0,0,20,0" HorizontalAlignment="Right"/>
239
            <telerik:RadToggleButton Content=" Convert 추가" Command="{Binding ConverAddCommand, Mode=OneWay}" Width="100" Margin="0,0,20,0" HorizontalAlignment="Right"/>
240
            <telerik:RadToggleButton Content=" 검색" Command="{Binding DataFilterCommand, Mode=OneWay}" Width="100" Margin="0,0,20,0" HorizontalAlignment="Right"/>
241
            <telerik:RadToggleButton Content=" 초기화" Command="{Binding ResetCommand, Mode=OneWay}" Width="100" Margin="0,0,20,0" HorizontalAlignment="Right"/>
242
        </StackPanel>
243

    
244

    
245
        <telerik:RadExpander ExpandDirection="Down"  BorderThickness="0" Grid.Row="3"
246
                  ScrollViewer.HorizontalScrollBarVisibility="Auto"  ScrollViewer.VerticalScrollBarVisibility="Auto"  IsExpanded="True" 
247
                             telerik:AnimationManager.IsAnimationEnabled="False" >
248
            <telerik:RadExpander.Header>
249
                <Grid>
250
                    <Grid.ColumnDefinitions>
251
                        <ColumnDefinition Width="Auto"/>
252
                        <ColumnDefinition Width="Auto"/>
253
                    </Grid.ColumnDefinitions>
254
                    <TextBlock Text="Final PDF Items : "/>
255
                    <TextBlock Text="{Binding SelectedCount.DisplayMember, StringFormat=\{0:d\}}" Grid.Column="1"/>
256
                </Grid>
257
            </telerik:RadExpander.Header>
258

    
259
            <telerik:RadGridView x:Name="dataGrid1"  GroupRenderMode="Flat" VerticalAlignment="Stretch" HorizontalAlignment="Stretch"  
260
                                                         ItemsSource="{Binding FilterConvertSourceView}" 
261
                             SelectionMode="Extended"
262
                             SelectionUnit="FullRow"
263
                             CanUserSelect ="True"
264
                             RowDetailsTemplate="{StaticResource RowDetailsTemplate}"  
265
                                                         AutoGenerateColumns="False"
266
                             ColumnWidth="*" CanUserFreezeColumns="False"
267
                             Grid.Row="1"  ScrollViewer.CanContentScroll="True" IsFilteringAllowed="True"
268
                             LeftFrozenColumnCount="6" 
269
                             RightFrozenColumnCount="0">
270
                <i:Interaction.Behaviors>
271
                    <controls:GridViewSelectionUtilities SelectedItems="{Binding SelectFilterConvertList}" />
272
                </i:Interaction.Behaviors>
273
                <telerik:RadContextMenu.ContextMenu>
274
                    <telerik:RadContextMenu x:Name= "GridContextMenu">
275
                        <telerik:RadMenuItem  Header="Convert"  Command="{Binding ConvertCommand}"/>
276
                        <telerik:RadMenuItem Header="Validation"  Command="{Binding ValidateCommand}"/>
277
                        <telerik:RadMenuItem Header="Delete"  Command="{Binding DeleteCommand}"/>
278
                    </telerik:RadContextMenu>
279
                </telerik:RadContextMenu.ContextMenu>
280
                <telerik:RadGridView.Columns>
281
                    <telerik:GridViewToggleRowDetailsColumn />
282
                    <controls:RowIndexColumn Header="#" Width="30" CellStyle="{StaticResource RowNumberStyle}" />
283

    
284
                    <telerik:GridViewDataColumn Header="Convert ID" 
285
                                                                                        DataMemberBinding="{Binding ConvertID}" Width="*" />
286
                    <telerik:GridViewDataColumn x:Name="commend" Header="Markus " Width="0.5*"  CellStyle="{StaticResource StretchCellStyle}">
287
                        <telerik:GridViewDataColumn.CellTemplate>
288
                            <DataTemplate>
289
                                <telerik:RadButton Content="Click" BorderThickness="0"
290
                                                   Background="Transparent"
291
                                                   Command="{Binding MarkusLinkCommand, Source={StaticResource FinalPDFViewModel}}" CommandParameter="{Binding DataContext, RelativeSource={RelativeSource Self}}"/>
292
                            </DataTemplate>
293
                        </telerik:GridViewDataColumn.CellTemplate>
294
                    </telerik:GridViewDataColumn>
295
                    <telerik:GridViewDataColumn Header="ProjectNO" 
296
                                                                                        DataMemberBinding="{Binding ProjectNumber}" Width="*" />
297
                    <telerik:GridViewDataColumn Header="DocumentID"
298
                                                                                        DataMemberBinding="{Binding DocumentID}" Width="*" />
299
                    <telerik:GridViewDataColumn Header="ConvertState"
300
                                                                                        DataMemberBinding="{Binding ConvertState}" Width="*" />
301
                    <telerik:GridViewDataColumn Header="DocInfoID"
302
                                                                                        DataMemberBinding="{Binding DocInfo_ID}" Width="*" />
303
                    <telerik:GridViewDataColumn Header="MarkusInfoID"
304
                                                                                        DataMemberBinding="{Binding MarkupInfo_ID}" Width="*" />
305
                    <telerik:GridViewDataColumn Header="Create UserID"
306
                                                                                        DataMemberBinding="{Binding Create_User_ID}" Width="*" />
307
                    <telerik:GridViewDataColumn Header="CurrentPageNo"
308
                                                                                        DataMemberBinding="{Binding CurrentPageNo, Mode=TwoWay}" Width="*" />
309
                    <telerik:GridViewDataColumn Header="TotalPageNo"
310
                                                                                        DataMemberBinding="{Binding TotalPage, Mode=TwoWay}" Width="*"  />
311
                    <telerik:GridViewDynamicHyperlinkColumn Header="원본파일"  CellStyle="{StaticResource OriginalFileGridViewCell}"
312
                                                        NavigateUrlFormatString=" {0}"
313
                                                                                                            NavigateUrlMemberPaths="OriginfilePath"
314
                                                                                                                Width="2*">
315
                        <telerik:GridViewDynamicHyperlinkColumn.CellTemplate>
316
                            <DataTemplate>
317
                                <TextBlock Text="{Binding FileName}" HorizontalAlignment="Left"/>
318
                            </DataTemplate>
319
                        </telerik:GridViewDynamicHyperlinkColumn.CellTemplate>
320
                    </telerik:GridViewDynamicHyperlinkColumn>
321

    
322
                    <telerik:GridViewDataColumn Header=" ConvertPath" IsReadOnly="True" Width="*" CellStyle="{StaticResource StretchCellStyle}">
323
                        <telerik:GridViewDataColumn.CellTemplate>
324
                            <DataTemplate>
325
                                <Grid>
326
                                    <Grid.ColumnDefinitions>
327
                                        <ColumnDefinition/>
328
                                        <ColumnDefinition Width="Auto"/>
329
                                    </Grid.ColumnDefinitions>
330
                                    <TextBox TextAlignment="Left" Text="{Binding ConvertPath}" Background="Transparent" BorderBrush="Transparent" BorderThickness="0" Foreground="Black"/>
331
                                    <telerik:RadButton Background="Transparent" BorderBrush="Transparent" BorderThickness="0" Foreground="Black" Grid.Column="1"
332
                                                   Command="{Binding FinalPDFPathFileSearchCommand, Source={StaticResource FinalPDFViewModel}}" CommandParameter="{Binding DataContext, RelativeSource={RelativeSource Self}}">
333
                                        <Image Source="/Markus.Service.StationController;component/Resources/File_Search_Icon.png"  Stretch="None" />
334
                                    </telerik:RadButton>
335
                                </Grid>
336
                            </DataTemplate>
337
                        </telerik:GridViewDataColumn.CellTemplate>
338
                    </telerik:GridViewDataColumn>
339
                    <telerik:GridViewDataColumn Header="CreateTime" 
340
                                                                                        DataMemberBinding="{Binding CreateTime, Mode=TwoWay, StringFormat=\{0:yyyy.MM.dd HH:mm:ss\}}" Width="*"  />
341
                    <telerik:GridViewDataColumn Header="StartTime" IsReadOnly="True"   Background="Transparent" 
342
                                                                                        DataMemberBinding="{Binding StartTime, Mode=TwoWay, StringFormat=\{0:yyyy.MM.dd HH:mm:ss\}}" Width="*" />
343
                    <telerik:GridViewDataColumn Header="EndTime" IsReadOnly="True"   Background="Transparent" 
344
                                                                                        DataMemberBinding="{Binding EndTime, Mode=TwoWay, StringFormat=\{0:yyyy.MM.dd HH:mm:ss\}}" Width="*" />
345
                    <telerik:GridViewDataColumn Header="TotalTime" IsReadOnly="True"   Background="Transparent" 
346
                                                                                        DataMemberBinding="{Binding TotalTime, Mode=TwoWay, StringFormat=\{0:yyyy.MM.dd HH:mm:ss\}}" Width="*" />
347
                </telerik:RadGridView.Columns>
348
            </telerik:RadGridView>
349
        </telerik:RadExpander>
350

    
351
        <telerik:RadExpander Grid.Row="4" ExpandDirection="Down" BorderThickness="0"
352
                  ScrollViewer.HorizontalScrollBarVisibility="Auto" ScrollViewer.VerticalScrollBarVisibility="Auto"
353
                             telerik:AnimationManager.IsAnimationEnabled="False" IsExpanded ="{Binding ConvertShow, Mode=TwoWay}">
354
            <telerik:RadExpander.Header>
355
                <Grid>
356
                    <Grid.ColumnDefinitions>
357
                        <ColumnDefinition Width="Auto"/>
358
                        <ColumnDefinition Width="Auto"/>
359
                    </Grid.ColumnDefinitions>
360
                    <TextBlock Text="Real FinalPDF Items : "/>
361
                    <TextBlock Text="{Binding RealConvertSource.Count, StringFormat=\{0:d\}}" Grid.Column="1"/>
362
                </Grid>
363
            </telerik:RadExpander.Header>
364
            <telerik:RadGridView Name="dataGrid2" GroupRenderMode="Flat" VerticalAlignment="Stretch" HorizontalAlignment="Stretch"
365
                                                         ItemsSource="{Binding RealConvertSource}"
366
                             SelectedItem="{Binding SelectRealConvert, Mode=TwoWay}"
367
                             RowDetailsTemplate="{StaticResource RowDetailsTemplate}"
368
                                                         AutoGenerateColumns="False" CanUserFreezeColumns="False"
369
                             ColumnWidth="*"
370
                             Grid.Row="1"  ScrollViewer.CanContentScroll="False" IsFilteringAllowed="True">
371
                <telerik:RadContextMenu.ContextMenu>
372
                    <telerik:RadContextMenu>
373
                        <telerik:RadMenuItem  Header="Convert"  Command="{Binding ConvertCommand}" CommandParameter="{Binding SelectRealConvert}"/>
374
                        <telerik:RadMenuItem Header="Validation"  Command="{Binding ValidateCommand}" CommandParameter="{Binding SelectRealConvert}"/>
375
                        <telerik:RadMenuItem Header="Delete"  Command="{Binding DeleteCommand}" CommandParameter="{Binding SelectRealConvert}"/>
376
                        <telerik:RadMenuItem Header="Stop Process"  Command="{Binding Stop_ProcessCommand}" CommandParameter="{Binding SelectRealConvert}" />
377
                    </telerik:RadContextMenu>
378
                </telerik:RadContextMenu.ContextMenu>
379
                <telerik:RadGridView.Columns>
380
                    <telerik:GridViewToggleRowDetailsColumn />
381
                    <controls:RowIndexColumn Header="#" Width="30" CellStyle="{StaticResource RowNumberStyle}" />
382

    
383
                    <telerik:GridViewDataColumn Header="Convert ID" 
384
                                                                                        DataMemberBinding="{Binding ConvertID}" Width="*" />
385

    
386
                    <telerik:GridViewDataColumn Header="Markus " Width="0.5*" CellStyle="{StaticResource StretchCellStyle}">
387
                        <telerik:GridViewDataColumn.CellTemplate>
388
                            <DataTemplate>
389
                                <telerik:RadButton Content="Click "  BorderThickness="0" Background="Transparent"
390
                                                   Command="{Binding MarkusLinkCommand, Source={StaticResource FinalPDFViewModel}}" CommandParameter="{Binding DataContext, RelativeSource={RelativeSource Self}}"/>
391
                            </DataTemplate>
392
                        </telerik:GridViewDataColumn.CellTemplate>
393
                    </telerik:GridViewDataColumn>
394
                    <telerik:GridViewDataColumn Header="ProjectNO" 
395
                                                                                        DataMemberBinding="{Binding ProjectNumber}" Width="*" />
396
                    <telerik:GridViewDataColumn Header="DocumentID"
397
                                                                                        DataMemberBinding="{Binding DocumentID}" Width="*" />
398
                    <telerik:GridViewDataColumn Header="ConvertState"
399
                                                                                        DataMemberBinding="{Binding ConvertState}" Width="*" />
400
                    <telerik:GridViewDataColumn Header="DocInfoID"
401
                                                                                        DataMemberBinding="{Binding DocInfo_ID}" Width="*" />
402
                    <telerik:GridViewDataColumn Header="MarkusInfoID"
403
                                                                                        DataMemberBinding="{Binding MarkupInfo_ID}" Width="*" />
404
                    <telerik:GridViewDataColumn Header="Create UserID"
405
                                                                                        DataMemberBinding="{Binding Create_User_ID}" Width="*" />
406
                    <telerik:GridViewDataColumn Header="CurrentPageNo"
407
                                                                                        DataMemberBinding="{Binding CurrentPageNo, Mode=TwoWay}" Width="*" />
408
                    <telerik:GridViewDataColumn Header="TotalPageNo"
409
                                                                                        DataMemberBinding="{Binding TotalPage, Mode=TwoWay}" Width="*"  />
410
                    <telerik:GridViewDynamicHyperlinkColumn Header="원본파일"  CellStyle="{StaticResource OriginalFileGridViewCell}"
411
                                                        NavigateUrlFormatString=" {0}"
412
                                                                                                            NavigateUrlMemberPaths="OriginfilePath"
413
                                                                                                                Width="2*">
414
                        <telerik:GridViewDynamicHyperlinkColumn.CellTemplate>
415
                            <DataTemplate>
416
                                <TextBlock Text="{Binding FileName}" HorizontalAlignment="Left" />
417
                            </DataTemplate>
418
                        </telerik:GridViewDynamicHyperlinkColumn.CellTemplate>
419
                    </telerik:GridViewDynamicHyperlinkColumn>
420

    
421
                    <telerik:GridViewDataColumn Header=" ConvertPath" IsReadOnly="True" Width="*" CellStyle="{StaticResource StretchCellStyle}">
422
                        <telerik:GridViewDataColumn.CellTemplate>
423
                            <DataTemplate>
424
                                <Grid>
425
                                    <Grid.ColumnDefinitions>
426
                                        <ColumnDefinition/>
427
                                        <ColumnDefinition Width="Auto"/>
428
                                    </Grid.ColumnDefinitions>
429
                                    <TextBox TextAlignment="Left" Text="{Binding ConvertPath}" Background="Transparent" BorderBrush="Transparent" BorderThickness="0" Foreground="Black"/>
430
                                    <telerik:RadButton Background="Transparent" BorderBrush="Transparent" BorderThickness="0" Foreground="Black" Grid.Column="1"
431
                                                   Command="{Binding FinalPDFPathFileSearchCommand, Source={StaticResource FinalPDFViewModel}}" CommandParameter="{Binding DataContext, RelativeSource={RelativeSource Self}}">
432
                                        <Image Source="/Markus.Service.StationController;component/Resources/File_Search_Icon.png"  Stretch="None" />
433
                                    </telerik:RadButton>
434
                                </Grid>
435
                            </DataTemplate>
436
                        </telerik:GridViewDataColumn.CellTemplate>
437
                    </telerik:GridViewDataColumn>
438

    
439
                    <telerik:GridViewDataColumn Header="CreateTime" 
440
                                                                                        DataMemberBinding="{Binding CreateTime, Mode=TwoWay, StringFormat=\{0:yyyy.MM.dd HH:mm:ss\}}" Width="*" />
441
                    <telerik:GridViewDataColumn Header="StartTime" IsReadOnly="True"   Background="Transparent" 
442
                                                                                        DataMemberBinding="{Binding StartTime, Mode=TwoWay, StringFormat=\{0:yyyy.MM.dd HH:mm:ss\}}" Width="*" />
443
                    <telerik:GridViewDataColumn Header="EndTime" IsReadOnly="True"   Background="Transparent" 
444
                                                                                        DataMemberBinding="{Binding EndTime, Mode=TwoWay, StringFormat=\{0:yyyy.MM.dd HH:mm:ss\}}" Width="*" />
445
                    <telerik:GridViewDataColumn Header="TotalTime" IsReadOnly="True"   Background="Transparent" 
446
                                                                                        DataMemberBinding="{Binding TotalTime, Mode=TwoWay, StringFormat=\{0:yyyy.MM.dd HH:mm:ss\}}" Width="*" />
447
                </telerik:RadGridView.Columns>
448
            </telerik:RadGridView>
449
        </telerik:RadExpander>
450

    
451
        <telerik:RadExpander Grid.Row="5" ExpandDirection="Down" BorderThickness="0"  VerticalAlignment="Stretch" Margin="0,0,0,10"
452
                  ScrollViewer.HorizontalScrollBarVisibility="Auto" ScrollViewer.VerticalScrollBarVisibility="Auto" 
453
                             telerik:AnimationManager.IsAnimationEnabled="False"  IsExpanded ="{Binding AliveShow, Mode=TwoWay}">
454
            <telerik:RadExpander.Header>
455
                <Grid>
456
                    <Grid.ColumnDefinitions>
457
                        <ColumnDefinition Width="Auto"/>
458
                        <ColumnDefinition Width="Auto"/>
459
                    </Grid.ColumnDefinitions>
460
                    <TextBlock Text="Alive FinalPDF Items : " Grid.RowSpan="2"/>
461
                    <TextBlock Text="{Binding AliveItems.Count, StringFormat=\{0:d\}}" Grid.Column="1" Grid.RowSpan="2"/>
462
                </Grid>
463
            </telerik:RadExpander.Header>
464
            <telerik:RadGridView GroupRenderMode="Flat" VerticalAlignment="Stretch" HorizontalAlignment="Stretch"
465
                                                         ItemsSource="{Binding AliveItems}"
466
                             SelectedItem="{Binding SelectAliveConvert, Mode=TwoWay}"
467
                                                         AutoGenerateColumns="False" CanUserFreezeColumns="False" RowDetailsTemplate="{StaticResource RowDetailsTemplate}"
468
                             ColumnWidth="*"  ScrollViewer.CanContentScroll="False" IsFilteringAllowed="True" Grid.Row="1" >
469
                <telerik:RadContextMenu.ContextMenu>
470
                    <telerik:RadContextMenu>
471
                        <telerik:RadMenuItem Header="Stop Process"  Command="{Binding Stop_ProcessCommand}" CommandParameter="{Binding SelectAliveConvert}"/>
472
                    </telerik:RadContextMenu>
473
                </telerik:RadContextMenu.ContextMenu>
474
                <telerik:RadGridView.Columns>
475
                    <telerik:GridViewToggleRowDetailsColumn />
476
                    <controls:RowIndexColumn Header="#" Width="30" CellStyle="{StaticResource RowNumberStyle}" />
477

    
478
                    <telerik:GridViewDataColumn Header="Convert ID" 
479
                                                                                        DataMemberBinding="{Binding ConvertID}" Width="*" />
480

    
481
                    <telerik:GridViewDataColumn Header="Markus " Width="0.5*" CellStyle="{StaticResource StretchCellStyle}">
482
                        <telerik:GridViewDataColumn.CellTemplate>
483
                            <DataTemplate>
484
                                <telerik:RadButton Content="Click "  BorderThickness="0" Background="Transparent"
485
                                                   Command="{Binding MarkusLinkCommand, Source={StaticResource FinalPDFViewModel}}" CommandParameter="{Binding DataContext, RelativeSource={RelativeSource Self}}"/>
486
                            </DataTemplate>
487
                        </telerik:GridViewDataColumn.CellTemplate>
488
                    </telerik:GridViewDataColumn>
489
                    <telerik:GridViewDataColumn Header="ProjectNO" 
490
                                                                                        DataMemberBinding="{Binding ProjectNumber}" Width="*" />
491
                    <telerik:GridViewDataColumn Header="DocumentID"
492
                                                                                        DataMemberBinding="{Binding DocumentID}" Width="*" />
493
                    <telerik:GridViewDataColumn Header="ConvertState"
494
                                                                                        DataMemberBinding="{Binding ConvertState}" Width="*" />
495
                    <telerik:GridViewDataColumn Header="DocInfoID"
496
                                                                                        DataMemberBinding="{Binding DocInfo_ID}" Width="*" />
497
                    <telerik:GridViewDataColumn Header="MarkusInfoID"
498
                                                                                        DataMemberBinding="{Binding MarkupInfo_ID}" Width="*" />
499
                    <telerik:GridViewDataColumn Header="Create UserID"
500
                                                                                        DataMemberBinding="{Binding Create_User_ID}" Width="*" />
501
                    <telerik:GridViewDataColumn Header="CurrentPageNo"
502
                                                                                        DataMemberBinding="{Binding CurrentPageNo, Mode=TwoWay}" Width="*" />
503
                    <telerik:GridViewDataColumn Header="TotalPageNo"
504
                                                                                        DataMemberBinding="{Binding TotalPage, Mode=TwoWay}" Width="*"  />
505
                    <telerik:GridViewDynamicHyperlinkColumn Header="원본파일"  CellStyle="{StaticResource OriginalFileGridViewCell}"
506
                                                        NavigateUrlFormatString=" {0}"
507
                                                                                                            NavigateUrlMemberPaths="OriginfilePath"
508
                                                                                                                Width="2*">
509
                        <telerik:GridViewDynamicHyperlinkColumn.CellTemplate>
510
                            <DataTemplate>
511
                                <TextBlock Text="{Binding FileName}" HorizontalAlignment="Left"/>
512
                            </DataTemplate>
513
                        </telerik:GridViewDynamicHyperlinkColumn.CellTemplate>
514
                    </telerik:GridViewDynamicHyperlinkColumn>
515
                    
516
                    <telerik:GridViewDataColumn Header=" ConvertPath" IsReadOnly="True" Width="*" CellStyle="{StaticResource StretchCellStyle}">
517
                        <telerik:GridViewDataColumn.CellTemplate>
518
                            <DataTemplate>
519
                                <Grid>
520
                                    <Grid.ColumnDefinitions>
521
                                        <ColumnDefinition/>
522
                                        <ColumnDefinition Width="Auto"/>
523
                                    </Grid.ColumnDefinitions>
524
                                    <TextBox TextAlignment="Left" Text="{Binding ConvertPath}" Background="Transparent" BorderBrush="Transparent" BorderThickness="0" Foreground="Black"/>
525
                                    <telerik:RadButton Grid.Column="1" Background="Transparent" BorderBrush="Transparent" BorderThickness="0" Foreground="Black" 
526
                                                   Command="{Binding FinalPDFPathFileSearchCommand, Source={StaticResource FinalPDFViewModel}}" CommandParameter="{Binding DataContext, RelativeSource={RelativeSource Self}}">
527
                                        <Image Source="/Markus.Service.StationController;component/Resources/File_Search_Icon.png"  Stretch="None" />
528
                                    </telerik:RadButton>
529
                                </Grid>
530
                            </DataTemplate>
531
                        </telerik:GridViewDataColumn.CellTemplate>
532
                    </telerik:GridViewDataColumn>
533

    
534
                    <telerik:GridViewDataColumn Header="CreateTime" 
535
                                                                                        DataMemberBinding="{Binding CreateTime, Mode=TwoWay, StringFormat=\{0:yyyy.MM.dd HH:mm:ss\}}" Width="*" />
536
                    <telerik:GridViewDataColumn Header="StartTime" IsReadOnly="True"   Background="Transparent" 
537
                                                                                        DataMemberBinding="{Binding StartTime, Mode=TwoWay, StringFormat=\{0:yyyy.MM.dd HH:mm:ss\}}" Width="*" />
538
                    <telerik:GridViewDataColumn Header="EndTime" IsReadOnly="True"   Background="Transparent" 
539
                                                                                        DataMemberBinding="{Binding EndTime, Mode=TwoWay, StringFormat=\{0:yyyy.MM.dd HH:mm:ss\}}" Width="*" />
540
                    <telerik:GridViewDataColumn Header="TotalTime" IsReadOnly="True"   Background="Transparent" 
541
                                                                                        DataMemberBinding="{Binding TotalTime, Mode=TwoWay, StringFormat=\{0:yyyy.MM.dd HH:mm:ss\}}" Width="*" />
542
                </telerik:RadGridView.Columns>
543
            </telerik:RadGridView>
544
        </telerik:RadExpander>
545

    
546
    </Grid>
547
</UserControl>
548

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