Hide

YetaWF.ComponentsHTML Package Documentation

Display
Print

YetaWF.Modules.ComponentsHTML.CoreRendering.RenderViewAsync Method

Renders a view.

Class: YetaWF.Modules.ComponentsHTML.CoreRendering
Namespace: YetaWF.Modules.ComponentsHTML
Assembly: YetaWF.ComponentsHTML

Syntax

public Task<string> RenderViewAsync(
    YetaWF.Core.Support.YHtmlHelper htmlHelper,
    YetaWF.Core.Modules.ModuleDefinition module,
    string viewHtml,
    bool UsePartialFormCss );

Parameters

htmlHelper

The HtmlHelper instance.

module

The module being rendered in the view.

viewHtml

The current view contents to be wrapped in the view.

UsePartialFormCss

Defines whether the partial form CSS should be used.

Return Value

Returns the complete view as HTML.

See Also YetaWF.Modules.ComponentsHTML.CoreRendering ClassYetaWF.ComponentsHTML PackageYetaWF.Core