会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
FredGrit
博客园
首页
新随笔
联系
订阅
管理
上一页
1
···
11
12
13
14
15
16
17
18
19
···
120
下一页
2025年5月23日
WPF datagrid DataGridTemplateColumn set width and when selected background changed
摘要: <Window x:Class="WpfApp23.MainWindow" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/20
阅读全文
posted @ 2025-05-23 15:11 FredGrit
阅读(13)
评论(0)
推荐(0)
2025年5月22日
C# .net 8 epplus System.Windows.MessageBox
摘要: //1.in order to use System.Windows.MessageBox,update the csproj file as below <Project Sdk="Microsoft.NET.Sdk"> <PropertyGroup> <TargetFramework>net8.
阅读全文
posted @ 2025-05-22 18:59 FredGrit
阅读(45)
评论(0)
推荐(0)
2025年5月18日
WPF frame navigate and listbox contains icon and title to implement quick navigation, listbox can expand and shrink
摘要: //Mainwindow.xaml <Window x:Class="WpfApp15.MainWindow" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.micr
阅读全文
posted @ 2025-05-18 17:04 FredGrit
阅读(4)
评论(0)
推荐(0)
WPF frame navigate to pages and title show page title
摘要: //mainwindow.xaml <Window x:Class="WpfApp233.MainWindow" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.mic
阅读全文
posted @ 2025-05-18 00:30 FredGrit
阅读(11)
评论(0)
推荐(0)
2025年5月17日
WPF listbox ListboxItem Image MouseEnter expand and MouseLeave shrink
摘要: <Window x:Class="WpfApp19.MainWindow" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/20
阅读全文
posted @ 2025-05-17 21:24 FredGrit
阅读(5)
评论(0)
推荐(0)
WPF Grid Column width change in animation via customized animation inherit from AnimationTimeline, toggle button implement column width shrink or expand with DockPanel
摘要: //xaml <Window x:Class="WpfApp17.MainWindow" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/w
阅读全文
posted @ 2025-05-17 19:30 FredGrit
阅读(15)
评论(0)
推荐(0)
WPF Border Width change in smooth mode via DoubleAnimation of MVVM and implemented via C#, monitor moderate change via CompositionTarget.Rendering event
摘要: private void Init() { var tempBorder = win.FindName("border") as Border; if (tempBorder != null) { border = tempBorder; } if (widthAnimation==null) {
阅读全文
posted @ 2025-05-17 18:28 FredGrit
阅读(10)
评论(0)
推荐(0)
2025年5月16日
WPF MultiBinding grid background with 3 sliders
摘要: //xaml <Window x:Class="WpfApp232.MainWindow" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/
阅读全文
posted @ 2025-05-16 23:47 FredGrit
阅读(12)
评论(0)
推荐(0)
wpf draw sin function motion via canvas and it's amplitude and frequency can adjust via slider which is more sensible
摘要: //xaml <Window x:Class="WpfApp231.MainWindow" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/
阅读全文
posted @ 2025-05-16 23:16 FredGrit
阅读(3)
评论(0)
推荐(0)
2025年5月11日
WPF Ellipse rotate both in xaml and mvvm in C# include begin,pause and resume
摘要: //xaml <Ellipse.Triggers> <EventTrigger RoutedEvent="Ellipse.Loaded"> <BeginStoryboard> <Storyboard> <DoubleAnimation Storyboard.TargetName="elpRotate
阅读全文
posted @ 2025-05-11 20:50 FredGrit
阅读(14)
评论(0)
推荐(0)
上一页
1
···
11
12
13
14
15
16
17
18
19
···
120
下一页
公告