Hide

YetaWF.Core Package Documentation

Display
Print

YetaWF.Core.Components.YetaWFViewBase.PartialForm Method

Renders a partial form view (the portion between <form> and </form>).

Class: YetaWF.Core.Components.YetaWFViewBase
Namespace: YetaWF.Core.Components
Assembly: YetaWF.Core

Syntax

public Task<string> PartialForm(
    Func<Task<string>> renderPartial,
    bool UsePartialFormCss = true,
    bool ShowView = true );

Parameters

renderPartial

Method called to render the view portion.

UsePartialFormCss

Defines whether partial form CSS is used.

ShowView

Defines whether the partial view rendering method renderPartial is called.

Return Value

Returns the partial form as HTML.

See Also YetaWF.Core.Components.YetaWFViewBase ClassYetaWF.Core Overview