Description
Use the Part class to set a color or line style for a specific part of a border.
C#
vb.net
Values
Name |
Description |
---|---|
All |
All borders and both diagonals |
Bottom |
Bottom border |
DiagonalBoth |
Both diagonal lines |
DiagonalDown |
Line from the top-left to the bottom-right |
DiagonalUp |
Line from the bottom-left to the top-right |
Left |
Left border |
Outline |
Left, right, top, and bottom borders |
Right |
Right border |
Top |
Top border |