简体   繁体   English

有什么方法可以在TableLayoutPanel中控制单元格边框的厚度吗?

[英]Is there any way to control thickness of cell border in TableLayoutPanel?

I am developing a Winform application with lots of TableLayoutPanel use. 我正在开发大量使用TableLayoutPanel的Winform应用程序。

If possible, I would like to set thickness of the cell borders zero or very small because hierarchical use of the TableLayoutPanel reduces width and height of actual cell contents. 如果可能的话,我想将单元格边界的厚度设置为零或非常小,因为TableLayoutPanel分层使用会减少实际单元格内容的宽度和高度。

I tried to search within MSDN and Google in vain. 我试图在MSDN和Google中进行搜索都是徒劳的。 Any hint will be appreciated. 任何提示将不胜感激。

Set Padding and Margin of your TableLayoutPanel to 0|0|0|0 TableLayoutPanel PaddingMargin设置为0|0|0|0

在此处输入图片说明

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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