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 Repater control.

Usage

API

Parameters

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