Class ActionTagHelper
- Namespace
- Dynamicweb.CoreUI.Rendering.TagHelpers
- Assembly
- Dynamicweb.CoreUI.Rendering.dll
[HtmlTargetElement(ParentTag = null, Attributes = "dw-action")]
public sealed class ActionTagHelper : TagHelper, ITagHelper, ITagHelperComponent
- Inheritance
-
ActionTagHelper
- Implements
- Inherited Members
Constructors
ActionTagHelper(IJsonHelper, ScreenRequest)
public ActionTagHelper(IJsonHelper jsonHelper, ScreenRequest screenRequest)
Parameters
jsonHelperIJsonHelperscreenRequestScreenRequest
Properties
Action
[HtmlAttributeName("dw-action")]
public ActionBase? Action { get; set; }
Property Value
Methods
Process(TagHelperContext, TagHelperOutput)
Synchronously executes the TagHelper with the given context and
output.
public override void Process(TagHelperContext context, TagHelperOutput output)
Parameters
contextTagHelperContextContains information associated with the current HTML tag.
outputTagHelperOutputA stateful HTML element used to generate an HTML tag.