Class RadzenDataList<TItem>
RadzenDataList component.
[CascadingTypeParameter("TItem")]
public class RadzenDataList<TItem> : PagedDataBoundComponent<TItem>, IComponent, IHandleEvent, IHandleAfterRender, IDisposable
Type Parameters
TItem
The type of the item.
- Inheritance
-
PagedDataBoundComponent<TItem>RadzenDataList<TItem>
- Implements
- Inherited Members
Examples
<RadzenDataList @data=@orders TItem="Order" AllowPaging="true" WrapItems="true">
<Template>
@context.OrderId
</Template>
</RadzenDataList>
Constructors
RadzenDataList()
public RadzenDataList()
Properties
AllowVirtualization
Gets or sets a value indicating whether this instance is virtualized.
[Parameter]
public bool AllowVirtualization { get; set; }
Property Value
- bool
true
if this instance is virtualized; otherwise,false
.
IsLoading
Gets or sets a value indicating whether this instance loading indicator is shown.
[Parameter]
public bool IsLoading { get; set; }
Property Value
- bool
true
if this instance loading indicator is shown; otherwise,false
.
Virtualize
Gets Virtualize component reference.
public Virtualize<TItem> Virtualize { get; }
Property Value
- Virtualize<TItem>
WrapItems
Gets or sets a value indicating whether to wrap items.
[Parameter]
public bool WrapItems { get; set; }
Property Value
- bool
true
if wrap items; otherwise,false
.
Methods
BuildRenderTree(RenderTreeBuilder)
protected override void BuildRenderTree(RenderTreeBuilder __builder)
Parameters
__builder
RenderTreeBuilder
GetComponentCssClass()
protected override string GetComponentCssClass()
Returns
Reload()
Reloads this instance.
public override Task Reload()