开发者

How do I ensure a textbox column in a DataGridView shows in multiline / wordwrap mode?

How do I show textbox column of a datagridview in multiline format us开发者_运维百科ing vb.net?


You have to set the WrapMode property of the DefaultCellStyle property of your DataGridViewTextBoxColumn.

See here for details:
http://msdn.microsoft.com/en-us/library/system.windows.forms.datagridviewcellstyle.wrapmode.aspx

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜