开发者

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

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜