Class Pager<TableItem>
public class Pager<TableItem> : ModuleControlBase, IModuleControl
Type Parameters
TableItem
- Inheritance
-
objectComponentBasePager<TableItem>
- Implements
- Inherited Members
Properties
Class
[Parameter]
public string Class { get; set; }
Property Value
- string
ColumnClass
[Parameter]
public string ColumnClass { get; set; }
Property Value
- string
Columns
[Parameter]
public string Columns { get; set; }
Property Value
- string
CurrentPage
[Parameter]
public string CurrentPage { get; set; }
Property Value
- string
Detail
[Parameter]
public RenderFragment<TableItem> Detail { get; set; }
Property Value
- RenderFragment<TableItem>
DisplayPages
[Parameter]
public string DisplayPages { get; set; }
Property Value
- string
Footer
[Parameter]
public RenderFragment Footer { get; set; }
Property Value
- RenderFragment
Format
[Parameter]
public string Format { get; set; }
Property Value
- string
Header
[Parameter]
public RenderFragment Header { get; set; }
Property Value
- RenderFragment
Items
[Parameter]
public IEnumerable<TableItem> Items { get; set; }
Property Value
- IEnumerable<TableItem>
OnPageChange
[Parameter]
public Action<int> OnPageChange { get; set; }
Property Value
- Action<int>
PageSize
[Parameter]
public string PageSize { get; set; }
Property Value
- string
Parameters
[Parameter]
public string Parameters { get; set; }
Property Value
- string
Row
[Parameter]
public RenderFragment<TableItem> Row { get; set; }
Property Value
- RenderFragment<TableItem>
RowClass
[Parameter]
public string RowClass { get; set; }
Property Value
- string
SearchBoxClass
[Parameter]
public string SearchBoxClass { get; set; }
Property Value
- string
SearchProperties
[Parameter]
public string SearchProperties { get; set; }
Property Value
- string
Toolbar
[Parameter]
public string Toolbar { get; set; }
Property Value
- string
_Search
[SupplyParameterFromForm(FormName = "PagerForm")]
public string _Search { get; set; }
Property Value
- string
Methods
BuildRenderTree(RenderTreeBuilder)
Renders the component to the supplied Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder.
protected override void BuildRenderTree(RenderTreeBuilder __builder)
Parameters
__builder
RenderTreeBuilder
NavigateToPage(string)
public void NavigateToPage(string direction)
Parameters
direction
string
OnInitialized()
Method invoked when the component is ready to start, having received its initial parameters from its parent in the render tree.
protected override void OnInitialized()
OnParametersSet()
Method invoked when the component has received parameters from its parent in the render tree, and the incoming values have been assigned to properties.
protected override void OnParametersSet()
Reset()
public void Reset()
Search()
public void Search()
SetPagerSize()
public void SetPagerSize()
SkipPages(string)
public void SkipPages(string direction)
Parameters
direction
string
UpdateList(int)
public void UpdateList(int page)
Parameters
page
int