怎么一个DataGridView可以填写表格的其余部分的最右边的列? [英] How the Rightmost column of a DataGridView could fill the remaining part of the form?

查看:111
本文介绍了怎么一个DataGridView可以填写表格的其余部分的最右边的列?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个 DataGridView的 5列, =坞充满

我要最后一个(最右边)的列的宽度,以填写表格的剩余右侧,当窗体最大化。

I want the last (rightmost) column's width to fill the remaining right side of the form, when the form is maximized.

我怎么能这样做?

推荐答案

AutoSizeMode 到填写

这篇关于怎么一个DataGridView可以填写表格的其余部分的最右边的列?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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