프로젝트

일반

사용자정보

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

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

이력 | 보기 | 이력해설 | 다운로드 (23.8 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 e6281033 alzkakdixm
             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 8c7d1ea1 alzkakdixm
            <RowDefinition Height="*"/>
76 a6e5055d alzkakdixm
        </Grid.RowDefinitions>
77
        <StackPanel Margin="0,10" Orientation="Horizontal" HorizontalAlignment="Right" Grid.Row="0"  Height="20" >
78
            <TextBlock Text="Display Count : " VerticalAlignment="Center"/>
79
            <telerik:RadComboBox x:Name="ComboCount" Width="100" SelectedItem="{Binding SelectedCount, Mode=TwoWay}" Margin="0,0,10,0" SelectedValuePath="DisplayMember"
80 8c7d1ea1 alzkakdixm
                  DisplayMemberPath="ValueMember" ItemsSource="{Binding SelectedCountList}" SelectedIndex="0" />
81 a6e5055d alzkakdixm
            <TextBlock Text="Status Type : " Margin="10,0,0,0"  VerticalAlignment="Center"/>
82 e78f0871 alzkakdixm
            <telerik:RadComboBox Width="100" SelectedItem="{Binding SelectedStatus, Mode=TwoWay}" SelectedIndex="4"
83 8c7d1ea1 alzkakdixm
                   DisplayMemberPath="DisplayName" SelectedValuePath="Value" ItemsSource="{Binding StatusCodeList}" Height="20"/>
84 a6e5055d alzkakdixm
            <telerik:RadToggleButton Content="  엑셀 저장  " Margin="10,0" Height="20" Command="{Binding DataSaveFileGemBoxCommand, Mode=OneWay}"/>
85 b63dcfbb semi
            <!--<telerik:RadToggleButton Content=" Filter" Command="{Binding DataFilterCommand, Mode=OneWay}"/>-->
86 a6e5055d alzkakdixm
        </StackPanel>
87 8c7d1ea1 alzkakdixm
        <Grid HorizontalAlignment="Left" VerticalAlignment="Top" Grid.Row="1" ScrollViewer.HorizontalScrollBarVisibility="Auto" ScrollViewer.VerticalScrollBarVisibility="Auto" >
88 218e5002 semi
            <Grid.ColumnDefinitions>
89
                <ColumnDefinition Width="387*"/>
90
                <ColumnDefinition Width="13*"/>
91
            </Grid.ColumnDefinitions>
92
            <Grid.RowDefinitions>
93 8c128693 semi
                <RowDefinition/>
94 8c7d1ea1 alzkakdixm
            </Grid.RowDefinitions>
95 8c128693 semi
            <StackPanel Orientation="Vertical" MaxHeight="850" Grid.Row="0">
96 3bde451b semi
                <StackPanel Orientation="Vertical">
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 218e5002 semi
                                             Revision="{Binding RevisionFilter, Mode=TwoWay}" GroupNO="{Binding GroupNOFilter, Mode=TwoWay}"/>
100 3bde451b semi
                    <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 8c128693 semi
                    </StackPanel>
105 3bde451b semi
                </StackPanel>
106 b63dcfbb semi
107 8c128693 semi
                <DockPanel LastChildFill="True">
108
                    <telerik:RadExpander ExpandDirection="Down"  BorderThickness="0" Grid.Row="1" MaxHeight="{Binding DataBase_ItemsHeight, Mode=OneWay}"
109 2c634aed semi
                  ScrollViewer.HorizontalScrollBarVisibility="Auto"  ScrollViewer.VerticalScrollBarVisibility="Auto"  IsExpanded="True" HorizontalAlignment="Stretch"
110
                                         VerticalAlignment="Stretch"
111 218e5002 semi
                             telerik:AnimationManager.IsAnimationEnabled="False" >
112
                        <telerik:RadExpander.Header>
113
                            <Grid>
114
                                <Grid.ColumnDefinitions>
115
                                    <ColumnDefinition Width="Auto"/>
116
                                    <ColumnDefinition Width="Auto"/>
117
                                </Grid.ColumnDefinitions>
118
                                <TextBlock Text="DataBase Items : "/>
119
                                <TextBlock Text="{Binding SelectedCount.DisplayMember, StringFormat=\{0:d\}}" Grid.Column="1"/>
120
                            </Grid>
121
                        </telerik:RadExpander.Header>
122 85f68fef semi
                
123
                        <telerik:RadGridView x:Name="dataGrid1"  GroupRenderMode="Flat" VerticalAlignment="Stretch" HorizontalAlignment="Stretch"  
124 218e5002 semi
                                                         ItemsSource="{Binding FilterConvertSourceView}" 
125 2decfbdf alzkakdixm
                             SelectedItem="{Binding SelectFilterConvert, Mode=TwoWay}"
126 85f68fef semi
                             RowDetailsTemplate="{StaticResource RowDetailsTemplate}"  
127 2c634aed semi
                                                         AutoGenerateColumns="False" 
128 85f68fef semi
                             ColumnWidth="*" CanUserFreezeColumns="False"
129 344ac7ed alzkakdixm
                             Grid.Row="1"  ScrollViewer.CanContentScroll="True" IsFilteringAllowed="True"
130
                             LeftFrozenColumnCount="6" 
131
                             RightFrozenColumnCount="0">
132 218e5002 semi
                            <telerik:RadContextMenu.ContextMenu>
133
                                <telerik:RadContextMenu x:Name= "GridContextMenu">
134
                                    <telerik:RadMenuItem  Header="Convert"  Command="{Binding ConvertCommand}"/>
135
                                    <telerik:RadMenuItem Header="Validation"  Command="{Binding ValidateCommand}"/>
136
                                    <telerik:RadMenuItem Header="Delete"  Command="{Binding DeleteCommand}"/>
137
                                </telerik:RadContextMenu>
138
                            </telerik:RadContextMenu.ContextMenu>
139
                            <telerik:RadGridView.Columns>
140 85f68fef semi
                                <telerik:GridViewToggleRowDetailsColumn />
141 218e5002 semi
                                <controls:RowIndexColumn Header="#" Width="30" CellStyle="{StaticResource RowNumberStyle}" />
142
                                <telerik:GridViewDataColumn Header="Convert ID "
143 8c7d1ea1 alzkakdixm
                                                                                        DataMemberBinding="{Binding ConvertID}" Width="1.5*" />
144 218e5002 semi
                                <telerik:GridViewDataColumn x:Name="commend" Header="Markus " Width="0.5*"  CellStyle="{StaticResource StretchCellStyle}">
145
                                    <telerik:GridViewDataColumn.CellTemplate>
146
                                        <DataTemplate>
147
                                            <telerik:RadButton Content="Click" BorderThickness="0"
148 b119eeaa taeseongkim
                                                   Background="Transparent"
149
                                                   Command="{Binding MarkusLinkCommand, Source={StaticResource DataBaseItemsModel}}" CommandParameter="{Binding DataContext, RelativeSource={RelativeSource Self}}"/>
150 218e5002 semi
                                        </DataTemplate>
151
                                    </telerik:GridViewDataColumn.CellTemplate>
152
                                </telerik:GridViewDataColumn>
153
                                <telerik:GridViewDataColumn Header="ProjectNO" 
154 8c7d1ea1 alzkakdixm
                                                                                        DataMemberBinding="{Binding ProjectNumber}" Width="*" />
155 218e5002 semi
                                <telerik:GridViewDataColumn Header="UniqueKey"
156 8c7d1ea1 alzkakdixm
                                                                                        DataMemberBinding="{Binding UniqueKey}" Width="*" />
157 218e5002 semi
                                <telerik:GridViewDataColumn Header="ConvertState"
158 8c7d1ea1 alzkakdixm
                                                                                        DataMemberBinding="{Binding ConvertState, Mode=TwoWay}" Width="*" />
159 218e5002 semi
                                <telerik:GridViewDataColumn Header="CurrentPageNo"
160 8c7d1ea1 alzkakdixm
                                                                                        DataMemberBinding="{Binding CurrentPageNo, Mode=TwoWay}" Width="*" />
161 218e5002 semi
                                <telerik:GridViewDataColumn Header="TotalPageNo"
162 8c7d1ea1 alzkakdixm
                                                                                        DataMemberBinding="{Binding TotalPage, Mode=TwoWay}" Width="*"  />
163 218e5002 semi
                                <telerik:GridViewDynamicHyperlinkColumn Header="원본파일"
164 2decfbdf alzkakdixm
                                                        NavigateUrlFormatString=" {0}"
165 a6e5055d alzkakdixm
                                                                                                            NavigateUrlMemberPaths="OriginfilePath"
166 8c7d1ea1 alzkakdixm
                                                                                                                Width="2*">
167 218e5002 semi
                                    <telerik:GridViewDynamicHyperlinkColumn.CellTemplate>
168
                                        <DataTemplate>
169
                                            <TextBlock Text="{Binding FileName}"/>
170
                                        </DataTemplate>
171
                                    </telerik:GridViewDynamicHyperlinkColumn.CellTemplate>
172
                                </telerik:GridViewDynamicHyperlinkColumn>
173
                                <telerik:GridViewDataColumn Header=" ConvertPath"
174 8c7d1ea1 alzkakdixm
                                                                                        DataMemberBinding="{Binding ConvertPath}" Width="2.5*" />
175 218e5002 semi
                                <telerik:GridViewDataColumn Header="CreateTime" 
176 8c7d1ea1 alzkakdixm
                                                                                        DataMemberBinding="{Binding CreateTime, Mode=TwoWay, StringFormat=\{0:yyyy.MM.dd HH:mm:ss\}}" Width="*" />
177 218e5002 semi
                                <telerik:GridViewDataColumn Header="StartTime" 
178 8c7d1ea1 alzkakdixm
                                                                                        DataMemberBinding="{Binding StartTime, Mode=TwoWay, StringFormat=\{0:yyyy.MM.dd HH:mm:ss\}}" Width="*" />
179 218e5002 semi
                                <telerik:GridViewDataColumn Header="EndTime" 
180 8c7d1ea1 alzkakdixm
                                                                                        DataMemberBinding="{Binding EndTime, Mode=TwoWay, StringFormat=\{0:yyyy.MM.dd HH:mm:ss\}}" Width="*" />
181 218e5002 semi
                            </telerik:RadGridView.Columns>
182
                        </telerik:RadGridView>
183
                    </telerik:RadExpander>
184
                </DockPanel>
185 85f68fef semi
                
186
                <telerik:RadExpander Grid.Row="2" ExpandDirection="Down" BorderThickness="0"  MaxHeight="{Binding RealConvert_Height,Mode=OneWay}"
187 2c634aed semi
                  ScrollViewer.HorizontalScrollBarVisibility="Auto" ScrollViewer.VerticalScrollBarVisibility="Auto" HorizontalAlignment="Stretch"
188
                                         VerticalAlignment="Stretch"
189 8c7d1ea1 alzkakdixm
                             telerik:AnimationManager.IsAnimationEnabled="False" IsExpanded ="{Binding ConvertShow, Mode=TwoWay}">
190 218e5002 semi
                    <telerik:RadExpander.Header>
191
                        <Grid>
192
                            <Grid.ColumnDefinitions>
193
                                <ColumnDefinition Width="Auto"/>
194
                                <ColumnDefinition Width="Auto"/>
195
                            </Grid.ColumnDefinitions>
196
                            <TextBlock Text="RealConvert Items : "/>
197
                            <TextBlock Text="{Binding RealConvertSource.Count, StringFormat=\{0:d\}}" Grid.Column="1"/>
198
                        </Grid>
199
                    </telerik:RadExpander.Header>
200
                    <telerik:RadGridView Name="dataGrid2" GroupRenderMode="Flat" VerticalAlignment="Stretch" HorizontalAlignment="Stretch"
201 a6e5055d alzkakdixm
                                                         ItemsSource="{Binding RealConvertSource}"
202
                             SelectedItem="{Binding SelectRealConvert, Mode=TwoWay}"
203 344ac7ed alzkakdixm
                             RowDetailsTemplate="{StaticResource RowDetailsTemplate}"
204 a6e5055d alzkakdixm
                                                         AutoGenerateColumns="False" CanUserFreezeColumns="False"
205 85f68fef semi
                             ColumnWidth="*"
206 a6e5055d alzkakdixm
                             Grid.Row="1"  ScrollViewer.CanContentScroll="False" IsFilteringAllowed="True">
207 218e5002 semi
                        <telerik:RadContextMenu.ContextMenu>
208
                            <telerik:RadContextMenu>
209
                                <telerik:RadMenuItem  Header="Convert"  Command="{Binding ConvertCommand}"/>
210
                                <telerik:RadMenuItem Header="Validation"  Command="{Binding ValidateCommand}"/>
211
                                <telerik:RadMenuItem Header="Delete"  Command="{Binding DeleteCommand}"/>
212
                            </telerik:RadContextMenu>
213
                        </telerik:RadContextMenu.ContextMenu>
214
                        <telerik:RadGridView.Columns>
215 85f68fef semi
                            <telerik:GridViewToggleRowDetailsColumn />
216 218e5002 semi
                            <controls:RowIndexColumn Header="#" Width="30" CellStyle="{StaticResource RowNumberStyle}" />
217 2decfbdf alzkakdixm
218 218e5002 semi
                            <telerik:GridViewDataColumn Header="Convert ID "
219 8c7d1ea1 alzkakdixm
                                                                                        DataMemberBinding="{Binding ConvertID}" Width="1.5*" />
220 b119eeaa taeseongkim
221 218e5002 semi
                            <telerik:GridViewDataColumn Header="Markus " Width="0.5*" CellStyle="{StaticResource StretchCellStyle}">
222
                                <telerik:GridViewDataColumn.CellTemplate>
223
                                    <DataTemplate>
224
                                        <telerik:RadButton Content="Click "  BorderThickness="0" Background="Transparent"
225 b119eeaa taeseongkim
                                                   Command="{Binding MarkusLinkCommand, Source={StaticResource DataBaseItemsModel}}" CommandParameter="{Binding DataContext, RelativeSource={RelativeSource Self}}"/>
226 218e5002 semi
                                    </DataTemplate>
227
                                </telerik:GridViewDataColumn.CellTemplate>
228
                            </telerik:GridViewDataColumn>
229 e78f0871 alzkakdixm
230 218e5002 semi
                            <telerik:GridViewDataColumn Header="ProjectNO" 
231 8c7d1ea1 alzkakdixm
                                                                                        DataMemberBinding="{Binding ProjectNumber}" Width="*" />
232 218e5002 semi
                            <telerik:GridViewDataColumn Header="UniqueKey"
233 8c7d1ea1 alzkakdixm
                                                                                        DataMemberBinding="{Binding UniqueKey}" Width="*" />
234 218e5002 semi
                            <telerik:GridViewDataColumn Header="ConvertState"
235 8c7d1ea1 alzkakdixm
                                                                                        DataMemberBinding="{Binding ConvertState, Mode=TwoWay}" Width="*" />
236 a6e5055d alzkakdixm
237 218e5002 semi
                            <telerik:GridViewDataColumn Header="CurrentPageNo"
238 8c7d1ea1 alzkakdixm
                                                                                        DataMemberBinding="{Binding CurrentPageNo, Mode=TwoWay}" Width="*" />
239 218e5002 semi
                            <telerik:GridViewDataColumn Header="TotalPageNo"
240 8c7d1ea1 alzkakdixm
                                                                                        DataMemberBinding="{Binding TotalPage, Mode=TwoWay}" Width="*" />
241 218e5002 semi
                            <telerik:GridViewDynamicHyperlinkColumn x:Name="navigation" Header="원본파일"
242 a6e5055d alzkakdixm
                                                        NavigateUrlFormatString="{}{0}"
243
                                                                                                            NavigateUrlMemberPaths="OriginfilePath"
244 8c7d1ea1 alzkakdixm
                                                                                                                Width="2*">
245 218e5002 semi
                                <telerik:GridViewDynamicHyperlinkColumn.CellTemplate>
246
                                    <DataTemplate>
247
                                        <TextBlock Text="{Binding FileName}"/>
248
                                    </DataTemplate>
249
                                </telerik:GridViewDynamicHyperlinkColumn.CellTemplate>
250
                            </telerik:GridViewDynamicHyperlinkColumn>
251
                            <telerik:GridViewDataColumn Header=" ConvertPath"
252 8c7d1ea1 alzkakdixm
                                                                                        DataMemberBinding="{Binding ConvertPath}" Width="2.5*" />
253 218e5002 semi
                            <telerik:GridViewDataColumn Header="CreateTime"
254 8c7d1ea1 alzkakdixm
                                                                                        DataMemberBinding="{Binding CreateTime, Mode=TwoWay, StringFormat=\{0:yyyy.MM.dd HH:mm:ss\}}" Width="*" />
255 218e5002 semi
                            <telerik:GridViewDataColumn Header="StartTime"
256 8c7d1ea1 alzkakdixm
                                                                                        DataMemberBinding="{Binding StartTime, Mode=TwoWay, StringFormat=\{0:yyyy.MM.dd HH:mm:ss\}}" Width="*" />
257 218e5002 semi
                            <telerik:GridViewDataColumn Header="EndTime"
258 8c7d1ea1 alzkakdixm
                                                                                        DataMemberBinding="{Binding EndTime, Mode=TwoWay, StringFormat=\{0:yyyy.MM.dd HH:mm:ss\}}" Width="*" />
259 218e5002 semi
                        </telerik:RadGridView.Columns>
260
                    </telerik:RadGridView>
261
                </telerik:RadExpander>
262
263 2c634aed semi
                <telerik:RadExpander Grid.Row="3" ExpandDirection="Down" BorderThickness="0"  VerticalAlignment="Stretch" 
264 8c128693 semi
                  ScrollViewer.HorizontalScrollBarVisibility="Auto" ScrollViewer.VerticalScrollBarVisibility="Auto"  MaxHeight="{Binding Alive_Height,Mode=OneWay}"
265
                             telerik:AnimationManager.IsAnimationEnabled="False"  IsExpanded ="False">
266 218e5002 semi
                    <telerik:RadExpander.Header>
267
                        <Grid>
268
                            <Grid.RowDefinitions>
269
                                <RowDefinition Height="11*"/>
270
                                <RowDefinition Height="5*"/>
271
                            </Grid.RowDefinitions>
272
                            <Grid.ColumnDefinitions>
273
                                <ColumnDefinition Width="Auto"/>
274
                                <ColumnDefinition Width="Auto"/>
275
                            </Grid.ColumnDefinitions>
276
                            <TextBlock Text="Alive Items : " Grid.RowSpan="2"/>
277
                            <TextBlock Text="{Binding AliveItems.Count, StringFormat=\{0:d\}}" Grid.Column="1" Grid.RowSpan="2"/>
278
                        </Grid>
279
                    </telerik:RadExpander.Header>
280
                    <telerik:RadGridView GroupRenderMode="Flat" VerticalAlignment="Stretch" HorizontalAlignment="Stretch"
281 85f68fef semi
                                                         ItemsSource="{Binding AliveItems}"
282 8c128693 semi
                             SelectedItem="{Binding SelectAliveConvert, Mode=TwoWay}"
283 344ac7ed alzkakdixm
                                                         AutoGenerateColumns="False" CanUserFreezeColumns="False" RowDetailsTemplate="{StaticResource RowDetailsTemplate}"
284 2decfbdf alzkakdixm
                             ColumnWidth="*"  ScrollViewer.CanContentScroll="False" IsFilteringAllowed="True" Grid.Row="1" >
285 218e5002 semi
                        <telerik:RadGridView.Columns>
286 85f68fef semi
                            <telerik:GridViewToggleRowDetailsColumn />
287 218e5002 semi
                            <controls:RowIndexColumn Header="#" Width="30" CellStyle="{StaticResource RowNumberStyle}" />
288 2decfbdf alzkakdixm
289 218e5002 semi
                            <telerik:GridViewDataColumn Header="Convert ID "
290 8c7d1ea1 alzkakdixm
                                                                                        DataMemberBinding="{Binding ConvertID}" Width="1.5*"  />
291 2decfbdf alzkakdixm
292 218e5002 semi
                            <telerik:GridViewDataColumn Header="Markus " Width="0.5*" CellStyle="{StaticResource StretchCellStyle}">
293
                                <telerik:GridViewDataColumn.CellTemplate>
294
                                    <DataTemplate>
295
                                        <telerik:RadButton Content="Click "  BorderThickness="0" Background="Transparent"
296 344ac7ed alzkakdixm
                                                   Command="{Binding MarkusLinkCommand, Source={StaticResource DataBaseItemsModel}}" CommandParameter="{Binding DataContext, RelativeSource={RelativeSource Self}}"/>
297 218e5002 semi
                                    </DataTemplate>
298
                                </telerik:GridViewDataColumn.CellTemplate>
299
                            </telerik:GridViewDataColumn>
300 344ac7ed alzkakdixm
301 218e5002 semi
                            <telerik:GridViewDataColumn Header="ProjectNO" 
302 8c7d1ea1 alzkakdixm
                                                                                        DataMemberBinding="{Binding ProjectNumber}" Width="*" />
303 218e5002 semi
                            <telerik:GridViewDataColumn Header="UniqueKey"
304 8c7d1ea1 alzkakdixm
                                                                                        DataMemberBinding="{Binding UniqueKey}" Width="*" />
305 218e5002 semi
                            <telerik:GridViewDataColumn Header="ConvertState"
306 8c7d1ea1 alzkakdixm
                                                                                        DataMemberBinding="{Binding ConvertState, Mode=TwoWay}" Width="*" />
307 344ac7ed alzkakdixm
308 218e5002 semi
                            <telerik:GridViewDataColumn Header="CurrentPageNo"
309 8c7d1ea1 alzkakdixm
                                                                                        DataMemberBinding="{Binding CurrentPageNo, Mode=TwoWay}" Width="*" />
310 218e5002 semi
                            <telerik:GridViewDataColumn Header="TotalPageNo"
311 8c7d1ea1 alzkakdixm
                                                                                        DataMemberBinding="{Binding TotalPage, Mode=TwoWay}" Width="*" />
312 218e5002 semi
                            <telerik:GridViewDynamicHyperlinkColumn  Header="원본파일"
313 344ac7ed alzkakdixm
                                                        NavigateUrlFormatString="{}{0}"
314
                                                                                                            NavigateUrlMemberPaths="OriginfilePath"
315 85f68fef semi
                                                                                                                Width="2*">
316 218e5002 semi
                                <telerik:GridViewDynamicHyperlinkColumn.CellTemplate>
317
                                    <DataTemplate>
318
                                        <TextBlock Text="{Binding FileName}"/>
319
                                    </DataTemplate>
320
                                </telerik:GridViewDynamicHyperlinkColumn.CellTemplate>
321
                            </telerik:GridViewDynamicHyperlinkColumn>
322
                            <telerik:GridViewDataColumn Header=" ConvertPath"
323 8c7d1ea1 alzkakdixm
                                                                                        DataMemberBinding="{Binding ConvertPath}" Width="2.5*" />
324 218e5002 semi
                            <telerik:GridViewDataColumn Header="CreateTime"
325 8c7d1ea1 alzkakdixm
                                                                                        DataMemberBinding="{Binding CreateTime, Mode=TwoWay, StringFormat=\{0:yyyy.MM.dd HH:mm:ss\}}" Width="*" />
326 218e5002 semi
                            <telerik:GridViewDataColumn Header="StartTime"
327 8c7d1ea1 alzkakdixm
                                                                                        DataMemberBinding="{Binding StartTime, Mode=TwoWay, StringFormat=\{0:yyyy.MM.dd HH:mm:ss\}}" Width="*" />
328 218e5002 semi
                            <telerik:GridViewDataColumn Header="EndTime"
329 8c7d1ea1 alzkakdixm
                                                                                        DataMemberBinding="{Binding EndTime, Mode=TwoWay, StringFormat=\{0:yyyy.MM.dd HH:mm:ss\}}" Width="*" />
330 218e5002 semi
                        </telerik:RadGridView.Columns>
331
                    </telerik:RadGridView>
332
                </telerik:RadExpander>
333
334
            </StackPanel>
335 8c7d1ea1 alzkakdixm
        </Grid>
336 a6e5055d alzkakdixm
    </Grid>
337
</UserControl>
클립보드 이미지 추가 (최대 크기: 500 MB)