LiteralContentAttribute indicates whether the contents within a tag representing a custom/web control should be treated by Trident as a "literal/text" content. Web controls supporting complex properties (like Templates, etc.) typically mark themselves as "literals", thereby letting the designer infra-structure and Trident deal with the persistence of those attributes. If LiteralContentAttribute.No is present or no LiteralContentAttribute marking exists, then the tag corresponding to the web control is not treated as a literal content tag. If LiteralContentAttribute.Yes is present, then the tag corresponding to the web control is treated as a literal content tag.
Object
Attribute
MemberAttribute
LiteralContentAttribute
[Visual Basic] Public Class LiteralContentAttribute Inherits MemberAttribute [C#] public class LiteralContentAttribute : MemberAttribute [C++] public __gc class LiteralContentAttribute : public MemberAttribute [JScript] public class LiteralContentAttribute extends MemberAttribute
[To be supplied.]
Namespace: System.Web.UI
Assembly: System.Web.dll
LiteralContentAttribute Members | System.Web.UI Namespace | MemberAttribute