会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
FredGrit
博客园
首页
新随笔
联系
订阅
管理
上一页
1
···
12
13
14
15
16
17
18
19
20
···
120
下一页
2025年5月10日
WPF Ellipse rotate via doubleanimation in mvvm
摘要: //xaml <Window x:Class="WpfApp7.MainWindow" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/wi
阅读全文
posted @ 2025-05-10 21:58 FredGrit
阅读(17)
评论(0)
推荐(0)
2025年5月3日
WPF listbox ContextMenu MenuItem Command and CommandParameter binding in MVVM,cast System.Windows.Controls.SelectedItemCollection to list
摘要: //xaml <ListBox.ContextMenu> <ContextMenu> <MenuItem Header="ExportAll" Command="{Binding ExportCmd}" CommandParameter="{Binding RelativeSource={Relat
阅读全文
posted @ 2025-05-03 20:19 FredGrit
阅读(13)
评论(0)
推荐(0)
WPF RotateTransform via animation and Storyboard Storyboard.SetTarget Storyboary.SetTargetProperty Begin,Pause,Resume
摘要: rotationAnimation.From = 0; rotationAnimation.To = 360; rotationAnimation.Duration = TimeSpan.FromSeconds(10); rotationAnimation.RepeatBehavior = Repe
阅读全文
posted @ 2025-05-03 00:28 FredGrit
阅读(16)
评论(0)
推荐(0)
2025年4月27日
WPF line rotate around the start center at ease
摘要: //xaml <Window x:Class="WpfApp220.MainWindow" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/
阅读全文
posted @ 2025-04-27 14:47 FredGrit
阅读(11)
评论(0)
推荐(0)
2025年4月19日
WPF DoubleAnimation CompositionTarget Render
摘要: rotaterAnimation = new DoubleAnimation(); rotaterAnimation.From = 0; rotaterAnimation.To = 360; rotaterAnimation.Duration = TimeSpan.FromSeconds(30);
阅读全文
posted @ 2025-04-19 16:39 FredGrit
阅读(12)
评论(0)
推荐(0)
2025年4月13日
WPF circle rotated around the center automatically and when mouse down paused while mouse up restored
摘要: //uc.xaml <UserControl x:Class="WpfApp203.UCRotatedCircle" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.m
阅读全文
posted @ 2025-04-13 15:55 FredGrit
阅读(8)
评论(0)
推荐(0)
wpf window mousedown implemented in mvvm as command via behavior
摘要: public static class MouseBehavior { public static readonly DependencyProperty MouseDownCommandProperty = DependencyProperty.RegisterAttached("MouseDow
阅读全文
posted @ 2025-04-13 14:45 FredGrit
阅读(26)
评论(0)
推荐(0)
wpf number scroll number and down
摘要: //usercontrol.xaml <UserControl x:Class="WpfApp201.UCScrollNum" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://sche
阅读全文
posted @ 2025-04-13 13:44 FredGrit
阅读(10)
评论(0)
推荐(0)
2025年4月12日
wpf num scroll up
摘要: //uc.xaml <UserControl x:Class="WpfApp201.UCScrollNum" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.micro
阅读全文
posted @ 2025-04-12 20:27 FredGrit
阅读(7)
评论(0)
推荐(0)
2025年4月6日
WPF animation oscillation and Springiness easemode
摘要: //xaml <Window x:Class="WpfApp198.MainWindow" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/
阅读全文
posted @ 2025-04-06 17:02 FredGrit
阅读(22)
评论(0)
推荐(0)
上一页
1
···
12
13
14
15
16
17
18
19
20
···
120
下一页
公告