摘要:
直接上代码 public interface IRepository { Task<bool> QueryAllList(); } public class Repository : IRepository { public Task<bool> QueryAllList() { } } publi 阅读全文
posted @ 2024-03-08 15:15
孤沉
阅读(72)
评论(0)
推荐(0)
摘要:
WPF的绑定实在是太强大了 1、正常情况下,我们的绑定是这样的,打印HelloWorld <TextBlock Width="200" Height="30" FontSize="20" Text="{Binding Content}"/> private string _content; publ 阅读全文
posted @ 2024-03-08 09:06
孤沉
阅读(34)
评论(0)
推荐(0)
摘要:
1、ItemsControl用来显示一个数据项的集合,它的底层是一个列表,它可以非常灵活的展示布局和数据 以下是例子 <ItemsControl ItemsSource="{Binding Student}"> <ItemsControl.ItemTemplate> <DataTemplate> < 阅读全文
posted @ 2024-03-08 08:56
孤沉
阅读(242)
评论(0)
推荐(0)

浙公网安备 33010602011771号