Nucleus .Net Core CMS

HtmlHelpers.RenderPageContentHtmlHelper Class

Namespace: Nucleus.ViewFeatures.HtmlHelpers
Assembly: Nucleus.ViewFeatures.dll
Html helper used to render the modules which are within the specified pane for the page being rendered.
The RenderPageContentHtmlHelper is used by Layouts.
RenderControlPanelExtensionAsync (IHtmlHelper htmlHelper, ControlPanelExtensionDefinition controlPanelExtension)
Render a control panel extension for the specified controlPanelExtension.
RenderEditorAsync (IHtmlHelper htmlHelper, PageModule moduleInfo)
Render a module editor for the specified moduleInfo.
Parameters
Name Type
htmlHelper Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper
moduleInfo Nucleus.Abstractions.Models.PageModule

The Models.PageModule to render the editor for.

Remarks
This overload renders a container around the module content.
RenderEditorAsync (IHtmlHelper htmlHelper, PageModule moduleInfo, Boolean renderContainer)
Render a module editor for the specified moduleInfo.
Parameters
Name Type
htmlHelper Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper
moduleInfo Nucleus.Abstractions.Models.PageModule

The Models.PageModule to render the editor for.

renderContainer Boolean

Specifies whether to render a container around the module content.

RenderPaneAsync (IHtmlHelper htmlHelper, String paneName)
Renders the modules which are within the specified pane for the page being rendered.
Parameters
Name Type
htmlHelper Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper
paneName String
Examples
@Html.RenderPaneAsync("ContentPane")
Remarks
Use this Html Helper in custom Layouts to render a Layout pane.