当 dockstyle 设置为 fill 时,如何调整 TextBox 的高度?

How do you make a TextBox height resize when dockstyle is set to fill?

当我在 TableLayoutPanel 单元格内将 TextBox 停靠样式设置为 Fill 时,只有宽度调整大小而高度保持不变。

如何让高度填满 TableLayoutPanel 的单元格?

为此,您需要将 MultiLine 设置为 true