开发者

Selecting the entire row instead of cell in the DataGrid in Compact Framework

开发者 https://www.devze.com 2023-02-15 03:51 出处:网络
How do I when the user clicks a cell in the DataGrid, the entire row is selected instead 开发者_JAVA百科of just the cell is selected.Use following code on datagrid1_CurrentCellChanged

How do I when the user clicks a cell in the DataGrid, the entire row is selected instead 开发者_JAVA百科of just the cell is selected.


Use following code on datagrid1_CurrentCellChanged

datagrid1.Select(this.datagrid1.CurrentRowIndex); 
0

精彩评论

暂无评论...
验证码 换一张
取 消