Version

Sides Property

Returns or sets a value which defines whether the top, left, right, and bottom borders are drawn for a table or cell.
Syntax
'Declaration
 
Public Property Sides As Nullable(Of TableBorderSides)
public Nullable<TableBorderSides> Sides {get; set;}
Remarks

All borders are drawn for all cells in a table by default; however, in cases where the border style does not preclude it, the borders of adjacent cells are merged, so as not to cause the borders to appear "thicker" than the user would expect. Because of these border merging algorithms, setting this property may not yield the expected result.

Note that the value of this property takes precedence over the VerticalMerge and ColumnSpan properties with regard to border drawing.

Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also