DesktopRectangle.FillColor

From Xojo Documentation

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

New in 2021r3

Supported for all project types and targets.

The color of the interior of the rectangle.