SpanHintTagHelper

ITagHelper implementation targeting <span> elements with an asp-hint-for attribute.

Namespace:
Inetdev.AspNetCore.TagHelpers
Type:
Class
Public:
Yes
Protected:
No
Sealed:
No
Abstract:
No
Inherits from:
Microsoft.AspNetCore.Razor.TagHelpers.TagHelper

Constructors

SpanHintTagHelper

Default constructor

Signature:
public Void SpanHintTagHelper()

Properties

HintFor

An expression to be evaluated against the current model.

Signature:
public ModelExpression HintFor { get; set; }

IconClass

A CSS class that represents the icon to show.

Signature:
public String IconClass { get; set; }

Order

Execution order.

Signature:
public Int32 Order { get; }

Placement

Tooltip placement.

Signature:
public String Placement { get; set; }

ViewContect

The view context.

Signature:
public ViewContext ViewContect { get; set; }

Methods

ProcessAsync

If the model has a hint builds an Html i tag for it.

Signature:
public Task ProcessAsync(context, output)
Remarks

Does nothing if HintFor is null.

Parameters
Name Type Summary
context TagHelperContext
output TagHelperOutput