Defines an interface that a control designer can implement to provide access to a data source.
public interface IDataSourceProvider
Gets the selected data member from the selected data source.
Gets a reference to the selected data source from the data source provider.
A class that is able to provide a data source can implement this interface to enable access to its data source by objects that use the IDataSourceProvider interface. This interface is used by the DataFieldConverter and DataMemberConverter classes.
The following code example shows a custom class, named TemplatedListDesigner, which inherits from the TemplatedControlDesigner class and implements the IDataSourceProvider interface.