
HtmlTextWriterTag | 655
UI Namespace
This is the Title of the Book, eMatter Edition
Copyright © 2008 O’Reilly & Associates, Inc. All rights reserved.
Hierarchy
System.Object ➝ System.ValueType ➝ System.Enum(System.IComparable, System.IFor-
mattable, System.IConvertible)
➝ HtmlTextWriterAttribute
Returned By
HtmlTextWriter.GetAttributeKey( )
Passed To
HtmlTextWriter.{AddAttribute( ), EncodeAttributeValue( ), GetAttributeName( ),
IsAttributeDefined( ), OnAttributeRender( ), RegisterAttribute( )}
HtmlTextWriterStyle
System.Web.UI (system.web.dll)
serializable
enum
This enumeration specifies HTML styles that the methods in the HtmlTextWriter class can
use to create output.
Hierarchy
System.Object ➝ System.ValueType ➝ System.Enum(System.IComparable, System.IFor-
mattable, System.IConvertible)
➝ HtmlTextWriterStyle
Returned By
HtmlTextWriter.GetStyleKey( )
Passed To
HtmlTextWriter.{AddStyleAttribute( ), GetStyleName( ), IsStyleAttributeDefined( ),
OnStyleAttributeRender( ), RegisterStyle( )}
HtmlTextWriterTag
System.Web.UI (system.web.dll)
serializable
enum
This enumeration represents different HTML tags for the HtmlTextWriter class. For
example, you can use a value from this enumeration as a parameter for the HtmlText-
Writer.RenderBeginTag( ) method to specify what tag should be written to the output stream.
public enum HtmlTextWriterStyle {
BackgroundColor = 0,
BackgroundImage = 1,
BorderCollapse = 2,
BorderColor ...