摘要: 与上一篇WPF DataGrid 改变单元格字体颜色或单元格背景颜色(一)里的后台实现方法一样,改变前台XAML代码:前台XAML代码:<Window x:Class="WpfDataGridCellColors.MainWindow" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:loca="clr-namesp 阅读全文
posted @ 2012-11-28 10:57 着凉的白开水 阅读(10566) 评论(0) 推荐(0)
摘要: 我是把博文当记事本的地方……WPF DataGrid 改变单元格字体颜色或单元格背景颜色(一)第一种方法,指定 DataGrid 里单元格的值是否符合用户自定义的条件,如果不,改变指定的颜色:前台XAML代码:<Window x:Class="WpfDataGridCellColors.MainWindow" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/x 阅读全文
posted @ 2012-11-28 10:33 着凉的白开水 阅读(11802) 评论(0) 推荐(0)