上一页 1 2 3 4 5 6 ··· 65 下一页
摘要: <Window x:Class="WpfApp83.MainWindow" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/20 阅读全文
posted @ 2024-05-02 18:01 FredGrit 阅读(1) 评论(0) 推荐(0) 编辑
摘要: <Window x:Class="WpfApp83.MainWindow" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/20 阅读全文
posted @ 2024-05-02 17:53 FredGrit 阅读(1) 评论(0) 推荐(0) 编辑
摘要: <Window x:Class="WpfApp82.MainWindow" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/20 阅读全文
posted @ 2024-05-02 17:37 FredGrit 阅读(1) 评论(0) 推荐(0) 编辑
摘要: <Window x:Class="WpfApp80.MainWindow" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/20 阅读全文
posted @ 2024-05-02 14:57 FredGrit 阅读(1) 评论(0) 推荐(0) 编辑
摘要: <Window x:Class="WpfApp79.MainWindow" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/20 阅读全文
posted @ 2024-05-02 14:34 FredGrit 阅读(1) 评论(0) 推荐(0) 编辑
摘要: //xaml <Window x:Class="WpfApp78.MainWindow" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/w 阅读全文
posted @ 2024-04-30 19:46 FredGrit 阅读(1) 评论(0) 推荐(0) 编辑
摘要: //xaml <Window x:Class="WpfApp77.MainWindow" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/w 阅读全文
posted @ 2024-04-30 18:31 FredGrit 阅读(2) 评论(0) 推荐(0) 编辑
摘要: protected void SetProperty<T>(ref T field,T value, [CallerMemberName] string propName=null) { if(!EqualityComparer<T>.Default.Equals (field, value)) { 阅读全文
posted @ 2024-04-30 14:46 FredGrit 阅读(2) 评论(0) 推荐(0) 编辑
摘要: 1.Install Microsoft.Xaml.Behaviors.Wpf from Nuget; 2.Add behavior reference in xaml xmlns:behavior="http://schemas.microsoft.com/xaml/behaviors" 3.Pas 阅读全文
posted @ 2024-04-30 13:56 FredGrit 阅读(2) 评论(0) 推荐(0) 编辑
摘要: 1.Install Microsoft.Xaml.Behaviors.Wpf from Nuget; 2.Add reference of behavior in view 3.Pass the event to the method located in viewmodel via behavio 阅读全文
posted @ 2024-04-29 14:17 FredGrit 阅读(1) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 ··· 65 下一页