Class RenderingEngineConstants.SitecoreTagHelpers

Version: 21.x

Constants relevant to the Sitecore tag helpers.

Inheritance
System.Object
RenderingEngineConstants.SitecoreTagHelpers
Namespace: Sitecore.AspNet.RenderingEngine
Assembly: Sitecore.AspNet.RenderingEngine.dll
Syntax
RequestResponse
public static class SitecoreTagHelpers : Object

Fields

AspForTagHelperAttribute

The name of the asp-for attribute.

Declaration
RequestResponse
public const string AspForTagHelperAttribute = "asp-for"
Field Value
TypeDescription
System.String

DateHtmlTag

The HTML tag used by the DateTagHelper tag helper.

Declaration
RequestResponse
public const string DateHtmlTag = "sc-date"
Field Value
TypeDescription
System.String

ImageHtmlTag

The HTML tag used by the ImageTagHelper tag helper.

Declaration
RequestResponse
public const string ImageHtmlTag = "sc-img"
Field Value
TypeDescription
System.String

LinkHtmlTag

The HTML tag used by the LinkTagHelper tag helper.

Declaration
RequestResponse
public const string LinkHtmlTag = "sc-link"
Field Value
TypeDescription
System.String

NumberHtmlTag

The HTML tag used by the NumberTagHelper tag helper.

Declaration
RequestResponse
public const string NumberHtmlTag = "sc-number"
Field Value
TypeDescription
System.String

PlaceholderHtmlTag

The HTML tag used by the PlaceholderTagHelper tag helper.

Declaration
RequestResponse
public const string PlaceholderHtmlTag = "sc-placeholder"
Field Value
TypeDescription
System.String

RichTextHtmlTag

The HTML tag used by the RichTextTagHelper tag helper.

Declaration
RequestResponse
public const string RichTextHtmlTag = "sc-text"
Field Value
TypeDescription
System.String

TextTagHelperAttribute

The name of the rich-text attribute.

Declaration
RequestResponse
public const string TextTagHelperAttribute = "asp-text"
Field Value
TypeDescription
System.String

Do you have some feedback for us?

If you have suggestions for improving this article,