有没有办法控制TableLayoutPanel中单元格边框的粗细? [英] Is there any way to control thickness of cell border in TableLayoutPanel?

查看:68
本文介绍了有没有办法控制TableLayoutPanel中单元格边框的粗细?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在开发一个使用大量 TableLayoutPanel 的 Winform 应用程序.

I am developing a Winform application with lots of TableLayoutPanel use.

如果可能,我想将单元格边框的厚度设置为零或非常小,因为 TableLayoutPanel 的分层使用会减少实际单元格内容的宽度和高度.

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.

我尝试在 MSDN 和 Google 中搜索,但徒劳无功.任何提示将不胜感激.

I tried to search within MSDN and Google in vain. Any hint will be appreciated.

推荐答案

PaddingMarginTableLayoutPanel 设置为 0|0|0|0

Set Padding and Margin of your TableLayoutPanel to 0|0|0|0

这篇关于有没有办法控制TableLayoutPanel中单元格边框的粗细?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆