프로젝트

일반

사용자정보

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

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

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

1 3bde451b semi
<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 31beca73 semi
             xmlns:maskedInput="clr-namespace:Telerik.Windows.Controls.MaskedInput;assembly=Telerik.Windows.Controls.Input"
12 3bde451b semi
             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 2c634aed semi
        <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 5feff9f0 semi
57 3bde451b semi
        <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 31beca73 semi
            <RowDefinition Height="Auto"/>
77
            <RowDefinition Height="Auto"/>
78 3bde451b semi
            <RowDefinition Height="*"/>
79 31beca73 semi
            <RowDefinition Height="Auto"/>
80
            <RowDefinition Height="Auto"/>
81 3bde451b semi
        </Grid.RowDefinitions>
82
        <StackPanel Margin="0,10" Orientation="Horizontal" HorizontalAlignment="Right" Grid.Row="0"  Height="20" >
83
            <TextBlock Text="Display Count : " VerticalAlignment="Center"/>
84 2f07b70a semi
            <telerik:RadComboBox Width="100" SelectedItem="{Binding SelectedCount, Mode=TwoWay}" Margin="0,0,10,0" SelectedValuePath="DisplayMember"
85 3bde451b semi
                  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 31beca73 semi
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 3bde451b semi
            <Grid.RowDefinitions>
101 31beca73 semi
                <RowDefinition />
102
                <RowDefinition />
103 3bde451b semi
            </Grid.RowDefinitions>
104
            <Grid Grid.Row="0">
105
                <Grid.RowDefinitions>
106
                    <RowDefinition />
107
                    <RowDefinition />
108 31beca73 semi
                    <RowDefinition />
109 3bde451b semi
                </Grid.RowDefinitions>
110 31beca73 semi
                <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 037ab674 semi
                <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 31beca73 semi
                                                        TextMode="PlainText" Value="{Binding ProjectNumberFilter, UpdateSourceTrigger=PropertyChanged, Mode=TwoWay}" VerticalAlignment="Center" HorizontalAlignment="Stretch" Margin="2,0" 
132 037ab674 semi
                                                maskedInput:MaskedInputExtensions.MaxTextLength="1000" Mask=""/>-->
133 3bde451b semi
134 31beca73 semi
                <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 3bde451b semi
139 31beca73 semi
                <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 3bde451b semi
144 31beca73 semi
                <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 3bde451b semi
149 31beca73 semi
                <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 3bde451b semi
                                   InputMode="DateTimePicker"  
181
                                   VerticalAlignment="Center"
182
                                   HorizontalAlignment="Stretch"
183
                                   SelectedValue="{Binding SelectedCreateTimeBegin ,Mode=TwoWay,  UpdateSourceTrigger=PropertyChanged }" >
184 31beca73 semi
                    </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 3bde451b semi
                                   InputMode="DateTimePicker"  HorizontalAlignment="Stretch"
189
                                   VerticalAlignment="Center"
190
                                   SelectedValue="{Binding SelectedCreateTimeEnd ,Mode=TwoWay,  UpdateSourceTrigger=PropertyChanged}"
191
                                   Margin="0,1">
192 31beca73 semi
                    </telerik:RadDateTimePicker>
193
                    <Button Content="Clear" Margin="5"  Width="50" Height="20" HorizontalAlignment="Left" Command="{Binding RemoveCreateTimeFilterCommand, Mode=OneWay}"/>
194 037ab674 semi
195
                    <CheckBox IsChecked="{Binding ExcptionCheck, Mode=TwoWay}">Excption is not NULL</CheckBox>
196 3bde451b semi
                </StackPanel>
197
            </StackPanel>
198 31beca73 semi
        </Grid>
199 3bde451b semi
200 31beca73 semi
        <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 3bde451b semi
                  ScrollViewer.HorizontalScrollBarVisibility="Auto"  ScrollViewer.VerticalScrollBarVisibility="Auto"  IsExpanded="True" 
209
                             telerik:AnimationManager.IsAnimationEnabled="False" >
210 31beca73 semi
            <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 3bde451b semi
221 31beca73 semi
            <telerik:RadGridView x:Name="dataGrid1"  GroupRenderMode="Flat" VerticalAlignment="Stretch" HorizontalAlignment="Stretch"  
222 3bde451b semi
                                                         ItemsSource="{Binding FilterConvertSourceView}" 
223
                             SelectedItem="{Binding SelectFilterConvert, Mode=TwoWay}"
224
                             RowDetailsTemplate="{StaticResource RowDetailsTemplate}"  
225
                                                         AutoGenerateColumns="False"
226
                             ColumnWidth="*" CanUserFreezeColumns="False"
227
                             Grid.Row="1"  ScrollViewer.CanContentScroll="True" IsFilteringAllowed="True"
228
                             LeftFrozenColumnCount="6" 
229
                             RightFrozenColumnCount="0">
230 31beca73 semi
                <telerik:RadContextMenu.ContextMenu>
231
                    <telerik:RadContextMenu x:Name= "GridContextMenu">
232
                        <telerik:RadMenuItem  Header="Convert"  Command="{Binding ConvertCommand}"/>
233
                        <telerik:RadMenuItem Header="Validation"  Command="{Binding ValidateCommand}"/>
234
                        <telerik:RadMenuItem Header="Delete"  Command="{Binding DeleteCommand}"/>
235
                    </telerik:RadContextMenu>
236
                </telerik:RadContextMenu.ContextMenu>
237
                <telerik:RadGridView.Columns>
238
                    <telerik:GridViewToggleRowDetailsColumn />
239
                    <controls:RowIndexColumn Header="#" Width="30" CellStyle="{StaticResource RowNumberStyle}" />
240
                    <telerik:GridViewDataColumn Header=" ID "
241 3bde451b semi
                                                                                        DataMemberBinding="{Binding ConvertID}" Width="1.5*" />
242 31beca73 semi
                    <telerik:GridViewDataColumn x:Name="commend" Header="Markus " Width="0.5*"  CellStyle="{StaticResource StretchCellStyle}">
243
                        <telerik:GridViewDataColumn.CellTemplate>
244
                            <DataTemplate>
245
                                <telerik:RadButton Content="Click" BorderThickness="0"
246 3bde451b semi
                                                   Background="Transparent"
247
                                                   Command="{Binding MarkusLinkCommand, Source={StaticResource FinalPDFViewModel}}" CommandParameter="{Binding DataContext, RelativeSource={RelativeSource Self}}"/>
248 31beca73 semi
                            </DataTemplate>
249
                        </telerik:GridViewDataColumn.CellTemplate>
250
                    </telerik:GridViewDataColumn>
251
                    <telerik:GridViewDataColumn Header="ProjectNO" 
252 3bde451b semi
                                                                                        DataMemberBinding="{Binding ProjectNumber}" Width="*" />
253 31beca73 semi
                    <telerik:GridViewDataColumn Header="DocumentID"
254 3bde451b semi
                                                                                        DataMemberBinding="{Binding DocumentID}" Width="*" />
255 31beca73 semi
                    <telerik:GridViewDataColumn Header="DocInfoID"
256 3bde451b semi
                                                                                        DataMemberBinding="{Binding DocInfo_ID}" Width="*" />
257 31beca73 semi
                    <telerik:GridViewDataColumn Header="MarkusInfoID"
258
                                                                                        DataMemberBinding="{Binding MarkupInfo_ID}" Width="*" />
259
                    <telerik:GridViewDataColumn Header="Create UserID"
260
                                                                                        DataMemberBinding="{Binding Create_User_ID}" Width="*" />
261
                    <telerik:GridViewDataColumn Header="ConvertState"
262 3bde451b semi
                                                                                        DataMemberBinding="{Binding ConvertState, Mode=TwoWay}" Width="*" />
263 31beca73 semi
                    <telerik:GridViewDataColumn Header="CurrentPageNo"
264 3bde451b semi
                                                                                        DataMemberBinding="{Binding CurrentPageNo, Mode=TwoWay}" Width="*" />
265 31beca73 semi
                    <telerik:GridViewDataColumn Header="TotalPageNo"
266 3bde451b semi
                                                                                        DataMemberBinding="{Binding TotalPage, Mode=TwoWay}" Width="*"  />
267 31beca73 semi
                    <telerik:GridViewDynamicHyperlinkColumn Header="원본파일"
268 3bde451b semi
                                                        NavigateUrlFormatString=" {0}"
269
                                                                                                            NavigateUrlMemberPaths="OriginfilePath"
270
                                                                                                                Width="2*">
271 31beca73 semi
                        <telerik:GridViewDynamicHyperlinkColumn.CellTemplate>
272
                            <DataTemplate>
273
                                <TextBlock Text="{Binding FileName}"/>
274
                            </DataTemplate>
275
                        </telerik:GridViewDynamicHyperlinkColumn.CellTemplate>
276
                    </telerik:GridViewDynamicHyperlinkColumn>
277 78683624 semi
                    <telerik:GridViewDataColumn Header=" ConvertPath" Width="2.5*">
278
                        <telerik:GridViewDataColumn.CellTemplate>
279
                            <DataTemplate>
280
                                <StackPanel Orientation="Horizontal">
281
                                    <TextBlock Text="{Binding ConvertPath}"/>
282
                                    <telerik:RadButton BorderThickness="0"
283
                                                   Background="Transparent"
284
                                                   Command="{Binding ConvertPathFileSearchCommand, Source={StaticResource FinalPDFViewModel}}" CommandParameter="{Binding DataContext, RelativeSource={RelativeSource Self}}">
285
                                        <telerik:RadButton.Content>
286 037ab674 semi
                                            <Image Source="/Markus.Service.StationController;component/Resources/File_Search_Icon.png" Stretch="None" />
287 78683624 semi
                                        </telerik:RadButton.Content>
288
                                    </telerik:RadButton>
289
                                </StackPanel>
290
                            </DataTemplate>
291
                        </telerik:GridViewDataColumn.CellTemplate>
292
                    </telerik:GridViewDataColumn>
293 31beca73 semi
                    <telerik:GridViewDataColumn Header="CreateTime" 
294 2c634aed semi
                                                                                        DataMemberBinding="{Binding CreateTime, Mode=TwoWay, StringFormat=\{0:yyyy.MM.dd HH:mm:ss\}}" Width="*"  />
295 31beca73 semi
                    <telerik:GridViewDataColumn Header="StartTime" 
296 3bde451b semi
                                                                                        DataMemberBinding="{Binding StartTime, Mode=TwoWay, StringFormat=\{0:yyyy.MM.dd HH:mm:ss\}}" Width="*" />
297 31beca73 semi
                    <telerik:GridViewDataColumn Header="EndTime" 
298 3bde451b semi
                                                                                        DataMemberBinding="{Binding EndTime, Mode=TwoWay, StringFormat=\{0:yyyy.MM.dd HH:mm:ss\}}" Width="*" />
299 31beca73 semi
                </telerik:RadGridView.Columns>
300
            </telerik:RadGridView>
301
        </telerik:RadExpander>
302 3bde451b semi
303 31beca73 semi
        <telerik:RadExpander Grid.Row="4" ExpandDirection="Down" BorderThickness="0"
304 3bde451b semi
                  ScrollViewer.HorizontalScrollBarVisibility="Auto" ScrollViewer.VerticalScrollBarVisibility="Auto"
305
                             telerik:AnimationManager.IsAnimationEnabled="False" IsExpanded ="{Binding ConvertShow, Mode=TwoWay}">
306 31beca73 semi
            <telerik:RadExpander.Header>
307
                <Grid>
308
                    <Grid.ColumnDefinitions>
309
                        <ColumnDefinition Width="Auto"/>
310
                        <ColumnDefinition Width="Auto"/>
311
                    </Grid.ColumnDefinitions>
312
                    <TextBlock Text="Real FinalPDF Items : "/>
313
                    <TextBlock Text="{Binding RealConvertSource.Count, StringFormat=\{0:d\}}" Grid.Column="1"/>
314
                </Grid>
315
            </telerik:RadExpander.Header>
316
            <telerik:RadGridView Name="dataGrid2" GroupRenderMode="Flat" VerticalAlignment="Stretch" HorizontalAlignment="Stretch"
317 3bde451b semi
                                                         ItemsSource="{Binding RealConvertSource}"
318
                             SelectedItem="{Binding SelectRealConvert, Mode=TwoWay}"
319
                             RowDetailsTemplate="{StaticResource RowDetailsTemplate}"
320
                                                         AutoGenerateColumns="False" CanUserFreezeColumns="False"
321
                             ColumnWidth="*"
322
                             Grid.Row="1"  ScrollViewer.CanContentScroll="False" IsFilteringAllowed="True">
323 31beca73 semi
                <telerik:RadContextMenu.ContextMenu>
324
                    <telerik:RadContextMenu>
325
                        <telerik:RadMenuItem  Header="Convert"  Command="{Binding ConvertCommand}"/>
326
                        <telerik:RadMenuItem Header="Validation"  Command="{Binding ValidateCommand}"/>
327
                        <telerik:RadMenuItem Header="Delete"  Command="{Binding DeleteCommand}"/>
328
                    </telerik:RadContextMenu>
329
                </telerik:RadContextMenu.ContextMenu>
330
                <telerik:RadGridView.Columns>
331
                    <telerik:GridViewToggleRowDetailsColumn />
332
                    <controls:RowIndexColumn Header="#" Width="30" CellStyle="{StaticResource RowNumberStyle}" />
333 3bde451b semi
334 31beca73 semi
                    <telerik:GridViewDataColumn Header=" ID "
335 3bde451b semi
                                                                                        DataMemberBinding="{Binding ConvertID}" Width="1.5*" />
336
337 31beca73 semi
                    <telerik:GridViewDataColumn Header="Markus " Width="0.5*" CellStyle="{StaticResource StretchCellStyle}">
338
                        <telerik:GridViewDataColumn.CellTemplate>
339
                            <DataTemplate>
340
                                <telerik:RadButton Content="Click "  BorderThickness="0" Background="Transparent"
341 3bde451b semi
                                                   Command="{Binding MarkusLinkCommand, Source={StaticResource FinalPDFViewModel}}" CommandParameter="{Binding DataContext, RelativeSource={RelativeSource Self}}"/>
342 31beca73 semi
                            </DataTemplate>
343
                        </telerik:GridViewDataColumn.CellTemplate>
344
                    </telerik:GridViewDataColumn>
345 3bde451b semi
346 31beca73 semi
                    <telerik:GridViewToggleRowDetailsColumn />
347
                    <controls:RowIndexColumn Header="#" Width="30" CellStyle="{StaticResource RowNumberStyle}" />
348
                    <telerik:GridViewDataColumn Header=" ID "
349 3bde451b semi
                                                                                        DataMemberBinding="{Binding ConvertID}" Width="1.5*" />
350 31beca73 semi
                    <telerik:GridViewDataColumn Header="Markus " Width="0.5*"  CellStyle="{StaticResource StretchCellStyle}">
351
                        <telerik:GridViewDataColumn.CellTemplate>
352
                            <DataTemplate>
353
                                <telerik:RadButton Content="Click" BorderThickness="0"
354 3bde451b semi
                                                   Background="Transparent"
355
                                                   Command="{Binding MarkusLinkCommand, Source={StaticResource FinalPDFViewModel}}" CommandParameter="{Binding DataContext, RelativeSource={RelativeSource Self}}"/>
356 31beca73 semi
                            </DataTemplate>
357
                        </telerik:GridViewDataColumn.CellTemplate>
358
                    </telerik:GridViewDataColumn>
359
                    <telerik:GridViewDataColumn Header="ProjectNO" 
360 3bde451b semi
                                                                                        DataMemberBinding="{Binding ProjectNumber}" Width="*" />
361 31beca73 semi
                    <telerik:GridViewDataColumn Header="DocumentID"
362 3bde451b semi
                                                                                        DataMemberBinding="{Binding DocumentID}" Width="*" />
363 31beca73 semi
                    <telerik:GridViewDataColumn Header="DocInfoID"
364 3bde451b semi
                                                                                        DataMemberBinding="{Binding DocInfo_ID}" Width="*" />
365 31beca73 semi
                    <telerik:GridViewDataColumn Header="MarkusInfoID"
366
                                                                                        DataMemberBinding="{Binding MarkupInfo_ID}" Width="*" />
367
                    <telerik:GridViewDataColumn Header="Create UserID"
368
                                                                                        DataMemberBinding="{Binding Create_User_ID}" Width="*" />
369
                    <telerik:GridViewDataColumn Header="ConvertState"
370 3bde451b semi
                                                                                        DataMemberBinding="{Binding ConvertState, Mode=TwoWay}" Width="*" />
371 31beca73 semi
                    <telerik:GridViewDataColumn Header="CurrentPageNo"
372 3bde451b semi
                                                                                        DataMemberBinding="{Binding CurrentPageNo, Mode=TwoWay}" Width="*" />
373 31beca73 semi
                    <telerik:GridViewDataColumn Header="TotalPageNo"
374 3bde451b semi
                                                                                        DataMemberBinding="{Binding TotalPage, Mode=TwoWay}" Width="*"  />
375 31beca73 semi
                    <telerik:GridViewDynamicHyperlinkColumn Header="원본파일"
376 3bde451b semi
                                                        NavigateUrlFormatString=" {0}"
377
                                                                                                            NavigateUrlMemberPaths="OriginfilePath"
378
                                                                                                                Width="2*">
379 31beca73 semi
                        <telerik:GridViewDynamicHyperlinkColumn.CellTemplate>
380
                            <DataTemplate>
381
                                <TextBlock Text="{Binding FileName}"/>
382
                            </DataTemplate>
383
                        </telerik:GridViewDynamicHyperlinkColumn.CellTemplate>
384
                    </telerik:GridViewDynamicHyperlinkColumn>
385 037ab674 semi
                    <!--<telerik:GridViewDataColumn Header=" ConvertPath"
386
                                                                                        DataMemberBinding="{Binding ConvertPath}" Width="2.5*" />-->
387
                    <telerik:GridViewDataColumn Header=" ConvertPath" Width="2.5*">
388
                        <telerik:GridViewDataColumn.CellTemplate>
389
                            <DataTemplate>
390
                                <StackPanel Orientation="Horizontal">
391
                                    <TextBlock Text="{Binding ConvertPath}"/>
392
                                    <telerik:RadButton BorderThickness="0"
393
                                                   Background="Transparent"
394
                                                   Command="{Binding ConvertPathFileSearchCommand, Source={StaticResource FinalPDFViewModel}}" CommandParameter="{Binding DataContext, RelativeSource={RelativeSource Self}}">
395
                                        <telerik:RadButton.Content>
396
                                            <Image Source="/Markus.Service.StationController;component/Resources/File_Search_Icon.png" Stretch="None" />
397
                                        </telerik:RadButton.Content>
398
                                    </telerik:RadButton>
399
                                </StackPanel>
400
                            </DataTemplate>
401
                        </telerik:GridViewDataColumn.CellTemplate>
402
                    </telerik:GridViewDataColumn>
403 31beca73 semi
                    <telerik:GridViewDataColumn Header="CreateTime" 
404 3bde451b semi
                                                                                        DataMemberBinding="{Binding CreateTime, Mode=TwoWay, StringFormat=\{0:yyyy.MM.dd HH:mm:ss\}}" Width="*" />
405 31beca73 semi
                    <telerik:GridViewDataColumn Header="StartTime" 
406 3bde451b semi
                                                                                        DataMemberBinding="{Binding StartTime, Mode=TwoWay, StringFormat=\{0:yyyy.MM.dd HH:mm:ss\}}" Width="*" />
407 31beca73 semi
                    <telerik:GridViewDataColumn Header="EndTime" 
408 3bde451b semi
                                                                                        DataMemberBinding="{Binding EndTime, Mode=TwoWay, StringFormat=\{0:yyyy.MM.dd HH:mm:ss\}}" Width="*" />
409 31beca73 semi
                </telerik:RadGridView.Columns>
410
            </telerik:RadGridView>
411
        </telerik:RadExpander>
412 3bde451b semi
413 2f07b70a semi
        <telerik:RadExpander Grid.Row="5" ExpandDirection="Down" BorderThickness="0"  VerticalAlignment="Stretch" Margin="0,0,0,10"
414 31beca73 semi
                  ScrollViewer.HorizontalScrollBarVisibility="Auto" ScrollViewer.VerticalScrollBarVisibility="Auto" 
415 3bde451b semi
                             telerik:AnimationManager.IsAnimationEnabled="False"  IsExpanded ="False">
416 31beca73 semi
            <telerik:RadExpander.Header>
417
                <Grid>
418
                    <Grid.ColumnDefinitions>
419
                        <ColumnDefinition Width="Auto"/>
420
                        <ColumnDefinition Width="Auto"/>
421
                    </Grid.ColumnDefinitions>
422
                    <TextBlock Text="Alive FinalPDF Items : " Grid.RowSpan="2"/>
423
                    <TextBlock Text="{Binding AliveItems.Count, StringFormat=\{0:d\}}" Grid.Column="1" Grid.RowSpan="2"/>
424
                </Grid>
425
            </telerik:RadExpander.Header>
426
            <telerik:RadGridView GroupRenderMode="Flat" VerticalAlignment="Stretch" HorizontalAlignment="Stretch"
427 3bde451b semi
                                                         ItemsSource="{Binding AliveItems}"
428
                             SelectedItem="{Binding SelectAliveConvert, Mode=TwoWay}"
429
                                                         AutoGenerateColumns="False" CanUserFreezeColumns="False" RowDetailsTemplate="{StaticResource RowDetailsTemplate}"
430
                             ColumnWidth="*"  ScrollViewer.CanContentScroll="False" IsFilteringAllowed="True" Grid.Row="1" >
431 31beca73 semi
                <telerik:RadGridView.Columns>
432
                    <telerik:GridViewToggleRowDetailsColumn />
433
                    <controls:RowIndexColumn Header="#" Width="30" CellStyle="{StaticResource RowNumberStyle}" />
434 3bde451b semi
435 31beca73 semi
                    <telerik:GridViewDataColumn Header=" ID "
436 3bde451b semi
                                                                                        DataMemberBinding="{Binding ConvertID}" Width="1.5*" />
437
438 31beca73 semi
                    <telerik:GridViewDataColumn Header="Markus " Width="0.5*" CellStyle="{StaticResource StretchCellStyle}">
439
                        <telerik:GridViewDataColumn.CellTemplate>
440
                            <DataTemplate>
441
                                <telerik:RadButton Content="Click "  BorderThickness="0" Background="Transparent"
442 3bde451b semi
                                                   Command="{Binding MarkusLinkCommand, Source={StaticResource FinalPDFViewModel}}" CommandParameter="{Binding DataContext, RelativeSource={RelativeSource Self}}"/>
443 31beca73 semi
                            </DataTemplate>
444
                        </telerik:GridViewDataColumn.CellTemplate>
445
                    </telerik:GridViewDataColumn>
446 3bde451b semi
447 31beca73 semi
                    <telerik:GridViewToggleRowDetailsColumn />
448
                    <controls:RowIndexColumn Header="#" Width="30" CellStyle="{StaticResource RowNumberStyle}" />
449
                    <telerik:GridViewDataColumn Header=" ID "
450 3bde451b semi
                                                                                        DataMemberBinding="{Binding ConvertID}" Width="1.5*" />
451 31beca73 semi
                    <telerik:GridViewDataColumn Header="Markus " Width="0.5*"  CellStyle="{StaticResource StretchCellStyle}">
452
                        <telerik:GridViewDataColumn.CellTemplate>
453
                            <DataTemplate>
454
                                <telerik:RadButton Content="Click" BorderThickness="0"
455 3bde451b semi
                                                   Background="Transparent"
456
                                                   Command="{Binding MarkusLinkCommand, Source={StaticResource FinalPDFViewModel}}" CommandParameter="{Binding DataContext, RelativeSource={RelativeSource Self}}"/>
457 31beca73 semi
                            </DataTemplate>
458
                        </telerik:GridViewDataColumn.CellTemplate>
459
                    </telerik:GridViewDataColumn>
460
                    <telerik:GridViewDataColumn Header="ProjectNO" 
461 3bde451b semi
                                                                                        DataMemberBinding="{Binding ProjectNumber}" Width="*" />
462 31beca73 semi
                    <telerik:GridViewDataColumn Header="DocumentID"
463 3bde451b semi
                                                                                        DataMemberBinding="{Binding DocumentID}" Width="*" />
464 31beca73 semi
                    <telerik:GridViewDataColumn Header="DocInfoID"
465 3bde451b semi
                                                                                        DataMemberBinding="{Binding DocInfo_ID}" Width="*" />
466 31beca73 semi
                    <telerik:GridViewDataColumn Header="MarkusInfoID"
467
                                                                                        DataMemberBinding="{Binding MarkupInfo_ID}" Width="*" />
468
                    <telerik:GridViewDataColumn Header="Create UserID"
469
                                                                                        DataMemberBinding="{Binding Create_User_ID}" Width="*" />
470
                    <telerik:GridViewDataColumn Header="ConvertState"
471 3bde451b semi
                                                                                        DataMemberBinding="{Binding ConvertState, Mode=TwoWay}" Width="*" />
472 31beca73 semi
                    <telerik:GridViewDataColumn Header="CurrentPageNo"
473 3bde451b semi
                                                                                        DataMemberBinding="{Binding CurrentPageNo, Mode=TwoWay}" Width="*" />
474 31beca73 semi
                    <telerik:GridViewDataColumn Header="TotalPageNo"
475 3bde451b semi
                                                                                        DataMemberBinding="{Binding TotalPage, Mode=TwoWay}" Width="*"  />
476 31beca73 semi
                    <telerik:GridViewDynamicHyperlinkColumn Header="원본파일"
477 3bde451b semi
                                                        NavigateUrlFormatString=" {0}"
478
                                                                                                            NavigateUrlMemberPaths="OriginfilePath"
479
                                                                                                                Width="2*">
480 31beca73 semi
                        <telerik:GridViewDynamicHyperlinkColumn.CellTemplate>
481
                            <DataTemplate>
482
                                <TextBlock Text="{Binding FileName}"/>
483
                            </DataTemplate>
484
                        </telerik:GridViewDynamicHyperlinkColumn.CellTemplate>
485
                    </telerik:GridViewDynamicHyperlinkColumn>
486 037ab674 semi
                    <telerik:GridViewDataColumn Header=" ConvertPath" Width="2.5*">
487
                        <telerik:GridViewDataColumn.CellTemplate>
488
                            <DataTemplate>
489
                                <StackPanel Orientation="Horizontal">
490
                                    <TextBlock Text="{Binding ConvertPath}"/>
491
                                    <telerik:RadButton BorderThickness="0"
492
                                                   Background="Transparent"
493
                                                   Command="{Binding ConvertPathFileSearchCommand, Source={StaticResource FinalPDFViewModel}}" CommandParameter="{Binding DataContext, RelativeSource={RelativeSource Self}}">
494
                                        <telerik:RadButton.Content>
495
                                            <Image Source="/Markus.Service.StationController;component/Resources/File_Search_Icon.png" Stretch="None" />
496
                                        </telerik:RadButton.Content>
497
                                    </telerik:RadButton>
498
                                </StackPanel>
499
                            </DataTemplate>
500
                        </telerik:GridViewDataColumn.CellTemplate>
501
                    </telerik:GridViewDataColumn>
502
                    <!--<telerik:GridViewDataColumn Header=" ConvertPath"
503
                                                                                        DataMemberBinding="{Binding ConvertPath}" Width="2.5*" />-->
504 31beca73 semi
                    <telerik:GridViewDataColumn Header="CreateTime" 
505 3bde451b semi
                                                                                        DataMemberBinding="{Binding CreateTime, Mode=TwoWay, StringFormat=\{0:yyyy.MM.dd HH:mm:ss\}}" Width="*" />
506 31beca73 semi
                    <telerik:GridViewDataColumn Header="StartTime" 
507 3bde451b semi
                                                                                        DataMemberBinding="{Binding StartTime, Mode=TwoWay, StringFormat=\{0:yyyy.MM.dd HH:mm:ss\}}" Width="*" />
508 31beca73 semi
                    <telerik:GridViewDataColumn Header="EndTime" 
509 3bde451b semi
                                                                                        DataMemberBinding="{Binding EndTime, Mode=TwoWay, StringFormat=\{0:yyyy.MM.dd HH:mm:ss\}}" Width="*" />
510 31beca73 semi
                </telerik:RadGridView.Columns>
511
            </telerik:RadGridView>
512
        </telerik:RadExpander>
513
514 3bde451b semi
    </Grid>
515
</UserControl>
클립보드 이미지 추가 (최대 크기: 500 MB)