DataGridView行高自动调整大小 [英] DataGridView Row Height Autosize
本文介绍了DataGridView行高自动调整大小的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
所以plz指导我
谢谢
解决方案
DataGridView.AutoSizeRowsMode = DataGridViewAutoSizeRowsMode.AllCells
请参阅 http://msdn.microsoft.com/en-us/library/system.windows.forms。 datagridview.autosizerowsmode.aspx
Hi i am using the DataGridView in the C#.Net 3.5 and i want the height of the all row is set to Autosize.. i have defined the WrapMode = true but not getting the Height Autosize
So plz guide me
Thanks
解决方案
DataGridView.AutoSizeRowsMode = DataGridViewAutoSizeRowsMode.AllCells
See http://msdn.microsoft.com/en-us/library/system.windows.forms.datagridview.autosizerowsmode.aspx
这篇关于DataGridView行高自动调整大小的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文