上一页 1 ··· 29 30 31 32 33 34 35 36 37 ··· 139 下一页
摘要: <MenuItem Header="Export All" Command="{Binding ExportAllCommand}" CommandParameter="{Binding RelativeSource={RelativeSource Mode=FindAncestor,Ancesto 阅读全文
posted @ 2025-06-29 20:51 FredGrit 阅读(38) 评论(0) 推荐(0)
摘要: <Window x:Class="WpfApp40.MainWindow" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/20 阅读全文
posted @ 2025-06-17 15:21 FredGrit 阅读(54) 评论(0) 推荐(0)
摘要: <Setter Property="Width" Value="{Binding DataContext.RowWidth, RelativeSource={RelativeSource Mode=FindAncestor,AncestorType={x:Type Window}}, Mode=Tw 阅读全文
posted @ 2025-06-12 23:36 FredGrit 阅读(36) 评论(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 阅读(27) 评论(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 阅读(49) 评论(0) 推荐(0)
摘要: <MenuItem Header="Remove Book" Command="{Binding RemoveBookCommand}" CommandParameter="{Binding RelativeSource={RelativeSource Mode=FindAncestor, Ance 阅读全文
posted @ 2025-06-07 21:55 FredGrit 阅读(60) 评论(0) 推荐(0)
摘要: <Window.Resources> <local:IdToEnableConverter x:Key="IdToEnableConverter"/> <local:DgRowBgColorConverter x:Key="DgRowBgColorConverter"/> <Style x:Key= 阅读全文
posted @ 2025-06-02 19:24 FredGrit 阅读(27) 评论(0) 推荐(0)
摘要: <DataGrid.Columns> <DataGridTextColumn Binding="{Binding Id}" Header="Id"/> <DataGridTextColumn Binding="{Binding Name}" Header="Name"/> <DataGridText 阅读全文
posted @ 2025-05-31 19:37 FredGrit 阅读(45) 评论(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 阅读(41) 评论(0) 推荐(0)
摘要: private void ExportSelectedCmdExecuted(object? obj) { //SelectedItemCollection var selectedBooksList = ((System.Collections.IList)obj).Cast<Book>()?.T 阅读全文
posted @ 2025-05-27 00:42 FredGrit 阅读(57) 评论(0) 推荐(0)
上一页 1 ··· 29 30 31 32 33 34 35 36 37 ··· 139 下一页