摘要: <ListBox x:Name="lbx" ItemsSource="{Binding ImgsList,Mode=TwoWay,UpdateSourceTrigger=PropertyChanged}"> <ListBox.ItemTemplate> <DataTemplate> <Image S 阅读全文
posted @ 2025-03-02 20:22 FredGrit 阅读(7) 评论(0) 推荐(0) 编辑
摘要: <ListBox x:Name="lbx" ItemsSource="{Binding ImgsList,Mode=TwoWay,UpdateSourceTrigger=PropertyChanged}" SelectedIndex="{Binding SelectedIdx,Mode=TwoWay 阅读全文
posted @ 2025-03-02 20:14 FredGrit 阅读(5) 评论(0) 推荐(0) 编辑
摘要: <Ellipse x:Name="elp" Panel.ZIndex="2" Grid.Row="1" Grid.Column="0" Grid.ColumnSpan="2" Width="{Binding ActualHeight,RelativeSource={RelativeSource Mo 阅读全文
posted @ 2025-03-02 15:15 FredGrit 阅读(2) 评论(0) 推荐(0) 编辑
摘要: //usercontrol.xaml <Grid Grid.Row="1" Grid.RowSpan="2" Grid.Column="0" Panel.ZIndex="0" Background="LightCyan"> <behavior:Interaction.Triggers> <behav 阅读全文
posted @ 2025-03-02 14:41 FredGrit 阅读(2) 评论(0) 推荐(0) 编辑
摘要: //usercontrol //xaml <UserControl x:Class="WpfApp159.UCRotateCircle" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http:/ 阅读全文
posted @ 2025-03-01 22:20 FredGrit 阅读(4) 评论(0) 推荐(0) 编辑
摘要: <Window x:Class="WpfApp158.MainWindow" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2 阅读全文
posted @ 2025-03-01 21:04 FredGrit 阅读(3) 评论(0) 推荐(0) 编辑
摘要: <Window x:Class="WpfApp156.MainWindow" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2 阅读全文
posted @ 2025-02-16 17:00 FredGrit 阅读(2) 评论(0) 推荐(0) 编辑
摘要: <Window x:Class="WpfApp156.MainWindow" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2 阅读全文
posted @ 2025-02-16 16:31 FredGrit 阅读(1) 评论(0) 推荐(0) 编辑
摘要: //xaml <UserControl x:Class="WpfApp155.UCLbx" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/ 阅读全文
posted @ 2025-02-15 20:01 FredGrit 阅读(2) 评论(0) 推荐(0) 编辑
摘要: <DataGrid.ContextMenu> CommandParameter="{Binding Path=PlacementTarget, RelativeSource={RelativeSource Mode=FindAncestor,AncestorType={x:Type ContextM 阅读全文
posted @ 2025-02-11 10:33 FredGrit 阅读(3) 评论(0) 推荐(0) 编辑
点击右上角即可分享
微信分享提示