一键直接访问 DataGridView 组合框? [英] Direct access to DataGridView combobox in one click?
本文介绍了一键直接访问 DataGridView 组合框?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我对单击一次以选择 datagridview 中的一行,然后再次单击以单击该行中的控件(在本例中为组合框)感到恼火.
I'm getting annoyed with clicking once to select a row in the datagridview, and then clicking again to click on a control in that row (in this case a combobox).
有没有办法配置这个东西,让所有这一切都可以通过一次鼠标而不是两次点击来完成?
Is there a way configure this thing so that all this can be done in one mouse click instead of two?
推荐答案
将 DataGridView 控件的 EditMode 属性更改为EditOnEnter".不过这会影响所有列.
Change the EditMode property of your DataGridView control to "EditOnEnter". This will affect all columns though.
这篇关于一键直接访问 DataGridView 组合框?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文