Use the Part class to set a color or line style for a specific part of a border.

 public sealed class Part : TypesafeEnum
Public NotInheritable Class Part
		Inherits TypesafeEnum

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