简体   繁体   中英

How i can place multiple controls in a particullar cell of TableLayoutPanel

I'm using a TableLayoutPanel control and in my scenario I have to place two controls inside of one particular cell, is that possible? If so, please elaborate.

您应该在该单元格内使用面板或任何其他内容控件,然后您就可以在其中添加许多控件。

Put a tablelayout panel in the cell and give it two columns and one row. There's your two "cells".

在单元格内放置一个面板,在该面板控件中,您可以放置​​任意数量的控件

Try something like this:

1) Create user control and place all control you want on it and than add new control in the cell

2) Put controls in the panel then put panel in the cell

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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