Blazorise Repeater API
Explore the Blazorise Repeater API reference for parameters, events, methods, and related types.
For examples and usage guidance, see the Repeater documentation.
API
Parameters
| Parameter | Description | Type | Default |
|---|---|---|---|
ChildContent |
The content to render per item. |
RenderFragment<TItem> | null |
Items |
The items to render. When this is INotifyCollectionChanged it will hookup collection change listeners. |
IEnumerable<TItem> | null |
Skip |
[Optional] The number of items to skip. |
long? | null |
Take |
[Optional] The number of items to take. |
long? | null |
Events
| Event | Description | Type |
|---|---|---|
CollectionChanged |
Notifies when Items collection changes. |
EventCallback<NotifyCollectionChangedEventArgs> |
Methods
| Method | Description | Return | Parameters |
|---|---|---|---|
Attach |
Attaches the component to a Microsoft.AspNetCore.Components.RenderHandle. | void | RenderHandle handle |
RenderItems |
Renders the items in the collection. | void | |
SetParametersAsync |
Sets parameters supplied by the component's parent in the render tree.
RemarksThe Microsoft.AspNetCore.Components.IComponent.SetParametersAsync(Microsoft.AspNetCore.Components.ParameterView) method should be passed the entire set of parameter values each time Microsoft.AspNetCore.Components.IComponent.SetParametersAsync(Microsoft.AspNetCore.Components.ParameterView) is called. It not required that the caller supply a parameter value for all parameters that are logically understood by the component. | Task | ParameterView parameters |