Class MBPagedDataList<TItem>
A paged data list using the "wig pig" construct allowing the consumer to free render the relevant paged data.
Inheritance
MBPagedDataList<TItem>
Assembly: Material.Blazor.dll
Syntax
public class MBPagedDataList<TItem> : ComponentFoundation, IDisposable
Type Parameters
Properties
|
Improve this Doc
View Source
CurrentPage
Declaration
public IEnumerable<TItem> CurrentPage { get; }
Property Value
|
Improve this Doc
View Source
Data
Declaration
public IEnumerable<TItem> Data { get; set; }
Property Value
|
Improve this Doc
View Source
GetKeysFunc
A function delegate to return the parameters for @key
attributes. If unused
"fake" keys set to GUIDs will be used.
Declaration
public Func<TItem, object> GetKeysFunc { get; set; }
Property Value
|
Improve this Doc
View Source
ItemsPerPage
The number of items per page.
Declaration
public int ItemsPerPage { get; set; }
Property Value
|
Improve this Doc
View Source
ItemsPerPageChanged
Declaration
public EventCallback<int> ItemsPerPageChanged { get; set; }
Property Value
Type |
Description |
EventCallback<Int32> |
|
|
Improve this Doc
View Source
ItemsPerPageSelection
A list of allowable numbers of items per page for the paginator.
Declaration
public IEnumerable<int> ItemsPerPageSelection { get; set; }
Property Value
|
Improve this Doc
View Source
ItemTemplate
The wig pig item renderfragment.
Declaration
public RenderFragment<TItem> ItemTemplate { get; set; }
Property Value
Type |
Description |
RenderFragment<TItem> |
|
|
Improve this Doc
View Source
ListTemplate
The wig pig list renderfragment.
Declaration
public RenderFragment<RenderFragment> ListTemplate { get; set; }
Property Value
Type |
Description |
RenderFragment<RenderFragment> |
|
|
Improve this Doc
View Source
ListTemplateClass
A CSS class to apply to the div surrounding the paged data.
Declaration
public string ListTemplateClass { get; set; }
Property Value
|
Improve this Doc
View Source
PageNumber
Declaration
public int PageNumber { get; set; }
Property Value
|
Improve this Doc
View Source
PageNumberChanged
Declaration
public EventCallback<int> PageNumberChanged { get; set; }
Property Value
Type |
Description |
EventCallback<Int32> |
|
|
Improve this Doc
View Source
PaginatorClass
A class for the paginator.
Declaration
public string PaginatorClass { get; set; }
Property Value
Methods
|
Improve this Doc
View Source
OnAfterRenderAsync(Boolean)
Declaration
protected override async Task OnAfterRenderAsync(bool firstRender)
Parameters
Type |
Name |
Description |
Boolean |
firstRender |
|
Returns
Overrides
|
Improve this Doc
View Source
OnInitializedAsync()
Declaration
protected override async Task OnInitializedAsync()
Returns
Implements