System.Web.UI.HtmlTextWriterStyle Enumeration

Specifies the HTML styles available to an System.Web.UI.HtmlTextWriter or System.Web.UI.Html32TextWriter object output stream.

Syntax

public enum HtmlTextWriterStyle

Remarks

System.Web.UI.HtmlTextWriter and System.Web.UI.Html32TextWriter objects use these enumeration values to register HTML strings to the proper HTML style.

Members

Member NameDescription
BackgroundColor

Specifies the HTML backgroundcolor style.

BackgroundImage

Specifies the HTML backgroundimage style.

BorderCollapse

Specifies the HTML bordercollapse style.

BorderColor

Specifies the HTML bordercolor style.

BorderStyle

Specifies the HTML borderstyle style.

BorderWidth

Specifies the HTML borderwidth style.

Color

Specifies the HTML color style.

Cursor

Specifies the HTML cursor style.

Direction

Specifies the HTML direction style.

Display

Specifies the HTML display style.

Filter

Specifies the HTML filter style.

FontFamily

Specifies the HTML fontfamily style.

FontSize

Specifies the HTML fontsize style.

FontStyle

Specifies the HTML fontstyle style.

FontVariant

Specifies the HTML fontvariant style.

FontWeight

Specifies the HTML fontheight style.

Height

Specifies the HTML height style.

Left

Specifies the HTML left style.

ListStyleImage

Specifies the HTML liststyleimage style.

ListStyleType

Specifies the HTML liststyletype style.

Margin

Specifies the HTML margin style.

MarginBottom

Specifies the HTML marginbottom style.

MarginLeft

Specifies the HTML marginleft style.

MarginRight

Specifies the HTML marginright style.

MarginTop

Specifies the HTML margintop style.

Overflow

Specifies the HTML overflow style.

OverflowX

Specifies the HTML overflowx style.

OverflowY

Specifies the HTML overflowy style.

Padding

Specifies the HTML padding style.

PaddingBottom

Specifies the HTML paddingbottom style.

PaddingLeft

Specifies the HTML paddingleft style.

PaddingRight

Specifies the HTML paddingright style.

PaddingTop

Specifies the HTML paddingtop style.

Position

Specifies the HTML position style.

TextAlign

Specifies the HTML textalign style.

TextDecoration

Specifies the HTML textdecoration style.

TextOverflow

Specifies the HTML textoverflow style.

Top

Specifies the HTML top style.

VerticalAlign

Specifies the HTML verticalalign style.

Visibility

Specifies the HTML visibility style.

WhiteSpace

Specifies the HTML whitespace style.

Width

Specifies the HTML width style.

ZIndex

Specifies the HTML zindex style.

Requirements

Namespace: System.Web.UI
Assembly: System.Web (in System.Web.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0