개정판 80391351
SelectedItems 수정
Change-Id: I942d91a7d78fbf05b2fb94fd782be9877423ffed
ConvertService/ServiceBase/Markus.Service.StationController/Views/DataBaseView.xaml | ||
---|---|---|
114 | 114 |
<ColumnDefinition Width="Auto"/> |
115 | 115 |
</Grid.ColumnDefinitions> |
116 | 116 |
<TextBlock Text="DataBase Items : "/> |
117 |
<TextBlock Text="{Binding SelectedCount.DisplayMember, StringFormat=\{0:d\}}" Grid.Column="1"/>
|
|
117 |
<TextBlock Text="{Binding FilterConvertSource.Count, StringFormat=\{0:d\}}" Grid.Column="1"/>
|
|
118 | 118 |
</Grid> |
119 | 119 |
</telerik:RadExpander.Header> |
120 | 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}"--> |
|
121 | 124 |
<telerik:RadGridView x:Name="dataGrid1" GroupRenderMode="Flat" VerticalAlignment="Stretch" HorizontalAlignment="Stretch" |
122 | 125 |
ItemsSource="{Binding FilterConvertSourceView}" |
123 |
SelectedItem="{Binding SelectFilterConvert, Mode=TwoWay}" |
|
126 |
|
|
127 |
SelectionMode="Extended" |
|
128 |
SelectionUnit="FullRow" |
|
129 |
CanUserSelect ="True" |
|
124 | 130 |
RowDetailsTemplate="{StaticResource RowDetailsTemplate}" |
125 | 131 |
AutoGenerateColumns="False" |
126 | 132 |
ColumnWidth="*" CanUserFreezeColumns="False" |
127 | 133 |
Grid.Row="1" ScrollViewer.CanContentScroll="True" IsFilteringAllowed="True" |
128 | 134 |
LeftFrozenColumnCount="6" |
129 | 135 |
RightFrozenColumnCount="0"> |
136 |
<i:Interaction.Behaviors> |
|
137 |
<controls:GridViewSelectionUtilities SelectedItems="{Binding SelectFilterConvertList, Source={StaticResource DataBaseItemsModel}}" /> |
|
138 |
</i:Interaction.Behaviors> |
|
130 | 139 |
<telerik:RadContextMenu.ContextMenu> |
131 | 140 |
<telerik:RadContextMenu x:Name= "GridContextMenu"> |
132 | 141 |
<telerik:RadMenuItem Header="Convert" Command="{Binding ConvertCommand}"/> |
... | ... | |
260 | 269 |
</DataTemplate> |
261 | 270 |
</telerik:GridViewDynamicHyperlinkColumn.CellTemplate> |
262 | 271 |
</telerik:GridViewDynamicHyperlinkColumn> |
263 |
<telerik:GridViewDataColumn Header=" ConvertPath" |
|
264 |
DataMemberBinding="{Binding ConvertPath}" Width="2.5*" /> |
|
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> |
|
265 | 288 |
<telerik:GridViewDataColumn Header="CreateTime" |
266 | 289 |
DataMemberBinding="{Binding CreateTime, Mode=TwoWay, StringFormat=\{0:yyyy.MM.dd HH:mm:ss\}}" Width="*" /> |
267 | 290 |
<telerik:GridViewDataColumn Header="StartTime" |
... | ... | |
326 | 349 |
</DataTemplate> |
327 | 350 |
</telerik:GridViewDynamicHyperlinkColumn.CellTemplate> |
328 | 351 |
</telerik:GridViewDynamicHyperlinkColumn> |
329 |
<telerik:GridViewDataColumn Header=" ConvertPath" |
|
330 |
DataMemberBinding="{Binding ConvertPath}" Width="2.5*" /> |
|
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> |
|
331 | 368 |
<telerik:GridViewDataColumn Header="CreateTime" |
332 | 369 |
DataMemberBinding="{Binding CreateTime, Mode=TwoWay, StringFormat=\{0:yyyy.MM.dd HH:mm:ss\}}" Width="*" /> |
333 | 370 |
<telerik:GridViewDataColumn Header="StartTime" |
내보내기 Unified diff