0 out of 3 rated this helpful - Rate this topic

TagRenderMode Enumeration

Enumerates the modes that are available for rendering HTML tags.

Namespace:  System.Web.Mvc
Assembly:  System.Web.Mvc (in System.Web.Mvc.dll)
public enum TagRenderMode
Member name Description
Normal Represents normal mode.
StartTag Represents the start-tag mode.
EndTag Represents end-tag mode.
SelfClosing Represents self-closing-tag mode.
Did you find this helpful?
(1500 characters remaining)
Community Content Add
Annotations FAQ
Examples
Normal renders "<tag></tag>" (with attributes if defined)
StartTag renders "<tag>" (with attributes if defined)
EndTag renders "</tag>"
SelfClosing renders "<tag />" (with attributes if defined, but ignores innerHtml)
Normal represents normal mode?
That's some brilliant documentation, right there.