private BaseEditor instantiateEditor(Type type, GridRow parentRow) { ConstructorInfo ctor = type.GetConstructor( new Type[] { typeof (GridRow) }); return (BaseEditor) ctor.Invoke(new object[] { parentRow }); }