This documentation is archived and is not being maintained.

How to: Implement the IListSource Interface

Implement the IListSource interface to create a bindable class that does not implement IList but instead provides a list from another location.

The following code example demonstrates how to implement the IListSource interface. A component named EmployeeListSource exposes an IList for data binding by implementing the GetList method.

No code example is currently available or this language may not be supported.
No code example is currently available or this language may not be supported.
No code example is currently available or this language may not be supported.
No code example is currently available or this language may not be supported.

This example requires:

  • References to the System.Drawing and System.Windows.Forms assemblies.

Show: