ListControl.PerformDataBinding(IEnumerable) Method

Definition

Binds the specified data source to the control that is derived from the ListControl class.

C#
protected internal override void PerformDataBinding(System.Collections.IEnumerable dataSource);

Parameters

dataSource
IEnumerable

An IEnumerable that represents the data source.

Exceptions

The cached value of SelectedIndex is out of range.

The cached values of SelectedIndex and SelectedValue do not match.

Remarks

The PerformDataBinding method is a helper method that is called by the control that is derived from the ListControl class to bind the specified data source to the control.

Applies to

Product Versions
.NET Framework 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1

See also