프로젝트

일반

사용자정보

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

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

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

1 2decfbdf alzkakdixm
<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 78683624 semi
             xmlns:Data="clr-namespace:Markus.Service.StationController.Data"  
10 2decfbdf alzkakdixm
             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 b63dcfbb semi
             mc:Ignorable="d"  Background="White" DataContext="{DynamicResource DataBaseItemsModel}" 
13 218e5002 semi
    d:DesignHeight="450" d:DesignWidth="1000">
14 a6e5055d alzkakdixm
    <UserControl.Resources>
15 b119eeaa taeseongkim
        <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 2decfbdf alzkakdixm
        <Style TargetType="{x:Type telerik:GridViewHeaderCell}">
22 a6e5055d alzkakdixm
            <Setter Property="HorizontalContentAlignment" Value="Center"/>
23
            <Setter Property="Background" Value="Gray"/>
24
        </Style>
25 e78f0871 alzkakdixm
        <Style TargetType="{x:Type telerik:GridViewCell}">
26
            <Setter Property="HorizontalContentAlignment" Value="Center"/>
27
        </Style>
28
        <Style TargetType="{x:Type controls:RowIndexColumn}">
29
            <Setter Property="TextAlignment" Value="Center"/>
30
        </Style>
31 2c634aed semi
        <Style TargetType="{x:Type TextBox}">
32
            <Setter Property="Margin" Value="5,5,0,0"/>
33
            <Setter Property="VerticalAlignment" Value="Center"/>
34
            <Setter Property="HorizontalContentAlignment" Value="Left"/>
35
            <Setter Property="Foreground" Value="Black"/>
36
            <Setter Property="Background" Value="Transparent"/>
37
            <Setter Property="BorderBrush" Value="Transparent"/>
38
            <Setter Property="BorderThickness" Value="0"/>
39
            <Setter Property="IsReadOnly" Value="true"/>
40
            <Setter Property="FocusVisualStyle" Value="{x:Null}"/>
41
            <Setter Property="ScrollViewer.PanningMode" Value="VerticalFirst"/>
42
            <Setter Property="Stylus.IsFlicksEnabled" Value="False"/>
43
            <Setter Property="Template">
44
                <Setter.Value>
45
                    <ControlTemplate TargetType="{x:Type TextBox}">
46
                        <Border x:Name="Bd" 
47
                    BorderThickness="{TemplateBinding BorderThickness}" 
48
                    SnapsToDevicePixels="true">
49
                            <ScrollViewer x:Name="PART_ContentHost" BorderThickness="{TemplateBinding BorderThickness}"
50
                    SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}"/>
51
                        </Border>
52
                    </ControlTemplate>
53
                </Setter.Value>
54
            </Setter>
55
        </Style>
56 e78f0871 alzkakdixm
        <VM:DataBaseItemsModel x:Key="DataBaseItemsModel"/>
57 344ac7ed alzkakdixm
        <DataTemplate x:Key="RowDetailsTemplate">
58
            <local:DataBaseViewInfo />
59
        </DataTemplate>
60 a6e5055d alzkakdixm
    </UserControl.Resources>
61 e78f0871 alzkakdixm
    <!--<UserControl.DataContext>
62 a6e5055d alzkakdixm
        <VM:DataBaseItemsModel/>
63 e78f0871 alzkakdixm
    </UserControl.DataContext>-->
64 a6e5055d alzkakdixm
    <i:Interaction.Triggers>
65
        <i:EventTrigger  EventName="Loaded">
66
            <i:InvokeCommandAction Command="{Binding LoadedCommand}"/>
67
        </i:EventTrigger>
68
        <i:EventTrigger  EventName="Unloaded">
69
            <i:InvokeCommandAction Command="{Binding ClosingCommand}"/>
70
        </i:EventTrigger>
71
    </i:Interaction.Triggers>
72 8c128693 semi
    <Grid HorizontalAlignment="Stretch" ScrollViewer.HorizontalScrollBarVisibility="Auto" ScrollViewer.VerticalScrollBarVisibility="Auto" VerticalAlignment="Stretch">
73 a6e5055d alzkakdixm
        <Grid.RowDefinitions>
74
            <RowDefinition Height="Auto"/>
75 31beca73 semi
            <RowDefinition Height="Auto"/>
76 8c7d1ea1 alzkakdixm
            <RowDefinition Height="*"/>
77 31beca73 semi
            <RowDefinition Height="Auto"/>
78
            <RowDefinition Height="Auto"/>
79 a6e5055d alzkakdixm
        </Grid.RowDefinitions>
80
        <StackPanel Margin="0,10" Orientation="Horizontal" HorizontalAlignment="Right" Grid.Row="0"  Height="20" >
81
            <TextBlock Text="Display Count : " VerticalAlignment="Center"/>
82
            <telerik:RadComboBox x:Name="ComboCount" Width="100" SelectedItem="{Binding SelectedCount, Mode=TwoWay}" Margin="0,0,10,0" SelectedValuePath="DisplayMember"
83 8c7d1ea1 alzkakdixm
                  DisplayMemberPath="ValueMember" ItemsSource="{Binding SelectedCountList}" SelectedIndex="0" />
84 a6e5055d alzkakdixm
            <TextBlock Text="Status Type : " Margin="10,0,0,0"  VerticalAlignment="Center"/>
85 e78f0871 alzkakdixm
            <telerik:RadComboBox Width="100" SelectedItem="{Binding SelectedStatus, Mode=TwoWay}" SelectedIndex="4"
86 8c7d1ea1 alzkakdixm
                   DisplayMemberPath="DisplayName" SelectedValuePath="Value" ItemsSource="{Binding StatusCodeList}" Height="20"/>
87 a6e5055d alzkakdixm
            <telerik:RadToggleButton Content="  엑셀 저장  " Margin="10,0" Height="20" Command="{Binding DataSaveFileGemBoxCommand, Mode=OneWay}"/>
88
        </StackPanel>
89 31beca73 semi
        <StackPanel Orientation="Vertical" Grid.Row="1">
90
            <controls:DatabaseFilter ProjectNo="{Binding ProjectNumberFilter,Mode=TwoWay}" UniqueKey="{Binding UniqueKeyFilter,Mode=TwoWay}" Service_ID="{Binding Service_IDFilter, Mode=TwoWay}"
91 3bde451b semi
                                             Docuemnt_Name="{Binding Document_NameFilter, Mode=TwoWay}" Docuemnt_NO="{Binding Docuemnt_NOFilter, Mode=TwoWay}" Reconverter="{Binding ReconverterFilter, Mode=TwoWay}"
92 ee910e7f semi
                                             Revision="{Binding RevisionFilter, Mode=TwoWay}" GroupNO="{Binding GroupNOFilter, Mode=TwoWay}" Document_URL="{Binding DOCUMENT_URLFilter, Mode=TwoWay}"/>
93 31beca73 semi
            <StackPanel Orientation="Horizontal" HorizontalAlignment="Right">
94
                <telerik:RadToggleButton Content=" Convert 추가" Command="{Binding ConverAddCommand, Mode=OneWay}" Width="100" Margin="0,0,20,0" HorizontalAlignment="Right"/>
95
                <telerik:RadToggleButton Content=" 검색" Command="{Binding DataFilterCommand, Mode=OneWay}" Width="100" Margin="0,0,20,0" HorizontalAlignment="Right"/>
96
                <telerik:RadToggleButton Content=" 초기화" Command="{Binding ResetCommand, Mode=OneWay}" Width="100" Margin="0,0,20,0" HorizontalAlignment="Right"/>
97 5feff9f0 semi
            </StackPanel>
98 31beca73 semi
        </StackPanel>
99
100
        <telerik:RadExpander ExpandDirection="Down"  BorderThickness="0" Grid.Row="2"
101 5feff9f0 semi
                  ScrollViewer.HorizontalScrollBarVisibility="Auto"  ScrollViewer.VerticalScrollBarVisibility="Auto"  IsExpanded="True"
102 218e5002 semi
                             telerik:AnimationManager.IsAnimationEnabled="False" >
103 31beca73 semi
            <telerik:RadExpander.Header>
104
                <Grid>
105
                    <Grid.ColumnDefinitions>
106
                        <ColumnDefinition Width="Auto"/>
107
                        <ColumnDefinition Width="Auto"/>
108
                    </Grid.ColumnDefinitions>
109
                    <TextBlock Text="DataBase Items : "/>
110
                    <TextBlock Text="{Binding SelectedCount.DisplayMember, StringFormat=\{0:d\}}" Grid.Column="1"/>
111
                </Grid>
112
            </telerik:RadExpander.Header>
113 5feff9f0 semi
114 31beca73 semi
            <telerik:RadGridView x:Name="dataGrid1"  GroupRenderMode="Flat" VerticalAlignment="Stretch" HorizontalAlignment="Stretch"  
115 218e5002 semi
                                                         ItemsSource="{Binding FilterConvertSourceView}" 
116 2decfbdf alzkakdixm
                             SelectedItem="{Binding SelectFilterConvert, Mode=TwoWay}"
117 85f68fef semi
                             RowDetailsTemplate="{StaticResource RowDetailsTemplate}"  
118 2c634aed semi
                                                         AutoGenerateColumns="False" 
119 85f68fef semi
                             ColumnWidth="*" CanUserFreezeColumns="False"
120 344ac7ed alzkakdixm
                             Grid.Row="1"  ScrollViewer.CanContentScroll="True" IsFilteringAllowed="True"
121
                             LeftFrozenColumnCount="6" 
122
                             RightFrozenColumnCount="0">
123 31beca73 semi
                <telerik:RadContextMenu.ContextMenu>
124
                    <telerik:RadContextMenu x:Name= "GridContextMenu">
125
                        <telerik:RadMenuItem  Header="Convert"  Command="{Binding ConvertCommand}"/>
126
                        <telerik:RadMenuItem Header="Validation"  Command="{Binding ValidateCommand}"/>
127
                        <telerik:RadMenuItem Header="Delete"  Command="{Binding DeleteCommand}"/>
128
                    </telerik:RadContextMenu>
129
                </telerik:RadContextMenu.ContextMenu>
130
                <telerik:RadGridView.Columns>
131
                    <telerik:GridViewToggleRowDetailsColumn />
132
                    <controls:RowIndexColumn Header="#" Width="30" CellStyle="{StaticResource RowNumberStyle}" />
133
                    <telerik:GridViewDataColumn Header="Convert ID "
134 8c7d1ea1 alzkakdixm
                                                                                        DataMemberBinding="{Binding ConvertID}" Width="1.5*" />
135 31beca73 semi
                    <telerik:GridViewDataColumn x:Name="commend" Header="Markus " Width="0.5*"  CellStyle="{StaticResource StretchCellStyle}">
136
                        <telerik:GridViewDataColumn.CellTemplate>
137
                            <DataTemplate>
138
                                <telerik:RadButton Content="Click" BorderThickness="0"
139 b119eeaa taeseongkim
                                                   Background="Transparent"
140
                                                   Command="{Binding MarkusLinkCommand, Source={StaticResource DataBaseItemsModel}}" CommandParameter="{Binding DataContext, RelativeSource={RelativeSource Self}}"/>
141 31beca73 semi
                            </DataTemplate>
142
                        </telerik:GridViewDataColumn.CellTemplate>
143
                    </telerik:GridViewDataColumn>
144
                    <telerik:GridViewDataColumn Header="ProjectNO" 
145 8c7d1ea1 alzkakdixm
                                                                                        DataMemberBinding="{Binding ProjectNumber}" Width="*" />
146 31beca73 semi
                    <telerik:GridViewDataColumn Header="UniqueKey"
147 8c7d1ea1 alzkakdixm
                                                                                        DataMemberBinding="{Binding UniqueKey}" Width="*" />
148 31beca73 semi
                    <telerik:GridViewDataColumn Header="ConvertState"
149 8c7d1ea1 alzkakdixm
                                                                                        DataMemberBinding="{Binding ConvertState, Mode=TwoWay}" Width="*" />
150 31beca73 semi
                    <telerik:GridViewDataColumn Header="CurrentPageNo"
151 8c7d1ea1 alzkakdixm
                                                                                        DataMemberBinding="{Binding CurrentPageNo, Mode=TwoWay}" Width="*" />
152 31beca73 semi
                    <telerik:GridViewDataColumn Header="TotalPageNo"
153 8c7d1ea1 alzkakdixm
                                                                                        DataMemberBinding="{Binding TotalPage, Mode=TwoWay}" Width="*"  />
154 31beca73 semi
                    <telerik:GridViewDynamicHyperlinkColumn Header="원본파일"
155 2decfbdf alzkakdixm
                                                        NavigateUrlFormatString=" {0}"
156 a6e5055d alzkakdixm
                                                                                                            NavigateUrlMemberPaths="OriginfilePath"
157 8c7d1ea1 alzkakdixm
                                                                                                                Width="2*">
158 31beca73 semi
                        <telerik:GridViewDynamicHyperlinkColumn.CellTemplate>
159
                            <DataTemplate>
160
                                <TextBlock Text="{Binding FileName}"/>
161
                            </DataTemplate>
162
                        </telerik:GridViewDynamicHyperlinkColumn.CellTemplate>
163
                    </telerik:GridViewDynamicHyperlinkColumn>
164 78683624 semi
                    <!--<telerik:GridViewDataColumn Header=" ConvertPath"  
165
                                                                                        DataMemberBinding="{Binding ConvertPath}" Width="2.5*" >
166
                    </telerik:GridViewDataColumn>-->
167
                    <telerik:GridViewDataColumn Header=" ConvertPath" Width="2.5*">
168
                        <telerik:GridViewDataColumn.CellTemplate>
169
                            <DataTemplate>
170
                                <StackPanel Orientation="Horizontal">
171
                                    <TextBlock Text="{Binding ConvertPath}"/>
172
                                    <telerik:RadButton BorderThickness="0"
173
                                                   Background="Transparent"
174
                                                   Command="{Binding ConvertPathFileSearchCommand, Source={StaticResource DataBaseItemsModel}}" CommandParameter="{Binding DataContext, RelativeSource={RelativeSource Self}}">
175
                                    <telerik:RadButton.Content>
176
                                        <Image Source="E:\Source\MARKUS\ConvertService\ServiceBase\Markus.Service.StationController\Picture\File_Search_Icon.png" Stretch="None" />
177
                                    </telerik:RadButton.Content>
178
                                </telerik:RadButton>
179
                                </StackPanel>
180
                            </DataTemplate>
181
                        </telerik:GridViewDataColumn.CellTemplate>
182
                    </telerik:GridViewDataColumn>
183
184
                    <!--<telerik:GridViewImageColumn Header=" 파일 찾기" DataMemberBinding="{Binding ConvertPath_Image}" ImageStretch="None" />-->
185 31beca73 semi
                    <telerik:GridViewDataColumn Header="CreateTime" 
186 8c7d1ea1 alzkakdixm
                                                                                        DataMemberBinding="{Binding CreateTime, Mode=TwoWay, StringFormat=\{0:yyyy.MM.dd HH:mm:ss\}}" Width="*" />
187 31beca73 semi
                    <telerik:GridViewDataColumn Header="StartTime" 
188 8c7d1ea1 alzkakdixm
                                                                                        DataMemberBinding="{Binding StartTime, Mode=TwoWay, StringFormat=\{0:yyyy.MM.dd HH:mm:ss\}}" Width="*" />
189 31beca73 semi
                    <telerik:GridViewDataColumn Header="EndTime" 
190 8c7d1ea1 alzkakdixm
                                                                                        DataMemberBinding="{Binding EndTime, Mode=TwoWay, StringFormat=\{0:yyyy.MM.dd HH:mm:ss\}}" Width="*" />
191 31beca73 semi
                </telerik:RadGridView.Columns>
192
            </telerik:RadGridView>
193
        </telerik:RadExpander>
194
        <telerik:RadExpander Grid.Row="3" ExpandDirection="Down" BorderThickness="0"
195 2c634aed semi
                  ScrollViewer.HorizontalScrollBarVisibility="Auto" ScrollViewer.VerticalScrollBarVisibility="Auto" HorizontalAlignment="Stretch"
196 31beca73 semi
                                         VerticalAlignment="Stretch" 
197 8c7d1ea1 alzkakdixm
                             telerik:AnimationManager.IsAnimationEnabled="False" IsExpanded ="{Binding ConvertShow, Mode=TwoWay}">
198 31beca73 semi
            <telerik:RadExpander.Header>
199
                <Grid>
200
                    <Grid.ColumnDefinitions>
201
                        <ColumnDefinition Width="Auto"/>
202
                        <ColumnDefinition Width="Auto"/>
203
                    </Grid.ColumnDefinitions>
204
                    <TextBlock Text="RealConvert Items : "/>
205
                    <TextBlock Text="{Binding RealConvertSource.Count, StringFormat=\{0:d\}}" Grid.Column="1"/>
206
                </Grid>
207
            </telerik:RadExpander.Header>
208
            <telerik:RadGridView Name="dataGrid2" GroupRenderMode="Flat" VerticalAlignment="Stretch" HorizontalAlignment="Stretch"
209 a6e5055d alzkakdixm
                                                         ItemsSource="{Binding RealConvertSource}"
210
                             SelectedItem="{Binding SelectRealConvert, Mode=TwoWay}"
211 344ac7ed alzkakdixm
                             RowDetailsTemplate="{StaticResource RowDetailsTemplate}"
212 a6e5055d alzkakdixm
                                                         AutoGenerateColumns="False" CanUserFreezeColumns="False"
213 85f68fef semi
                             ColumnWidth="*"
214 a6e5055d alzkakdixm
                             Grid.Row="1"  ScrollViewer.CanContentScroll="False" IsFilteringAllowed="True">
215 31beca73 semi
                <telerik:RadContextMenu.ContextMenu>
216
                    <telerik:RadContextMenu>
217
                        <telerik:RadMenuItem  Header="Convert"  Command="{Binding ConvertCommand}"/>
218
                        <telerik:RadMenuItem Header="Validation"  Command="{Binding ValidateCommand}"/>
219
                        <telerik:RadMenuItem Header="Delete"  Command="{Binding DeleteCommand}"/>
220
                    </telerik:RadContextMenu>
221
                </telerik:RadContextMenu.ContextMenu>
222
                <telerik:RadGridView.Columns>
223
                    <telerik:GridViewToggleRowDetailsColumn />
224
                    <controls:RowIndexColumn Header="#" Width="30" CellStyle="{StaticResource RowNumberStyle}" />
225 2decfbdf alzkakdixm
226 31beca73 semi
                    <telerik:GridViewDataColumn Header="Convert ID "
227 8c7d1ea1 alzkakdixm
                                                                                        DataMemberBinding="{Binding ConvertID}" Width="1.5*" />
228 b119eeaa taeseongkim
229 31beca73 semi
                    <telerik:GridViewDataColumn Header="Markus " Width="0.5*" CellStyle="{StaticResource StretchCellStyle}">
230
                        <telerik:GridViewDataColumn.CellTemplate>
231
                            <DataTemplate>
232
                                <telerik:RadButton Content="Click "  BorderThickness="0" Background="Transparent"
233 b119eeaa taeseongkim
                                                   Command="{Binding MarkusLinkCommand, Source={StaticResource DataBaseItemsModel}}" CommandParameter="{Binding DataContext, RelativeSource={RelativeSource Self}}"/>
234 31beca73 semi
                            </DataTemplate>
235
                        </telerik:GridViewDataColumn.CellTemplate>
236
                    </telerik:GridViewDataColumn>
237 e78f0871 alzkakdixm
238 31beca73 semi
                    <telerik:GridViewDataColumn Header="ProjectNO" 
239 8c7d1ea1 alzkakdixm
                                                                                        DataMemberBinding="{Binding ProjectNumber}" Width="*" />
240 31beca73 semi
                    <telerik:GridViewDataColumn Header="UniqueKey"
241 8c7d1ea1 alzkakdixm
                                                                                        DataMemberBinding="{Binding UniqueKey}" Width="*" />
242 31beca73 semi
                    <telerik:GridViewDataColumn Header="ConvertState"
243 8c7d1ea1 alzkakdixm
                                                                                        DataMemberBinding="{Binding ConvertState, Mode=TwoWay}" Width="*" />
244 a6e5055d alzkakdixm
245 31beca73 semi
                    <telerik:GridViewDataColumn Header="CurrentPageNo"
246 8c7d1ea1 alzkakdixm
                                                                                        DataMemberBinding="{Binding CurrentPageNo, Mode=TwoWay}" Width="*" />
247 31beca73 semi
                    <telerik:GridViewDataColumn Header="TotalPageNo"
248 8c7d1ea1 alzkakdixm
                                                                                        DataMemberBinding="{Binding TotalPage, Mode=TwoWay}" Width="*" />
249 31beca73 semi
                    <telerik:GridViewDynamicHyperlinkColumn x:Name="navigation" Header="원본파일"
250 a6e5055d alzkakdixm
                                                        NavigateUrlFormatString="{}{0}"
251
                                                                                                            NavigateUrlMemberPaths="OriginfilePath"
252 8c7d1ea1 alzkakdixm
                                                                                                                Width="2*">
253 31beca73 semi
                        <telerik:GridViewDynamicHyperlinkColumn.CellTemplate>
254
                            <DataTemplate>
255
                                <TextBlock Text="{Binding FileName}"/>
256
                            </DataTemplate>
257
                        </telerik:GridViewDynamicHyperlinkColumn.CellTemplate>
258
                    </telerik:GridViewDynamicHyperlinkColumn>
259
                    <telerik:GridViewDataColumn Header=" ConvertPath"
260 8c7d1ea1 alzkakdixm
                                                                                        DataMemberBinding="{Binding ConvertPath}" Width="2.5*" />
261 31beca73 semi
                    <telerik:GridViewDataColumn Header="CreateTime"
262 8c7d1ea1 alzkakdixm
                                                                                        DataMemberBinding="{Binding CreateTime, Mode=TwoWay, StringFormat=\{0:yyyy.MM.dd HH:mm:ss\}}" Width="*" />
263 31beca73 semi
                    <telerik:GridViewDataColumn Header="StartTime"
264 8c7d1ea1 alzkakdixm
                                                                                        DataMemberBinding="{Binding StartTime, Mode=TwoWay, StringFormat=\{0:yyyy.MM.dd HH:mm:ss\}}" Width="*" />
265 31beca73 semi
                    <telerik:GridViewDataColumn Header="EndTime"
266 8c7d1ea1 alzkakdixm
                                                                                        DataMemberBinding="{Binding EndTime, Mode=TwoWay, StringFormat=\{0:yyyy.MM.dd HH:mm:ss\}}" Width="*" />
267 31beca73 semi
                </telerik:RadGridView.Columns>
268
            </telerik:RadGridView>
269
        </telerik:RadExpander>
270
        <telerik:RadExpander Grid.Row="4" ExpandDirection="Down" BorderThickness="0"  VerticalAlignment="Stretch" 
271
                  ScrollViewer.HorizontalScrollBarVisibility="Auto" ScrollViewer.VerticalScrollBarVisibility="Auto"
272 8c128693 semi
                             telerik:AnimationManager.IsAnimationEnabled="False"  IsExpanded ="False">
273 31beca73 semi
            <telerik:RadExpander.Header>
274
                <Grid>
275
                    <Grid.ColumnDefinitions>
276
                        <ColumnDefinition Width="Auto"/>
277
                        <ColumnDefinition Width="Auto"/>
278
                    </Grid.ColumnDefinitions>
279
                    <TextBlock Text="Alive Items : " Grid.RowSpan="2"/>
280
                    <TextBlock Text="{Binding AliveItems.Count, StringFormat=\{0:d\}}" Grid.Column="1" Grid.RowSpan="2"/>
281
                </Grid>
282
            </telerik:RadExpander.Header>
283
            <telerik:RadGridView GroupRenderMode="Flat" VerticalAlignment="Stretch" HorizontalAlignment="Stretch"
284 85f68fef semi
                                                         ItemsSource="{Binding AliveItems}"
285 8c128693 semi
                             SelectedItem="{Binding SelectAliveConvert, Mode=TwoWay}"
286 344ac7ed alzkakdixm
                                                         AutoGenerateColumns="False" CanUserFreezeColumns="False" RowDetailsTemplate="{StaticResource RowDetailsTemplate}"
287 2decfbdf alzkakdixm
                             ColumnWidth="*"  ScrollViewer.CanContentScroll="False" IsFilteringAllowed="True" Grid.Row="1" >
288 31beca73 semi
                <telerik:RadGridView.Columns>
289
                    <telerik:GridViewToggleRowDetailsColumn />
290
                    <controls:RowIndexColumn Header="#" Width="30" CellStyle="{StaticResource RowNumberStyle}" />
291 2decfbdf alzkakdixm
292 31beca73 semi
                    <telerik:GridViewDataColumn Header="Convert ID "
293 8c7d1ea1 alzkakdixm
                                                                                        DataMemberBinding="{Binding ConvertID}" Width="1.5*"  />
294 2decfbdf alzkakdixm
295 31beca73 semi
                    <telerik:GridViewDataColumn Header="Markus " Width="0.5*" CellStyle="{StaticResource StretchCellStyle}">
296
                        <telerik:GridViewDataColumn.CellTemplate>
297
                            <DataTemplate>
298
                                <telerik:RadButton Content="Click "  BorderThickness="0" Background="Transparent"
299 344ac7ed alzkakdixm
                                                   Command="{Binding MarkusLinkCommand, Source={StaticResource DataBaseItemsModel}}" CommandParameter="{Binding DataContext, RelativeSource={RelativeSource Self}}"/>
300 31beca73 semi
                            </DataTemplate>
301
                        </telerik:GridViewDataColumn.CellTemplate>
302
                    </telerik:GridViewDataColumn>
303 344ac7ed alzkakdixm
304 31beca73 semi
                    <telerik:GridViewDataColumn Header="ProjectNO" 
305 8c7d1ea1 alzkakdixm
                                                                                        DataMemberBinding="{Binding ProjectNumber}" Width="*" />
306 31beca73 semi
                    <telerik:GridViewDataColumn Header="UniqueKey"
307 8c7d1ea1 alzkakdixm
                                                                                        DataMemberBinding="{Binding UniqueKey}" Width="*" />
308 31beca73 semi
                    <telerik:GridViewDataColumn Header="ConvertState"
309 8c7d1ea1 alzkakdixm
                                                                                        DataMemberBinding="{Binding ConvertState, Mode=TwoWay}" Width="*" />
310 344ac7ed alzkakdixm
311 31beca73 semi
                    <telerik:GridViewDataColumn Header="CurrentPageNo"
312 8c7d1ea1 alzkakdixm
                                                                                        DataMemberBinding="{Binding CurrentPageNo, Mode=TwoWay}" Width="*" />
313 31beca73 semi
                    <telerik:GridViewDataColumn Header="TotalPageNo"
314 8c7d1ea1 alzkakdixm
                                                                                        DataMemberBinding="{Binding TotalPage, Mode=TwoWay}" Width="*" />
315 31beca73 semi
                    <telerik:GridViewDynamicHyperlinkColumn  Header="원본파일"
316 344ac7ed alzkakdixm
                                                        NavigateUrlFormatString="{}{0}"
317
                                                                                                            NavigateUrlMemberPaths="OriginfilePath"
318 85f68fef semi
                                                                                                                Width="2*">
319 31beca73 semi
                        <telerik:GridViewDynamicHyperlinkColumn.CellTemplate>
320
                            <DataTemplate>
321
                                <TextBlock Text="{Binding FileName}"/>
322
                            </DataTemplate>
323
                        </telerik:GridViewDynamicHyperlinkColumn.CellTemplate>
324
                    </telerik:GridViewDynamicHyperlinkColumn>
325
                    <telerik:GridViewDataColumn Header=" ConvertPath"
326 8c7d1ea1 alzkakdixm
                                                                                        DataMemberBinding="{Binding ConvertPath}" Width="2.5*" />
327 31beca73 semi
                    <telerik:GridViewDataColumn Header="CreateTime"
328 8c7d1ea1 alzkakdixm
                                                                                        DataMemberBinding="{Binding CreateTime, Mode=TwoWay, StringFormat=\{0:yyyy.MM.dd HH:mm:ss\}}" Width="*" />
329 31beca73 semi
                    <telerik:GridViewDataColumn Header="StartTime"
330 8c7d1ea1 alzkakdixm
                                                                                        DataMemberBinding="{Binding StartTime, Mode=TwoWay, StringFormat=\{0:yyyy.MM.dd HH:mm:ss\}}" Width="*" />
331 31beca73 semi
                    <telerik:GridViewDataColumn Header="EndTime"
332 8c7d1ea1 alzkakdixm
                                                                                        DataMemberBinding="{Binding EndTime, Mode=TwoWay, StringFormat=\{0:yyyy.MM.dd HH:mm:ss\}}" Width="*" />
333 31beca73 semi
                </telerik:RadGridView.Columns>
334
            </telerik:RadGridView>
335
        </telerik:RadExpander>
336 a6e5055d alzkakdixm
    </Grid>
337
</UserControl>
클립보드 이미지 추가 (최대 크기: 500 MB)