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 | Default | Type |
|---|---|---|
ChildContent | null | RenderFragment<TItem> |
The content to render per item. | ||
Items | null | IEnumerable<TItem> |
The items to render. When this is INotifyCollectionChanged it will hookup collection change listeners. | ||
Skip | 0 | long? |
[Optional] The number of items to skip. | ||
Take | long.MaxValue | long? |
[Optional] The number of items to take. When omitted, takes all remaining items using long.MaxValue. | ||
Events
| Event | Type |
|---|---|
CollectionChanged | EventCallback<NotifyCollectionChangedEventArgs> |
Notifies when Items collection changes. | |
Methods
| Method | Return | Parameters |
|---|---|---|
Attach | void | RenderHandle handle |
Attaches the component to a Microsoft.AspNetCore.Components.RenderHandle.
| ||
RenderItems | void | — |
Renders the items in the collection.
| ||
SetParametersAsync | Task | ParameterView parameters |
Sets parameters supplied by the component's parent in the render tree.
The 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. | ||