프로젝트

일반

사용자정보

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

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

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

    
57
        <VM:FinalPDFViewModel x:Key="FinalPDFViewModel"/>
58
        <DataTemplate x:Key="RowDetailsTemplate">
59
            <local:FinalPDFInfo />
60
        </DataTemplate>
61
    </UserControl.Resources>
62
    <!--<UserControl.DataContext>
63
        <VM:DataBaseItemsModel/>
64
    </UserControl.DataContext>-->
65
    <i:Interaction.Triggers>
66
        <i:EventTrigger  EventName="Loaded">
67
            <i:InvokeCommandAction Command="{Binding LoadedCommand}"/>
68
        </i:EventTrigger>
69
        <i:EventTrigger  EventName="Unloaded">
70
            <i:InvokeCommandAction Command="{Binding ClosingCommand}"/>
71
        </i:EventTrigger>
72
    </i:Interaction.Triggers>
73
    <Grid HorizontalAlignment="Stretch" ScrollViewer.HorizontalScrollBarVisibility="Auto" ScrollViewer.VerticalScrollBarVisibility="Auto" VerticalAlignment="Stretch">
74
        <Grid.RowDefinitions>
75
            <RowDefinition Height="Auto"/>
76
            <RowDefinition Height="Auto"/>
77
            <RowDefinition Height="Auto"/>
78
            <RowDefinition Height="*"/>
79
            <RowDefinition Height="Auto"/>
80
            <RowDefinition Height="Auto"/>
81
        </Grid.RowDefinitions>
82
        <StackPanel Margin="0,10" Orientation="Horizontal" HorizontalAlignment="Right" Grid.Row="0"  Height="20" >
83
            <TextBlock Text="Display Count : " VerticalAlignment="Center"/>
84
            <telerik:RadComboBox Width="100" SelectedItem="{Binding SelectedCount, Mode=TwoWay}" Margin="0,0,10,0" SelectedValuePath="DisplayMember"
85
                  DisplayMemberPath="ValueMember" ItemsSource="{Binding SelectedCountList}" SelectedIndex="0" />
86
            <TextBlock Text="Status Type : " Margin="10,0,0,0"  VerticalAlignment="Center"/>
87
            <telerik:RadComboBox Width="100" SelectedItem="{Binding SelectedStatus, Mode=TwoWay}" SelectedIndex="4"
88
                   DisplayMemberPath="DisplayName" SelectedValuePath="Value" ItemsSource="{Binding StatusCodeList}" Height="20"/>
89
            <telerik:RadToggleButton Content="  엑셀 저장  " Margin="10,0" Height="20" Command="{Binding DataSaveFileGemBoxCommand, Mode=OneWay}"/>
90
            <!--<telerik:RadToggleButton Content=" Filter" Command="{Binding DataFilterCommand, Mode=OneWay}"/>-->
91
        </StackPanel>
92

    
93

    
94
        <Grid Grid.Row="1">
95
            <Grid.Style>
96
                <Style>
97
                    <Setter Property="TextBlock.Margin" Value="20,0,0,0"/>
98
                </Style>
99
            </Grid.Style>
100
            <Grid.RowDefinitions>
101
                <RowDefinition />
102
                <RowDefinition />
103
            </Grid.RowDefinitions>
104
            <Grid Grid.Row="0">
105
                <Grid.RowDefinitions>
106
                    <RowDefinition />
107
                    <RowDefinition />
108
                    <RowDefinition />
109
                </Grid.RowDefinitions>
110
                <Grid.ColumnDefinitions>
111
                    <ColumnDefinition Width="Auto"/>
112
                    <ColumnDefinition Width="*" />
113
                    <ColumnDefinition Width="10"/>
114
                    <ColumnDefinition Width="Auto"/>
115
                    <ColumnDefinition Width="*"/>
116
                    <ColumnDefinition Width="10"/>
117
                    <ColumnDefinition Width="Auto"/>
118
                    <ColumnDefinition Width="*"/>
119
                    <ColumnDefinition Width="10"/>
120
                    <ColumnDefinition Width="Auto"/>
121
                    <ColumnDefinition Width="*"/>
122
                </Grid.ColumnDefinitions>
123
                <TextBlock Text="Project NO  " Grid.Row="0" Grid.Column="0" VerticalAlignment="Center" HorizontalAlignment="Left"/>
124
                <telerik:RadComboBox Grid.Row="0" Grid.Column="1" HorizontalAlignment="Stretch"
125
                                         DisplayMemberPath="Project_NOAndProject_Name"
126
                                         ItemsSource="{Binding ProjectNames}" 
127
                                         SelectedItem="{Binding ProjectNumberFilter}"
128
                                         AllowMultipleSelection="False"
129
                                         EmptyText="Project_NO : Project_Name"/>
130
                <!--<telerik:RadMaskedTextInput IsClearButtonVisible="True" Grid.Row="0" Grid.Column="1"  EmptyContent="ProjectNumber" InputBehavior="Replace" HorizontalContentAlignment="Stretch"
131
                                                        TextMode="PlainText" Value="{Binding ProjectNumberFilter, UpdateSourceTrigger=PropertyChanged, Mode=TwoWay}" VerticalAlignment="Center" HorizontalAlignment="Stretch" Margin="2,0" 
132
                                                maskedInput:MaskedInputExtensions.MaxTextLength="1000" Mask=""/>-->
133

    
134
                <TextBlock Text="Document ID  " Grid.Row="0" 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="0" Grid.Column="4" HorizontalAlignment="Stretch" VerticalAlignment="Center" Margin="2,0"
137
                                                maskedInput:MaskedInputExtensions.MaxTextLength="1000" Mask=""/>
138

    
139
                <TextBlock Text="MarkupInfo ID  " Grid.Row="0" 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="0" Grid.Column="7" HorizontalAlignment="Stretch" VerticalAlignment="Center" Margin="2,0"
142
                                                maskedInput:MaskedInputExtensions.MaxTextLength="1000" Mask=""/>
143

    
144
                <TextBlock Text="Docuemnt Name  " Grid.Row="1" 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="1" 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="1" 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="1" Grid.Column="4"   HorizontalAlignment="Stretch" VerticalAlignment="Center" Margin="2,0"
152
                                                maskedInput:MaskedInputExtensions.MaxTextLength="1000" Mask=""/>
153
                <TextBlock Text="CreateUser ID " Grid.Row="1" 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="1" Grid.Column="7"  HorizontalAlignment="Stretch" VerticalAlignment="Center" Margin="2,0"
156
                                                maskedInput:MaskedInputExtensions.MaxTextLength="1000" Mask=""/>
157
                <TextBlock Text="DocInfo ID " Grid.Row="0" 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="0" Grid.Column="10"   HorizontalAlignment="Stretch"   VerticalAlignment="Center" Margin="2,0"
160
                                                maskedInput:MaskedInputExtensions.MaxTextLength="1000" Mask=""/>
161
                <TextBlock Text="GROUP NO " Grid.Row="1" 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="1" Grid.Column="10"   HorizontalAlignment="Stretch"   VerticalAlignment="Center" Margin="2,0"
164
                                                maskedInput:MaskedInputExtensions.MaxTextLength="1000" Mask=""/>
165
                <TextBlock Text="REVISION " Grid.Row="2" 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="2" Grid.Column="1"   HorizontalAlignment="Stretch"   VerticalAlignment="Center" Margin="2,0"
168
                                                maskedInput:MaskedInputExtensions.MaxTextLength="1000" Mask=""/>
169

    
170
                <TextBlock Text="DOCUMENT_URL " Grid.Row="2" 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="2" 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
                    <!--<DatePicker Text="{Binding OpenStartTime, StringFormat='yy.mm.dd HH:mm:ss' ,RelativeSource={RelativeSource AncestorType={x:Type DatePicker}}}" SelectedDate="{Binding SelectedOpenTime}" Width="124" SelectedDateFormat="Long" Margin="0,-1,0,1"/>-->
186
                    <TextBlock Text="  ~  " VerticalAlignment="Center"/>
187
                    <telerik:RadDateTimePicker x:Name="datePicker2"  Width="200"
188
                                   InputMode="DateTimePicker"  HorizontalAlignment="Stretch"
189
                                   VerticalAlignment="Center"
190
                                   SelectedValue="{Binding SelectedCreateTimeEnd ,Mode=TwoWay,  UpdateSourceTrigger=PropertyChanged}"
191
                                   Margin="0,1">
192
                    </telerik:RadDateTimePicker>
193
                    <Button Content="Clear" Margin="5"  Width="50" Height="20" HorizontalAlignment="Left" Command="{Binding RemoveCreateTimeFilterCommand, Mode=OneWay}"/>
194

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

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

    
206

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

    
221
            <telerik:RadGridView x:Name="dataGrid1"  GroupRenderMode="Flat" VerticalAlignment="Stretch" HorizontalAlignment="Stretch"  
222
                                                         ItemsSource="{Binding FilterConvertSourceView}" 
223
                             SelectionMode="Extended"
224
                             SelectionUnit="FullRow"
225
                             CanUserSelect ="True"
226
                             RowDetailsTemplate="{StaticResource RowDetailsTemplate}"  
227
                                                         AutoGenerateColumns="False"
228
                             ColumnWidth="*" CanUserFreezeColumns="False"
229
                             Grid.Row="1"  ScrollViewer.CanContentScroll="True" IsFilteringAllowed="True"
230
                             LeftFrozenColumnCount="6" 
231
                             RightFrozenColumnCount="0">
232
                <i:Interaction.Behaviors>
233
                    <controls:GridViewSelectionUtilities SelectedItems="{Binding SelectFilterConvertList, Source={StaticResource FinalPDFViewModel}}" />
234
                </i:Interaction.Behaviors>
235
                <telerik:RadContextMenu.ContextMenu>
236
                    <telerik:RadContextMenu x:Name= "GridContextMenu">
237
                        <telerik:RadMenuItem  Header="Convert"  Command="{Binding ConvertCommand}"/>
238
                        <telerik:RadMenuItem Header="Validation"  Command="{Binding ValidateCommand}"/>
239
                        <telerik:RadMenuItem Header="Delete"  Command="{Binding DeleteCommand}"/>
240
                    </telerik:RadContextMenu>
241
                </telerik:RadContextMenu.ContextMenu>
242
                <telerik:RadGridView.Columns>
243
                    <telerik:GridViewToggleRowDetailsColumn />
244
                    <controls:RowIndexColumn Header="#" Width="30" CellStyle="{StaticResource RowNumberStyle}" />
245
                    <telerik:GridViewDataColumn Header=" ID "
246
                                                                                        DataMemberBinding="{Binding ConvertID}" Width="1.5*" />
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="ConvertState"
267
                                                                                        DataMemberBinding="{Binding ConvertState, Mode=TwoWay}" Width="*" />
268
                    <telerik:GridViewDataColumn Header="CurrentPageNo"
269
                                                                                        DataMemberBinding="{Binding CurrentPageNo, Mode=TwoWay}" Width="*" />
270
                    <telerik:GridViewDataColumn Header="TotalPageNo"
271
                                                                                        DataMemberBinding="{Binding TotalPage, Mode=TwoWay}" Width="*"  />
272
                    <telerik:GridViewDynamicHyperlinkColumn Header="원본파일"
273
                                                        NavigateUrlFormatString=" {0}"
274
                                                                                                            NavigateUrlMemberPaths="OriginfilePath"
275
                                                                                                                Width="2*">
276
                        <telerik:GridViewDynamicHyperlinkColumn.CellTemplate>
277
                            <DataTemplate>
278
                                <TextBlock Text="{Binding FileName}"/>
279
                            </DataTemplate>
280
                        </telerik:GridViewDynamicHyperlinkColumn.CellTemplate>
281
                    </telerik:GridViewDynamicHyperlinkColumn>
282
                    <telerik:GridViewDataColumn Header=" ConvertPath" Width="2.5*">
283
                        <telerik:GridViewDataColumn.CellTemplate>
284
                            <DataTemplate>
285
                                <StackPanel Orientation="Horizontal">
286
                                    <TextBlock Text="{Binding ConvertPath}"/>
287
                                    <telerik:RadButton BorderThickness="0"
288
                                                   Background="Transparent"
289
                                                   Command="{Binding ConvertPathFileSearchCommand, Source={StaticResource FinalPDFViewModel}}" CommandParameter="{Binding DataContext, RelativeSource={RelativeSource Self}}">
290
                                        <telerik:RadButton.Content>
291
                                            <Image Source="/Markus.Service.StationController;component/Resources/File_Search_Icon.png" Stretch="None" />
292
                                        </telerik:RadButton.Content>
293
                                    </telerik:RadButton>
294
                                </StackPanel>
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" 
301
                                                                                        DataMemberBinding="{Binding StartTime, Mode=TwoWay, StringFormat=\{0:yyyy.MM.dd HH:mm:ss\}}" Width="*" />
302
                    <telerik:GridViewDataColumn Header="EndTime" 
303
                                                                                        DataMemberBinding="{Binding EndTime, Mode=TwoWay, StringFormat=\{0:yyyy.MM.dd HH:mm:ss\}}" Width="*" />
304
                </telerik:RadGridView.Columns>
305
            </telerik:RadGridView>
306
        </telerik:RadExpander>
307

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

    
339
                    <telerik:GridViewDataColumn Header=" ID "
340
                                                                                        DataMemberBinding="{Binding ConvertID}" Width="1.5*" />
341

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

    
351
                    <telerik:GridViewToggleRowDetailsColumn />
352
                    <controls:RowIndexColumn Header="#" Width="30" CellStyle="{StaticResource RowNumberStyle}" />
353
                    <telerik:GridViewDataColumn Header=" ID "
354
                                                                                        DataMemberBinding="{Binding ConvertID}" Width="1.5*" />
355
                    <telerik:GridViewDataColumn Header="Markus " Width="0.5*"  CellStyle="{StaticResource StretchCellStyle}">
356
                        <telerik:GridViewDataColumn.CellTemplate>
357
                            <DataTemplate>
358
                                <telerik:RadButton Content="Click" BorderThickness="0"
359
                                                   Background="Transparent"
360
                                                   Command="{Binding MarkusLinkCommand, Source={StaticResource FinalPDFViewModel}}" CommandParameter="{Binding DataContext, RelativeSource={RelativeSource Self}}"/>
361
                            </DataTemplate>
362
                        </telerik:GridViewDataColumn.CellTemplate>
363
                    </telerik:GridViewDataColumn>
364
                    <telerik:GridViewDataColumn Header="ProjectNO" 
365
                                                                                        DataMemberBinding="{Binding ProjectNumber}" Width="*" />
366
                    <telerik:GridViewDataColumn Header="DocumentID"
367
                                                                                        DataMemberBinding="{Binding DocumentID}" Width="*" />
368
                    <telerik:GridViewDataColumn Header="DocInfoID"
369
                                                                                        DataMemberBinding="{Binding DocInfo_ID}" Width="*" />
370
                    <telerik:GridViewDataColumn Header="MarkusInfoID"
371
                                                                                        DataMemberBinding="{Binding MarkupInfo_ID}" Width="*" />
372
                    <telerik:GridViewDataColumn Header="Create UserID"
373
                                                                                        DataMemberBinding="{Binding Create_User_ID}" Width="*" />
374
                    <telerik:GridViewDataColumn Header="ConvertState"
375
                                                                                        DataMemberBinding="{Binding ConvertState, Mode=TwoWay}" Width="*" />
376
                    <telerik:GridViewDataColumn Header="CurrentPageNo"
377
                                                                                        DataMemberBinding="{Binding CurrentPageNo, Mode=TwoWay}" Width="*" />
378
                    <telerik:GridViewDataColumn Header="TotalPageNo"
379
                                                                                        DataMemberBinding="{Binding TotalPage, Mode=TwoWay}" Width="*"  />
380
                    <telerik:GridViewDynamicHyperlinkColumn Header="원본파일"
381
                                                        NavigateUrlFormatString=" {0}"
382
                                                                                                            NavigateUrlMemberPaths="OriginfilePath"
383
                                                                                                                Width="2*">
384
                        <telerik:GridViewDynamicHyperlinkColumn.CellTemplate>
385
                            <DataTemplate>
386
                                <TextBlock Text="{Binding FileName}"/>
387
                            </DataTemplate>
388
                        </telerik:GridViewDynamicHyperlinkColumn.CellTemplate>
389
                    </telerik:GridViewDynamicHyperlinkColumn>
390
                    <!--<telerik:GridViewDataColumn Header=" ConvertPath"
391
                                                                                        DataMemberBinding="{Binding ConvertPath}" Width="2.5*" />-->
392
                    <telerik:GridViewDataColumn Header=" ConvertPath" Width="2.5*">
393
                        <telerik:GridViewDataColumn.CellTemplate>
394
                            <DataTemplate>
395
                                <StackPanel Orientation="Horizontal">
396
                                    <TextBlock Text="{Binding ConvertPath}"/>
397
                                    <telerik:RadButton BorderThickness="0"
398
                                                   Background="Transparent"
399
                                                   Command="{Binding ConvertPathFileSearchCommand, Source={StaticResource FinalPDFViewModel}}" CommandParameter="{Binding DataContext, RelativeSource={RelativeSource Self}}">
400
                                        <telerik:RadButton.Content>
401
                                            <Image Source="/Markus.Service.StationController;component/Resources/File_Search_Icon.png" Stretch="None" />
402
                                        </telerik:RadButton.Content>
403
                                    </telerik:RadButton>
404
                                </StackPanel>
405
                            </DataTemplate>
406
                        </telerik:GridViewDataColumn.CellTemplate>
407
                    </telerik:GridViewDataColumn>
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" 
411
                                                                                        DataMemberBinding="{Binding StartTime, Mode=TwoWay, StringFormat=\{0:yyyy.MM.dd HH:mm:ss\}}" Width="*" />
412
                    <telerik:GridViewDataColumn Header="EndTime" 
413
                                                                                        DataMemberBinding="{Binding EndTime, Mode=TwoWay, StringFormat=\{0:yyyy.MM.dd HH:mm:ss\}}" Width="*" />
414
                </telerik:RadGridView.Columns>
415
            </telerik:RadGridView>
416
        </telerik:RadExpander>
417

    
418
        <telerik:RadExpander Grid.Row="5" ExpandDirection="Down" BorderThickness="0"  VerticalAlignment="Stretch" Margin="0,0,0,10"
419
                  ScrollViewer.HorizontalScrollBarVisibility="Auto" ScrollViewer.VerticalScrollBarVisibility="Auto" 
420
                             telerik:AnimationManager.IsAnimationEnabled="False"  IsExpanded ="{Binding AliveShow, Mode=TwoWay}">
421
            <telerik:RadExpander.Header>
422
                <Grid>
423
                    <Grid.ColumnDefinitions>
424
                        <ColumnDefinition Width="Auto"/>
425
                        <ColumnDefinition Width="Auto"/>
426
                    </Grid.ColumnDefinitions>
427
                    <TextBlock Text="Alive FinalPDF Items : " Grid.RowSpan="2"/>
428
                    <TextBlock Text="{Binding AliveItems.Count, StringFormat=\{0:d\}}" Grid.Column="1" Grid.RowSpan="2"/>
429
                </Grid>
430
            </telerik:RadExpander.Header>
431
            <telerik:RadGridView GroupRenderMode="Flat" VerticalAlignment="Stretch" HorizontalAlignment="Stretch"
432
                                                         ItemsSource="{Binding AliveItems}"
433
                             SelectedItem="{Binding SelectAliveConvert, Mode=TwoWay}"
434
                                                         AutoGenerateColumns="False" CanUserFreezeColumns="False" RowDetailsTemplate="{StaticResource RowDetailsTemplate}"
435
                             ColumnWidth="*"  ScrollViewer.CanContentScroll="False" IsFilteringAllowed="True" Grid.Row="1" >
436
                <telerik:RadGridView.Columns>
437
                    <telerik:GridViewToggleRowDetailsColumn />
438
                    <controls:RowIndexColumn Header="#" Width="30" CellStyle="{StaticResource RowNumberStyle}" />
439

    
440
                    <telerik:GridViewDataColumn Header=" ID "
441
                                                                                        DataMemberBinding="{Binding ConvertID}" Width="1.5*" />
442

    
443
                    <telerik:GridViewDataColumn Header="Markus " Width="0.5*" CellStyle="{StaticResource StretchCellStyle}">
444
                        <telerik:GridViewDataColumn.CellTemplate>
445
                            <DataTemplate>
446
                                <telerik:RadButton Content="Click "  BorderThickness="0" Background="Transparent"
447
                                                   Command="{Binding MarkusLinkCommand, Source={StaticResource FinalPDFViewModel}}" CommandParameter="{Binding DataContext, RelativeSource={RelativeSource Self}}"/>
448
                            </DataTemplate>
449
                        </telerik:GridViewDataColumn.CellTemplate>
450
                    </telerik:GridViewDataColumn>
451

    
452
                    <telerik:GridViewToggleRowDetailsColumn />
453
                    <controls:RowIndexColumn Header="#" Width="30" CellStyle="{StaticResource RowNumberStyle}" />
454
                    <telerik:GridViewDataColumn Header=" ID "
455
                                                                                        DataMemberBinding="{Binding ConvertID}" Width="1.5*" />
456
                    <telerik:GridViewDataColumn Header="Markus " Width="0.5*"  CellStyle="{StaticResource StretchCellStyle}">
457
                        <telerik:GridViewDataColumn.CellTemplate>
458
                            <DataTemplate>
459
                                <telerik:RadButton Content="Click" BorderThickness="0"
460
                                                   Background="Transparent"
461
                                                   Command="{Binding MarkusLinkCommand, Source={StaticResource FinalPDFViewModel}}" CommandParameter="{Binding DataContext, RelativeSource={RelativeSource Self}}"/>
462
                            </DataTemplate>
463
                        </telerik:GridViewDataColumn.CellTemplate>
464
                    </telerik:GridViewDataColumn>
465
                    <telerik:GridViewDataColumn Header="ProjectNO" 
466
                                                                                        DataMemberBinding="{Binding ProjectNumber}" Width="*" />
467
                    <telerik:GridViewDataColumn Header="DocumentID"
468
                                                                                        DataMemberBinding="{Binding DocumentID}" Width="*" />
469
                    <telerik:GridViewDataColumn Header="DocInfoID"
470
                                                                                        DataMemberBinding="{Binding DocInfo_ID}" Width="*" />
471
                    <telerik:GridViewDataColumn Header="MarkusInfoID"
472
                                                                                        DataMemberBinding="{Binding MarkupInfo_ID}" Width="*" />
473
                    <telerik:GridViewDataColumn Header="Create UserID"
474
                                                                                        DataMemberBinding="{Binding Create_User_ID}" Width="*" />
475
                    <telerik:GridViewDataColumn Header="ConvertState"
476
                                                                                        DataMemberBinding="{Binding ConvertState, Mode=TwoWay}" Width="*" />
477
                    <telerik:GridViewDataColumn Header="CurrentPageNo"
478
                                                                                        DataMemberBinding="{Binding CurrentPageNo, Mode=TwoWay}" Width="*" />
479
                    <telerik:GridViewDataColumn Header="TotalPageNo"
480
                                                                                        DataMemberBinding="{Binding TotalPage, Mode=TwoWay}" Width="*"  />
481
                    <telerik:GridViewDynamicHyperlinkColumn Header="원본파일"
482
                                                        NavigateUrlFormatString=" {0}"
483
                                                                                                            NavigateUrlMemberPaths="OriginfilePath"
484
                                                                                                                Width="2*">
485
                        <telerik:GridViewDynamicHyperlinkColumn.CellTemplate>
486
                            <DataTemplate>
487
                                <TextBlock Text="{Binding FileName}"/>
488
                            </DataTemplate>
489
                        </telerik:GridViewDynamicHyperlinkColumn.CellTemplate>
490
                    </telerik:GridViewDynamicHyperlinkColumn>
491
                    <telerik:GridViewDataColumn Header=" ConvertPath" Width="2.5*">
492
                        <telerik:GridViewDataColumn.CellTemplate>
493
                            <DataTemplate>
494
                                <StackPanel Orientation="Horizontal">
495
                                    <TextBlock Text="{Binding ConvertPath}"/>
496
                                    <telerik:RadButton BorderThickness="0"
497
                                                   Background="Transparent"
498
                                                   Command="{Binding ConvertPathFileSearchCommand, Source={StaticResource FinalPDFViewModel}}" CommandParameter="{Binding DataContext, RelativeSource={RelativeSource Self}}">
499
                                        <telerik:RadButton.Content>
500
                                            <Image Source="/Markus.Service.StationController;component/Resources/File_Search_Icon.png" Stretch="None" />
501
                                        </telerik:RadButton.Content>
502
                                    </telerik:RadButton>
503
                                </StackPanel>
504
                            </DataTemplate>
505
                        </telerik:GridViewDataColumn.CellTemplate>
506
                    </telerik:GridViewDataColumn>
507
                    <!--<telerik:GridViewDataColumn Header=" ConvertPath"
508
                                                                                        DataMemberBinding="{Binding ConvertPath}" Width="2.5*" />-->
509
                    <telerik:GridViewDataColumn Header="CreateTime" 
510
                                                                                        DataMemberBinding="{Binding CreateTime, Mode=TwoWay, StringFormat=\{0:yyyy.MM.dd HH:mm:ss\}}" Width="*" />
511
                    <telerik:GridViewDataColumn Header="StartTime" 
512
                                                                                        DataMemberBinding="{Binding StartTime, Mode=TwoWay, StringFormat=\{0:yyyy.MM.dd HH:mm:ss\}}" Width="*" />
513
                    <telerik:GridViewDataColumn Header="EndTime" 
514
                                                                                        DataMemberBinding="{Binding EndTime, Mode=TwoWay, StringFormat=\{0:yyyy.MM.dd HH:mm:ss\}}" Width="*" />
515
                </telerik:RadGridView.Columns>
516
            </telerik:RadGridView>
517
        </telerik:RadExpander>
518

    
519
    </Grid>
520
</UserControl>
521

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