Table of Contents

Class FormFieldsTagHelper

Namespace
Kentico.Content.Web.Mvc
Assembly
Kentico.Content.Web.Mvc.dll

Returns HTML markup for given enumeration of form components. The markup contains a label and an editing element representing each of the form components.

public class FormFieldsTagHelper : HtmlHelperAsyncExtensionTagHelper
Inheritance
object
TagHelper
HtmlHelperAsyncExtensionTagHelper
FormFieldsTagHelper
Extension Methods

Constructors

FormFieldsTagHelper(IHtmlHelper)

Initializes a new instance of the FormFieldsTagHelper class.

public FormFieldsTagHelper(IHtmlHelper htmlHelper)

Parameters

htmlHelper IHtmlHelper

The HTML helper.

Properties

FormFieldsComponents

The form components to render the markup for.

public IEnumerable<FormComponent> FormFieldsComponents { get; set; }

Property Value

IEnumerable<FormComponent>

FormFieldsRenderingConfiguration

Configuration for the form fields rendering. If null, Default is used.

public FormFieldRenderingConfiguration FormFieldsRenderingConfiguration { get; set; }

Property Value

FormFieldRenderingConfiguration

Methods

CallHtmlHelper()

Used to call Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper Kentico extension point methods.

protected override Task<IHtmlContent> CallHtmlHelper()

Returns

Task<IHtmlContent>