上一页 1 ··· 53 54 55 56 57 58 59 60 61 ··· 120 下一页
摘要: <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:33 FredGrit 阅读(45) 评论(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:45 FredGrit 阅读(23) 评论(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:30 FredGrit 阅读(53) 评论(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:45 FredGrit 阅读(45) 评论(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 阅读(60) 评论(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 阅读(14) 评论(0) 推荐(0)
摘要: DataTemplate,Describes the visual structure of a data object. ControlTemplate,Specifies the visual structure and behavioral aspects of a System.Window 阅读全文
posted @ 2024-04-25 00:09 FredGrit 阅读(33) 评论(0) 推荐(0)
摘要: <Window x:Class="WpfApp68.MainWindow" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/20 阅读全文
posted @ 2024-04-21 22:04 FredGrit 阅读(42) 评论(0) 推荐(0)
摘要: 1.Remove StartUri="MainWindow.xaml" in App.xaml; 2.In the App.xaml.cs,overrive as below using System; using System.Collections.Generic; using System.C 阅读全文
posted @ 2024-04-20 18:50 FredGrit 阅读(23) 评论(0) 推荐(0)
摘要: 1.Install livecharts.wpf in nuget 2.usercontrol //xaml <UserControl x:Class="WpfApp64.Bar" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/present 阅读全文
posted @ 2024-04-19 17:03 FredGrit 阅读(88) 评论(0) 推荐(0)
上一页 1 ··· 53 54 55 56 57 58 59 60 61 ··· 120 下一页