Repeater<T> Class
- Inheritance
ComponentBaseRepeater<T>
Constructors
| Name | Description |
|---|---|
| Repeater() |
Repeater()
Repeater.razorpublic Repeater()No documentation is available.
Properties
| Name | Description |
|---|---|
| EmptyTemplate | Gets or sets the template to display when the collection is empty. |
| ItemSeparatorTemplate | Gets or sets the template to render between each item in the collection. |
| ItemTemplate | Gets or sets the template for rendering each item in the collection. |
| Items | Gets or sets the collection of items to render. When null, the Repeater<T>.LoadingTemplate is displayed. |
| LoadingTemplate | Gets or sets the template to display while the items are being loaded (when Repeater<T>.Items is null). |
| RepeaterContainerTemplate | Gets or sets the container template that wraps all items. The default template renders items directly without a container. |
EmptyTemplate
Repeater.razorGets or sets the template to display when the collection is empty.
public RenderFragment? EmptyTemplate { get; set; }Property value
ItemSeparatorTemplate
Repeater.razorGets or sets the template to render between each item in the collection.
public RenderFragment? ItemSeparatorTemplate { get; set; }Property value
ItemTemplate
Repeater.razorGets or sets the template for rendering each item in the collection.
public RenderFragment<T>? ItemTemplate { get; set; }Property value
Items
Repeater.razorGets or sets the collection of items to render. When null, the Repeater<T>.LoadingTemplate is displayed.
public IEnumerable<T>? Items { get; set; }Property value
LoadingTemplate
Repeater.razorGets or sets the template to display while the items are being loaded (when Repeater<T>.Items is null).
public RenderFragment? LoadingTemplate { get; set; }Property value
RepeaterContainerTemplate
Repeater.razorGets or sets the container template that wraps all items. The default template renders items directly without a container.
public RenderFragment<RenderFragment> RepeaterContainerTemplate { get; set; }Property value
Methods
| Name | Description |
|---|---|
| BuildRenderTree(RenderTreeBuilder) | |
| OnParametersSet() |
BuildRenderTree(RenderTreeBuilder)
Repeater.razorprotected override void BuildRenderTree(RenderTreeBuilder __builder)Parameters
__builderRenderTreeBuilder
No documentation is available.
OnParametersSet()
Repeater.razorprotected override void OnParametersSet()No documentation is available.