views:

24

answers:

1

I have developed a custom control with two public property called ListField and DataSource.

ListField property must be set to the name of a property of the object contained in DataSource.

It's possible to configure ListField in a way that when setting the properties in Visual Studio property window, I get a list suggesting the values of all properties in the DataSource object?

+1  A: 

You could use EditorAttribute to define a custom editor for your property (at design time).

Here's some links:

digEmAll