Table of Contents

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

bool

For

[HtmlAttributeName("for")]
public ModelExpression? For { get; set; }

Property Value

ModelExpression

Icon

[HtmlAttributeName("icon")]
public IconType? Icon { get; set; }

Property Value

IconType?

Label

[HtmlAttributeName("label")]
public string? Label { get; set; }

Property Value

string

Name

[HtmlAttributeName("name")]
public string? Name { get; set; }

Property Value

string

Tooltip

[HtmlAttributeName("tooltip")]
public string? Tooltip { get; set; }

Property Value

string

UseFloatingLabel

[HtmlAttributeName("use-floating-label")]
public bool UseFloatingLabel { get; set; }

Property Value

bool

Value

[HtmlAttributeName("value")]
public string? Value { get; set; }

Property Value

string

ViewContext

[ViewContext]
[HtmlAttributeNotBound]
public ViewContext ViewContext { get; set; }

Property Value

ViewContext

Methods

Process(TagHelperContext, TagHelperOutput)

Synchronously executes the TagHelper with the given context and output.

public override void Process(TagHelperContext context, TagHelperOutput output)

Parameters

context TagHelperContext

Contains information associated with the current HTML tag.

output TagHelperOutput

A stateful HTML element used to generate an HTML tag.