1 2 3 4 5 ··· 94 下一页
摘要: public class DataGridAutoScrollBehavior:Behavior<DataGrid> { protected override void OnAttached() { base.OnAttached(); AssociatedObject.SelectionChang 阅读全文
posted @ 2024-11-26 22:54 FredGrit 阅读(0) 评论(0) 推荐(0) 编辑
摘要: //uercontrol <UserControl x:Class="WpfApp47.ImgTbk" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsof 阅读全文
posted @ 2024-11-26 22:46 FredGrit 阅读(1) 评论(0) 推荐(0) 编辑
摘要: //xaml <Window x:Class="WpfApp45.MainWindow" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/w 阅读全文
posted @ 2024-11-24 21:43 FredGrit 阅读(2) 评论(0) 推荐(0) 编辑
摘要: //usercontrol //xaml <UserControl x:Class="WpfApp44.ImgTbk" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas. 阅读全文
posted @ 2024-11-24 21:10 FredGrit 阅读(2) 评论(0) 推荐(0) 编辑
摘要: //xaml <Window x:Class="WpfApp43.MainWindow" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/w 阅读全文
posted @ 2024-11-24 16:56 FredGrit 阅读(3) 评论(0) 推荐(0) 编辑
摘要: private BitmapImage ConvertBitmapToBitmapImage(System.Drawing.Bitmap bitmap) { BitmapImage bmi = new BitmapImage(); using (MemoryStream ms = new Memor 阅读全文
posted @ 2024-11-22 00:43 FredGrit 阅读(5) 评论(0) 推荐(0) 编辑
摘要: <Window x:Class="WpfApp39.MainWindow" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/20 阅读全文
posted @ 2024-11-22 00:40 FredGrit 阅读(3) 评论(0) 推荐(0) 编辑
摘要: 1.Install SVG the third party software tool from nuget; 2. using System; using System.Collections.Generic; using System.Drawing.Imaging; using System. 阅读全文
posted @ 2024-11-22 00:07 FredGrit 阅读(2) 评论(0) 推荐(0) 编辑
摘要: public class ListBoxAutoScrollBehavior : Behavior<ListBox> { protected override void OnAttached() { AssociatedObject.SelectionChanged += AssociatedObj 阅读全文
posted @ 2024-11-19 23:39 FredGrit 阅读(6) 评论(0) 推荐(0) 编辑
摘要: <DataGrid.ContextMenu> <ContextMenu> <MenuItem Header="Export" Command="{Binding ExportCommand}" CommandParameter="{Binding RelativeSource={RelativeSo 阅读全文
posted @ 2024-11-19 00:48 FredGrit 阅读(4) 评论(0) 推荐(0) 编辑
1 2 3 4 5 ··· 94 下一页