프로젝트

일반

사용자정보

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

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

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