using System;
using System.Windows.Forms.Design;
namespace Gui.Wizard
{
///
///
///
public class HeaderDesigner : ParentControlDesigner
{
///
/// Prevents the grid from being drawn on the Wizard
///
protected override bool DrawGrid
{
get { return false; }
}
///
/// Drops the BackgroundImage property
///
/// properties to remove BackGroundImage from
protected override void PreFilterProperties(System.Collections.IDictionary properties)
{
base.PreFilterProperties (properties);
if (properties.Contains("BackgroundImage") == true)
properties.Remove("BackgroundImage");
if (properties.Contains("DrawGrid") == true)
properties.Remove("DrawGrid");
}
}
}