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