摘要: 方法一: 不新增列,利用最左侧列。 首先, 为DataGrid添加LoadingRow事件: 1 this.dataGridEquipment.LoadingRow += new EventHandler<DataGridRowEventArgs>(this.dataGridEquipment_Lo 阅读全文
posted @ 2020-11-05 09:23 llkj 阅读(720) 评论(0) 推荐(0) 编辑
摘要: 去掉最左侧一小列 在定义DataGrid时 添加一个属性设置即可 RowHeaderWidth=“0” 添加以后的界面如下图所示: 阅读全文
posted @ 2020-11-05 09:09 llkj 阅读(663) 评论(0) 推荐(0) 编辑