Having a standard WinForms 2.0 PropertyGrid control I'm looking for a way to change the border color of a control or remove the border altogether.

I know the LineColor property , which, unfortunately, only changes the internal borders between cells.
In addition, I used ILSpy to look at the source code of the PropertyGrid control and did not find anything meaningful to me.
My question is:
How to remove the outer border of a PropertyGrid control or change the color of the outer border?
Update 2012-05-04 - Solution (otherwise "hack"):
Based on Jamie's answer, I put together a working solution ( which you can download here ):

The idea is to place the property grid inside the panel and let the panel dock the control.
With this approach, I placed the trim panel in another panel with Padding “1” (or whatever you want the borders to be) and gave this BackColor panel, which serves as the border color (green in my example).
Set the property grid snap to Left, Right, Top, Down), set the Dock trim panel to Full.

This works well for my requirements. I would see it as a hack, since it consumes the resources of two panels, which I hoped I could save.
Uwe keim
source share