DesktopRectangle.BorderColor

From Xojo Documentation

Property (As Color )
aDesktopRectangle.BorderColor = newColorValue
or
ColorValue = aDesktopRectangle.BorderColor

New in 2021r3

Supported for all project types and targets.

The color of the edges of the rectangle.