프로젝트

일반

사용자정보

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

markus / ConvertService / ServiceBase / Markus.Service.StationController / Views / DataBaseView.xaml @ c68259ac

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

1
<UserControl
2
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
3
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
4
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
5
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
6
             xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation"
7
             xmlns:controls="clr-namespace:Markus.Service.StationController.Controls"
8
             xmlns:VM="clr-namespace:Markus.Service.StationController.ViewModel"
9
             xmlns:Data="clr-namespace:Markus.Service.StationController.Data"  
10
             xmlns:i="clr-namespace:System.Windows.Interactivity;assembly=System.Windows.Interactivity"
11
             xmlns:local="clr-namespace:Markus.Service.StationController.Views" x:Class="Markus.Service.StationController.Views.DataBaseView"
12
             mc:Ignorable="d"  Background="White" DataContext="{DynamicResource DataBaseItemsModel}" d:DesignHeight="450" d:DesignWidth="1000">
13
    <UserControl.Resources>
14
        <Style TargetType="telerik:GridViewCell" x:Key="StretchCellStyle">
15
            <Setter Property="Margin" Value="0"/>
16
            <Setter Property="Padding" Value="0"/>
17
            <Setter Property="VerticalContentAlignment" Value="Stretch"/>
18
            <Setter Property="HorizontalContentAlignment" Value="Stretch"/>
19
        </Style>
20
        <Style TargetType="{x:Type telerik:GridViewHeaderCell}">
21
            <Setter Property="HorizontalContentAlignment" Value="Center"/>
22
            <Setter Property="Background" Value="Gray"/>
23
        </Style>
24
        <Style TargetType="{x:Type telerik:GridViewCell}">
25
            <Setter Property="HorizontalContentAlignment" Value="Center"/>
26
        </Style>
27
        <Style TargetType="{x:Type telerik:GridViewCell}" x:Key="OriginalFileGridViewCell">
28
            <Setter Property="HorizontalContentAlignment" Value="Left"/>
29
        </Style>
30
        <Style TargetType="{x:Type controls:RowIndexColumn}">
31
            <Setter Property="TextAlignment" Value="Center"/>
32
        </Style>
33
        <Style TargetType="{x:Type TextBox}">
34
            <Setter Property="Margin" Value="5,5,0,0"/>
35
            <Setter Property="VerticalAlignment" Value="Center"/>
36
            <Setter Property="VerticalContentAlignment" Value="Center"/>
37
            <Setter Property="HorizontalContentAlignment" Value="Stretch"/>
38
            <Setter Property="HorizontalAlignment" Value="Stretch"/>
39
            <Setter Property="Foreground" Value="Black"/>
40
            <Setter Property="Background" Value="Transparent"/>
41
            <Setter Property="BorderBrush" Value="Transparent"/>
42
            <Setter Property="BorderThickness" Value="0"/>
43
            <Setter Property="IsReadOnly" Value="true"/>
44
            <Setter Property="FocusVisualStyle" Value="{x:Null}"/>
45
            <Setter Property="ScrollViewer.PanningMode" Value="VerticalFirst"/>
46
            <Setter Property="Stylus.IsFlicksEnabled" Value="False"/>
47
            <Setter Property="TextBlock.HorizontalAlignment" Value="Stretch"/>
48
            <Setter Property="Template">
49
                <Setter.Value>
50
                    <ControlTemplate TargetType="{x:Type TextBox}" >
51
                        <Border x:Name="Bd" 
52
                    BorderThickness="{TemplateBinding BorderThickness}" 
53
                    SnapsToDevicePixels="true">
54
                            <ScrollViewer x:Name="PART_ContentHost" BorderThickness="{TemplateBinding BorderThickness}" 
55
                    SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}"/>
56
                        </Border>
57
                    </ControlTemplate>
58
                </Setter.Value>
59
            </Setter>
60
        </Style>
61
        <VM:DataBaseItemsModel x:Key="DataBaseItemsModel"/>
62
        <DataTemplate x:Key="RowDetailsTemplate">
63
            <local:DataBaseViewInfo />
64
        </DataTemplate>
65
    </UserControl.Resources>
66
    <i:Interaction.Triggers>
67
        <i:EventTrigger  EventName="Loaded">
68
            <i:InvokeCommandAction Command="{Binding LoadedCommand}"/>
69
        </i:EventTrigger>
70
        <i:EventTrigger  EventName="Unloaded">
71
            <i:InvokeCommandAction Command="{Binding ClosingCommand}"/>
72
        </i:EventTrigger>
73
    </i:Interaction.Triggers>
74
    <Grid HorizontalAlignment="Stretch" ScrollViewer.HorizontalScrollBarVisibility="Auto" ScrollViewer.VerticalScrollBarVisibility="Auto" VerticalAlignment="top" >
75
        <Grid.RowDefinitions>
76
            <RowDefinition Height="Auto"/>
77
            <RowDefinition Height="Auto"/>
78
            <RowDefinition Height="*"/>
79
            <RowDefinition Height="Auto"/>
80
            <RowDefinition Height="Auto"/>
81
        </Grid.RowDefinitions>
82
        <StackPanel Margin="0,10" Orientation="Horizontal" HorizontalAlignment="Right" Grid.Row="0" >
83
            <TextBlock Text="Display Count : " VerticalAlignment="Center"/>
84
            <telerik:RadComboBox Width="100" SelectedItem="{Binding SelectedCount, Mode=TwoWay}" Margin="0,0,10,0" SelectedValuePath="DisplayMember"
85
                  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="{Binding SelectedInt, Mode=TwoWay}"
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
        <StackPanel Orientation="Vertical" Grid.Row="1">
92
            <controls:DatabaseFilter ProjectNo="{Binding ProjectNumberFilter,Mode=TwoWay}" UniqueKey="{Binding UniqueKeyFilter,Mode=TwoWay}" Service_ID="{Binding Service_IDFilter, Mode=TwoWay}"
93
                                             Docuemnt_Name="{Binding Document_NameFilter, Mode=TwoWay}" Docuemnt_NO="{Binding Docuemnt_NOFilter, Mode=TwoWay}" Reconverter="{Binding ReconverterFilter, Mode=TwoWay}"
94
                                             Revision="{Binding RevisionFilter, Mode=TwoWay}" GroupNO="{Binding GroupNOFilter, Mode=TwoWay}" Document_URL="{Binding DOCUMENT_URLFilter, Mode=TwoWay}"/>
95
            <StackPanel Orientation="Horizontal" HorizontalAlignment="Right">
96
                <telerik:RadToggleButton Content=" Convert 추가" Command="{Binding ConvertAddCommand, Mode=OneWay}" Width="100" Margin="0,0,20,0" HorizontalAlignment="Right"/>
97
                <telerik:RadToggleButton Content=" 검색" Command="{Binding DataFilterCommand, Mode=OneWay}" Width="100" Margin="0,0,20,0" HorizontalAlignment="Right"/>
98
                <telerik:RadToggleButton Content=" 초기화" Command="{Binding ResetCommand, Mode=OneWay}" Width="100" Margin="0,0,20,0" HorizontalAlignment="Right"/>
99
            </StackPanel>
100
        </StackPanel>
101

    
102
        <telerik:RadExpander ExpandDirection="Down"  BorderThickness="0" Grid.Row="2"
103
                  ScrollViewer.HorizontalScrollBarVisibility="Auto"  ScrollViewer.VerticalScrollBarVisibility="Auto"  IsExpanded="True"
104
                             telerik:AnimationManager.IsAnimationEnabled="False" >
105
            <telerik:RadExpander.Header>
106
                <Grid>
107
                    <Grid.ColumnDefinitions>
108
                        <ColumnDefinition Width="Auto"/>
109
                        <ColumnDefinition Width="Auto"/>
110
                    </Grid.ColumnDefinitions>
111
                    <TextBlock Text="DataBase Items : "/>
112
                    <TextBlock Text="{Binding FilterConvertSource.Count, StringFormat=\{0:d\}}" Grid.Column="1"/>
113
                </Grid>
114
            </telerik:RadExpander.Header>
115

    
116
            <telerik:RadGridView x:Name="dataGrid1"  GroupRenderMode="Flat" VerticalAlignment="Stretch" HorizontalAlignment="Stretch"  
117
                                                         ItemsSource="{Binding FilterConvertSourceView}" 
118
                             SelectionMode="Extended"
119
                             SelectionUnit="FullRow"
120
                             CanUserSelect ="True"
121
                             RowDetailsTemplate="{StaticResource RowDetailsTemplate}"  
122
                                                         AutoGenerateColumns="False" 
123
                             ColumnWidth="*" CanUserFreezeColumns="False"
124
                             Grid.Row="1"  ScrollViewer.CanContentScroll="True" IsFilteringAllowed="True"
125
                             LeftFrozenColumnCount="6" 
126
                             RightFrozenColumnCount="0">
127
                <i:Interaction.Behaviors>
128
                    <controls:GridViewSelectionUtilities SelectedItems="{Binding SelectFilterConvertList, Source={StaticResource DataBaseItemsModel}}" />
129
                </i:Interaction.Behaviors>
130
                <telerik:RadContextMenu.ContextMenu>
131
                    <telerik:RadContextMenu x:Name= "GridContextMenu">
132
                        <telerik:RadMenuItem  Header="Convert"  Command="{Binding ConvertCommand}"/>
133
                        <telerik:RadMenuItem Header="Validation"  Command="{Binding ValidateCommand}"/>
134
                        <telerik:RadMenuItem Header="Delete"  Command="{Binding DeleteCommand}"/>
135
                    </telerik:RadContextMenu>
136
                </telerik:RadContextMenu.ContextMenu>
137
                <telerik:RadGridView.Columns>
138
                    <telerik:GridViewToggleRowDetailsColumn />
139
                    <controls:RowIndexColumn Header="#" Width="30" CellStyle="{StaticResource RowNumberStyle}" />
140
                    <telerik:GridViewDataColumn Header="Convert ID" 
141
                                                                                        DataMemberBinding="{Binding ConvertID}" Width="*" />
142
                    <telerik:GridViewDataColumn x:Name="commend" Header="Markus " Width="0.5*"  >
143
                        <telerik:GridViewDataColumn.CellTemplate>
144
                            <DataTemplate>
145
                                <telerik:RadButton Content="Click" BorderThickness="0"
146
                                                   Background="Transparent"
147
                                                   Command="{Binding MarkusLinkCommand, Source={StaticResource DataBaseItemsModel}}" CommandParameter="{Binding DataContext, RelativeSource={RelativeSource Self}}"/>
148
                            </DataTemplate>
149
                        </telerik:GridViewDataColumn.CellTemplate>
150
                    </telerik:GridViewDataColumn>
151
                    
152
                    <telerik:GridViewDataColumn Header="ProjectNO" 
153
                                                                                        DataMemberBinding="{Binding ProjectNumber}" Width="*" />
154
                    <telerik:GridViewDataColumn Header="CurrentPageNo" 
155
                                                                                        DataMemberBinding="{Binding CurrentPageNo, Mode=TwoWay}" Width="*" />
156
                    <telerik:GridViewDataColumn Header="TotalPageNo" 
157
                                                                                        DataMemberBinding="{Binding TotalPage, Mode=TwoWay}" Width="*"  />
158
                    <telerik:GridViewDynamicHyperlinkColumn Header="원본파일" CellStyle="{StaticResource OriginalFileGridViewCell}"
159
                                                        NavigateUrlFormatString=" {0}"
160
                                                                                                            NavigateUrlMemberPaths="OriginfilePath"
161
                                                                                                                Width="2*">
162
                        <telerik:GridViewDynamicHyperlinkColumn.CellTemplate>
163
                            <DataTemplate>
164
                                <TextBlock Text="{Binding FileName}" HorizontalAlignment="Left"/>
165
                            </DataTemplate>
166
                        </telerik:GridViewDynamicHyperlinkColumn.CellTemplate>
167
                    </telerik:GridViewDynamicHyperlinkColumn>
168

    
169
                    <telerik:GridViewDataColumn Header=" ConvertPath" IsReadOnly="True" Width="*" CellStyle="{StaticResource StretchCellStyle}">
170
                        <telerik:GridViewDataColumn.CellTemplate>
171
                            <DataTemplate>
172
                                <Grid>
173
                                    <Grid.ColumnDefinitions>
174
                                        <ColumnDefinition/>
175
                                        <ColumnDefinition Width="Auto"/>
176
                                    </Grid.ColumnDefinitions>
177
                                    <TextBox TextAlignment="Left" Text="{Binding ConvertPath}" Background="Transparent" BorderBrush="Transparent" BorderThickness="0" Foreground="Black"/>
178
                                    <telerik:RadButton Background="Transparent" BorderBrush="Transparent" BorderThickness="0" Foreground="Black" Grid.Column="1"
179
                                                   Command="{Binding ConvertPathFileSearchCommand, Source={StaticResource DataBaseItemsModel}}" CommandParameter="{Binding DataContext, RelativeSource={RelativeSource Self}}">
180
                                        <Image Source="/Markus.Service.StationController;component/Resources/File_Search_Icon.png"  Stretch="None" />
181
                                    </telerik:RadButton>
182
                                </Grid>
183
                            </DataTemplate>
184
                        </telerik:GridViewDataColumn.CellTemplate>
185
                    </telerik:GridViewDataColumn>
186

    
187
                    <telerik:GridViewDataColumn Header="CreateTime" IsReadOnly="True"   Background="Transparent" 
188
                                                                                        DataMemberBinding="{Binding CreateTime, Mode=TwoWay, StringFormat=\{0:yyyy.MM.dd HH:mm:ss\}}" Width="*" />
189
                    <telerik:GridViewDataColumn Header="StartTime" IsReadOnly="True"   Background="Transparent" 
190
                                                                                        DataMemberBinding="{Binding StartTime, Mode=TwoWay, StringFormat=\{0:yyyy.MM.dd HH:mm:ss\}}" Width="*" />
191
                    <telerik:GridViewDataColumn Header="EndTime" IsReadOnly="True"   Background="Transparent" 
192
                                                                                        DataMemberBinding="{Binding EndTime, Mode=TwoWay, StringFormat=\{0:yyyy.MM.dd HH:mm:ss\}}" Width="*" />
193
                    <telerik:GridViewDataColumn Header="TotalTime" IsReadOnly="True"   Background="Transparent" 
194
                                                                                        DataMemberBinding="{Binding TotalTime, Mode=TwoWay, StringFormat=\{0:yyyy.MM.dd HH:mm:ss\}}" Width="*" />
195
                </telerik:RadGridView.Columns>
196
            </telerik:RadGridView>
197
        </telerik:RadExpander>
198
        <telerik:RadExpander Grid.Row="3" ExpandDirection="Down" BorderThickness="0"
199
                  ScrollViewer.HorizontalScrollBarVisibility="Auto" ScrollViewer.VerticalScrollBarVisibility="Auto" HorizontalAlignment="Stretch"
200
                                         VerticalAlignment="Stretch" 
201
                             telerik:AnimationManager.IsAnimationEnabled="False" IsExpanded ="{Binding ConvertShow, Mode=TwoWay}">
202
            <telerik:RadExpander.Header>
203
                <Grid>
204
                    <Grid.ColumnDefinitions>
205
                        <ColumnDefinition Width="Auto"/>
206
                        <ColumnDefinition Width="Auto"/>
207
                    </Grid.ColumnDefinitions>
208
                    <TextBlock Text="RealConvert Items : "/>
209
                    <TextBlock Text="{Binding RealConvertSource.Count, StringFormat=\{0:d\}}" Grid.Column="1"/>
210
                </Grid>
211
            </telerik:RadExpander.Header>
212
            <telerik:RadGridView Name="dataGrid2" GroupRenderMode="Flat" VerticalAlignment="Stretch" HorizontalAlignment="Stretch"
213
                                                         ItemsSource="{Binding RealConvertSource}"
214
                             SelectedItem="{Binding SelectRealConvert, Mode=TwoWay}"
215
                             RowDetailsTemplate="{StaticResource RowDetailsTemplate}"
216
                                                         AutoGenerateColumns="False" CanUserFreezeColumns="False"
217
                             ColumnWidth="*"
218
                             Grid.Row="1"  ScrollViewer.CanContentScroll="False" IsFilteringAllowed="True">
219
                <telerik:RadContextMenu.ContextMenu>
220
                    <telerik:RadContextMenu>
221
                        <telerik:RadMenuItem  Header="Convert"  Command="{Binding ConvertCommand}"/>
222
                        <telerik:RadMenuItem Header="Validation"  Command="{Binding ValidateCommand}"/>
223
                        <telerik:RadMenuItem Header="Delete"  Command="{Binding DeleteCommand}"/>
224
                        <telerik:RadMenuItem Header="Stop Process"  Command="{Binding Stop_ProcessCommand}"/>
225
                    </telerik:RadContextMenu>
226
                </telerik:RadContextMenu.ContextMenu>
227
                <telerik:RadGridView.Columns>
228
                    <telerik:GridViewToggleRowDetailsColumn />
229
                    <controls:RowIndexColumn Header="#" Width="30" CellStyle="{StaticResource RowNumberStyle}" />
230

    
231
                    <telerik:GridViewDataColumn Header="Convert ID" 
232
                                                                                        DataMemberBinding="{Binding ConvertID}" Width="*" />
233
                    <telerik:GridViewDataColumn Header="Markus " Width="0.5*" CellStyle="{StaticResource StretchCellStyle}">
234
                        <telerik:GridViewDataColumn.CellTemplate>
235
                            <DataTemplate>
236
                                <telerik:RadButton Content="Click "  BorderThickness="0" Background="Transparent"
237
                                                   Command="{Binding MarkusLinkCommand, Source={StaticResource DataBaseItemsModel}}" CommandParameter="{Binding DataContext, RelativeSource={RelativeSource Self}}"/>
238
                            </DataTemplate>
239
                        </telerik:GridViewDataColumn.CellTemplate>
240
                    </telerik:GridViewDataColumn>
241

    
242
                    <telerik:GridViewDataColumn Header="ProjectNO" 
243
                                                                                        DataMemberBinding="{Binding ProjectNumber}" Width="*" />
244
                    <telerik:GridViewDataColumn Header="CurrentPageNo" 
245
                                                                                        DataMemberBinding="{Binding CurrentPageNo, Mode=TwoWay}" Width="*" />
246
                    <telerik:GridViewDataColumn Header="TotalPageNo" 
247
                                                                                        DataMemberBinding="{Binding TotalPage, Mode=TwoWay}" Width="*" />
248
                    <telerik:GridViewDynamicHyperlinkColumn x:Name="navigation" Header="원본파일"  CellStyle="{StaticResource OriginalFileGridViewCell}"
249
                                                        NavigateUrlFormatString="{}{0}"
250
                                                                                                            NavigateUrlMemberPaths="OriginfilePath"
251
                                                                                                                Width="2*">
252
                        <telerik:GridViewDynamicHyperlinkColumn.CellTemplate>
253
                            <DataTemplate>
254
                                <TextBlock Text="{Binding FileName}" HorizontalAlignment="Left"/>
255
                            </DataTemplate>
256
                        </telerik:GridViewDynamicHyperlinkColumn.CellTemplate>
257
                    </telerik:GridViewDynamicHyperlinkColumn>
258

    
259
                    <telerik:GridViewDataColumn Header=" ConvertPath" IsReadOnly="True" Width="*" CellStyle="{StaticResource StretchCellStyle}">
260
                        <telerik:GridViewDataColumn.CellTemplate>
261
                            <DataTemplate>
262
                                <Grid>
263
                                    <Grid.ColumnDefinitions>
264
                                        <ColumnDefinition/>
265
                                        <ColumnDefinition Width="Auto"/>
266
                                    </Grid.ColumnDefinitions>
267
                                    <TextBox TextAlignment="Left" Text="{Binding ConvertPath}" Background="Transparent" BorderBrush="Transparent" BorderThickness="0" Foreground="Black"/>
268
                                    <telerik:RadButton Background="Transparent" BorderBrush="Transparent" BorderThickness="0" Foreground="Black" Grid.Column="1"
269
                                                   Command="{Binding ConvertPathFileSearchCommand, Source={StaticResource DataBaseItemsModel}}" CommandParameter="{Binding DataContext, RelativeSource={RelativeSource Self}}">
270
                                        <Image Source="/Markus.Service.StationController;component/Resources/File_Search_Icon.png"  Stretch="None" />
271
                                    </telerik:RadButton>
272
                                </Grid>
273
                            </DataTemplate>
274
                        </telerik:GridViewDataColumn.CellTemplate>
275
                    </telerik:GridViewDataColumn>
276

    
277
                    <telerik:GridViewDataColumn Header="CreateTime"  IsReadOnly="True"
278
                                                                                        DataMemberBinding="{Binding CreateTime, Mode=TwoWay, StringFormat=\{0:yyyy.MM.dd HH:mm:ss\}}" Width="*" />
279
                    <telerik:GridViewDataColumn Header="StartTime" IsReadOnly="True"   Background="Transparent" 
280
                                                                                        DataMemberBinding="{Binding StartTime, Mode=TwoWay, StringFormat=\{0:yyyy.MM.dd HH:mm:ss\}}" Width="*" />
281
                    <telerik:GridViewDataColumn Header="EndTime" IsReadOnly="True"   Background="Transparent" 
282
                                                                                        DataMemberBinding="{Binding EndTime, Mode=TwoWay, StringFormat=\{0:yyyy.MM.dd HH:mm:ss\}}" Width="*" />
283
                    <telerik:GridViewDataColumn Header="TotalTime" IsReadOnly="True"   Background="Transparent" 
284
                                                                                        DataMemberBinding="{Binding TotalTime, Mode=TwoWay, StringFormat=\{0:yyyy.MM.dd HH:mm:ss\}}" Width="*" />
285
                </telerik:RadGridView.Columns>
286
            </telerik:RadGridView>
287
        </telerik:RadExpander>
288
        
289
        <telerik:RadExpander Grid.Row="4" ExpandDirection="Down" BorderThickness="0"  VerticalAlignment="Stretch" Margin="0,0,0,10"
290
                  ScrollViewer.HorizontalScrollBarVisibility="Auto" ScrollViewer.VerticalScrollBarVisibility="Auto"
291
                             telerik:AnimationManager.IsAnimationEnabled="False"  IsExpanded ="{Binding  AliveShow, Mode=TwoWay}">
292
            <telerik:RadExpander.Header>
293
                <Grid>
294
                    <Grid.ColumnDefinitions>
295
                        <ColumnDefinition Width="Auto"/>
296
                        <ColumnDefinition Width="Auto"/>
297
                        <ColumnDefinition Width="2*"/>
298
                        <ColumnDefinition Width="57*"/>
299
                    </Grid.ColumnDefinitions>
300
                    <TextBlock Text="Alive Items : " Margin="0,0,5,0"/>
301
                    <TextBlock Text="{Binding AliveItems.Count, StringFormat=\{0:d\}}" Grid.Column="1" Grid.ColumnSpan="2" Margin="1,0,28,0"/>
302
                </Grid>
303
            </telerik:RadExpander.Header>
304
            <telerik:RadGridView GroupRenderMode="Flat" VerticalAlignment="Stretch" HorizontalAlignment="Stretch"
305
                                                         ItemsSource="{Binding AliveItems}"
306
                             SelectedItem="{Binding SelectAliveConvert, Mode=TwoWay}"
307
                                                         AutoGenerateColumns="False" CanUserFreezeColumns="False" RowDetailsTemplate="{StaticResource RowDetailsTemplate}"
308
                             ColumnWidth="*"  ScrollViewer.CanContentScroll="False" IsFilteringAllowed="True" Grid.Row="1" >
309
                <telerik:RadContextMenu.ContextMenu>
310
                    <telerik:RadContextMenu>
311
                        <telerik:RadMenuItem  Header="Convert"  Command="{Binding ConvertCommand}"/>
312
                        <telerik:RadMenuItem Header="Validation"  Command="{Binding ValidateCommand}"/>
313
                        <telerik:RadMenuItem Header="Delete"  Command="{Binding DeleteCommand}"/>
314
                        <telerik:RadMenuItem Header="Stop Process"  Command="{Binding Stop_ProcessCommand}"/>
315
                    </telerik:RadContextMenu>
316
                </telerik:RadContextMenu.ContextMenu>
317
                <telerik:RadGridView.Columns>
318
                    <telerik:GridViewToggleRowDetailsColumn />
319
                    <controls:RowIndexColumn Header="#" Width="30" CellStyle="{StaticResource RowNumberStyle}" />
320
                    <telerik:GridViewDataColumn Header="Convert ID" 
321
                                                                                        DataMemberBinding="{Binding ConvertID}" Width="*" />
322
                    <telerik:GridViewDataColumn Header="Markus " Width="0.5*" CellStyle="{StaticResource StretchCellStyle}">
323
                        <telerik:GridViewDataColumn.CellTemplate>
324
                            <DataTemplate>
325
                                <telerik:RadButton Content="Click "  BorderThickness="0" Background="Transparent"
326
                                                   Command="{Binding MarkusLinkCommand, Source={StaticResource DataBaseItemsModel}}" CommandParameter="{Binding DataContext, RelativeSource={RelativeSource Self}}"/>
327
                            </DataTemplate>
328
                        </telerik:GridViewDataColumn.CellTemplate>
329
                    </telerik:GridViewDataColumn>
330

    
331
                    <telerik:GridViewDataColumn Header="ProjectNO"
332
                                                                                        DataMemberBinding="{Binding ProjectNumber}" Width="*" />
333
                    <telerik:GridViewDataColumn Header="CurrentPageNo"
334
                                                                                        DataMemberBinding="{Binding CurrentPageNo, Mode=TwoWay}" Width="*" />
335
                    <telerik:GridViewDataColumn Header="TotalPageNo" 
336
                                                                                        DataMemberBinding="{Binding TotalPage, Mode=TwoWay}" Width="*" />
337
                    <telerik:GridViewDynamicHyperlinkColumn  Header="원본파일"  CellStyle="{StaticResource OriginalFileGridViewCell}"
338
                                                        NavigateUrlFormatString="{}{0}"
339
                                                                                                            NavigateUrlMemberPaths="OriginfilePath"
340
                                                                                                                Width="2*">
341
                        <telerik:GridViewDynamicHyperlinkColumn.CellTemplate>
342
                            <DataTemplate>
343
                                <TextBlock Text="{Binding FileName}" HorizontalAlignment="Left"/>
344
                            </DataTemplate>
345
                        </telerik:GridViewDynamicHyperlinkColumn.CellTemplate>
346
                    </telerik:GridViewDynamicHyperlinkColumn>
347

    
348
                    <telerik:GridViewDataColumn Header=" ConvertPath" IsReadOnly="True" Width="*" CellStyle="{StaticResource StretchCellStyle}">
349
                        <telerik:GridViewDataColumn.CellTemplate>
350
                            <DataTemplate>
351
                                <Grid>
352
                                    <Grid.ColumnDefinitions>
353
                                        <ColumnDefinition/>
354
                                        <ColumnDefinition Width="Auto"/>
355
                                    </Grid.ColumnDefinitions>
356
                                    <TextBox TextAlignment="Left" Text="{Binding ConvertPath}" Background="Transparent" BorderBrush="Transparent" BorderThickness="0" Foreground="Black"/>
357
                                    <telerik:RadButton Background="Transparent" BorderBrush="Transparent" BorderThickness="0" Foreground="Black" Grid.Column="1"
358
                                                   Command="{Binding ConvertPathFileSearchCommand, Source={StaticResource DataBaseItemsModel}}" CommandParameter="{Binding DataContext, RelativeSource={RelativeSource Self}}">
359
                                        <Image Source="/Markus.Service.StationController;component/Resources/File_Search_Icon.png"  Stretch="None" />
360
                                    </telerik:RadButton>
361
                                </Grid>
362
                            </DataTemplate>
363
                        </telerik:GridViewDataColumn.CellTemplate>
364
                    </telerik:GridViewDataColumn>
365
                    <telerik:GridViewDataColumn Header="CreateTime"  IsReadOnly="True"
366
                                                                                        DataMemberBinding="{Binding CreateTime, Mode=TwoWay, StringFormat=\{0:yyyy.MM.dd HH:mm:ss\}}" Width="*" />
367
                    <telerik:GridViewDataColumn Header="StartTime" IsReadOnly="True"   Background="Transparent" 
368
                                                                                        DataMemberBinding="{Binding StartTime, Mode=TwoWay, StringFormat=\{0:yyyy.MM.dd HH:mm:ss\}}" Width="*" />
369
                    <telerik:GridViewDataColumn Header="EndTime" IsReadOnly="True"   Background="Transparent" 
370
                                                                                        DataMemberBinding="{Binding EndTime, Mode=TwoWay, StringFormat=\{0:yyyy.MM.dd HH:mm:ss\}}" Width="*" />
371
                    <telerik:GridViewDataColumn Header="TotalTime" IsReadOnly="True"   Background="Transparent" 
372
                                                                                        DataMemberBinding="{Binding TotalTime, Mode=TwoWay, StringFormat=\{0:yyyy.MM.dd HH:mm:ss\}}" Width="*" />
373
                </telerik:RadGridView.Columns>
374
            </telerik:RadGridView>
375
        </telerik:RadExpander>
376
    </Grid>
377
</UserControl>
클립보드 이미지 추가 (최대 크기: 500 MB)