Data Bound Iterative Controls

Iterative controls are also bound through their Datasource property. Iterative controls apply templated HTML to each item within the collection, giving you more customizable options for data presentation.

Repeater Control

The Repeater control iterates through a collection of data and uses templates to determine how each item in the collection will be rendered. Templates are constructs that enable you to apply formatting to items that the Repeater control displays. There are five types of templates, which are listed in Table 27.2.

Table 27.2. Repeater Control Templates
TemplateDescription
HeaderTemplateFormatting specified in this template is rendered prior to any of the items. This template does not contain data bindings. ...

Get Delphi for .NET Developer’s Guide now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.