Nucleus .Net Core CMS

Controls.PagingControl Class

Namespace: Nucleus.ViewFeatures.Controls
Assembly: Nucleus.ViewFeatures.dll
Paging control

Constructor

Nucleus.ViewFeatures.Controls.PagingControl Constructor

Nucleus.ViewFeatures.Controls.PagingControl (Context Context)
Constructor used by dependency injection to create an instance of the paging control.
Parameters
Name Type
Context Nucleus.Abstractions.Models.Context
Examples
@await Component.InvokeAsync(typeof(Nucleus.ViewFeatures.Controls.PagingControl), new { model = @Model.ApiKeys, propertyName = "ApiKeys", renderMode = Nucleus.ViewFeatures.ViewModels.PagingControl.RenderModes.Compact })
Remarks
The paging control is an ASP.NET core view component. Users of the paging control do not create an instance of this class directly. Instead, use Component.InvokeAsync to invoke the control from Razor.

Methods

Invoke (PagingSettings,String,RenderModes) Method

IViewComponentResult Invoke (PagingSettings model, String propertyName, RenderModes renderMode)
Invoke (render) the control.