Class DisplayNameHelper
Adds the display name of a model property expression specified by the
xn-display-name-for
attribute
to the beginning of the tag. The tag will always be rendered with a separate start and end tag.
Inheritance
Microsoft.AspNetCore.Razor.TagHelpers.TagHelper
DisplayNameHelper
Namespace: XploRe.AspNetCore.Mvc.TagHelpers
Assembly: XploRe.AspNetCore.Mvc.TagHelpers.dll
Syntax
public class DisplayNameHelper : TagHelper
Constructors
Name | Description |
---|---|
DisplayNameHelper() |
Properties
Name | Description |
---|---|
For | Name of current model property to retrieve the display name for. |
Methods
Name | Description |
---|---|
Process(TagHelperContext, TagHelperOutput) |