AddPropertyEditor() public method

public AddPropertyEditor ( Type editType, Type editorType ) : void
editType System.Type
editorType System.Type
return void
 public static void LoadMonoreportsExtensions(this PropertyGrid.PropertyGrid pg)
 {
     pg.AddPropertyEditor(typeof(MonoReports.Model.Point), typeof(MonoReports.Extensions.PropertyGridEditors.PointEditorCell));
     pg.AddPropertyEditor(typeof(MonoReports.Model.Border), typeof(MonoReports.Extensions.PropertyGridEditors.BorderEditorCell));
     pg.AddPropertyEditor(typeof(MonoReports.Model.Thickness), typeof(MonoReports.Extensions.PropertyGridEditors.ThicknessEditorCell));
     pg.AddPropertyEditor(typeof(MonoReports.Model.Color), typeof(MonoReports.Extensions.PropertyGridEditors.MonoreportsColorEditorCell));
 }