property grid item collection

hi,
we want to develop a property grid item on the property browser like treeview's node property ( has a browse button that opens a new editor).
is there any special name for this kind of property? we think that this kind of property takes collection.
can we access the .net built-in editor like treenode editor and modify the content of it?
[355 byte] By [codefund.com] at [2008-3-6]
# 1
If you want the property browser to display your own editor for, say, property Foo of type BAR then you need to decorate the BAR class w/ this attribute:

[
Editor("BAZ_Editor " , typeof(UITypeEditor))
]
public class BAZ {
}

and here is how a modal BAZ_Editor could be implemented:

public class BAZ_Editor : UITypeEditor {
public override object EditValue(ITypeDescriptorContext context, IServiceProvider provider, object value) {
// show your modal form here.
}
public override UITypeEditorEditStyle GetEditStyle(ITypeDescriptorContext Context ) {
return UITypeEditorEditStyle.Modal;
}
}

codefund.com at 2007-9-8 > top of Msdn Tech,Windows Forms,Windows Forms Designer...