直接访问的DataGridView组合框的点击? [英] Direct access to DataGridView combobox in one click?

查看:161
本文介绍了直接访问的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控件的编辑模式属性更改为EditOnEnter。这将影响到所有列,但。

Change the EditMode property of your DataGridView control to "EditOnEnter". This will affect all columns though.

这篇关于直接访问的DataGridView组合框的点击?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆