会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
FredGrit
博客园
首页
新随笔
联系
订阅
管理
上一页
1
2
3
4
5
6
7
8
9
···
120
下一页
2025年9月26日
WPF ItemsControl implement Select in mvvm via behavior
摘要: <Window x:Class="WpfApp11.MainWindow" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/20
阅读全文
posted @ 2025-09-26 17:33 FredGrit
阅读(13)
评论(0)
推荐(0)
2025年9月25日
WPF Prism ioc implemented via Prism.DryIOC
摘要: Install-Package Prism.DryIOC; Install-Packag Prism.WPF; //App.xaml <prism:PrismApplication x:Class="WpfApp7.App" xmlns="http://schemas.microsoft.com/w
阅读全文
posted @ 2025-09-25 16:33 FredGrit
阅读(13)
评论(0)
推荐(0)
WPF ListBox VirtualizingPanel.CacheLengthUnit="Item" VirtualizingPanel.CacheLength="5,5"
摘要: Install-Package Microsoft.Extensions.DependencyInjection; Totally speaking, VirtualizationPanel.CacheLengthUnit's value is item and its performance is
阅读全文
posted @ 2025-09-25 12:49 FredGrit
阅读(6)
评论(0)
推荐(0)
2025年9月24日
WPF Datagrid loaded 79M items in mvvm , Microsoft.Extensions.DependencyInjection
摘要: Install-Package Microsoft.Extensions.DependencyInjection; public async Task InitBooksCollection() { stopwatch.Start(); BooksCollection = new Observabl
阅读全文
posted @ 2025-09-24 21:09 FredGrit
阅读(9)
评论(0)
推荐(0)
WPF Prism register interface and implemented interface service
摘要: Install-Package Prism.WPF; Install-Package Prism.DryIOC; //app.xaml <prism:PrismApplication x:Class="WpfApp4.App" xmlns="http://schemas.microsoft.com/
阅读全文
posted @ 2025-09-24 18:41 FredGrit
阅读(10)
评论(0)
推荐(0)
2025年9月23日
WPF Prism PrismApplication OnInitialized()
摘要: Install-Package Prism.Wpf; Install-Package Prism.DryIOC; //app.xaml <prism:PrismApplication x:Class="WpfApp38.App" xmlns="http://schemas.microsoft.com
阅读全文
posted @ 2025-09-23 17:08 FredGrit
阅读(12)
评论(0)
推荐(0)
WPF Prism
摘要: Install-Package Prism.WPF; Install-Package Prism.DryIOC; //App.xaml <prism:PrismApplication x:Class="WpfApp37.App" xmlns="http://schemas.microsoft.com
阅读全文
posted @ 2025-09-23 14:08 FredGrit
阅读(9)
评论(0)
推荐(0)
2025年9月22日
WPF TextBlock effect DropShadrowEffect,BlurEffect
摘要: <Window x:Class="WpfApp32.MainWindow" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/20
阅读全文
posted @ 2025-09-22 15:59 FredGrit
阅读(4)
评论(0)
推荐(0)
WPF ListBox loaded 76.6M items with imagesource
摘要: Install-Package Microsoft.Extensions.DependencyInjection; Install-Package CommunityToolkit.mvvm; public async Task InitDataAsync() { watch.Start(); st
阅读全文
posted @ 2025-09-22 13:16 FredGrit
阅读(10)
评论(0)
推荐(0)
2025年9月19日
WPF viewmodel retrieve matched view /window
摘要: private Window? GetWindow() { foreach (Window win in Application.Current.Windows) { if (win.DataContext==this) { return win; } } return null; } Instal
阅读全文
posted @ 2025-09-19 20:06 FredGrit
阅读(12)
评论(0)
推荐(0)
上一页
1
2
3
4
5
6
7
8
9
···
120
下一页
公告