HxRepeater #

A data-bound list component that allows custom layout by repeating a specified template for each item displayed in the list. Analogous to ASP.NET WebForms Repeater control.

Basic usage #

Header

Afar (Djibouti)

Afar (Eritrea)

Afar (Ethiopia)

Afrikaans (Namibia)

Afrikaans (South Africa)

Aghem (Cameroon)

Akan (Ghana)

Albanian (Albania)

Albanian (Kosovo)

Albanian (Macedonia, FYRO)

Footer

API #

Parameters #

Name Type Description
DataREQUIRED IEnumerable<TItem> Items to be rendered.
EmptyTemplate RenderFragment Template that defines what should be rendered in case of empty Items.
FooterTemplate RenderFragment Template that defines how the footer section of the Repeater component is displayed. Renders only if there are any items to display.
HeaderTemplate RenderFragment Template that defines how the header section of the Repeater component is displayed. Renders only if there are any items to display.
ItemTemplate RenderFragment<TItem> Template that defines how items in the Repeater component are displayed.
NullTemplate RenderFragment Template that defines what should be rendered in case of Items null.
An unhandled error has occurred. Reload 🗙