Class TelerikPager
The class for the Telerik Pager component.
Inherited Members
Namespace: Telerik.Blazor.Components
Assembly: Telerik.Blazor.dll
Syntax
public class TelerikPager : BaseComponent, IDisposable
Constructors
TelerikPager()
Declaration
public TelerikPager()
Properties
Adaptive
Defines whether pager elements should be changed based on the screen size. Default value is true.
Declaration
public bool Adaptive { get; set; }
Property Value
System.Boolean
|
AriaControls
Identifies the element whose contents are controlled by the pager.
Declaration
public string AriaControls { get; set; }
Property Value
System.String
|
ButtonCount
Defines the page buttons count of the pager. Default value is 10.
Declaration
public int ButtonCount { get; set; }
Property Value
System.Int32
|
CurrentPage
Declaration
public int CurrentPage { get; set; }
Property Value
System.Int32
|
InputType
Defines the input type of the pager. Default value is See Buttons.
Declaration
public PagerInputType InputType { get; set; }
Property Value
PagerInputType
|
Page
Defines the current selected page of the pager. Default value is 1.
Declaration
public int Page { get; set; }
Property Value
System.Int32
|
PageChanged
Fires when new page is selected.
Declaration
public EventCallback<int> PageChanged { get; set; }
Property Value
Microsoft.AspNetCore.Components.EventCallback<System.Int32>
|
PageSize
Defines the size of the page in the Pager. Default value is 10.
Declaration
public int PageSize { get; set; }
Property Value
System.Int32
|
PageSizeChanged
Fires when new page size is selected.
Declaration
public EventCallback<int> PageSizeChanged { get; set; }
Property Value
Microsoft.AspNetCore.Components.EventCallback<System.Int32>
|
PageSizes
Defines the list of available page sizes. Null element will show total elements on one page.
Declaration
public List<Nullable<int>> PageSizes { get; set; }
Property Value
System.Collections.Generic.List<System.Nullable<System.Int32>>
|
ShowInfo
Defines whether the information about the current page and the total number of records is present. Default value is true.
Declaration
public bool ShowInfo { get; set; }
Property Value
System.Boolean
|
Size
Specifies the size of the pager. Default value is Medium.
Declaration
public string Size { get; set; }
Property Value
System.String
|
Total
Defines the Total elements count.
Declaration
public int Total { get; set; }
Property Value
System.Int32
|
Methods
BuildRenderTree(RenderTreeBuilder)
Declaration
protected override void BuildRenderTree(RenderTreeBuilder __builder)
Parameters
Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder
__builder
|
Dispose()
OnAfterRenderAsync(Boolean)
Declaration
protected override Task OnAfterRenderAsync(bool firstRender)
Parameters
System.Boolean
firstRender
|
Returns
System.Threading.Tasks.Task
|
Overrides
OnParametersSetAsync()
Declaration
protected override Task OnParametersSetAsync()
Returns
System.Threading.Tasks.Task
|