public PropertyGrid(ServiceContainer parentServices)
{
this.parentServices = parentServices;
grid = new AspNetEdit.UI.PropertyGrid ();
this.PackEnd (grid, true, true, 0);
components = new ListStore (typeof (string), typeof (IComponent));
combo = new ComboBox (components);
CellRenderer rdr = new CellRendererText ();
combo.PackStart (rdr, true);
combo.AddAttribute (rdr, "text", 0);
this.PackStart (combo, false, false, 3);
//for selecting nothing, i.e. deselect all
components.AppendValues (new object[] { "", null} );
combo.Changed += new EventHandler (combo_Changed);
InitialiseServices();
}