摘要:
WPF中的DataGrid自动生成行号的方法有很多,这里记录了一种通过修改 RowHeaderTemplate的方式来生成行号:方法一:xaml界面: 其中的Converter代码:public class RowToIndexConv : IValueConverter{ public object Convert(object value, Type targetType,... 阅读全文
posted @ 2013-07-15 15:56
Leaco
阅读(5538)
评论(1)
推荐(1)