Repeater
FreeShows a list of items with your own template. It adds what a plain loop lacks: a header, an empty state, a grid with a set number of columns and optional paging (PageSize).
Example

Parameters
| Parameter | Type | Description |
|---|---|---|
Class | string | Extra CSS classes added to the root element. |
Columns | int | Number of columns (default 1). |
EmptyContent | RenderFragment | Shown when there are no items. |
HeaderContent | RenderFragment | Shown above the items. |
Items | IEnumerable<string> | The options to choose from. |
ItemTemplate | RenderFragment<string> | Markup for one item. |
PageSize | int | Items per page; 0 shows all (default). |
Style | string | Inline style added to the root element. |
Package
Repeater is part of RayCraft Free. Package: RayCraft.Blazor. It comes from nuget.org. See Getting started.
Send feedbackVersion 1.0.3