프로젝트

일반

사용자정보

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

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

이력 | 보기 | 이력해설 | 다운로드 (40 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 95e7bd84 semi
        <Style TargetType="{x:Type telerik:GridViewCell}" x:Key="OriginalFileGridViewCell">
29
            <Setter Property="HorizontalContentAlignment" Value="Left"/>
30
        </Style>
31 3bde451b semi
        <Style TargetType="{x:Type controls:RowIndexColumn}">
32
            <Setter Property="TextAlignment" Value="Center"/>
33
        </Style>
34 2c634aed semi
        <Style TargetType="{x:Type TextBox}">
35
            <Setter Property="Margin" Value="5,5,0,0"/>
36
            <Setter Property="VerticalAlignment" Value="Center"/>
37
            <Setter Property="HorizontalContentAlignment" Value="Left"/>
38
            <Setter Property="Foreground" Value="Black"/>
39
            <Setter Property="Background" Value="Transparent"/>
40
            <Setter Property="BorderBrush" Value="Transparent"/>
41
            <Setter Property="BorderThickness" Value="0"/>
42
            <Setter Property="IsReadOnly" Value="true"/>
43
            <Setter Property="FocusVisualStyle" Value="{x:Null}"/>
44
            <Setter Property="ScrollViewer.PanningMode" Value="VerticalFirst"/>
45
            <Setter Property="Stylus.IsFlicksEnabled" Value="False"/>
46
            <Setter Property="Template">
47
                <Setter.Value>
48
                    <ControlTemplate TargetType="{x:Type TextBox}">
49
                        <Border x:Name="Bd" 
50
                    BorderThickness="{TemplateBinding BorderThickness}" 
51
                    SnapsToDevicePixels="true">
52
                            <ScrollViewer x:Name="PART_ContentHost" BorderThickness="{TemplateBinding BorderThickness}"
53
                    SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}"/>
54
                        </Border>
55
                    </ControlTemplate>
56
                </Setter.Value>
57
            </Setter>
58
        </Style>
59 5feff9f0 semi
60 3bde451b semi
        <VM:FinalPDFViewModel x:Key="FinalPDFViewModel"/>
61
        <DataTemplate x:Key="RowDetailsTemplate">
62
            <local:FinalPDFInfo />
63
        </DataTemplate>
64
    </UserControl.Resources>
65
    <i:Interaction.Triggers>
66
        <i:EventTrigger  EventName="Loaded">
67
            <i:InvokeCommandAction Command="{Binding LoadedCommand}"/>
68
        </i:EventTrigger>
69
        <i:EventTrigger  EventName="Unloaded">
70
            <i:InvokeCommandAction Command="{Binding ClosingCommand}"/>
71
        </i:EventTrigger>
72
    </i:Interaction.Triggers>
73
    <Grid HorizontalAlignment="Stretch" ScrollViewer.HorizontalScrollBarVisibility="Auto" ScrollViewer.VerticalScrollBarVisibility="Auto" VerticalAlignment="Stretch">
74
        <Grid.RowDefinitions>
75
            <RowDefinition Height="Auto"/>
76 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 95e7bd84 semi
        <StackPanel Margin="0,10" Orientation="Horizontal" HorizontalAlignment="Right" Grid.Row="0">
83 3bde451b semi
            <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
        </StackPanel>
91 31beca73 semi
92
93
        <Grid Grid.Row="1">
94
            <Grid.Style>
95
                <Style>
96
                    <Setter Property="TextBlock.Margin" Value="20,0,0,0"/>
97
                </Style>
98
            </Grid.Style>
99 3bde451b semi
            <Grid.RowDefinitions>
100 31beca73 semi
                <RowDefinition />
101
                <RowDefinition />
102 3bde451b semi
            </Grid.RowDefinitions>
103
            <Grid Grid.Row="0">
104
                <Grid.RowDefinitions>
105 95e7bd84 semi
                    <RowDefinition Height="10"/>
106 3bde451b semi
                    <RowDefinition />
107 95e7bd84 semi
                    <RowDefinition Height="10"/>
108 3bde451b semi
                    <RowDefinition />
109 95e7bd84 semi
                    <RowDefinition Height="10" />
110 31beca73 semi
                    <RowDefinition />
111 95e7bd84 semi
                    <RowDefinition Height="10" />
112 3bde451b semi
                </Grid.RowDefinitions>
113 31beca73 semi
                <Grid.ColumnDefinitions>
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
                    <ColumnDefinition Width="10"/>
123
                    <ColumnDefinition Width="Auto"/>
124
                    <ColumnDefinition Width="*"/>
125
                </Grid.ColumnDefinitions>
126 95e7bd84 semi
                <TextBlock Text="Project NO  " Grid.Row="1" Grid.Column="0" VerticalAlignment="Center" HorizontalAlignment="Left"/>
127
                <telerik:RadComboBox Grid.Row="1" Grid.Column="1" HorizontalAlignment="Stretch"
128 037ab674 semi
                                         DisplayMemberPath="Project_NOAndProject_Name"
129
                                         ItemsSource="{Binding ProjectNames}" 
130
                                         SelectedItem="{Binding ProjectNumberFilter}"
131
                                         AllowMultipleSelection="False"
132 aaed7be2 semi
                                         EmptyText="Project_NO : Project_Name" Height="22" VerticalAlignment="Top"/>
133 3bde451b semi
134 95e7bd84 semi
                <TextBlock Text="Document ID  " Grid.Row="1" Grid.Column="3" VerticalAlignment="Center" HorizontalAlignment="Left"/>
135 31beca73 semi
                <telerik:RadMaskedTextInput IsClearButtonVisible="True"  EmptyContent="DocumentID" Value="{Binding DocumentIDFilter, UpdateSourceTrigger=PropertyChanged, Mode=TwoWay}"
136 95e7bd84 semi
                                                        TextMode="PlainText" Grid.Row="1" Grid.Column="4" HorizontalAlignment="Stretch" VerticalAlignment="Center" Margin="2,0"
137 aaed7be2 semi
                                                maskedInput:MaskedInputExtensions.MaxTextLength="1000" Mask="" AcceptsReturn="False">
138
                    <telerik:RadMaskedTextInput.InputBindings>
139
                        <KeyBinding Key="Enter" Command="{Binding EnterCommand, UpdateSourceTrigger=PropertyChanged}" />
140
                    </telerik:RadMaskedTextInput.InputBindings>
141
                </telerik:RadMaskedTextInput>
142 3bde451b semi
143 95e7bd84 semi
                <TextBlock Text="MarkupInfo ID  " Grid.Row="1" Grid.Column="6"   VerticalAlignment="Center" HorizontalAlignment="Left"/>
144 31beca73 semi
                <telerik:RadMaskedTextInput IsClearButtonVisible="True" EmptyContent="MarkupInfo ID " Value="{Binding MarkupInfo_IDFilter, UpdateSourceTrigger=PropertyChanged, Mode=TwoWay}"
145 95e7bd84 semi
                                                        TextMode="PlainText" Grid.Row="1" Grid.Column="7" HorizontalAlignment="Stretch" VerticalAlignment="Center" Margin="2,0"
146 aaed7be2 semi
                                                maskedInput:MaskedInputExtensions.MaxTextLength="1000" Mask=""  AcceptsReturn="False">
147
                    <telerik:RadMaskedTextInput.InputBindings>
148
                        <KeyBinding Key="Enter" Command="{Binding EnterCommand, UpdateSourceTrigger=PropertyChanged}" />
149
                    </telerik:RadMaskedTextInput.InputBindings>
150
                </telerik:RadMaskedTextInput>
151 3bde451b semi
152 95e7bd84 semi
                <TextBlock Text="Docuemnt Name  " Grid.Row="3" Grid.Column="0" VerticalAlignment="Center" HorizontalAlignment="Left"/>
153 31beca73 semi
                <telerik:RadMaskedTextInput IsClearButtonVisible="True"  EmptyContent="Docuemnt Name" Value="{Binding Document_NameFilter , UpdateSourceTrigger=PropertyChanged, Mode=TwoWay}"
154 95e7bd84 semi
                               TextMode="PlainText" Grid.Row="3" Grid.Column="1" HorizontalContentAlignment="Stretch"  VerticalAlignment="Bottom" HorizontalAlignment="Stretch" Margin="2,0"
155 aaed7be2 semi
                                                maskedInput:MaskedInputExtensions.MaxTextLength="1000" Mask=""  AcceptsReturn="False">
156
                    <telerik:RadMaskedTextInput.InputBindings>
157
                        <KeyBinding Key="Enter" Command="{Binding EnterCommand, UpdateSourceTrigger=PropertyChanged}" />
158
                    </telerik:RadMaskedTextInput.InputBindings>
159
                </telerik:RadMaskedTextInput>
160 3bde451b semi
161 95e7bd84 semi
                <TextBlock Text="Docuemnt NO  " Grid.Row="3" Grid.Column="3"  VerticalAlignment="Center" HorizontalAlignment="Left"/>
162 31beca73 semi
                <telerik:RadMaskedTextInput IsClearButtonVisible="True" EmptyContent="Docuemnt NO" Value="{Binding Document_NOFilter , UpdateSourceTrigger=PropertyChanged, Mode=TwoWay}"
163 95e7bd84 semi
                           TextMode="PlainText" Grid.Row="3" Grid.Column="4"   HorizontalAlignment="Stretch" VerticalAlignment="Center" Margin="2,0"
164 aaed7be2 semi
                                                maskedInput:MaskedInputExtensions.MaxTextLength="1000" Mask=""  AcceptsReturn="False">
165
                    <telerik:RadMaskedTextInput.InputBindings>
166
                        <KeyBinding Key="Enter" Command="{Binding EnterCommand, UpdateSourceTrigger=PropertyChanged}" />
167
                    </telerik:RadMaskedTextInput.InputBindings>
168
                </telerik:RadMaskedTextInput>
169
                
170 95e7bd84 semi
                <TextBlock Text="CreateUser ID " Grid.Row="3" Grid.Column="6"  VerticalAlignment="Center" HorizontalAlignment="Left"/>
171 31beca73 semi
                <telerik:RadMaskedTextInput IsClearButtonVisible="True"   EmptyContent="CreateUser ID "  Value="{Binding CreateUser_IDFilter, UpdateSourceTrigger=PropertyChanged, Mode=TwoWay}"
172 95e7bd84 semi
                            TextMode="PlainText" Grid.Row="3" Grid.Column="7"  HorizontalAlignment="Stretch" VerticalAlignment="Center" Margin="2,0"
173 aaed7be2 semi
                                                maskedInput:MaskedInputExtensions.MaxTextLength="1000" Mask=""  AcceptsReturn="False">
174
                    <telerik:RadMaskedTextInput.InputBindings>
175
                        <KeyBinding Key="Enter" Command="{Binding EnterCommand, UpdateSourceTrigger=PropertyChanged}" />
176
                    </telerik:RadMaskedTextInput.InputBindings>
177
                </telerik:RadMaskedTextInput>
178
                
179 95e7bd84 semi
                <TextBlock Text="DocInfo ID " Grid.Row="1" Grid.Column="9"  VerticalAlignment="Center" HorizontalAlignment="Left"/>
180 31beca73 semi
                <telerik:RadMaskedTextInput IsClearButtonVisible="True"  EmptyContent="DocInfo ID"  Value="{Binding DOCINFO_IDFilter, UpdateSourceTrigger=PropertyChanged, Mode=TwoWay}"
181 95e7bd84 semi
                         TextMode="PlainText" Grid.Row="1" Grid.Column="10"   HorizontalAlignment="Stretch"   VerticalAlignment="Center" Margin="2,0"
182 aaed7be2 semi
                                                maskedInput:MaskedInputExtensions.MaxTextLength="1000" Mask=""  AcceptsReturn="False">
183
                    <telerik:RadMaskedTextInput.InputBindings>
184
                        <KeyBinding Key="Enter" Command="{Binding EnterCommand, UpdateSourceTrigger=PropertyChanged}" />
185
                    </telerik:RadMaskedTextInput.InputBindings>
186
                </telerik:RadMaskedTextInput>
187
                
188 95e7bd84 semi
                <TextBlock Text="GROUP NO " Grid.Row="3" Grid.Column="9"  VerticalAlignment="Center" HorizontalAlignment="Left"/>
189 31beca73 semi
                <telerik:RadMaskedTextInput IsClearButtonVisible="True"  EmptyContent="GROUP NO"  Value="{Binding GROUP_NOFilter, UpdateSourceTrigger=PropertyChanged, Mode=TwoWay}"
190 95e7bd84 semi
                         TextMode="PlainText" Grid.Row="3" Grid.Column="10"   HorizontalAlignment="Stretch"   VerticalAlignment="Center" Margin="2,0"
191 aaed7be2 semi
                                                maskedInput:MaskedInputExtensions.MaxTextLength="1000" Mask=""  AcceptsReturn="False">
192
                    <telerik:RadMaskedTextInput.InputBindings>
193
                        <KeyBinding Key="Enter" Command="{Binding EnterCommand, UpdateSourceTrigger=PropertyChanged}" />
194
                    </telerik:RadMaskedTextInput.InputBindings>
195
                </telerik:RadMaskedTextInput>
196
                
197 95e7bd84 semi
                <TextBlock Text="REVISION " Grid.Row="5" Grid.Column="0"  VerticalAlignment="Center" HorizontalAlignment="Left"/>
198 31beca73 semi
                <telerik:RadMaskedTextInput IsClearButtonVisible="True"  EmptyContent="REVISION"  Value="{Binding REVISIONFilter, UpdateSourceTrigger=PropertyChanged, Mode=TwoWay}"
199 95e7bd84 semi
                         TextMode="PlainText" Grid.Row="5" Grid.Column="1"   HorizontalAlignment="Stretch"   VerticalAlignment="Center" Margin="2,0"
200 aaed7be2 semi
                                                maskedInput:MaskedInputExtensions.MaxTextLength="1000" Mask=""  AcceptsReturn="False">
201
                    <telerik:RadMaskedTextInput.InputBindings>
202
                        <KeyBinding Key="Enter" Command="{Binding EnterCommand, UpdateSourceTrigger=PropertyChanged}" />
203
                    </telerik:RadMaskedTextInput.InputBindings>
204
                </telerik:RadMaskedTextInput>
205 31beca73 semi
206 95e7bd84 semi
                <TextBlock Text="DOCUMENT_URL " Grid.Row="5" Grid.Column="3"  VerticalAlignment="Center" HorizontalAlignment="Left"/>
207 31beca73 semi
                <telerik:RadMaskedTextInput IsClearButtonVisible="True"  EmptyContent="DOCUMENT_URL"  Value="{Binding Document_URLFilter, UpdateSourceTrigger=PropertyChanged, Mode=TwoWay}"
208 95e7bd84 semi
                         TextMode="PlainText" Grid.Row="5" Grid.Column="4"   HorizontalAlignment="Stretch"   VerticalAlignment="Center" Margin="2,0" Grid.ColumnSpan="7"
209 aaed7be2 semi
                                                maskedInput:MaskedInputExtensions.MaxTextLength="1000" Mask="" AcceptsReturn="False">
210
                    <telerik:RadMaskedTextInput.InputBindings>
211
                        <KeyBinding Key="Enter" Command="{Binding EnterCommand, UpdateSourceTrigger=PropertyChanged}" />
212
                    </telerik:RadMaskedTextInput.InputBindings>
213
                </telerik:RadMaskedTextInput>
214 31beca73 semi
            </Grid>
215
216
            <StackPanel Grid.Row="4" Grid.ColumnSpan="11">
217
                <StackPanel Orientation="Horizontal">
218
                    <TextBlock Text="CreateTime  " VerticalAlignment="Center" Width="102"/>
219
                    <telerik:RadDateTimePicker x:Name="datePicker1" Width="200"
220 3bde451b semi
                                   InputMode="DateTimePicker"  
221
                                   VerticalAlignment="Center"
222
                                   HorizontalAlignment="Stretch"
223
                                   SelectedValue="{Binding SelectedCreateTimeBegin ,Mode=TwoWay,  UpdateSourceTrigger=PropertyChanged }" >
224 31beca73 semi
                    </telerik:RadDateTimePicker>
225
                    <TextBlock Text="  ~  " VerticalAlignment="Center"/>
226
                    <telerik:RadDateTimePicker x:Name="datePicker2"  Width="200"
227 3bde451b semi
                                   InputMode="DateTimePicker"  HorizontalAlignment="Stretch"
228
                                   VerticalAlignment="Center"
229
                                   SelectedValue="{Binding SelectedCreateTimeEnd ,Mode=TwoWay,  UpdateSourceTrigger=PropertyChanged}"
230
                                   Margin="0,1">
231 31beca73 semi
                    </telerik:RadDateTimePicker>
232
                    <Button Content="Clear" Margin="5"  Width="50" Height="20" HorizontalAlignment="Left" Command="{Binding RemoveCreateTimeFilterCommand, Mode=OneWay}"/>
233 037ab674 semi
234
                    <CheckBox IsChecked="{Binding ExcptionCheck, Mode=TwoWay}">Excption is not NULL</CheckBox>
235 3bde451b semi
                </StackPanel>
236
            </StackPanel>
237 31beca73 semi
        </Grid>
238 3bde451b semi
239 31beca73 semi
        <StackPanel Orientation="Horizontal" HorizontalAlignment="Right" Grid.Row="2">
240 f047c8bf semi
            <telerik:RadToggleButton Content=" Document 필터" Command="{Binding DocumentFilterCommand, Mode=OneWay}" Width="100" Margin="0,0,20,0" HorizontalAlignment="Right"/>
241 31beca73 semi
            <telerik:RadToggleButton Content=" Convert 추가" Command="{Binding ConverAddCommand, Mode=OneWay}" Width="100" Margin="0,0,20,0" HorizontalAlignment="Right"/>
242
            <telerik:RadToggleButton Content=" 검색" Command="{Binding DataFilterCommand, Mode=OneWay}" Width="100" Margin="0,0,20,0" HorizontalAlignment="Right"/>
243
            <telerik:RadToggleButton Content=" 초기화" Command="{Binding ResetCommand, Mode=OneWay}" Width="100" Margin="0,0,20,0" HorizontalAlignment="Right"/>
244
        </StackPanel>
245
246
247
        <telerik:RadExpander ExpandDirection="Down"  BorderThickness="0" Grid.Row="3"
248 3bde451b semi
                  ScrollViewer.HorizontalScrollBarVisibility="Auto"  ScrollViewer.VerticalScrollBarVisibility="Auto"  IsExpanded="True" 
249
                             telerik:AnimationManager.IsAnimationEnabled="False" >
250 31beca73 semi
            <telerik:RadExpander.Header>
251
                <Grid>
252
                    <Grid.ColumnDefinitions>
253
                        <ColumnDefinition Width="Auto"/>
254
                        <ColumnDefinition Width="Auto"/>
255
                    </Grid.ColumnDefinitions>
256
                    <TextBlock Text="Final PDF Items : "/>
257
                    <TextBlock Text="{Binding SelectedCount.DisplayMember, StringFormat=\{0:d\}}" Grid.Column="1"/>
258
                </Grid>
259
            </telerik:RadExpander.Header>
260 3bde451b semi
261 31beca73 semi
            <telerik:RadGridView x:Name="dataGrid1"  GroupRenderMode="Flat" VerticalAlignment="Stretch" HorizontalAlignment="Stretch"  
262 3bde451b semi
                                                         ItemsSource="{Binding FilterConvertSourceView}" 
263 9b2f01e1 semi
                             SelectionMode="Extended"
264
                             SelectionUnit="FullRow"
265
                             CanUserSelect ="True"
266 3bde451b semi
                             RowDetailsTemplate="{StaticResource RowDetailsTemplate}"  
267
                                                         AutoGenerateColumns="False"
268
                             ColumnWidth="*" CanUserFreezeColumns="False"
269
                             Grid.Row="1"  ScrollViewer.CanContentScroll="True" IsFilteringAllowed="True"
270
                             LeftFrozenColumnCount="6" 
271
                             RightFrozenColumnCount="0">
272 9b2f01e1 semi
                <i:Interaction.Behaviors>
273
                    <controls:GridViewSelectionUtilities SelectedItems="{Binding SelectFilterConvertList, Source={StaticResource FinalPDFViewModel}}" />
274
                </i:Interaction.Behaviors>
275 31beca73 semi
                <telerik:RadContextMenu.ContextMenu>
276
                    <telerik:RadContextMenu x:Name= "GridContextMenu">
277
                        <telerik:RadMenuItem  Header="Convert"  Command="{Binding ConvertCommand}"/>
278
                        <telerik:RadMenuItem Header="Validation"  Command="{Binding ValidateCommand}"/>
279
                        <telerik:RadMenuItem Header="Delete"  Command="{Binding DeleteCommand}"/>
280
                    </telerik:RadContextMenu>
281
                </telerik:RadContextMenu.ContextMenu>
282
                <telerik:RadGridView.Columns>
283
                    <telerik:GridViewToggleRowDetailsColumn />
284
                    <controls:RowIndexColumn Header="#" Width="30" CellStyle="{StaticResource RowNumberStyle}" />
285 f5ec88b8 semi
286
                    <telerik:GridViewDataColumn Header="Convert ID" 
287
                                                                                        DataMemberBinding="{Binding ConvertID}" Width="*" />
288 31beca73 semi
                    <telerik:GridViewDataColumn x:Name="commend" Header="Markus " Width="0.5*"  CellStyle="{StaticResource StretchCellStyle}">
289
                        <telerik:GridViewDataColumn.CellTemplate>
290
                            <DataTemplate>
291
                                <telerik:RadButton Content="Click" BorderThickness="0"
292 3bde451b semi
                                                   Background="Transparent"
293
                                                   Command="{Binding MarkusLinkCommand, Source={StaticResource FinalPDFViewModel}}" CommandParameter="{Binding DataContext, RelativeSource={RelativeSource Self}}"/>
294 31beca73 semi
                            </DataTemplate>
295
                        </telerik:GridViewDataColumn.CellTemplate>
296
                    </telerik:GridViewDataColumn>
297
                    <telerik:GridViewDataColumn Header="ProjectNO" 
298 3bde451b semi
                                                                                        DataMemberBinding="{Binding ProjectNumber}" Width="*" />
299 31beca73 semi
                    <telerik:GridViewDataColumn Header="DocumentID"
300 3bde451b semi
                                                                                        DataMemberBinding="{Binding DocumentID}" Width="*" />
301 b6bc5408 semi
                    <telerik:GridViewDataColumn Header="ConvertState"
302
                                                                                        DataMemberBinding="{Binding ConvertState}" Width="*" />
303 31beca73 semi
                    <telerik:GridViewDataColumn Header="DocInfoID"
304 3bde451b semi
                                                                                        DataMemberBinding="{Binding DocInfo_ID}" Width="*" />
305 31beca73 semi
                    <telerik:GridViewDataColumn Header="MarkusInfoID"
306
                                                                                        DataMemberBinding="{Binding MarkupInfo_ID}" Width="*" />
307
                    <telerik:GridViewDataColumn Header="Create UserID"
308
                                                                                        DataMemberBinding="{Binding Create_User_ID}" Width="*" />
309
                    <telerik:GridViewDataColumn Header="CurrentPageNo"
310 3bde451b semi
                                                                                        DataMemberBinding="{Binding CurrentPageNo, Mode=TwoWay}" Width="*" />
311 31beca73 semi
                    <telerik:GridViewDataColumn Header="TotalPageNo"
312 3bde451b semi
                                                                                        DataMemberBinding="{Binding TotalPage, Mode=TwoWay}" Width="*"  />
313 95e7bd84 semi
                    <telerik:GridViewDynamicHyperlinkColumn Header="원본파일"  CellStyle="{StaticResource OriginalFileGridViewCell}"
314 3bde451b semi
                                                        NavigateUrlFormatString=" {0}"
315
                                                                                                            NavigateUrlMemberPaths="OriginfilePath"
316
                                                                                                                Width="2*">
317 31beca73 semi
                        <telerik:GridViewDynamicHyperlinkColumn.CellTemplate>
318
                            <DataTemplate>
319 95e7bd84 semi
                                <TextBlock Text="{Binding FileName}" HorizontalAlignment="Left"/>
320 31beca73 semi
                            </DataTemplate>
321
                        </telerik:GridViewDynamicHyperlinkColumn.CellTemplate>
322
                    </telerik:GridViewDynamicHyperlinkColumn>
323 95e7bd84 semi
324
                    <telerik:GridViewDataColumn Header=" ConvertPath" IsReadOnly="True" Width="*" CellStyle="{StaticResource StretchCellStyle}">
325 78683624 semi
                        <telerik:GridViewDataColumn.CellTemplate>
326
                            <DataTemplate>
327 95e7bd84 semi
                                <Grid>
328 f5ec88b8 semi
                                    <Grid.ColumnDefinitions>
329 95e7bd84 semi
                                        <ColumnDefinition/>
330
                                        <ColumnDefinition Width="Auto"/>
331
                                    </Grid.ColumnDefinitions>
332 f5ec88b8 semi
                                    <TextBox TextAlignment="Left" Text="{Binding ConvertPath}" Background="Transparent" BorderBrush="Transparent" BorderThickness="0" Foreground="Black"/>
333
                                    <telerik:RadButton Background="Transparent" BorderBrush="Transparent" BorderThickness="0" Foreground="Black" Grid.Column="1"
334 95e7bd84 semi
                                                   Command="{Binding FinalPDFPathFileSearchCommand, Source={StaticResource FinalPDFViewModel}}" CommandParameter="{Binding DataContext, RelativeSource={RelativeSource Self}}">
335
                                        <Image Source="/Markus.Service.StationController;component/Resources/File_Search_Icon.png"  Stretch="None" />
336 78683624 semi
                                    </telerik:RadButton>
337 95e7bd84 semi
                                </Grid>
338 78683624 semi
                            </DataTemplate>
339
                        </telerik:GridViewDataColumn.CellTemplate>
340
                    </telerik:GridViewDataColumn>
341 31beca73 semi
                    <telerik:GridViewDataColumn Header="CreateTime" 
342 2c634aed semi
                                                                                        DataMemberBinding="{Binding CreateTime, Mode=TwoWay, StringFormat=\{0:yyyy.MM.dd HH:mm:ss\}}" Width="*"  />
343 f5ec88b8 semi
                    <telerik:GridViewDataColumn Header="StartTime" IsReadOnly="True"   Background="Transparent" 
344
                                                                                        DataMemberBinding="{Binding StartTime, Mode=TwoWay, StringFormat=\{0:yyyy.MM.dd HH:mm:ss\}}" Width="*" />
345
                    <telerik:GridViewDataColumn Header="EndTime" IsReadOnly="True"   Background="Transparent" 
346
                                                                                        DataMemberBinding="{Binding EndTime, Mode=TwoWay, StringFormat=\{0:yyyy.MM.dd HH:mm:ss\}}" Width="*" />
347 95e7bd84 semi
                    <telerik:GridViewDataColumn Header="TotalTime" IsReadOnly="True"   Background="Transparent" 
348
                                                                                        DataMemberBinding="{Binding TotalTime, Mode=TwoWay, StringFormat=\{0:yyyy.MM.dd HH:mm:ss\}}" Width="*" />
349 31beca73 semi
                </telerik:RadGridView.Columns>
350
            </telerik:RadGridView>
351
        </telerik:RadExpander>
352 3bde451b semi
353 31beca73 semi
        <telerik:RadExpander Grid.Row="4" ExpandDirection="Down" BorderThickness="0"
354 3bde451b semi
                  ScrollViewer.HorizontalScrollBarVisibility="Auto" ScrollViewer.VerticalScrollBarVisibility="Auto"
355
                             telerik:AnimationManager.IsAnimationEnabled="False" IsExpanded ="{Binding ConvertShow, Mode=TwoWay}">
356 31beca73 semi
            <telerik:RadExpander.Header>
357
                <Grid>
358
                    <Grid.ColumnDefinitions>
359
                        <ColumnDefinition Width="Auto"/>
360
                        <ColumnDefinition Width="Auto"/>
361
                    </Grid.ColumnDefinitions>
362
                    <TextBlock Text="Real FinalPDF Items : "/>
363
                    <TextBlock Text="{Binding RealConvertSource.Count, StringFormat=\{0:d\}}" Grid.Column="1"/>
364
                </Grid>
365
            </telerik:RadExpander.Header>
366
            <telerik:RadGridView Name="dataGrid2" GroupRenderMode="Flat" VerticalAlignment="Stretch" HorizontalAlignment="Stretch"
367 3bde451b semi
                                                         ItemsSource="{Binding RealConvertSource}"
368
                             SelectedItem="{Binding SelectRealConvert, Mode=TwoWay}"
369
                             RowDetailsTemplate="{StaticResource RowDetailsTemplate}"
370
                                                         AutoGenerateColumns="False" CanUserFreezeColumns="False"
371
                             ColumnWidth="*"
372
                             Grid.Row="1"  ScrollViewer.CanContentScroll="False" IsFilteringAllowed="True">
373 31beca73 semi
                <telerik:RadContextMenu.ContextMenu>
374
                    <telerik:RadContextMenu>
375 29cd086e semi
                        <telerik:RadMenuItem  Header="Convert"  Command="{Binding ConvertCommand}" CommandParameter="{Binding SelectRealConvert}"/>
376
                        <telerik:RadMenuItem Header="Validation"  Command="{Binding ValidateCommand}" CommandParameter="{Binding SelectRealConvert}"/>
377
                        <telerik:RadMenuItem Header="Delete"  Command="{Binding DeleteCommand}" CommandParameter="{Binding SelectRealConvert}"/>
378
                        <telerik:RadMenuItem Header="Stop Process"  Command="{Binding Stop_ProcessCommand}" CommandParameter="{Binding SelectRealConvert}" />
379 31beca73 semi
                    </telerik:RadContextMenu>
380
                </telerik:RadContextMenu.ContextMenu>
381
                <telerik:RadGridView.Columns>
382
                    <telerik:GridViewToggleRowDetailsColumn />
383
                    <controls:RowIndexColumn Header="#" Width="30" CellStyle="{StaticResource RowNumberStyle}" />
384 3bde451b semi
385 f5ec88b8 semi
                    <telerik:GridViewDataColumn Header="Convert ID" 
386
                                                                                        DataMemberBinding="{Binding ConvertID}" Width="*" />
387 3bde451b semi
388 31beca73 semi
                    <telerik:GridViewDataColumn Header="Markus " Width="0.5*" CellStyle="{StaticResource StretchCellStyle}">
389
                        <telerik:GridViewDataColumn.CellTemplate>
390
                            <DataTemplate>
391
                                <telerik:RadButton Content="Click "  BorderThickness="0" Background="Transparent"
392 3bde451b semi
                                                   Command="{Binding MarkusLinkCommand, Source={StaticResource FinalPDFViewModel}}" CommandParameter="{Binding DataContext, RelativeSource={RelativeSource Self}}"/>
393 31beca73 semi
                            </DataTemplate>
394
                        </telerik:GridViewDataColumn.CellTemplate>
395
                    </telerik:GridViewDataColumn>
396
                    <telerik:GridViewDataColumn Header="ProjectNO" 
397 3bde451b semi
                                                                                        DataMemberBinding="{Binding ProjectNumber}" Width="*" />
398 31beca73 semi
                    <telerik:GridViewDataColumn Header="DocumentID"
399 3bde451b semi
                                                                                        DataMemberBinding="{Binding DocumentID}" Width="*" />
400 b6bc5408 semi
                    <telerik:GridViewDataColumn Header="ConvertState"
401
                                                                                        DataMemberBinding="{Binding ConvertState}" Width="*" />
402 31beca73 semi
                    <telerik:GridViewDataColumn Header="DocInfoID"
403 3bde451b semi
                                                                                        DataMemberBinding="{Binding DocInfo_ID}" Width="*" />
404 31beca73 semi
                    <telerik:GridViewDataColumn Header="MarkusInfoID"
405
                                                                                        DataMemberBinding="{Binding MarkupInfo_ID}" Width="*" />
406
                    <telerik:GridViewDataColumn Header="Create UserID"
407
                                                                                        DataMemberBinding="{Binding Create_User_ID}" Width="*" />
408
                    <telerik:GridViewDataColumn Header="CurrentPageNo"
409 3bde451b semi
                                                                                        DataMemberBinding="{Binding CurrentPageNo, Mode=TwoWay}" Width="*" />
410 31beca73 semi
                    <telerik:GridViewDataColumn Header="TotalPageNo"
411 3bde451b semi
                                                                                        DataMemberBinding="{Binding TotalPage, Mode=TwoWay}" Width="*"  />
412 95e7bd84 semi
                    <telerik:GridViewDynamicHyperlinkColumn Header="원본파일"  CellStyle="{StaticResource OriginalFileGridViewCell}"
413 3bde451b semi
                                                        NavigateUrlFormatString=" {0}"
414
                                                                                                            NavigateUrlMemberPaths="OriginfilePath"
415
                                                                                                                Width="2*">
416 31beca73 semi
                        <telerik:GridViewDynamicHyperlinkColumn.CellTemplate>
417
                            <DataTemplate>
418 95e7bd84 semi
                                <TextBlock Text="{Binding FileName}" HorizontalAlignment="Left" />
419 31beca73 semi
                            </DataTemplate>
420
                        </telerik:GridViewDynamicHyperlinkColumn.CellTemplate>
421
                    </telerik:GridViewDynamicHyperlinkColumn>
422 95e7bd84 semi
423
                    <telerik:GridViewDataColumn Header=" ConvertPath" IsReadOnly="True" Width="*" CellStyle="{StaticResource StretchCellStyle}">
424 037ab674 semi
                        <telerik:GridViewDataColumn.CellTemplate>
425
                            <DataTemplate>
426 95e7bd84 semi
                                <Grid>
427 f5ec88b8 semi
                                    <Grid.ColumnDefinitions>
428 95e7bd84 semi
                                        <ColumnDefinition/>
429
                                        <ColumnDefinition Width="Auto"/>
430
                                    </Grid.ColumnDefinitions>
431 f5ec88b8 semi
                                    <TextBox TextAlignment="Left" Text="{Binding ConvertPath}" Background="Transparent" BorderBrush="Transparent" BorderThickness="0" Foreground="Black"/>
432
                                    <telerik:RadButton Background="Transparent" BorderBrush="Transparent" BorderThickness="0" Foreground="Black" Grid.Column="1"
433 95e7bd84 semi
                                                   Command="{Binding FinalPDFPathFileSearchCommand, Source={StaticResource FinalPDFViewModel}}" CommandParameter="{Binding DataContext, RelativeSource={RelativeSource Self}}">
434
                                        <Image Source="/Markus.Service.StationController;component/Resources/File_Search_Icon.png"  Stretch="None" />
435 037ab674 semi
                                    </telerik:RadButton>
436 95e7bd84 semi
                                </Grid>
437 037ab674 semi
                            </DataTemplate>
438
                        </telerik:GridViewDataColumn.CellTemplate>
439
                    </telerik:GridViewDataColumn>
440 95e7bd84 semi
441 31beca73 semi
                    <telerik:GridViewDataColumn Header="CreateTime" 
442 3bde451b semi
                                                                                        DataMemberBinding="{Binding CreateTime, Mode=TwoWay, StringFormat=\{0:yyyy.MM.dd HH:mm:ss\}}" Width="*" />
443 f5ec88b8 semi
                    <telerik:GridViewDataColumn Header="StartTime" IsReadOnly="True"   Background="Transparent" 
444
                                                                                        DataMemberBinding="{Binding StartTime, Mode=TwoWay, StringFormat=\{0:yyyy.MM.dd HH:mm:ss\}}" Width="*" />
445
                    <telerik:GridViewDataColumn Header="EndTime" IsReadOnly="True"   Background="Transparent" 
446
                                                                                        DataMemberBinding="{Binding EndTime, Mode=TwoWay, StringFormat=\{0:yyyy.MM.dd HH:mm:ss\}}" Width="*" />
447 95e7bd84 semi
                    <telerik:GridViewDataColumn Header="TotalTime" IsReadOnly="True"   Background="Transparent" 
448
                                                                                        DataMemberBinding="{Binding TotalTime, Mode=TwoWay, StringFormat=\{0:yyyy.MM.dd HH:mm:ss\}}" Width="*" />
449 31beca73 semi
                </telerik:RadGridView.Columns>
450
            </telerik:RadGridView>
451
        </telerik:RadExpander>
452 3bde451b semi
453 2f07b70a semi
        <telerik:RadExpander Grid.Row="5" ExpandDirection="Down" BorderThickness="0"  VerticalAlignment="Stretch" Margin="0,0,0,10"
454 31beca73 semi
                  ScrollViewer.HorizontalScrollBarVisibility="Auto" ScrollViewer.VerticalScrollBarVisibility="Auto" 
455 cb806a91 semi
                             telerik:AnimationManager.IsAnimationEnabled="False"  IsExpanded ="{Binding AliveShow, Mode=TwoWay}">
456 31beca73 semi
            <telerik:RadExpander.Header>
457
                <Grid>
458
                    <Grid.ColumnDefinitions>
459
                        <ColumnDefinition Width="Auto"/>
460
                        <ColumnDefinition Width="Auto"/>
461
                    </Grid.ColumnDefinitions>
462
                    <TextBlock Text="Alive FinalPDF Items : " Grid.RowSpan="2"/>
463
                    <TextBlock Text="{Binding AliveItems.Count, StringFormat=\{0:d\}}" Grid.Column="1" Grid.RowSpan="2"/>
464
                </Grid>
465
            </telerik:RadExpander.Header>
466
            <telerik:RadGridView GroupRenderMode="Flat" VerticalAlignment="Stretch" HorizontalAlignment="Stretch"
467 3bde451b semi
                                                         ItemsSource="{Binding AliveItems}"
468
                             SelectedItem="{Binding SelectAliveConvert, Mode=TwoWay}"
469
                                                         AutoGenerateColumns="False" CanUserFreezeColumns="False" RowDetailsTemplate="{StaticResource RowDetailsTemplate}"
470
                             ColumnWidth="*"  ScrollViewer.CanContentScroll="False" IsFilteringAllowed="True" Grid.Row="1" >
471 f5ec88b8 semi
                <telerik:RadContextMenu.ContextMenu>
472
                    <telerik:RadContextMenu>
473 29cd086e semi
                        <telerik:RadMenuItem Header="Stop Process"  Command="{Binding Stop_ProcessCommand}" CommandParameter="{Binding SelectAliveConvert}"/>
474 f5ec88b8 semi
                    </telerik:RadContextMenu>
475
                </telerik:RadContextMenu.ContextMenu>
476 31beca73 semi
                <telerik:RadGridView.Columns>
477
                    <telerik:GridViewToggleRowDetailsColumn />
478
                    <controls:RowIndexColumn Header="#" Width="30" CellStyle="{StaticResource RowNumberStyle}" />
479 3bde451b semi
480 f5ec88b8 semi
                    <telerik:GridViewDataColumn Header="Convert ID" 
481
                                                                                        DataMemberBinding="{Binding ConvertID}" Width="*" />
482 3bde451b semi
483 31beca73 semi
                    <telerik:GridViewDataColumn Header="Markus " Width="0.5*" CellStyle="{StaticResource StretchCellStyle}">
484
                        <telerik:GridViewDataColumn.CellTemplate>
485
                            <DataTemplate>
486
                                <telerik:RadButton Content="Click "  BorderThickness="0" Background="Transparent"
487 3bde451b semi
                                                   Command="{Binding MarkusLinkCommand, Source={StaticResource FinalPDFViewModel}}" CommandParameter="{Binding DataContext, RelativeSource={RelativeSource Self}}"/>
488 31beca73 semi
                            </DataTemplate>
489
                        </telerik:GridViewDataColumn.CellTemplate>
490
                    </telerik:GridViewDataColumn>
491
                    <telerik:GridViewDataColumn Header="ProjectNO" 
492 3bde451b semi
                                                                                        DataMemberBinding="{Binding ProjectNumber}" Width="*" />
493 31beca73 semi
                    <telerik:GridViewDataColumn Header="DocumentID"
494 3bde451b semi
                                                                                        DataMemberBinding="{Binding DocumentID}" Width="*" />
495 b6bc5408 semi
                    <telerik:GridViewDataColumn Header="ConvertState"
496
                                                                                        DataMemberBinding="{Binding ConvertState}" Width="*" />
497 31beca73 semi
                    <telerik:GridViewDataColumn Header="DocInfoID"
498 3bde451b semi
                                                                                        DataMemberBinding="{Binding DocInfo_ID}" Width="*" />
499 31beca73 semi
                    <telerik:GridViewDataColumn Header="MarkusInfoID"
500
                                                                                        DataMemberBinding="{Binding MarkupInfo_ID}" Width="*" />
501
                    <telerik:GridViewDataColumn Header="Create UserID"
502
                                                                                        DataMemberBinding="{Binding Create_User_ID}" Width="*" />
503
                    <telerik:GridViewDataColumn Header="CurrentPageNo"
504 3bde451b semi
                                                                                        DataMemberBinding="{Binding CurrentPageNo, Mode=TwoWay}" Width="*" />
505 31beca73 semi
                    <telerik:GridViewDataColumn Header="TotalPageNo"
506 3bde451b semi
                                                                                        DataMemberBinding="{Binding TotalPage, Mode=TwoWay}" Width="*"  />
507 95e7bd84 semi
                    <telerik:GridViewDynamicHyperlinkColumn Header="원본파일"  CellStyle="{StaticResource OriginalFileGridViewCell}"
508 3bde451b semi
                                                        NavigateUrlFormatString=" {0}"
509
                                                                                                            NavigateUrlMemberPaths="OriginfilePath"
510
                                                                                                                Width="2*">
511 31beca73 semi
                        <telerik:GridViewDynamicHyperlinkColumn.CellTemplate>
512
                            <DataTemplate>
513 95e7bd84 semi
                                <TextBlock Text="{Binding FileName}" HorizontalAlignment="Left"/>
514 31beca73 semi
                            </DataTemplate>
515
                        </telerik:GridViewDynamicHyperlinkColumn.CellTemplate>
516
                    </telerik:GridViewDynamicHyperlinkColumn>
517 95e7bd84 semi
                    
518
                    <telerik:GridViewDataColumn Header=" ConvertPath" IsReadOnly="True" Width="*" CellStyle="{StaticResource StretchCellStyle}">
519 037ab674 semi
                        <telerik:GridViewDataColumn.CellTemplate>
520
                            <DataTemplate>
521 95e7bd84 semi
                                <Grid>
522 f5ec88b8 semi
                                    <Grid.ColumnDefinitions>
523 95e7bd84 semi
                                        <ColumnDefinition/>
524
                                        <ColumnDefinition Width="Auto"/>
525
                                    </Grid.ColumnDefinitions>
526 f5ec88b8 semi
                                    <TextBox TextAlignment="Left" Text="{Binding ConvertPath}" Background="Transparent" BorderBrush="Transparent" BorderThickness="0" Foreground="Black"/>
527
                                    <telerik:RadButton Grid.Column="1" Background="Transparent" BorderBrush="Transparent" BorderThickness="0" Foreground="Black" 
528 95e7bd84 semi
                                                   Command="{Binding FinalPDFPathFileSearchCommand, Source={StaticResource FinalPDFViewModel}}" CommandParameter="{Binding DataContext, RelativeSource={RelativeSource Self}}">
529
                                        <Image Source="/Markus.Service.StationController;component/Resources/File_Search_Icon.png"  Stretch="None" />
530 037ab674 semi
                                    </telerik:RadButton>
531 95e7bd84 semi
                                </Grid>
532 037ab674 semi
                            </DataTemplate>
533
                        </telerik:GridViewDataColumn.CellTemplate>
534
                    </telerik:GridViewDataColumn>
535 95e7bd84 semi
536 31beca73 semi
                    <telerik:GridViewDataColumn Header="CreateTime" 
537 3bde451b semi
                                                                                        DataMemberBinding="{Binding CreateTime, Mode=TwoWay, StringFormat=\{0:yyyy.MM.dd HH:mm:ss\}}" Width="*" />
538 f5ec88b8 semi
                    <telerik:GridViewDataColumn Header="StartTime" IsReadOnly="True"   Background="Transparent" 
539
                                                                                        DataMemberBinding="{Binding StartTime, Mode=TwoWay, StringFormat=\{0:yyyy.MM.dd HH:mm:ss\}}" Width="*" />
540
                    <telerik:GridViewDataColumn Header="EndTime" IsReadOnly="True"   Background="Transparent" 
541
                                                                                        DataMemberBinding="{Binding EndTime, Mode=TwoWay, StringFormat=\{0:yyyy.MM.dd HH:mm:ss\}}" Width="*" />
542 95e7bd84 semi
                    <telerik:GridViewDataColumn Header="TotalTime" IsReadOnly="True"   Background="Transparent" 
543
                                                                                        DataMemberBinding="{Binding TotalTime, Mode=TwoWay, StringFormat=\{0:yyyy.MM.dd HH:mm:ss\}}" Width="*" />
544 31beca73 semi
                </telerik:RadGridView.Columns>
545
            </telerik:RadGridView>
546
        </telerik:RadExpander>
547
548 3bde451b semi
    </Grid>
549
</UserControl>
클립보드 이미지 추가 (최대 크기: 500 MB)