Class FormFieldTagHelper
Returns HTML markup for given form component. The markup contains a label and an editing element representing the form component given.
public class FormFieldTagHelper : HtmlHelperAsyncExtensionTagHelper
- Inheritance
-
objectTagHelperHtmlHelperAsyncExtensionTagHelperFormFieldTagHelper
- Extension Methods
Constructors
FormFieldTagHelper(IHtmlHelper)
Initializes a new instance of the FormFieldTagHelper class.
public FormFieldTagHelper(IHtmlHelper htmlHelper)
Parameters
htmlHelper
IHtmlHelperThe HTML helper.
Properties
FormFieldComponent
The form component to render the markup for.
public FormComponent FormFieldComponent { get; set; }
Property Value
FormFieldRenderingConfiguration
Configuration for the form field rendering. If null, Default is used.
public FormFieldRenderingConfiguration FormFieldRenderingConfiguration { 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>