I am not sure, but I think that you need to get the
System.ComponentModel.Design.IDesignerHost (by calling Site.GetService or
other means) and then you have IDesignerHost.Container.Components, etc.

Signature
Best regards,
Carlos J. Quintero
MZ-Tools: Productivity add-ins for Visual Studio
You can code, design and document much faster:
http://www.mztools.com
>I have a custom UITypeEditor for a property of type collection of a
> component. I have created a form with a propertyGrid to edit values of
[quoted text clipped - 12 lines]
>
> Thanks in advance
bp - 24 Jan 2006 14:43 GMT
Thank you for your interest...
I was thinking about the IDesignerHost interface too, but the hardest job is
to tell the PropertyGrid that the controls we can assign to the propriety are
those we retrieve with the interface...
Any idea ?
Carlos J. Quintero [VB MVP] - 25 Jan 2006 10:26 GMT
I think that you want to do something similar to the ImageList property of
some controls like the ListView and TreeView, right? Download Reflector for
.NET (http://www.aisto.com/roeder/dotnet/) and decompile the UI editor used
for that property in those controls. You can learn a lot with that tool.

Signature
Best regards,
Carlos J. Quintero
MZ-Tools: Productivity add-ins for Visual Studio
You can code, design and document much faster:
http://www.mztools.com
> Thank you for your interest...
>
[quoted text clipped - 5 lines]
>
> Any idea ?