会员
周边
新闻
博问
闪存
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
FredGrit
博客园
首页
新随笔
联系
订阅
管理
上一页
1
···
33
34
35
36
37
38
39
40
41
···
137
下一页
2025年2月15日
WPF usercontrol listbox mvvm contextmenu memuitem command commandparameter
摘要: //xaml <UserControl x:Class="WpfApp155.UCLbx" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/
阅读全文
posted @ 2025-02-15 20:01 FredGrit
阅读(55)
评论(0)
推荐(0)
2025年2月11日
WPF datagrid ContextMenu MenuItem CommandParameter Binding Datagrid
摘要: <DataGrid.ContextMenu> CommandParameter="{Binding Path=PlacementTarget, RelativeSource={RelativeSource Mode=FindAncestor,AncestorType={x:Type ContextM
阅读全文
posted @ 2025-02-11 10:33 FredGrit
阅读(46)
评论(0)
推荐(0)
2025年2月7日
WPF UserControl define Command and implemented in Window ViewModel
摘要: //usercontrol <UserControl x:Class="WpfApp154.ShowTextBtnUC" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas
阅读全文
posted @ 2025-02-07 20:05 FredGrit
阅读(45)
评论(0)
推荐(0)
2025年2月4日
WPF ListBox ItemTemplate DataTemplate Image
摘要: //xaml <Window x:Class="WpfApp153.MainWindow" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/
阅读全文
posted @ 2025-02-04 22:01 FredGrit
阅读(47)
评论(0)
推荐(0)
WPF ListBox ItemTemplatce DataTemplate Image
摘要: //xaml <Window x:Class="WpfApp152.MainWindow" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/
阅读全文
posted @ 2025-02-04 21:44 FredGrit
阅读(36)
评论(0)
推荐(0)
WPF render string as Image via DrawingVisual DrawingContext FormattedText RenderTargetBitmap
摘要: //xaml <Window x:Class="WpfApp150.MainWindow" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/
阅读全文
posted @ 2025-02-04 21:38 FredGrit
阅读(56)
评论(0)
推荐(0)
.net 8 add System.Windows.PresentationCore dll and using System.Windows.Media namespace
摘要: 1.add reference,C:\Program Files\dotnet\packs\Microsoft.WindowsDesktop.App.Ref\8.0.11\ref\net8.0\PresentationCore.dll 2.Source code using System; usin
阅读全文
posted @ 2025-02-04 20:03 FredGrit
阅读(461)
评论(0)
推荐(0)
2025年2月2日
wpf ellipse rotatetransform mousedown mousemove mouseup vector
摘要: <Window x:Class="WpfApp148.MainWindow" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2
阅读全文
posted @ 2025-02-02 19:30 FredGrit
阅读(42)
评论(0)
推荐(0)
2025年1月31日
WPF LinearGradientBrush StartPoint EndPoint GradientStop Offset Color
摘要: <Window x:Class="WpfApp144.MainWindow" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2
阅读全文
posted @ 2025-01-31 19:59 FredGrit
阅读(42)
评论(0)
推荐(0)
2025年1月19日
WPF ruler
摘要: Copy from WPFDeveloper using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Syste
阅读全文
posted @ 2025-01-19 20:26 FredGrit
阅读(36)
评论(0)
推荐(0)
上一页
1
···
33
34
35
36
37
38
39
40
41
···
137
下一页
公告