上一页 1 2 3 4 5 6 7 8 ··· 94 下一页
摘要: Text="{Binding StringFormat={}{0} items,Source={StaticResource mainVM},Path=Cnt}" //xaml <Window x:Class="WpfApp17.MainWindow" xmlns="http://schemas.m 阅读全文
posted @ 2024-10-06 19:31 FredGrit 阅读(4) 评论(0) 推荐(0) 编辑
摘要: <ListBox Grid.Column="0" ItemContainerStyle="{StaticResource lbxItemContainerStyle}" ItemsSource="{Binding BooksCollection,Mode=TwoWay,UpdateSourceTri 阅读全文
posted @ 2024-10-05 21:14 FredGrit 阅读(3) 评论(0) 推荐(0) 编辑
摘要: <Window.Resources> <Style x:Key="lbxItemContainerStyle" TargetType="ListBoxItem"> <Setter Property="Template"> <Setter.Value> <ControlTemplate TargetT 阅读全文
posted @ 2024-10-05 21:12 FredGrit 阅读(7) 评论(0) 推荐(0) 编辑
摘要: //xaml <Window x:Class="WpfApp13.MainWindow" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/w 阅读全文
posted @ 2024-10-05 20:29 FredGrit 阅读(3) 评论(0) 推荐(0) 编辑
摘要: <ListBox ItemsSource="{Binding BooksCollection,Mode=TwoWay,UpdateSourceTrigger=PropertyChanged}" SelectedIndex="{Binding ImgIdx,Mode=TwoWay,UpdateSour 阅读全文
posted @ 2024-10-05 19:35 FredGrit 阅读(4) 评论(0) 推荐(0) 编辑
摘要: <Window x:Class="WpfApp10.MainWindow" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/20 阅读全文
posted @ 2024-10-05 01:01 FredGrit 阅读(3) 评论(0) 推荐(0) 编辑
摘要: //xaml <Window x:Class="WpfApp6.MainWindow" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/wi 阅读全文
posted @ 2024-10-03 22:02 FredGrit 阅读(2) 评论(0) 推荐(0) 编辑
摘要: <DataGridTemplateColumn Header="Image"> <DataGridTemplateColumn.CellTemplate> <DataTemplate> <Image Source="{Binding DataContext.ImgUrl, RelativeSourc 阅读全文
posted @ 2024-10-03 19:15 FredGrit 阅读(4) 评论(0) 推荐(0) 编辑
摘要: //xaml <Window x:Class="WpfApp3.MainWindow" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/wi 阅读全文
posted @ 2024-10-03 01:18 FredGrit 阅读(12) 评论(0) 推荐(0) 编辑
摘要: <Window.Resources> <local:ImageUrlConverter x:Key="imgConverter"/> </Window.Resources> <Image Source="{Binding ImgUrl,Converter={StaticResource imgCon 阅读全文
posted @ 2024-10-03 00:10 FredGrit 阅读(6) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 8 ··· 94 下一页