프로젝트

일반

사용자정보

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

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

이력 | 보기 | 이력해설 | 다운로드 (26.1 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}" 
13
    d:DesignHeight="450" d:DesignWidth="1000">
14
    <UserControl.Resources>
15
        <Style TargetType="telerik:GridViewCell" x:Key="StretchCellStyle">
16
            <Setter Property="Margin" Value="0"/>
17
            <Setter Property="Padding" Value="0"/>
18
            <Setter Property="VerticalContentAlignment" Value="Stretch"/>
19
            <Setter Property="HorizontalContentAlignment" Value="Stretch"/>
20
        </Style>
21
        <Style TargetType="{x:Type telerik:GridViewHeaderCell}">
22
            <Setter Property="HorizontalContentAlignment" Value="Center"/>
23
            <Setter Property="Background" Value="Gray"/>
24
        </Style>
25
        <Style TargetType="{x:Type telerik:GridViewCell}">
26
            <Setter Property="HorizontalContentAlignment" Value="Center"/>
27
        </Style>
28
        <Style TargetType="{x:Type controls:RowIndexColumn}">
29
            <Setter Property="TextAlignment" Value="Center"/>
30
        </Style>
31
        <Style TargetType="{x:Type TextBox}">
32
            <Setter Property="Margin" Value="5,5,0,0"/>
33
            <Setter Property="VerticalAlignment" Value="Center"/>
34
            <Setter Property="VerticalContentAlignment" Value="Center"/>
35
            <Setter Property="HorizontalContentAlignment" Value="Left"/>
36
            <Setter Property="Foreground" Value="Black"/>
37
            <Setter Property="Background" Value="Transparent"/>
38
            <Setter Property="BorderBrush" Value="Transparent"/>
39
            <Setter Property="BorderThickness" Value="0"/>
40
            <Setter Property="IsReadOnly" Value="true"/>
41
            <Setter Property="FocusVisualStyle" Value="{x:Null}"/>
42
            <Setter Property="ScrollViewer.PanningMode" Value="VerticalFirst"/>
43
            <Setter Property="Stylus.IsFlicksEnabled" Value="False"/>
44
            <Setter Property="Template">
45
                <Setter.Value>
46
                    <ControlTemplate TargetType="{x:Type TextBox}">
47
                        <Border x:Name="Bd" 
48
                    BorderThickness="{TemplateBinding BorderThickness}" 
49
                    SnapsToDevicePixels="true">
50
                            <ScrollViewer x:Name="PART_ContentHost" BorderThickness="{TemplateBinding BorderThickness}"
51
                    SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}"/>
52
                        </Border>
53
                    </ControlTemplate>
54
                </Setter.Value>
55
            </Setter>
56
        </Style>
57
        <DataTemplate x:Key="borderedTemplate">
58
            <Border BorderBrush="Transparent" BorderThickness="0"  Background="Transparent" >
59
                <TextBlock VerticalAlignment="Center" HorizontalAlignment="Center" >
60
                </TextBlock>
61
            </Border>
62
        </DataTemplate>
63
        <VM:DataBaseItemsModel x:Key="DataBaseItemsModel"/>
64
        <DataTemplate x:Key="RowDetailsTemplate">
65
            <local:DataBaseViewInfo />
66
        </DataTemplate>
67
    </UserControl.Resources>
68
    <!--<UserControl.DataContext>
69
        <VM:DataBaseItemsModel/>
70
    </UserControl.DataContext>-->
71
    <i:Interaction.Triggers>
72
        <i:EventTrigger  EventName="Loaded">
73
            <i:InvokeCommandAction Command="{Binding LoadedCommand}"/>
74
        </i:EventTrigger>
75
        <i:EventTrigger  EventName="Unloaded">
76
            <i:InvokeCommandAction Command="{Binding ClosingCommand}"/>
77
        </i:EventTrigger>
78
    </i:Interaction.Triggers>
79
    <Grid HorizontalAlignment="Stretch" ScrollViewer.HorizontalScrollBarVisibility="Auto" ScrollViewer.VerticalScrollBarVisibility="Auto" VerticalAlignment="top" >
80
        <Grid.RowDefinitions>
81
            <RowDefinition Height="Auto"/>
82
            <RowDefinition Height="Auto"/>
83
            <RowDefinition Height="*"/>
84
            <RowDefinition Height="Auto"/>
85
            <RowDefinition Height="Auto"/>
86
        </Grid.RowDefinitions>
87
        <StackPanel Margin="0,10" Orientation="Horizontal" HorizontalAlignment="Right" Grid.Row="0"  Height="20" >
88
            <TextBlock Text="Display Count : " VerticalAlignment="Center"/>
89
            <telerik:RadComboBox Width="100" SelectedItem="{Binding SelectedCount, Mode=TwoWay}" Margin="0,0,10,0" SelectedValuePath="DisplayMember"
90
                  DisplayMemberPath="ValueMember" ItemsSource="{Binding SelectedCountList}" SelectedIndex="0" />
91
            <TextBlock Text="Status Type : " Margin="10,0,0,0"  VerticalAlignment="Center"/>
92
            <telerik:RadComboBox Width="100" SelectedItem="{Binding SelectedStatus, Mode=TwoWay}" SelectedIndex="4"
93
                   DisplayMemberPath="DisplayName" SelectedValuePath="Value" ItemsSource="{Binding StatusCodeList}" Height="20"/>
94
            <telerik:RadToggleButton Content="  엑셀 저장  " Margin="10,0" Height="20" Command="{Binding DataSaveFileGemBoxCommand, Mode=OneWay}"/>
95
        </StackPanel>
96
        <StackPanel Orientation="Vertical" Grid.Row="1">
97
            <controls:DatabaseFilter ProjectNo="{Binding ProjectNumberFilter,Mode=TwoWay}" UniqueKey="{Binding UniqueKeyFilter,Mode=TwoWay}" Service_ID="{Binding Service_IDFilter, Mode=TwoWay}"
98
                                             Docuemnt_Name="{Binding Document_NameFilter, Mode=TwoWay}" Docuemnt_NO="{Binding Docuemnt_NOFilter, Mode=TwoWay}" Reconverter="{Binding ReconverterFilter, Mode=TwoWay}"
99
                                             Revision="{Binding RevisionFilter, Mode=TwoWay}" GroupNO="{Binding GroupNOFilter, Mode=TwoWay}" Document_URL="{Binding DOCUMENT_URLFilter, Mode=TwoWay}"/>
100
            <StackPanel Orientation="Horizontal" HorizontalAlignment="Right">
101
                <telerik:RadToggleButton Content=" Convert 추가" Command="{Binding ConverAddCommand, Mode=OneWay}" Width="100" Margin="0,0,20,0" HorizontalAlignment="Right"/>
102
                <telerik:RadToggleButton Content=" 검색" Command="{Binding DataFilterCommand, Mode=OneWay}" Width="100" Margin="0,0,20,0" HorizontalAlignment="Right"/>
103
                <telerik:RadToggleButton Content=" 초기화" Command="{Binding ResetCommand, Mode=OneWay}" Width="100" Margin="0,0,20,0" HorizontalAlignment="Right"/>
104
            </StackPanel>
105
        </StackPanel>
106

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

    
121
            <!--SelectedItem="{Binding SelectFilterConvertList, Mode=OneWayToSource}" -->
122
            <!--  controls:GridViewSelectionUtilities.SelectedItems="{Binding SelectFilterConvertList, Source=StaticResource context, Mode=TwoWay}"-->
123
            <!-- SelectedItem="{Binding SelectFilterConvert, Source=StaticResource context, Mode=TwoWay}"-->
124
            <telerik:RadGridView x:Name="dataGrid1"  GroupRenderMode="Flat" VerticalAlignment="Stretch" HorizontalAlignment="Stretch"  
125
                                                         ItemsSource="{Binding FilterConvertSourceView}" 
126
                             
127
                             SelectionMode="Extended"
128
                             SelectionUnit="FullRow"
129
                             CanUserSelect ="True"
130
                             RowDetailsTemplate="{StaticResource RowDetailsTemplate}"  
131
                                                         AutoGenerateColumns="False" 
132
                             ColumnWidth="*" CanUserFreezeColumns="False"
133
                             Grid.Row="1"  ScrollViewer.CanContentScroll="True" IsFilteringAllowed="True"
134
                             LeftFrozenColumnCount="6" 
135
                             RightFrozenColumnCount="0">
136
                <i:Interaction.Behaviors>
137
                    <controls:GridViewSelectionUtilities SelectedItems="{Binding SelectFilterConvertList, Source={StaticResource DataBaseItemsModel}}" />
138
                </i:Interaction.Behaviors>
139
                <telerik:RadContextMenu.ContextMenu>
140
                    <telerik:RadContextMenu x:Name= "GridContextMenu">
141
                        <telerik:RadMenuItem  Header="Convert"  Command="{Binding ConvertCommand}"/>
142
                        <telerik:RadMenuItem Header="Validation"  Command="{Binding ValidateCommand}"/>
143
                        <telerik:RadMenuItem Header="Delete"  Command="{Binding DeleteCommand}"/>
144
                    </telerik:RadContextMenu>
145
                </telerik:RadContextMenu.ContextMenu>
146
                <telerik:RadGridView.Columns>
147
                    <telerik:GridViewToggleRowDetailsColumn />
148
                    <controls:RowIndexColumn Header="#" Width="30" CellStyle="{StaticResource RowNumberStyle}" />
149
                    <telerik:GridViewDataColumn Header="Convert ID " 
150
                                                                                        DataMemberBinding="{Binding ConvertID}" Width="1.5*"  />
151
                    <telerik:GridViewDataColumn x:Name="commend" Header="Markus " Width="0.5*"  >
152
                        <telerik:GridViewDataColumn.CellTemplate>
153
                            <DataTemplate>
154
                                <telerik:RadButton Content="Click" BorderThickness="0"
155
                                                   Background="Transparent"
156
                                                   Command="{Binding MarkusLinkCommand, Source={StaticResource DataBaseItemsModel}}" CommandParameter="{Binding DataContext, RelativeSource={RelativeSource Self}}"/>
157
                            </DataTemplate>
158
                        </telerik:GridViewDataColumn.CellTemplate>
159
                    </telerik:GridViewDataColumn>
160
                    <telerik:GridViewDataColumn Header="ProjectNO" 
161
                                                                                        DataMemberBinding="{Binding ProjectNumber}" Width="*" />
162
                    <telerik:GridViewDataColumn Header="UniqueKey"
163
                                                                                        DataMemberBinding="{Binding UniqueKey}" Width="*" />
164
                    <telerik:GridViewDataColumn Header="ConvertState"  
165
                                                                                        DataMemberBinding="{Binding ConvertState, Mode=TwoWay}" Width="*" />
166
                    <telerik:GridViewDataColumn Header="CurrentPageNo" 
167
                                                                                        DataMemberBinding="{Binding CurrentPageNo, Mode=TwoWay}" Width="*" />
168
                    <telerik:GridViewDataColumn Header="TotalPageNo" 
169
                                                                                        DataMemberBinding="{Binding TotalPage, Mode=TwoWay}" Width="*"  />
170
                    <telerik:GridViewDynamicHyperlinkColumn Header="원본파일" 
171
                                                        NavigateUrlFormatString=" {0}"
172
                                                                                                            NavigateUrlMemberPaths="OriginfilePath"
173
                                                                                                                Width="2*">
174
                        <telerik:GridViewDynamicHyperlinkColumn.CellTemplate>
175
                            <DataTemplate>
176
                                <TextBlock Text="{Binding FileName}"/>
177
                            </DataTemplate>
178
                        </telerik:GridViewDynamicHyperlinkColumn.CellTemplate>
179
                    </telerik:GridViewDynamicHyperlinkColumn>
180
                    <!--<telerik:GridViewDataColumn Header=" ConvertPath"  
181
                                                                                        DataMemberBinding="{Binding ConvertPath}" Width="2.5*" >
182
                    </telerik:GridViewDataColumn>-->
183
                    <telerik:GridViewDataColumn Header=" ConvertPath" Width="2.5*" Style="{Binding Mode=OneWay, Source={StaticResource borderedTemplate}}">
184
                        <telerik:GridViewDataColumn.CellTemplate>
185
                            <DataTemplate >
186
                                <StackPanel Orientation="Horizontal">
187
                                    <TextBox Text="{Binding ConvertPath}"/>
188
                                    <telerik:RadButton BorderThickness="0"
189
                                                   Background="Transparent"
190
                                                   Command="{Binding ConvertPathFileSearchCommand, Source={StaticResource DataBaseItemsModel}}" CommandParameter="{Binding DataContext, RelativeSource={RelativeSource Self}}">
191
                                        <Image Source="E:\Source\MARKUS\ConvertService\ServiceBase\Markus.Service.StationController\Picture\File_Search_Icon.png" Stretch="None" />
192
                                    </telerik:RadButton>
193
                                </StackPanel>
194
                            </DataTemplate>
195
                        </telerik:GridViewDataColumn.CellTemplate>
196
                    </telerik:GridViewDataColumn>
197

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

    
239
                    <telerik:GridViewDataColumn Header="Convert ID "
240
                                                                                        DataMemberBinding="{Binding ConvertID}" Width="1.5*" />
241

    
242
                    <telerik:GridViewDataColumn Header="Markus " Width="0.5*" CellStyle="{StaticResource StretchCellStyle}">
243
                        <telerik:GridViewDataColumn.CellTemplate>
244
                            <DataTemplate>
245
                                <telerik:RadButton Content="Click "  BorderThickness="0" Background="Transparent"
246
                                                   Command="{Binding MarkusLinkCommand, Source={StaticResource DataBaseItemsModel}}" CommandParameter="{Binding DataContext, RelativeSource={RelativeSource Self}}"/>
247
                            </DataTemplate>
248
                        </telerik:GridViewDataColumn.CellTemplate>
249
                    </telerik:GridViewDataColumn>
250

    
251
                    <telerik:GridViewDataColumn Header="ProjectNO" 
252
                                                                                        DataMemberBinding="{Binding ProjectNumber}" Width="*" />
253
                    <telerik:GridViewDataColumn Header="UniqueKey" 
254
                                                                                        DataMemberBinding="{Binding UniqueKey}" Width="*" />
255
                    <telerik:GridViewDataColumn Header="ConvertState"
256
                                                                                        DataMemberBinding="{Binding ConvertState, Mode=TwoWay}" Width="*" />
257

    
258
                    <telerik:GridViewDataColumn Header="CurrentPageNo" 
259
                                                                                        DataMemberBinding="{Binding CurrentPageNo, Mode=TwoWay}" Width="*" />
260
                    <telerik:GridViewDataColumn Header="TotalPageNo" 
261
                                                                                        DataMemberBinding="{Binding TotalPage, Mode=TwoWay}" Width="*" />
262
                    <telerik:GridViewDynamicHyperlinkColumn x:Name="navigation" Header="원본파일"
263
                                                        NavigateUrlFormatString="{}{0}"
264
                                                                                                            NavigateUrlMemberPaths="OriginfilePath"
265
                                                                                                                Width="2*">
266
                        <telerik:GridViewDynamicHyperlinkColumn.CellTemplate>
267
                            <DataTemplate>
268
                                <TextBlock Text="{Binding FileName}"/>
269
                            </DataTemplate>
270
                        </telerik:GridViewDynamicHyperlinkColumn.CellTemplate>
271
                    </telerik:GridViewDynamicHyperlinkColumn>
272
                    <!--<telerik:GridViewDataColumn Header=" ConvertPath" 
273
                                                                                        DataMemberBinding="{Binding ConvertPath}" Width="2.5*" />-->
274
                    <telerik:GridViewDataColumn Header=" ConvertPath" Width="2.5*" Style="{Binding Mode=OneWay, Source={StaticResource borderedTemplate}}">
275
                        <telerik:GridViewDataColumn.CellTemplate>
276
                            <DataTemplate >
277
                                <StackPanel Orientation="Horizontal">
278
                                    <TextBox Text="{Binding ConvertPath}"/>
279
                                    <telerik:RadButton BorderThickness="0"
280
                                                   Background="Transparent"
281
                                                   Command="{Binding ConvertPathFileSearchCommand, Source={StaticResource DataBaseItemsModel}}" CommandParameter="{Binding DataContext, RelativeSource={RelativeSource Self}}">
282
                                        <Image Source="E:\Source\MARKUS\ConvertService\ServiceBase\Markus.Service.StationController\Picture\File_Search_Icon.png" Stretch="None" />
283
                                    </telerik:RadButton>
284
                                </StackPanel>
285
                            </DataTemplate>
286
                        </telerik:GridViewDataColumn.CellTemplate>
287
                    </telerik:GridViewDataColumn>
288
                    <telerik:GridViewDataColumn Header="CreateTime"
289
                                                                                        DataMemberBinding="{Binding CreateTime, Mode=TwoWay, StringFormat=\{0:yyyy.MM.dd HH:mm:ss\}}" Width="*" />
290
                    <telerik:GridViewDataColumn Header="StartTime"
291
                                                                                        DataMemberBinding="{Binding StartTime, Mode=TwoWay, StringFormat=\{0:yyyy.MM.dd HH:mm:ss\}}" Width="*" />
292
                    <telerik:GridViewDataColumn Header="EndTime"
293
                                                                                        DataMemberBinding="{Binding EndTime, Mode=TwoWay, StringFormat=\{0:yyyy.MM.dd HH:mm:ss\}}" Width="*" />
294
                </telerik:RadGridView.Columns>
295
            </telerik:RadGridView>
296
        </telerik:RadExpander>
297
        <telerik:RadExpander Grid.Row="4" ExpandDirection="Down" BorderThickness="0"  VerticalAlignment="Stretch" Margin="0,0,0,10"
298
                  ScrollViewer.HorizontalScrollBarVisibility="Auto" ScrollViewer.VerticalScrollBarVisibility="Auto"
299
                             telerik:AnimationManager.IsAnimationEnabled="False"  IsExpanded ="False">
300
            <telerik:RadExpander.Header>
301
                <Grid>
302
                    <Grid.ColumnDefinitions>
303
                        <ColumnDefinition Width="Auto"/>
304
                        <ColumnDefinition Width="Auto"/>
305
                    </Grid.ColumnDefinitions>
306
                    <TextBlock Text="Alive Items : " Grid.RowSpan="2"/>
307
                    <TextBlock Text="{Binding AliveItems.Count, StringFormat=\{0:d\}}" Grid.Column="1" Grid.RowSpan="2"/>
308
                </Grid>
309
            </telerik:RadExpander.Header>
310
            <telerik:RadGridView GroupRenderMode="Flat" VerticalAlignment="Stretch" HorizontalAlignment="Stretch"
311
                                                         ItemsSource="{Binding AliveItems}"
312
                             SelectedItem="{Binding SelectAliveConvert, Mode=TwoWay}"
313
                                                         AutoGenerateColumns="False" CanUserFreezeColumns="False" RowDetailsTemplate="{StaticResource RowDetailsTemplate}"
314
                             ColumnWidth="*"  ScrollViewer.CanContentScroll="False" IsFilteringAllowed="True" Grid.Row="1" >
315
                <telerik:RadGridView.Columns>
316
                    <telerik:GridViewToggleRowDetailsColumn />
317
                    <controls:RowIndexColumn Header="#" Width="30" CellStyle="{StaticResource RowNumberStyle}" />
318

    
319
                    <telerik:GridViewDataColumn Header="Convert ID " 
320
                                                                                        DataMemberBinding="{Binding ConvertID}" Width="1.5*"  />
321

    
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="UniqueKey"
334
                                                                                        DataMemberBinding="{Binding UniqueKey}" Width="*" />
335
                    <telerik:GridViewDataColumn Header="ConvertState"
336
                                                                                        DataMemberBinding="{Binding ConvertState, Mode=TwoWay}" Width="*" />
337

    
338
                    <telerik:GridViewDataColumn Header="CurrentPageNo"
339
                                                                                        DataMemberBinding="{Binding CurrentPageNo, Mode=TwoWay}" Width="*" />
340
                    <telerik:GridViewDataColumn Header="TotalPageNo" 
341
                                                                                        DataMemberBinding="{Binding TotalPage, Mode=TwoWay}" Width="*" />
342
                    <telerik:GridViewDynamicHyperlinkColumn  Header="원본파일" 
343
                                                        NavigateUrlFormatString="{}{0}"
344
                                                                                                            NavigateUrlMemberPaths="OriginfilePath"
345
                                                                                                                Width="2*">
346
                        <telerik:GridViewDynamicHyperlinkColumn.CellTemplate>
347
                            <DataTemplate>
348
                                <TextBlock Text="{Binding FileName}"/>
349
                            </DataTemplate>
350
                        </telerik:GridViewDynamicHyperlinkColumn.CellTemplate>
351
                    </telerik:GridViewDynamicHyperlinkColumn>
352
                    <!--<telerik:GridViewDataColumn Header=" ConvertPath" 
353
                                                                                        DataMemberBinding="{Binding ConvertPath}" Width="2.5*" />-->
354
                    <telerik:GridViewDataColumn Header=" ConvertPath" Width="2.5*" Style="{Binding Mode=OneWay, Source={StaticResource borderedTemplate}}">
355
                        <telerik:GridViewDataColumn.CellTemplate>
356
                            <DataTemplate >
357
                                <StackPanel Orientation="Horizontal">
358
                                    <TextBox Text="{Binding ConvertPath}"/>
359
                                    <telerik:RadButton BorderThickness="0"
360
                                                   Background="Transparent"
361
                                                   Command="{Binding ConvertPathFileSearchCommand, Source={StaticResource DataBaseItemsModel}}" CommandParameter="{Binding DataContext, RelativeSource={RelativeSource Self}}">
362
                                        <Image Source="E:\Source\MARKUS\ConvertService\ServiceBase\Markus.Service.StationController\Picture\File_Search_Icon.png" Stretch="None" />
363
                                    </telerik:RadButton>
364
                                </StackPanel>
365
                            </DataTemplate>
366
                        </telerik:GridViewDataColumn.CellTemplate>
367
                    </telerik:GridViewDataColumn>
368
                    <telerik:GridViewDataColumn Header="CreateTime"
369
                                                                                        DataMemberBinding="{Binding CreateTime, Mode=TwoWay, StringFormat=\{0:yyyy.MM.dd HH:mm:ss\}}" Width="*" />
370
                    <telerik:GridViewDataColumn Header="StartTime"
371
                                                                                        DataMemberBinding="{Binding StartTime, Mode=TwoWay, StringFormat=\{0:yyyy.MM.dd HH:mm:ss\}}" Width="*" />
372
                    <telerik:GridViewDataColumn Header="EndTime"
373
                                                                                        DataMemberBinding="{Binding EndTime, Mode=TwoWay, StringFormat=\{0:yyyy.MM.dd HH:mm:ss\}}" Width="*" />
374
                </telerik:RadGridView.Columns>
375
            </telerik:RadGridView>
376
        </telerik:RadExpander>
377
    </Grid>
378
</UserControl>
클립보드 이미지 추가 (최대 크기: 500 MB)