Class FormFieldsTagHelper
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
-
objectTagHelperHtmlHelperAsyncExtensionTagHelperFormFieldsTagHelper
- Extension Methods
Constructors
FormFieldsTagHelper(IHtmlHelper)
Initializes a new instance of the FormFieldsTagHelper class.
public FormFieldsTagHelper(IHtmlHelper htmlHelper)
Parameters
htmlHelper
IHtmlHelperThe 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
Methods
CallHtmlHelper()
Used to call Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper Kentico extension point methods.
protected override Task<IHtmlContent> CallHtmlHelper()
Returns
- Task<IHtmlContent>