You can set the GridColor property to any color when you use a single border; with other types of borders, the colors are specified by the operating system. If visual styles are enabled for the application through the Application.EnableVisualStyles method, the GridColor property is ignored, and the current theme's colors are used.