Table of Contents

Class IconPickerTagHelper

Namespace
JJMasterData.Web.TagHelpers
Assembly
JJMasterData.Web.dll
public class IconPickerTagHelper : TagHelper, ITagHelper, ITagHelperComponent
Inheritance
IconPickerTagHelper
Implements
Inherited Members

Constructors

IconPickerTagHelper(IHtmlHelper, IControlFactory<JJIconPicker>)

public IconPickerTagHelper(IHtmlHelper htmlHelper, IControlFactory<JJIconPicker> iconPickerFactory)

Parameters

htmlHelper IHtmlHelper
iconPickerFactory IControlFactory<JJIconPicker>

Properties

Enabled

[HtmlAttributeName("enabled")]
public bool Enabled { get; set; }

Property Value

bool

For

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

Property Value

ModelExpression

Id

[HtmlAttributeName("id")]
public string? Id { get; set; }

Property Value

string

Name

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

Property Value

string

Value

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

Property Value

IconType?

ViewContext

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

Property Value

ViewContext

Methods

Contextualize(ViewContext)

public void Contextualize(ViewContext viewContext)

Parameters

viewContext ViewContext

ProcessAsync(TagHelperContext, TagHelperOutput)

Asynchronously executes the TagHelper with the given context and output. Contains information associated with the current HTML tag. A stateful HTML element used to generate an HTML tag. A Task that on completion updates the output. By default this calls into Process(TagHelperContext, TagHelperOutput)..
public override Task ProcessAsync(TagHelperContext context, TagHelperOutput output)

Parameters

context TagHelperContext
output TagHelperOutput

Returns

Task