You can do so by overriding the DrawGrid property in your custom designer:
public class MyContainerDesigner : ParentControlDesigner
{
protected override /*ParentControlDesigner*/ bool DrawGrid
{
get
{
if (!this.disableDrawGrid)
return base.DrawGrid;
else
return false;
}
}
}
Share with