DataGridview中的按钮 [英] Buttons in DataGridview

查看:94
本文介绍了DataGridview中的按钮的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,是否可以在DataGridView单元格中添加一个小按钮.还是只有商业网格才有可能?参见下面的示例.

Hi All, Is it possible to add a small button to a DataGridView cell. or is this only possible with commercial grids? See example below.

此致

标记

推荐答案

如果您指的是箭头所指位置旁边的单元格,可以使用 DataGridViewButtonColumn类.
If you are referring to the cell next to where the arrow is pointing, yes you can add a button using the DataGridViewButtonColumn Class.


这篇关于DataGridview中的按钮的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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