Nucleus .Net Core CMS

Controls.PagingControl Class

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

Remarks

The paging control is a 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.

Example

@await Component.InvokeAsync(typeof(Nucleus.ViewFeatures.Controls.PagingControl), new { model = @Model.ApiKeys, propertyName = "ApiKeys", renderMode = Nucleus.ViewFeatures.ViewModels.PagingControl.RenderModes.Compact })

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

Methods

Invoke (PagingSettings,String,RenderModes) Method

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