Override the DrawGrid property in the custom designer:
public class CustomContainerDesigner : ParentControlDesigner
{
protected override bool DrawGrid
{
get { return disableDrawGrid ? false : base.DrawGrid; }
}
}
Contributed from George Shepherd's Windows Forms FAQ