开发者

Table like control for C# Windows forms [closed]

开发者 https://www.devze.com 2023-03-29 00:25 出处:网络
Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed. This question is off-topic. It is not currently accepting answers.

Want to improve this question? Update the question so it's on-topic for Stack Overflow.

Closed 11 years ago.

开发者_如何转开发 Improve this question

I am looking for a free table like control to use in a C# form.

I am trying to avoid using the standard grid controls as I feel they are not versatile enough.

I would like the table cells to be big enough to contain input longer than one row.

I need to give my users the ability to write text in the table cells and I will finally go over the table and output its data as a report.


DataGridView has the functionality you are looking for. You can enable MultiLine in the individual columns by modifying the columns collection. Click the "..." next to Collection in the columns field. Then, in the "Edit Columns" screen, go to the "DefaultCellStyle" and click the "..." corresponding to that field. In here, change "WrapMode" to true. This is actually a very versatile and flexible control.

0

精彩评论

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

关注公众号