O'Reilly logo

Delphi for .NET Developer’s Guide by Xavier Pacheco

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Data Bound List Controls

Typically, list controls are bound to a collection (an implementer of ICollection) through its DataSource property.

CheckBoxList Control

The CheckBoxList control represents a multiselect check box group that can be associated with a data source. CheckBoxList descends from the ListControl defined in the System.Web.UI.WebControls namespace. Other list controls discussed in this chapter also descend from ListControl. ListControl contains some key properties that its descendants, such as CheckBoxList, inherit. These are listed in Table 27.1.

Table 27.1. Key Properties of the ListControl
PropertyDescription
ItemsReturns a collection of items contained in the CheckBoxList.
DataSourceSets the data source that populates the controls. ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required