Share via


TagRenderMode Enum

Definition

Enumerates the modes that are available for rendering HTML tags.

C#
public enum TagRenderMode
Inheritance
TagRenderMode

Fields

Name Value Description
Normal 0

Represents the mode for rendering normal text.

StartTag 1

Represents the mode for rendering an opening tag (for example, <tag>).

EndTag 2

Represents the mode for rendering a closing tag (for example, </tag>).

SelfClosing 3

Represents the mode for rendering a self-closing tag (for example, <tag />).

Applies to

Product Versions
ASP.NET MVC 5.2
ASP.NET Web Pages 3.2