Class ExpressionTagHelper
- Namespace
- JJMasterData.Web.TagHelpers
- Assembly
- JJMasterData.Web.dll
public class ExpressionTagHelper : TagHelper, ITagHelper, ITagHelperComponent
- Inheritance
-
ExpressionTagHelper
- Implements
- Inherited Members
Properties
Disabled
[HtmlAttributeName("disabled")]
public bool Disabled { get; set; }
Property Value
For
[HtmlAttributeName("for")]
public ModelExpression? For { get; set; }
Property Value
Icon
[HtmlAttributeName("icon")]
public IconType? Icon { get; set; }
Property Value
Label
[HtmlAttributeName("label")]
public string? Label { get; set; }
Property Value
Name
[HtmlAttributeName("name")]
public string? Name { get; set; }
Property Value
Tooltip
[HtmlAttributeName("tooltip")]
public string? Tooltip { get; set; }
Property Value
UseFloatingLabel
[HtmlAttributeName("use-floating-label")]
public bool UseFloatingLabel { get; set; }
Property Value
Value
[HtmlAttributeName("value")]
public string? Value { get; set; }
Property Value
ViewContext
[ViewContext]
[HtmlAttributeNotBound]
public ViewContext ViewContext { 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
context
TagHelperContextContains information associated with the current HTML tag.
output
TagHelperOutputA stateful HTML element used to generate an HTML tag.