c# - Show suggestion in VS property window for a custom control property -


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

Listfilled property must be set to the name of the property of the object contained in the datasource.

It is possible to configure this list file in such a way that, when setting the properties in the Visual Studio property window, I get a list suggesting the values ​​of all the properties in the Datasource object?

You can use a custom editor for defining your property (at design time) .

Here are some links:


Comments