Selecting a row in a DataGridView and having the arrow on the row header follow

前端 未结 2 579
迷失自我
迷失自我 2020-12-14 20:08

This is in C#. If I select a row in a DataGridView with DataGridViewRow.Selected = true, the row selects just fine, but the arrow in the \"column header\" (the grey very lef

2条回答
  •  执笔经年
    2020-12-14 20:48

    To answer the second part of you question, make sure your setting the header style for the column to centered as well.

提交回复
热议问题