프로젝트

일반

사용자정보

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

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

이력 | 보기 | 이력해설 | 다운로드 (33.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" Grid.Row="1" ScrollViewer.HorizontalScrollBarVisibility="Auto" ScrollViewer.VerticalScrollBarVisibility="Auto" >
88
            <Grid.RowDefinitions>
89
                <RowDefinition Height="Auto"/>
90
                <RowDefinition Height="Auto"/>
91
                <RowDefinition Height="Auto"/>
92
            </Grid.RowDefinitions>
93
            <Grid Grid.Row="0">
94
                <Grid.Style>
95
                    <Style>
96
                        <Setter Property="TextBlock.Margin" Value="20,0,0,0"/>
97
                    </Style>
98
                </Grid.Style>
99
                <Grid.RowDefinitions>
100
                    <RowDefinition />
101
                    <RowDefinition />
102
                </Grid.RowDefinitions>
103
                <Grid Grid.Row="0">
104
                    <Grid.RowDefinitions>
105
                        <RowDefinition />
106
                        <RowDefinition />
107
                        <RowDefinition />
108
                    </Grid.RowDefinitions>
109
                    <Grid.ColumnDefinitions>
110
                        <ColumnDefinition Width="Auto"/>
111
                        <ColumnDefinition Width="*" />
112
                        <ColumnDefinition Width="10"/>
113
                        <ColumnDefinition Width="Auto"/>
114
                        <ColumnDefinition Width="*"/>
115
                        <ColumnDefinition Width="10"/>
116
                        <ColumnDefinition Width="Auto"/>
117
                        <ColumnDefinition Width="*"/>
118
                        <ColumnDefinition Width="10"/>
119
                        <ColumnDefinition Width="Auto"/>
120
                        <ColumnDefinition Width="*"/>
121
                    </Grid.ColumnDefinitions>
122
                    <TextBlock Text="Project NO  " Grid.Row="0" Grid.Column="0" VerticalAlignment="Center" HorizontalAlignment="Left"/>
123
                    <telerik:RadMaskedTextInput IsClearButtonVisible="True" Grid.Row="0" Grid.Column="1"  EmptyContent="ProjectNumber" InputBehavior="Replace" HorizontalContentAlignment="Stretch"
124
                                                        TextMode="PlainText" Value="{Binding ProjectNumberFilter, UpdateSourceTrigger=PropertyChanged, Mode=TwoWay}" VerticalAlignment="Center" HorizontalAlignment="Stretch" Margin="2,0" />
125

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

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

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

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

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

    
183
            <Grid Grid.Row="2">
184
                <Grid.RowDefinitions>
185
                    <RowDefinition Height="Auto"/>
186
                    <RowDefinition Height="Auto"/>
187
                    <RowDefinition Height="Auto"/>
188
                </Grid.RowDefinitions>
189
                <telerik:RadExpander ExpandDirection="Down"  BorderThickness="0" MaxHeight="{Binding DataBase_ItemsHeight, Mode=OneWay}"
190
                  ScrollViewer.HorizontalScrollBarVisibility="Auto"  ScrollViewer.VerticalScrollBarVisibility="Auto"  IsExpanded="True" 
191
                             telerik:AnimationManager.IsAnimationEnabled="False" >
192
                    <telerik:RadExpander.Header>
193
                        <Grid>
194
                            <Grid.ColumnDefinitions>
195
                                <ColumnDefinition Width="Auto"/>
196
                                <ColumnDefinition Width="Auto"/>
197
                            </Grid.ColumnDefinitions>
198
                            <TextBlock Text="Final PDF Items : "/>
199
                            <TextBlock Text="{Binding SelectedCount.DisplayMember, StringFormat=\{0:d\}}" Grid.Column="1"/>
200
                        </Grid>
201
                    </telerik:RadExpander.Header>
202

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

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

    
302
                            <telerik:GridViewDataColumn Header=" ID "
303
                                                                                        DataMemberBinding="{Binding ConvertID}" Width="1.5*" />
304

    
305
                            <telerik:GridViewDataColumn Header="Markus " Width="0.5*" CellStyle="{StaticResource StretchCellStyle}">
306
                                <telerik:GridViewDataColumn.CellTemplate>
307
                                    <DataTemplate>
308
                                        <telerik:RadButton Content="Click "  BorderThickness="0" Background="Transparent"
309
                                                   Command="{Binding MarkusLinkCommand, Source={StaticResource FinalPDFViewModel}}" CommandParameter="{Binding DataContext, RelativeSource={RelativeSource Self}}"/>
310
                                    </DataTemplate>
311
                                </telerik:GridViewDataColumn.CellTemplate>
312
                            </telerik:GridViewDataColumn>
313

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

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

    
391
                            <telerik:GridViewDataColumn Header=" ID "
392
                                                                                        DataMemberBinding="{Binding ConvertID}" Width="1.5*" />
393

    
394
                            <telerik:GridViewDataColumn Header="Markus " Width="0.5*" CellStyle="{StaticResource StretchCellStyle}">
395
                                <telerik:GridViewDataColumn.CellTemplate>
396
                                    <DataTemplate>
397
                                        <telerik:RadButton Content="Click "  BorderThickness="0" Background="Transparent"
398
                                                   Command="{Binding MarkusLinkCommand, Source={StaticResource FinalPDFViewModel}}" CommandParameter="{Binding DataContext, RelativeSource={RelativeSource Self}}"/>
399
                                    </DataTemplate>
400
                                </telerik:GridViewDataColumn.CellTemplate>
401
                            </telerik:GridViewDataColumn>
402

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

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