摘要: WPF中的DataGrid自动生成行号的方法有很多,这里记录了一种通过修改 RowHeaderTemplate的方式来生成行号:方法一:xaml界面: 其中的Converter代码:public class RowToIndexConv : IValueConverter{ public object Convert(object value, Type targetType,... 阅读全文
posted @ 2013-07-15 15:56 Leaco 阅读(4979) 评论(1) 推荐(1) 编辑
欢迎各种转载,转载请注明来自 Leaco 的博客:http://www.cnblogs.com/Leaco
Top
关注
收藏
评论