프로젝트

일반

사용자정보

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

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

이력 | 보기 | 이력해설 | 다운로드 (34.7 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
             mc:Ignorable="d"  Background="White" DataContext="{DynamicResource FinalPDFViewModel}" 
12
    d:DesignHeight="450" d:DesignWidth="1000">
13
    <UserControl.Resources>
14
        <Style TargetType="telerik:GridViewCell" x:Key="StretchCellStyle">
15
            <Setter Property="Margin" Value="0"/>
16
            <Setter Property="Padding" Value="0"/>
17
            <Setter Property="VerticalContentAlignment" Value="Stretch"/>
18
            <Setter Property="HorizontalContentAlignment" Value="Stretch"/>
19
        </Style>
20
        <Style TargetType="{x:Type telerik:GridViewHeaderCell}">
21
            <Setter Property="HorizontalContentAlignment" Value="Center"/>
22
            <Setter Property="Background" Value="Gray"/>
23
        </Style>
24
        <Style TargetType="{x:Type telerik:GridViewCell}">
25
            <Setter Property="HorizontalContentAlignment" Value="Center"/>
26
        </Style>
27
        <Style TargetType="{x:Type controls:RowIndexColumn}">
28
            <Setter Property="TextAlignment" Value="Center"/>
29
        </Style>
30
        <Style TargetType="{x:Type TextBox}">
31
            <Setter Property="Margin" Value="5,5,0,0"/>
32
            <Setter Property="VerticalAlignment" Value="Center"/>
33
            <Setter Property="HorizontalContentAlignment" Value="Left"/>
34
            <Setter Property="Foreground" Value="Black"/>
35
            <Setter Property="Background" Value="Transparent"/>
36
            <Setter Property="BorderBrush" Value="Transparent"/>
37
            <Setter Property="BorderThickness" Value="0"/>
38
            <Setter Property="IsReadOnly" Value="true"/>
39
            <Setter Property="FocusVisualStyle" Value="{x:Null}"/>
40
            <Setter Property="ScrollViewer.PanningMode" Value="VerticalFirst"/>
41
            <Setter Property="Stylus.IsFlicksEnabled" Value="False"/>
42
            <Setter Property="Template">
43
                <Setter.Value>
44
                    <ControlTemplate TargetType="{x:Type TextBox}">
45
                        <Border x:Name="Bd" 
46
                    BorderThickness="{TemplateBinding BorderThickness}" 
47
                    SnapsToDevicePixels="true">
48
                            <ScrollViewer x:Name="PART_ContentHost" BorderThickness="{TemplateBinding BorderThickness}"
49
                    SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}"/>
50
                        </Border>
51
                    </ControlTemplate>
52
                </Setter.Value>
53
            </Setter>
54
        </Style>
55
     
56
        <VM:FinalPDFViewModel x:Key="FinalPDFViewModel"/>
57
        <DataTemplate x:Key="RowDetailsTemplate">
58
            <local:FinalPDFInfo />
59
        </DataTemplate>
60
    </UserControl.Resources>
61
    <!--<UserControl.DataContext>
62
        <VM:DataBaseItemsModel/>
63
    </UserControl.DataContext>-->
64
    <i:Interaction.Triggers>
65
        <i:EventTrigger  EventName="Loaded">
66
            <i:InvokeCommandAction Command="{Binding LoadedCommand}"/>
67
        </i:EventTrigger>
68
        <i:EventTrigger  EventName="Unloaded">
69
            <i:InvokeCommandAction Command="{Binding ClosingCommand}"/>
70
        </i:EventTrigger>
71
    </i:Interaction.Triggers>
72
    <Grid HorizontalAlignment="Stretch" ScrollViewer.HorizontalScrollBarVisibility="Auto" ScrollViewer.VerticalScrollBarVisibility="Auto" VerticalAlignment="Stretch">
73
        <Grid.RowDefinitions>
74
            <RowDefinition Height="Auto"/>
75
            <RowDefinition Height="*"/>
76
        </Grid.RowDefinitions>
77
        <StackPanel Margin="0,10" Orientation="Horizontal" HorizontalAlignment="Right" Grid.Row="0"  Height="20" >
78
            <TextBlock Text="Display Count : " VerticalAlignment="Center"/>
79
            <telerik:RadComboBox x:Name="ComboCount" Width="100" SelectedItem="{Binding SelectedCount, Mode=TwoWay}" Margin="0,0,10,0" SelectedValuePath="DisplayMember"
80
                  DisplayMemberPath="ValueMember" ItemsSource="{Binding SelectedCountList}" SelectedIndex="0" />
81
            <TextBlock Text="Status Type : " Margin="10,0,0,0"  VerticalAlignment="Center"/>
82
            <telerik:RadComboBox Width="100" SelectedItem="{Binding SelectedStatus, Mode=TwoWay}" SelectedIndex="4"
83
                   DisplayMemberPath="DisplayName" SelectedValuePath="Value" ItemsSource="{Binding StatusCodeList}" Height="20"/>
84
            <telerik:RadToggleButton Content="  엑셀 저장  " Margin="10,0" Height="20" Command="{Binding DataSaveFileGemBoxCommand, Mode=OneWay}"/>
85
            <!--<telerik:RadToggleButton Content=" Filter" Command="{Binding DataFilterCommand, Mode=OneWay}"/>-->
86
        </StackPanel>
87
        <Grid HorizontalAlignment="Left" VerticalAlignment="Top" Grid.Row="1" ScrollViewer.HorizontalScrollBarVisibility="Auto" ScrollViewer.VerticalScrollBarVisibility="Auto" >
88
            <Grid.ColumnDefinitions>
89
                <ColumnDefinition Width="387*"/>
90
                <ColumnDefinition Width="13*"/>
91
            </Grid.ColumnDefinitions>
92
            <Grid.RowDefinitions>
93
                <RowDefinition/>
94
                <RowDefinition/>
95
                <RowDefinition/>
96
            </Grid.RowDefinitions>
97

    
98
            <Grid Grid.Row="0">
99
                <Grid.Style>
100
                    <Style>
101
                        <Setter Property="TextBlock.Margin" Value="20,0,0,0"/>
102
                    </Style>
103
                </Grid.Style>
104
                <Grid.RowDefinitions>
105
                    <RowDefinition />
106
                    <RowDefinition />
107
                </Grid.RowDefinitions>
108
                <Grid Grid.Row="0">
109
                    <Grid.RowDefinitions>
110
                        <RowDefinition />
111
                        <RowDefinition />
112
                        <RowDefinition />
113
                    </Grid.RowDefinitions>
114
                    <Grid.ColumnDefinitions>
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
                        <ColumnDefinition Width="10"/>
124
                        <ColumnDefinition Width="Auto"/>
125
                        <ColumnDefinition Width="*"/>
126
                    </Grid.ColumnDefinitions>
127
                    <TextBlock Text="Project NO  " Grid.Row="0" Grid.Column="0" VerticalAlignment="Center" HorizontalAlignment="Left"/>
128
                    <telerik:RadMaskedTextInput IsClearButtonVisible="True" Grid.Row="0" Grid.Column="1"  EmptyContent="ProjectNumber" InputBehavior="Replace" HorizontalContentAlignment="Stretch"
129
                                                        TextMode="PlainText" Value="{Binding ProjectNumberFilter, UpdateSourceTrigger=PropertyChanged, Mode=TwoWay}" VerticalAlignment="Center" HorizontalAlignment="Stretch" Margin="2,0" />
130

    
131
                    <TextBlock Text="Document ID  " Grid.Row="0" Grid.Column="3" VerticalAlignment="Center" HorizontalAlignment="Left"/>
132
                    <telerik:RadMaskedTextInput IsClearButtonVisible="True"  EmptyContent="DocumentID" Value="{Binding DocumentIDFilter, UpdateSourceTrigger=PropertyChanged, Mode=TwoWay}"
133
                                                        TextMode="PlainText" Grid.Row="0" Grid.Column="4" HorizontalAlignment="Stretch" VerticalAlignment="Center" Margin="2,0"/>
134

    
135
                    <TextBlock Text="MarkupInfo ID  " Grid.Row="0" Grid.Column="6"   VerticalAlignment="Center" HorizontalAlignment="Left"/>
136
                    <telerik:RadMaskedTextInput IsClearButtonVisible="True" EmptyContent="MarkupInfo ID " Value="{Binding MarkupInfo_IDFilter, UpdateSourceTrigger=PropertyChanged, Mode=TwoWay}"
137
                                                        TextMode="PlainText" Grid.Row="0" Grid.Column="7" HorizontalAlignment="Stretch" VerticalAlignment="Center" Margin="2,0"/>
138

    
139
                    <TextBlock Text="Docuemnt Name  " Grid.Row="1" Grid.Column="0" VerticalAlignment="Center" HorizontalAlignment="Left"/>
140
                    <telerik:RadMaskedTextInput IsClearButtonVisible="True"  EmptyContent="Docuemnt Name" Value="{Binding Document_NameFilter , UpdateSourceTrigger=PropertyChanged, Mode=TwoWay}"
141
                               TextMode="PlainText" Grid.Row="1" Grid.Column="1" HorizontalContentAlignment="Stretch"  VerticalAlignment="Bottom" HorizontalAlignment="Stretch" Margin="2,0"/>
142

    
143
                    <TextBlock Text="Docuemnt NO  " Grid.Row="1" Grid.Column="3"  VerticalAlignment="Center" HorizontalAlignment="Left"/>
144
                    <telerik:RadMaskedTextInput IsClearButtonVisible="True" EmptyContent="Docuemnt NO" Value="{Binding Document_NOFilter , UpdateSourceTrigger=PropertyChanged, Mode=TwoWay}"
145
                           TextMode="PlainText" Grid.Row="1" Grid.Column="4"   HorizontalAlignment="Stretch" VerticalAlignment="Center" Margin="2,0"/>
146
                    <TextBlock Text="CreateUser ID " Grid.Row="1" Grid.Column="6"  VerticalAlignment="Center" HorizontalAlignment="Left"/>
147
                    <telerik:RadMaskedTextInput IsClearButtonVisible="True"   EmptyContent="CreateUser ID "  Value="{Binding CreateUser_IDFilter, UpdateSourceTrigger=PropertyChanged, Mode=TwoWay}"
148
                            TextMode="PlainText" Grid.Row="1" Grid.Column="7"  HorizontalAlignment="Stretch" VerticalAlignment="Center" Margin="2,0"/>
149
                    <TextBlock Text="DocInfo ID " Grid.Row="0" Grid.Column="9"  VerticalAlignment="Center" HorizontalAlignment="Left"/>
150
                    <telerik:RadMaskedTextInput IsClearButtonVisible="True"  EmptyContent="DocInfo ID"  Value="{Binding DOCINFO_IDFilter, UpdateSourceTrigger=PropertyChanged, Mode=TwoWay}"
151
                         TextMode="PlainText" Grid.Row="0" Grid.Column="10"   HorizontalAlignment="Stretch"   VerticalAlignment="Center" Margin="2,0"/>
152
                    <TextBlock Text="GROUP NO " Grid.Row="1" Grid.Column="9"  VerticalAlignment="Center" HorizontalAlignment="Left"/>
153
                    <telerik:RadMaskedTextInput IsClearButtonVisible="True"  EmptyContent="GROUP NO"  Value="{Binding GROUP_NOFilter, UpdateSourceTrigger=PropertyChanged, Mode=TwoWay}"
154
                         TextMode="PlainText" Grid.Row="1" Grid.Column="10"   HorizontalAlignment="Stretch"   VerticalAlignment="Center" Margin="2,0"/>
155
                    <TextBlock Text="REVISION " Grid.Row="2" Grid.Column="0"  VerticalAlignment="Center" HorizontalAlignment="Left"/>
156
                    <telerik:RadMaskedTextInput IsClearButtonVisible="True"  EmptyContent="REVISION"  Value="{Binding REVISIONFilter, UpdateSourceTrigger=PropertyChanged, Mode=TwoWay}"
157
                         TextMode="PlainText" Grid.Row="2" Grid.Column="1"   HorizontalAlignment="Stretch"   VerticalAlignment="Center" Margin="2,0"/>
158
                </Grid>
159
                <Grid  Grid.Row="1"/>
160
                <StackPanel Grid.Row="4" Grid.ColumnSpan="11">
161
                    <StackPanel Orientation="Horizontal">
162
                        <TextBlock Text="CreateTime  " VerticalAlignment="Center" Width="102"/>
163
                        <telerik:RadDateTimePicker x:Name="datePicker1" Width="200"
164
                                   InputMode="DateTimePicker"  
165
                                   VerticalAlignment="Center"
166
                                   HorizontalAlignment="Stretch"
167
                                   SelectedValue="{Binding SelectedCreateTimeBegin ,Mode=TwoWay,  UpdateSourceTrigger=PropertyChanged }" >
168
                        </telerik:RadDateTimePicker>
169
                        <!--<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"/>-->
170
                        <TextBlock Text="  ~  " VerticalAlignment="Center"/>
171
                        <telerik:RadDateTimePicker x:Name="datePicker2"  Width="200"
172
                                   InputMode="DateTimePicker"  HorizontalAlignment="Stretch"
173
                                   VerticalAlignment="Center"
174
                                   SelectedValue="{Binding SelectedCreateTimeEnd ,Mode=TwoWay,  UpdateSourceTrigger=PropertyChanged}"
175
                                   Margin="0,1">
176
                        </telerik:RadDateTimePicker>
177
                        <Button Content="Clear" Margin="5"  Width="50" Height="20" HorizontalAlignment="Left" Command="{Binding RemoveCreateTimeFilterCommand, Mode=OneWay}"/>
178
                    </StackPanel>
179
                </StackPanel>
180
            </Grid>
181

    
182
            <StackPanel Orientation="Horizontal" HorizontalAlignment="Right" Grid.Row="1">
183
                <telerik:RadToggleButton Content=" Convert 추가" Command="{Binding ConverAddCommand, Mode=OneWay}" Width="100" Margin="0,0,20,0" HorizontalAlignment="Right"/>
184
                <telerik:RadToggleButton Content=" 검색" Command="{Binding DataFilterCommand, Mode=OneWay}" Width="100" Margin="0,0,20,0" HorizontalAlignment="Right"/>
185
                <telerik:RadToggleButton Content=" 초기화" Command="{Binding ResetCommand, Mode=OneWay}" Width="100" Margin="0,0,20,0" HorizontalAlignment="Right"/>
186
            </StackPanel>
187

    
188
            <StackPanel Orientation="Vertical" MaxHeight="800" Grid.Row="2">
189
                <!--<StackPanel Orientation="Vertical">-->
190

    
191
                <!--<StackPanel Orientation="Horizontal" HorizontalAlignment="Right">
192
                        <telerik:RadToggleButton Content=" Convert 추가" Command="{Binding ConverAddCommand, Mode=OneWay}" Width="100" Margin="0,0,20,0" HorizontalAlignment="Right"/>
193
                        <telerik:RadToggleButton Content=" 검색" Command="{Binding DataFilterCommand, Mode=OneWay}" Width="100" Margin="0,0,20,0" HorizontalAlignment="Right"/>
194
                        <telerik:RadToggleButton Content=" 초기화" Command="{Binding ResetCommand, Mode=OneWay}" Width="100" Margin="0,0,20,0" HorizontalAlignment="Right"/>
195
                    </StackPanel>-->
196
                <!--</StackPanel>-->
197

    
198
                <DockPanel LastChildFill="True">
199
                    <telerik:RadExpander ExpandDirection="Down"  BorderThickness="0" Grid.Row="1" MaxHeight="{Binding DataBase_ItemsHeight, Mode=OneWay}"
200
                  ScrollViewer.HorizontalScrollBarVisibility="Auto"  ScrollViewer.VerticalScrollBarVisibility="Auto"  IsExpanded="True" 
201
                             telerik:AnimationManager.IsAnimationEnabled="False" >
202
                        <telerik:RadExpander.Header>
203
                            <Grid>
204
                                <Grid.ColumnDefinitions>
205
                                    <ColumnDefinition Width="Auto"/>
206
                                    <ColumnDefinition Width="Auto"/>
207
                                </Grid.ColumnDefinitions>
208
                                <TextBlock Text="Final PDF Items : "/>
209
                                <TextBlock Text="{Binding SelectedCount.DisplayMember, StringFormat=\{0:d\}}" Grid.Column="1"/>
210
                            </Grid>
211
                        </telerik:RadExpander.Header>
212

    
213
                        <telerik:RadGridView x:Name="dataGrid1"  GroupRenderMode="Flat" VerticalAlignment="Stretch" HorizontalAlignment="Stretch"  
214
                                                         ItemsSource="{Binding FilterConvertSourceView}" 
215
                             SelectedItem="{Binding SelectFilterConvert, Mode=TwoWay}"
216
                             RowDetailsTemplate="{StaticResource RowDetailsTemplate}"  
217
                                                         AutoGenerateColumns="False"
218
                             ColumnWidth="*" CanUserFreezeColumns="False"
219
                             Grid.Row="1"  ScrollViewer.CanContentScroll="True" IsFilteringAllowed="True"
220
                             LeftFrozenColumnCount="6" 
221
                             RightFrozenColumnCount="0">
222
                            <telerik:RadContextMenu.ContextMenu>
223
                                <telerik:RadContextMenu x:Name= "GridContextMenu">
224
                                    <telerik:RadMenuItem  Header="Convert"  Command="{Binding ConvertCommand}"/>
225
                                    <telerik:RadMenuItem Header="Validation"  Command="{Binding ValidateCommand}"/>
226
                                    <telerik:RadMenuItem Header="Delete"  Command="{Binding DeleteCommand}"/>
227
                                </telerik:RadContextMenu>
228
                            </telerik:RadContextMenu.ContextMenu>
229
                            <telerik:RadGridView.Columns>
230
                                <telerik:GridViewToggleRowDetailsColumn />
231
                                <controls:RowIndexColumn Header="#" Width="30" CellStyle="{StaticResource RowNumberStyle}" />
232
                                <telerik:GridViewDataColumn Header=" ID "
233
                                                                                        DataMemberBinding="{Binding ConvertID}" Width="1.5*" />
234
                                <telerik:GridViewDataColumn x:Name="commend" Header="Markus " Width="0.5*"  CellStyle="{StaticResource StretchCellStyle}">
235
                                    <telerik:GridViewDataColumn.CellTemplate>
236
                                        <DataTemplate>
237
                                            <telerik:RadButton Content="Click" BorderThickness="0"
238
                                                   Background="Transparent"
239
                                                   Command="{Binding MarkusLinkCommand, Source={StaticResource FinalPDFViewModel}}" CommandParameter="{Binding DataContext, RelativeSource={RelativeSource Self}}"/>
240
                                        </DataTemplate>
241
                                    </telerik:GridViewDataColumn.CellTemplate>
242
                                </telerik:GridViewDataColumn>
243
                                <telerik:GridViewDataColumn Header="ProjectNO" 
244
                                                                                        DataMemberBinding="{Binding ProjectNumber}" Width="*" />
245
                                <telerik:GridViewDataColumn Header="DocumentID"
246
                                                                                        DataMemberBinding="{Binding DocumentID}" Width="*" />
247
                                <telerik:GridViewDataColumn Header="DocInfoID"
248
                                                                                        DataMemberBinding="{Binding DocInfo_ID}" Width="*" />
249
                                <telerik:GridViewDataColumn Header="MarkusInfoID"
250
                                                                                        DataMemberBinding="{Binding MarkusInfo_ID}" Width="*" />
251
                                <telerik:GridViewDataColumn Header="Create UserID"
252
                                                                                        DataMemberBinding="{Binding Create_UserID}" Width="*" />
253
                                <telerik:GridViewDataColumn Header="ConvertState"
254
                                                                                        DataMemberBinding="{Binding ConvertState, Mode=TwoWay}" Width="*" />
255
                                <telerik:GridViewDataColumn Header="CurrentPageNo"
256
                                                                                        DataMemberBinding="{Binding CurrentPageNo, Mode=TwoWay}" Width="*" />
257
                                <telerik:GridViewDataColumn Header="TotalPageNo"
258
                                                                                        DataMemberBinding="{Binding TotalPage, Mode=TwoWay}" Width="*"  />
259
                                <telerik:GridViewDynamicHyperlinkColumn Header="원본파일"
260
                                                        NavigateUrlFormatString=" {0}"
261
                                                                                                            NavigateUrlMemberPaths="OriginfilePath"
262
                                                                                                                Width="2*">
263
                                    <telerik:GridViewDynamicHyperlinkColumn.CellTemplate>
264
                                        <DataTemplate>
265
                                            <TextBlock Text="{Binding FileName}"/>
266
                                        </DataTemplate>
267
                                    </telerik:GridViewDynamicHyperlinkColumn.CellTemplate>
268
                                </telerik:GridViewDynamicHyperlinkColumn>
269
                                <telerik:GridViewDataColumn Header=" ConvertPath"
270
                                                                                        DataMemberBinding="{Binding ConvertPath}" Width="2.5*" />
271
                                <telerik:GridViewDataColumn Header="CreateTime" 
272
                                                                                        DataMemberBinding="{Binding CreateTime, Mode=TwoWay, StringFormat=\{0:yyyy.MM.dd HH:mm:ss\}}" Width="*"  />
273
                                <telerik:GridViewDataColumn Header="StartTime" 
274
                                                                                        DataMemberBinding="{Binding StartTime, Mode=TwoWay, StringFormat=\{0:yyyy.MM.dd HH:mm:ss\}}" Width="*" />
275
                                <telerik:GridViewDataColumn Header="EndTime" 
276
                                                                                        DataMemberBinding="{Binding EndTime, Mode=TwoWay, StringFormat=\{0:yyyy.MM.dd HH:mm:ss\}}" Width="*" />
277
                            </telerik:RadGridView.Columns>
278
                        </telerik:RadGridView>
279
                    </telerik:RadExpander>
280
                </DockPanel>
281

    
282
                <telerik:RadExpander Grid.Row="2" ExpandDirection="Down" BorderThickness="0"  MaxHeight="{Binding RealConvert_Height,Mode=OneWay}"
283
                  ScrollViewer.HorizontalScrollBarVisibility="Auto" ScrollViewer.VerticalScrollBarVisibility="Auto"
284
                             telerik:AnimationManager.IsAnimationEnabled="False" IsExpanded ="{Binding ConvertShow, Mode=TwoWay}">
285
                    <telerik:RadExpander.Header>
286
                        <Grid>
287
                            <Grid.ColumnDefinitions>
288
                                <ColumnDefinition Width="Auto"/>
289
                                <ColumnDefinition Width="Auto"/>
290
                            </Grid.ColumnDefinitions>
291
                            <TextBlock Text="Real FinalPDF Items : "/>
292
                            <TextBlock Text="{Binding RealConvertSource.Count, StringFormat=\{0:d\}}" Grid.Column="1"/>
293
                        </Grid>
294
                    </telerik:RadExpander.Header>
295
                    <telerik:RadGridView Name="dataGrid2" GroupRenderMode="Flat" VerticalAlignment="Stretch" HorizontalAlignment="Stretch"
296
                                                         ItemsSource="{Binding RealConvertSource}"
297
                             SelectedItem="{Binding SelectRealConvert, Mode=TwoWay}"
298
                             RowDetailsTemplate="{StaticResource RowDetailsTemplate}"
299
                                                         AutoGenerateColumns="False" CanUserFreezeColumns="False"
300
                             ColumnWidth="*"
301
                             Grid.Row="1"  ScrollViewer.CanContentScroll="False" IsFilteringAllowed="True">
302
                        <telerik:RadContextMenu.ContextMenu>
303
                            <telerik:RadContextMenu>
304
                                <telerik:RadMenuItem  Header="Convert"  Command="{Binding ConvertCommand}"/>
305
                                <telerik:RadMenuItem Header="Validation"  Command="{Binding ValidateCommand}"/>
306
                                <telerik:RadMenuItem Header="Delete"  Command="{Binding DeleteCommand}"/>
307
                            </telerik:RadContextMenu>
308
                        </telerik:RadContextMenu.ContextMenu>
309
                        <telerik:RadGridView.Columns>
310
                            <telerik:GridViewToggleRowDetailsColumn />
311
                            <controls:RowIndexColumn Header="#" Width="30" CellStyle="{StaticResource RowNumberStyle}" />
312

    
313
                            <telerik:GridViewDataColumn Header=" ID "
314
                                                                                        DataMemberBinding="{Binding ConvertID}" Width="1.5*" />
315

    
316
                            <telerik:GridViewDataColumn Header="Markus " Width="0.5*" CellStyle="{StaticResource StretchCellStyle}">
317
                                <telerik:GridViewDataColumn.CellTemplate>
318
                                    <DataTemplate>
319
                                        <telerik:RadButton Content="Click "  BorderThickness="0" Background="Transparent"
320
                                                   Command="{Binding MarkusLinkCommand, Source={StaticResource FinalPDFViewModel}}" CommandParameter="{Binding DataContext, RelativeSource={RelativeSource Self}}"/>
321
                                    </DataTemplate>
322
                                </telerik:GridViewDataColumn.CellTemplate>
323
                            </telerik:GridViewDataColumn>
324

    
325
                            <telerik:GridViewToggleRowDetailsColumn />
326
                            <controls:RowIndexColumn Header="#" Width="30" CellStyle="{StaticResource RowNumberStyle}" />
327
                            <telerik:GridViewDataColumn Header=" ID "
328
                                                                                        DataMemberBinding="{Binding ConvertID}" Width="1.5*" />
329
                            <telerik:GridViewDataColumn Header="Markus " Width="0.5*"  CellStyle="{StaticResource StretchCellStyle}">
330
                                <telerik:GridViewDataColumn.CellTemplate>
331
                                    <DataTemplate>
332
                                        <telerik:RadButton Content="Click" BorderThickness="0"
333
                                                   Background="Transparent"
334
                                                   Command="{Binding MarkusLinkCommand, Source={StaticResource FinalPDFViewModel}}" CommandParameter="{Binding DataContext, RelativeSource={RelativeSource Self}}"/>
335
                                    </DataTemplate>
336
                                </telerik:GridViewDataColumn.CellTemplate>
337
                            </telerik:GridViewDataColumn>
338
                            <telerik:GridViewDataColumn Header="ProjectNO" 
339
                                                                                        DataMemberBinding="{Binding ProjectNumber}" Width="*" />
340
                            <telerik:GridViewDataColumn Header="DocumentID"
341
                                                                                        DataMemberBinding="{Binding DocumentID}" Width="*" />
342
                            <telerik:GridViewDataColumn Header="DocInfoID"
343
                                                                                        DataMemberBinding="{Binding DocInfo_ID}" Width="*" />
344
                            <telerik:GridViewDataColumn Header="MarkusInfoID"
345
                                                                                        DataMemberBinding="{Binding MarkusInfo_ID}" Width="*" />
346
                            <telerik:GridViewDataColumn Header="Create UserID"
347
                                                                                        DataMemberBinding="{Binding Create_UserID}" Width="*" />
348
                            <telerik:GridViewDataColumn Header="ConvertState"
349
                                                                                        DataMemberBinding="{Binding ConvertState, Mode=TwoWay}" Width="*" />
350
                            <telerik:GridViewDataColumn Header="CurrentPageNo"
351
                                                                                        DataMemberBinding="{Binding CurrentPageNo, Mode=TwoWay}" Width="*" />
352
                            <telerik:GridViewDataColumn Header="TotalPageNo"
353
                                                                                        DataMemberBinding="{Binding TotalPage, Mode=TwoWay}" Width="*"  />
354
                            <telerik:GridViewDynamicHyperlinkColumn Header="원본파일"
355
                                                        NavigateUrlFormatString=" {0}"
356
                                                                                                            NavigateUrlMemberPaths="OriginfilePath"
357
                                                                                                                Width="2*">
358
                                <telerik:GridViewDynamicHyperlinkColumn.CellTemplate>
359
                                    <DataTemplate>
360
                                        <TextBlock Text="{Binding FileName}"/>
361
                                    </DataTemplate>
362
                                </telerik:GridViewDynamicHyperlinkColumn.CellTemplate>
363
                            </telerik:GridViewDynamicHyperlinkColumn>
364
                            <telerik:GridViewDataColumn Header=" ConvertPath"
365
                                                                                        DataMemberBinding="{Binding ConvertPath}" Width="2.5*" />
366
                            <telerik:GridViewDataColumn Header="CreateTime" 
367
                                                                                        DataMemberBinding="{Binding CreateTime, Mode=TwoWay, StringFormat=\{0:yyyy.MM.dd HH:mm:ss\}}" Width="*" />
368
                            <telerik:GridViewDataColumn Header="StartTime" 
369
                                                                                        DataMemberBinding="{Binding StartTime, Mode=TwoWay, StringFormat=\{0:yyyy.MM.dd HH:mm:ss\}}" Width="*" />
370
                            <telerik:GridViewDataColumn Header="EndTime" 
371
                                                                                        DataMemberBinding="{Binding EndTime, Mode=TwoWay, StringFormat=\{0:yyyy.MM.dd HH:mm:ss\}}" Width="*" />
372
                        </telerik:RadGridView.Columns>
373
                    </telerik:RadGridView>
374
                </telerik:RadExpander>
375

    
376
                <telerik:RadExpander Grid.Row="3" ExpandDirection="Down" BorderThickness="0"  VerticalAlignment="Stretch"
377
                  ScrollViewer.HorizontalScrollBarVisibility="Auto" ScrollViewer.VerticalScrollBarVisibility="Auto"  MaxHeight="{Binding Alive_Height,Mode=OneWay}"
378
                             telerik:AnimationManager.IsAnimationEnabled="False"  IsExpanded ="False">
379
                    <telerik:RadExpander.Header>
380
                        <Grid>
381
                            <Grid.RowDefinitions>
382
                                <RowDefinition Height="11*"/>
383
                                <RowDefinition Height="5*"/>
384
                            </Grid.RowDefinitions>
385
                            <Grid.ColumnDefinitions>
386
                                <ColumnDefinition Width="Auto"/>
387
                                <ColumnDefinition Width="Auto"/>
388
                            </Grid.ColumnDefinitions>
389
                            <TextBlock Text="Alive FinalPDF Items : " Grid.RowSpan="2"/>
390
                            <TextBlock Text="{Binding AliveItems.Count, StringFormat=\{0:d\}}" Grid.Column="1" Grid.RowSpan="2"/>
391
                        </Grid>
392
                    </telerik:RadExpander.Header>
393
                    <telerik:RadGridView GroupRenderMode="Flat" VerticalAlignment="Stretch" HorizontalAlignment="Stretch"
394
                                                         ItemsSource="{Binding AliveItems}"
395
                             SelectedItem="{Binding SelectAliveConvert, Mode=TwoWay}"
396
                                                         AutoGenerateColumns="False" CanUserFreezeColumns="False" RowDetailsTemplate="{StaticResource RowDetailsTemplate}"
397
                             ColumnWidth="*"  ScrollViewer.CanContentScroll="False" IsFilteringAllowed="True" Grid.Row="1" >
398
                        <telerik:RadGridView.Columns>
399
                            <telerik:GridViewToggleRowDetailsColumn />
400
                            <controls:RowIndexColumn Header="#" Width="30" CellStyle="{StaticResource RowNumberStyle}" />
401

    
402
                            <telerik:GridViewDataColumn Header=" ID "
403
                                                                                        DataMemberBinding="{Binding ConvertID}" Width="1.5*" />
404

    
405
                            <telerik:GridViewDataColumn Header="Markus " Width="0.5*" CellStyle="{StaticResource StretchCellStyle}">
406
                                <telerik:GridViewDataColumn.CellTemplate>
407
                                    <DataTemplate>
408
                                        <telerik:RadButton Content="Click "  BorderThickness="0" Background="Transparent"
409
                                                   Command="{Binding MarkusLinkCommand, Source={StaticResource FinalPDFViewModel}}" CommandParameter="{Binding DataContext, RelativeSource={RelativeSource Self}}"/>
410
                                    </DataTemplate>
411
                                </telerik:GridViewDataColumn.CellTemplate>
412
                            </telerik:GridViewDataColumn>
413

    
414
                            <telerik:GridViewToggleRowDetailsColumn />
415
                            <controls:RowIndexColumn Header="#" Width="30" CellStyle="{StaticResource RowNumberStyle}" />
416
                            <telerik:GridViewDataColumn Header=" ID "
417
                                                                                        DataMemberBinding="{Binding ConvertID}" Width="1.5*" />
418
                            <telerik:GridViewDataColumn Header="Markus " Width="0.5*"  CellStyle="{StaticResource StretchCellStyle}">
419
                                <telerik:GridViewDataColumn.CellTemplate>
420
                                    <DataTemplate>
421
                                        <telerik:RadButton Content="Click" BorderThickness="0"
422
                                                   Background="Transparent"
423
                                                   Command="{Binding MarkusLinkCommand, Source={StaticResource FinalPDFViewModel}}" CommandParameter="{Binding DataContext, RelativeSource={RelativeSource Self}}"/>
424
                                    </DataTemplate>
425
                                </telerik:GridViewDataColumn.CellTemplate>
426
                            </telerik:GridViewDataColumn>
427
                            <telerik:GridViewDataColumn Header="ProjectNO" 
428
                                                                                        DataMemberBinding="{Binding ProjectNumber}" Width="*" />
429
                            <telerik:GridViewDataColumn Header="DocumentID"
430
                                                                                        DataMemberBinding="{Binding DocumentID}" Width="*" />
431
                            <telerik:GridViewDataColumn Header="DocInfoID"
432
                                                                                        DataMemberBinding="{Binding DocInfo_ID}" Width="*" />
433
                            <telerik:GridViewDataColumn Header="MarkusInfoID"
434
                                                                                        DataMemberBinding="{Binding MarkusInfo_ID}" Width="*" />
435
                            <telerik:GridViewDataColumn Header="Create UserID"
436
                                                                                        DataMemberBinding="{Binding Create_UserID}" Width="*" />
437
                            <telerik:GridViewDataColumn Header="ConvertState"
438
                                                                                        DataMemberBinding="{Binding ConvertState, Mode=TwoWay}" Width="*" />
439
                            <telerik:GridViewDataColumn Header="CurrentPageNo"
440
                                                                                        DataMemberBinding="{Binding CurrentPageNo, Mode=TwoWay}" Width="*" />
441
                            <telerik:GridViewDataColumn Header="TotalPageNo"
442
                                                                                        DataMemberBinding="{Binding TotalPage, Mode=TwoWay}" Width="*"  />
443
                            <telerik:GridViewDynamicHyperlinkColumn Header="원본파일"
444
                                                        NavigateUrlFormatString=" {0}"
445
                                                                                                            NavigateUrlMemberPaths="OriginfilePath"
446
                                                                                                                Width="2*">
447
                                <telerik:GridViewDynamicHyperlinkColumn.CellTemplate>
448
                                    <DataTemplate>
449
                                        <TextBlock Text="{Binding FileName}"/>
450
                                    </DataTemplate>
451
                                </telerik:GridViewDynamicHyperlinkColumn.CellTemplate>
452
                            </telerik:GridViewDynamicHyperlinkColumn>
453
                            <telerik:GridViewDataColumn Header=" ConvertPath"
454
                                                                                        DataMemberBinding="{Binding ConvertPath}" Width="2.5*" />
455
                            <telerik:GridViewDataColumn Header="CreateTime" 
456
                                                                                        DataMemberBinding="{Binding CreateTime, Mode=TwoWay, StringFormat=\{0:yyyy.MM.dd HH:mm:ss\}}" Width="*" />
457
                            <telerik:GridViewDataColumn Header="StartTime" 
458
                                                                                        DataMemberBinding="{Binding StartTime, Mode=TwoWay, StringFormat=\{0:yyyy.MM.dd HH:mm:ss\}}" Width="*" />
459
                            <telerik:GridViewDataColumn Header="EndTime" 
460
                                                                                        DataMemberBinding="{Binding EndTime, Mode=TwoWay, StringFormat=\{0:yyyy.MM.dd HH:mm:ss\}}" Width="*" />
461
                        </telerik:RadGridView.Columns>
462
                    </telerik:RadGridView>
463
                </telerik:RadExpander>
464

    
465
            </StackPanel>
466
        </Grid>
467
    </Grid>
468
</UserControl>
469

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