Class StandaloneWidgetTagHelper
Renders widget markup based on given widget type and properties.
public class StandaloneWidgetTagHelper : HtmlHelperAsyncExtensionTagHelper
- Inheritance
-
objectTagHelperHtmlHelperAsyncExtensionTagHelperStandaloneWidgetTagHelper
- Extension Methods
Remarks
The HTML markup of widget is rendered directly to the response.
Constructors
StandaloneWidgetTagHelper(IHtmlHelper)
Initializes a new instance of the StandaloneWidgetTagHelper class.
public StandaloneWidgetTagHelper(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>