上一页 1 ··· 12 13 14 15 16 17 18 19 20 ··· 123 下一页
摘要: //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 阅读(10) 评论(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 阅读(12) 评论(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 阅读(23) 评论(0) 推荐(0)
摘要: public struct XYPoint { public double X { get; set; } public double Y { get; set; } } public MainVM() { LiveCharts.Configure(config => { config.HasMap 阅读全文
posted @ 2025-07-15 23:13 FredGrit 阅读(30) 评论(0) 推荐(0)
摘要: install-package LiveChartsCore.SkiaSharpView.WPF -Version 2.0.0-beta.90 //xaml <Window x:Class="WpfApp3.MainWindow" xmlns="http://schemas.microsoft.co 阅读全文
posted @ 2025-07-15 22:06 FredGrit 阅读(301) 评论(0) 推荐(0)
摘要: //xaml <DataGrid.Columns> <DataGridTemplateColumn> <DataGridTemplateColumn.CellTemplate> <DataTemplate> <Grid ShowGridLines="True" Width="{Binding Dat 阅读全文
posted @ 2025-07-13 20:42 FredGrit 阅读(12) 评论(0) 推荐(0)
上一页 1 ··· 12 13 14 15 16 17 18 19 20 ··· 123 下一页