上一页 1 ··· 8 9 10 11 12 13 14 15 16 ··· 120 下一页
摘要: //xaml <Window x:Class="WpfApp27.MainWindow" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/w 阅读全文
posted @ 2025-08-07 20:54 FredGrit 阅读(13) 评论(0) 推荐(0)
摘要: //xaml <Window x:Class="WpfApp26.MainWindow" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/w 阅读全文
posted @ 2025-08-06 17:28 FredGrit 阅读(16) 评论(0) 推荐(0)
摘要: //datagrid cell verticalalignment center <DataGrid.CellStyle> <Style TargetType="DataGridCell"> <Setter Property="VerticalContentAlignment" Value="Cen 阅读全文
posted @ 2025-08-03 22:04 FredGrit 阅读(19) 评论(0) 推荐(0)
摘要: //mainwindow.xaml <Window x:Class="WpfApp23.MainWindow" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.micr 阅读全文
posted @ 2025-08-03 19:31 FredGrit 阅读(13) 评论(0) 推荐(0)
摘要: //Ensures that all visual child elements of this element are properly updated for layout. dataGrid.UpdateLayout(); //xaml <Window x:Class="WpfApp21.Ma 阅读全文
posted @ 2025-08-01 22:22 FredGrit 阅读(7) 评论(0) 推荐(0)
摘要: public double GetDatagridActualWidth(DataGrid dg) { double totalWidth = 0; foreach(var col in dg.Columns) { totalWidth += col.ActualWidth; } return to 阅读全文
posted @ 2025-07-30 19:46 FredGrit 阅读(9) 评论(0) 推荐(0)
摘要: //xaml <Window x:Class="WpfApp11.MainWindow" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/w 阅读全文
posted @ 2025-07-26 14:36 FredGrit 阅读(7) 评论(0) 推荐(0)
摘要: //xaml <Window x:Class="WpfApp9.MainWindow" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/wi 阅读全文
posted @ 2025-07-19 14:07 FredGrit 阅读(5) 评论(0) 推荐(0)
摘要: //xaml <Window x:Class="WpfApp8.MainWindow" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/wi 阅读全文
posted @ 2025-07-18 19:47 FredGrit 阅读(9) 评论(0) 推荐(0)
摘要: install-package LiveChartsCore.SkiaSharpView.WPF -Version 2.0.0-beta.90 public MainVM() { LiveCharts.Configure(config => { config.HasMap<XYPoint>((poi 阅读全文
posted @ 2025-07-16 21:28 FredGrit 阅读(11) 评论(0) 推荐(0)
上一页 1 ··· 8 9 10 11 12 13 14 15 16 ··· 120 下一页