上一页 1 ··· 27 28 29 30 31 32 33 34 35 ··· 137 下一页
摘要: public class DataGridKeyDownBehavior : Behavior<DataGrid> { public ICommand Command { get => (ICommand)GetValue(CommandProperty); set => SetValue(Comm 阅读全文
posted @ 2025-07-11 22:17 FredGrit 阅读(23) 评论(0) 推荐(0)
摘要: <DataGrid.RowStyle> <Style TargetType="DataGridRow"> <Setter Property="Background" Value="{Binding Id,Converter={StaticResource idColorConverter}}"/> 阅读全文
posted @ 2025-07-10 23:16 FredGrit 阅读(23) 评论(0) 推荐(0)
摘要: install-package Microsoft.Windows.Compatibility install-package System.Windows.Forms -version 4.0.0.0 install-package System.Data.SqlClient --version 阅读全文
posted @ 2025-07-05 20:45 FredGrit 阅读(68) 评论(0) 推荐(0)
摘要: install-package Microsoft.Windows.Compatibility install-package System.Windows.Forms -version 4.0.0.0 install-package System.Data.SqlClient --version 阅读全文
posted @ 2025-07-05 19:55 FredGrit 阅读(70) 评论(0) 推荐(0)
摘要: <i:Interaction.Triggers> <i:EventTrigger EventName="PreviewMouseWheel"> <i:InvokeCommandAction Command="{Binding MouseWheelCommand}" CommandParameter= 阅读全文
posted @ 2025-06-29 22:06 FredGrit 阅读(74) 评论(0) 推荐(0)
摘要: <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 阅读(53) 评论(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 阅读(25) 评论(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 阅读(48) 评论(0) 推荐(0)
上一页 1 ··· 27 28 29 30 31 32 33 34 35 ··· 137 下一页