Component list in PropertyEditor

Hi,

I'm facing the following problem with the ProperyGrid. I hope someone can help me out.

I'm developing a dialog editor for an application that needs customization, and I would like to know how do I do to get a list of components in the PropertyGrid for properties like ImageList, ContextMenuStrip, .

It doesn't even show the ImageList components added at design time.

Any clues someone?

Thanks in advance.

[448 byte] By [drcairo] at [2007-12-25]
# 1

This can be accomplished by putting this attribute on your property:

[Editor(typeof(UITypeEditor), typeof(UITypeEditor))]

Public ImageList SomePropertyName

{

...

}

John

JohnCronan at 2007-9-3 > top of Msdn Tech,Visual Studio Express Editions,Visual C# 2005 Express Edition...