会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
FredGrit
博客园
首页
新随笔
联系
订阅
管理
上一页
1
···
17
18
19
20
21
22
23
24
25
···
123
下一页
2025年3月29日
WPF a triangle rotate around the bigger circle and always point to the center
摘要: //xaml <Window x:Class="WpfApp182.MainWindow" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/
阅读全文
posted @ 2025-03-29 14:21 FredGrit
阅读(12)
评论(0)
推荐(0)
2025年3月16日
WPF Image zoom in and out around the mouse center
摘要: //uc.xaml <UserControl x:Class="WpfApp180.UCImgZoom" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microso
阅读全文
posted @ 2025-03-16 18:56 FredGrit
阅读(39)
评论(0)
推荐(0)
WPF draw circular numbers and ticks via itemscontrol ItemsPanelTemplate and ItemsControl.ItemTemplate
摘要: //uc.xaml <UserControl x:Class="WpfApp178.UCElp" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.c
阅读全文
posted @ 2025-03-16 17:36 FredGrit
阅读(15)
评论(0)
推荐(0)
2025年3月9日
WPF draw clock with numbers
摘要: //xaml <Window x:Class="WpfApp169.MainWindow" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/
阅读全文
posted @ 2025-03-09 20:00 FredGrit
阅读(25)
评论(0)
推荐(0)
2025年3月8日
C# OpenCVSharp open resized image
摘要: 1.Install-package OpenCvSharp4.Windows; 2. using OpenCvSharp; using static System.Net.Mime.MediaTypeNames; namespace ConsoleApp20 { internal class Pro
阅读全文
posted @ 2025-03-08 22:03 FredGrit
阅读(22)
评论(0)
推荐(0)
WPF Button ControlTemplate
摘要: <Window x:Class="WpfApp165.MainWindow" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2
阅读全文
posted @ 2025-03-08 20:10 FredGrit
阅读(14)
评论(0)
推荐(0)
WPF Rotated Ellipse as usercontrol and reuse in window
摘要: //usercontrol.xaml <UserControl x:Class="WpfApp163.UCRotateElp" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://sche
阅读全文
posted @ 2025-03-08 19:24 FredGrit
阅读(17)
评论(0)
推荐(0)
2025年3月2日
WPF ListBox show image via DataTemplate via string as image source directly
摘要: <ListBox x:Name="lbx" ItemsSource="{Binding ImgsList,Mode=TwoWay,UpdateSourceTrigger=PropertyChanged}"> <ListBox.ItemTemplate> <DataTemplate> <Image S
阅读全文
posted @ 2025-03-02 20:22 FredGrit
阅读(32)
评论(0)
推荐(0)
WPF ListBox get current rendered index via ScrollViewer.ScrollChanged
摘要: <ListBox x:Name="lbx" ItemsSource="{Binding ImgsList,Mode=TwoWay,UpdateSourceTrigger=PropertyChanged}" SelectedIndex="{Binding SelectedIdx,Mode=TwoWay
阅读全文
posted @ 2025-03-02 20:14 FredGrit
阅读(28)
评论(0)
推荐(0)
WPF Circle rotate image source defined as usercontrol
摘要: <Ellipse x:Name="elp" Panel.ZIndex="2" Grid.Row="1" Grid.Column="0" Grid.ColumnSpan="2" Width="{Binding ActualHeight,RelativeSource={RelativeSource Mo
阅读全文
posted @ 2025-03-02 15:15 FredGrit
阅读(14)
评论(0)
推荐(0)
上一页
1
···
17
18
19
20
21
22
23
24
25
···
123
下一页
公告