摘要: //xaml <Window x:Class="WpfApp58.MainWindow" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/w 阅读全文
posted @ 2024-04-15 20:46 FredGrit 阅读(9) 评论(0) 推荐(0) 编辑
摘要: <DataGrid.ItemContainerStyle> <Style TargetType="{x:Type DataGridRow}"> <Setter Property="FontSize" Value="20"/> <Setter Property="Foreground" Value=" 阅读全文
posted @ 2024-04-15 16:55 FredGrit 阅读(26) 评论(0) 推荐(0) 编辑
摘要: 1.Install package,Microsoft.Xaml.Behaviors.Wpf 2.Add xaml reference in xaml xmlns:behavior="http://schemas.microsoft.com/xaml/behaviors" 3. <behavior: 阅读全文
posted @ 2024-04-15 16:47 FredGrit 阅读(44) 评论(0) 推荐(0) 编辑
摘要: <Window x:Class="WpfApp58.MainWindow" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/20 阅读全文
posted @ 2024-04-15 16:13 FredGrit 阅读(21) 评论(0) 推荐(0) 编辑