上一页 1 ··· 10 11 12 13 14 15 16 17 18 ··· 120 下一页
摘要: <Setter Property="Width" Value="{Binding DataContext.RowWidth, RelativeSource={RelativeSource Mode=FindAncestor,AncestorType={x:Type Window}}, Mode=Tw 阅读全文
posted @ 2025-06-12 23:36 FredGrit 阅读(16) 评论(0) 推荐(0)
摘要: //xaml <Window x:Class="WpfApp37.MainWindow" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/w 阅读全文
posted @ 2025-06-12 10:56 FredGrit 阅读(8) 评论(0) 推荐(0)
摘要: install-package system.text.json install-package epplus //all //xaml <Window x:Class="WpfApp35.MainWindow" xmlns="http://schemas.microsoft.com/winfx/2 阅读全文
posted @ 2025-06-08 20:46 FredGrit 阅读(18) 评论(0) 推荐(0)
摘要: <MenuItem Header="Remove Book" Command="{Binding RemoveBookCommand}" CommandParameter="{Binding RelativeSource={RelativeSource Mode=FindAncestor, Ance 阅读全文
posted @ 2025-06-07 21:55 FredGrit 阅读(19) 评论(0) 推荐(0)
摘要: <Window.Resources> <local:IdToEnableConverter x:Key="IdToEnableConverter"/> <local:DgRowBgColorConverter x:Key="DgRowBgColorConverter"/> <Style x:Key= 阅读全文
posted @ 2025-06-02 19:24 FredGrit 阅读(11) 评论(0) 推荐(0)
摘要: <DataGrid.Columns> <DataGridTextColumn Binding="{Binding Id}" Header="Id"/> <DataGridTextColumn Binding="{Binding Name}" Header="Name"/> <DataGridText 阅读全文
posted @ 2025-05-31 19:37 FredGrit 阅读(14) 评论(0) 推荐(0)
摘要: //main.xaml <Window x:Class="WpfApp235.MainWindow" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft 阅读全文
posted @ 2025-05-28 00:58 FredGrit 阅读(7) 评论(0) 推荐(0)
摘要: private void ExportSelectedCmdExecuted(object? obj) { //SelectedItemCollection var selectedBooksList = ((System.Collections.IList)obj).Cast<Book>()?.T 阅读全文
posted @ 2025-05-27 00:42 FredGrit 阅读(16) 评论(0) 推荐(0)
摘要: Install-Package Newtonsoft.Json -Version 9.0.1; Install-Package System.Data.Sqlite; Install-Package SqlSugar; using System.Data.SqlTypes; using System 阅读全文
posted @ 2025-05-24 17:39 FredGrit 阅读(46) 评论(0) 推荐(0)
摘要: install-package microsoft.extensions.dependencyinjection; using System.Diagnostics; using System.Runtime.CompilerServices; using Microsoft.Extensions. 阅读全文
posted @ 2025-05-23 15:53 FredGrit 阅读(7) 评论(0) 推荐(0)
上一页 1 ··· 10 11 12 13 14 15 16 17 18 ··· 120 下一页