上一页 1 ··· 31 32 33 34 35 36 37 38 39 ··· 120 下一页
摘要: SelectedItems convert to IList as below failed; IList<Book> collection2 = (IList<Book>)obj; System.InvalidCastException HResult=0x80004002 Message=Una 阅读全文
posted @ 2024-09-22 19:42 FredGrit 阅读(71) 评论(0) 推荐(0)
摘要: private void SelectedCommandExecuted(object obj) { if (obj != null && obj is DataGrid dg) { if (dg != null) { var selectedBks = dg.SelectedItems; if ( 阅读全文
posted @ 2024-09-22 17:26 FredGrit 阅读(59) 评论(0) 推荐(0)
摘要: <Window x:Class="WpfApp397.MainWindow" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2 阅读全文
posted @ 2024-09-22 14:48 FredGrit 阅读(38) 评论(0) 推荐(0)
摘要: <Window x:Class="WpfApp397.MainWindow" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2 阅读全文
posted @ 2024-09-22 14:26 FredGrit 阅读(19) 评论(0) 推荐(0)
摘要: <Window.Resources> <ObjectDataProvider x:Key="kindEnum" MethodName="GetValues" ObjectType="{x:Type sys:Enum}"> <ObjectDataProvider.MethodParameters> < 阅读全文
posted @ 2024-09-22 14:22 FredGrit 阅读(21) 评论(0) 推荐(0)
摘要: <Window x:Class="WpfApp395.MainWindow" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2 阅读全文
posted @ 2024-09-21 22:00 FredGrit 阅读(14) 评论(0) 推荐(0)
摘要: <ComboBox ItemsSource="{StaticResource dataList}" SelectedIndex="0" VirtualizingPanel.IsContainerVirtualizable="True" VirtualizingPanel.IsVirtualizing 阅读全文
posted @ 2024-09-21 20:57 FredGrit 阅读(14) 评论(0) 推荐(0)
摘要: <Window x:Class="WpfApp392.MainWindow" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2 阅读全文
posted @ 2024-09-21 19:45 FredGrit 阅读(17) 评论(0) 推荐(0)
摘要: <ComboBox x:Name="cbx" Grid.Row="0" Grid.Column="0" SelectedIndex="0" ItemsSource="{StaticResource booksData}" FontSize="20" Foreground="Red" Vertical 阅读全文
posted @ 2024-09-21 17:41 FredGrit 阅读(7) 评论(0) 推荐(0)
摘要: <ComboBox Grid.Row="0" Grid.Column="0" SelectedIndex="0" ItemsSource="{StaticResource booksData}" FontSize="20" Foreground="Red" VerticalAlignment="St 阅读全文
posted @ 2024-09-21 16:56 FredGrit 阅读(14) 评论(0) 推荐(0)
上一页 1 ··· 31 32 33 34 35 36 37 38 39 ··· 120 下一页