This documentation is archived and is not being maintained.

ITypedList Interface

Provides functionality to discover the schema for a bindable list, where the properties available for binding differ from the public properties of the object to bind to. For instance, using a DataView object that represents a customer table, you want to bind to the properties on the customer object that the DataView represents, not the properties of the DataView.

For a list of all members of this type, see ITypedList Members.

[Visual Basic]
Public Interface ITypedList
[C#]
public interface ITypedList
[C++]
public __gc __interface ITypedList
[JScript]
public interface ITypedList

Classes that Implement ITypedList

Class Description
DataView Represents a databindable, customized view of a DataTable for sorting, filtering, searching, editing, and navigation.
DataViewManager Contains a default DataViewSettingCollection for each DataTable in a DataSet.
PagedDataSource Encapsulates the properties of the DataGrid control that allow it to perform paging. This class cannot be inherited.

Remarks

This interface is not required for design-time support of a bindable list.

Binding to data can occur either at run time or in a designer, but there are rules for each. At run time, you can bind to data in any of the following:

  • Array
  • Implementer of IList, provided the implementer has a strongly typed Item property (that is, the Type is anything but Object). You can accomplish this by making the default implementation of Item private. If you want to create an IList that follows the rules of a strongly typed collection, you should derive from CollectionBase.
  • Implementer of ITypedList.

In a designer, you can initialize binding to Component objects by following the same rules.

For more information on binding to a data source, see the System.Windows.Forms.Binding class.

Requirements

Namespace: System.ComponentModel

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, .NET Compact Framework

Assembly: System (in System.dll)

See Also

ITypedList Members | System.ComponentModel Namespace

Show: