Class NestedWidgetTagHelper
Renders nested widget markup based on the given widget type.
public class NestedWidgetTagHelper : HtmlHelperAsyncExtensionTagHelper
- Inheritance
-
objectTagHelperHtmlHelperAsyncExtensionTagHelperNestedWidgetTagHelper
- Extension Methods
Remarks
The HTML markup of widget is rendered directly to the response.
Constructors
NestedWidgetTagHelper(IHtmlHelper)
Initializes a new instance of the NestedWidgetTagHelper class.
public NestedWidgetTagHelper(IHtmlHelper htmlHelper)
Parameters
htmlHelper
IHtmlHelperThe HTML helper.
Properties
WidgetProperties
Widget properties.
public IWidgetProperties WidgetProperties { get; set; }
Property Value
WidgetTypeIdentifier
Widget type identifier.
public string WidgetTypeIdentifier { get; set; }
Property Value
- string
Methods
CallHtmlHelper()
Used to call Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper Kentico extension point methods.
protected override Task<IHtmlContent> CallHtmlHelper()
Returns
- Task<IHtmlContent>