简体   繁体   English

如何在vb.net中调整行的大小以适合datagridview的大小

[英]how to size row to fit with datagridview size in vb.net

Can someone please help me get the DataGridView to keep the rows fit size to DataGridView although there is a few rows. 有人可以帮我获得DataGridView以使行保持适合DataGridView大小,尽管有几行。 I mean rows size will change like AutoSizeColumnMode Propeties' Fill. 我的意思是行大小将像AutoSizeColumnMode属性填充一样发生变化。

There is similarly an AutoSizeRowsMode 类似地,还有一个AutoSizeRowsMode

The value should be one of the ENUMs provided in the DataGridViewAutoSizeRowsMode class. 该值应为DataGridViewAutoSizeRowsMode类提供的ENUM之一。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM