会员
周边
新闻
博问
闪存
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
FredGrit
博客园
首页
新随笔
联系
订阅
管理
上一页
1
···
31
32
33
34
35
36
37
38
39
···
139
下一页
2025年5月16日
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
阅读(25)
评论(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
阅读(29)
评论(0)
推荐(0)
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
阅读(39)
评论(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
阅读(50)
评论(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
阅读(38)
评论(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
阅读(31)
评论(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
阅读(37)
评论(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
阅读(23)
评论(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
阅读(56)
评论(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
阅读(27)
评论(0)
推荐(0)
上一页
1
···
31
32
33
34
35
36
37
38
39
···
139
下一页
公告