Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
Table tb = new Table(); tb.CellSpacing = 0;
我将表格的 CellSpacing 设置为 0。但单元格和单元格之间的线仍然存在。线太细了。但仍然存在。
我想删除那个空白或行。我应该怎么做?
您是否尝试过更改边框厚度?
厚度转换器 tc = 新的厚度转换器();
tb.BorderThickness = (Thickness)tc.ConvertFromString("0in");