Previous Topic: SkinsNext Topic: Hypertext Links


Rules to Specify Visual Attributes in Control Skins

When you specify the visual attributes for a control skin, you can specify only the visual attributes that are supported for each control type.

The following rules apply when specifying the visual attributes for control skins that support a theme in an ASP.NET application:

  1. The theme for an ASP.NET application can support only the following common visual attributes:

    Note: The color for the ForeColor, BackColor and BorderColor attributes may be represented by the name of the color or the hexadecimal RGB code for the color prefixed with #.

  2. The control skins for the individual control types may support one, more, or all of the common visual attributes in the theme.

    The following table lists the supported common visual attributes in a control skin for each control type in a CA Gen ASP.NET application:

Control Type

Supported Common Visual Attributes

Unsupported Common Visual Attributes

asp:Label

All the common visual attributes.

 

Gen:ASPXBitmap

Width, Height, Border

ForeColor, BackColor

Gen:ASPXBitmapButton

Width, Height, Border

ForeColor, BackColor

Gen:ASPXButton

All the common visual attributes.

 

Gen:ASPXCheckBox

All the common visual attributes.

 

Gen:ASPXRadioButton

All the common visual attributes.

 

Gen:ASPXSingleLineEdit

All the common visual attributes.

 

Gen:ASPXMultiLineEdit

All the common visual attributes.

 

Gen:ASPXGroupBoxLiteral

All the common visual attributes.

 

Gen:ASPXStaticLiteral

All the common visual attributes.

 

Gen:ASPXPermValueList

ForeColor,BackColor,Width, Font

Height, Border

Gen:ASPXHyperLink

All the common visual attributes.

 

Gen:ASPXLinkButton

All the common visual attributes.

 

Gen:ASPXStatusBar

All the common visual attributes.

 

Gen:ASPXToolBar

All the common visual attributes.

 

Gen:ASPXDropDownNoEntry

ForeColor,BackColor,Width,

Font

Height, Border

Gen:ASPXListBox

ForeColor, BackColor, Font, Border

Width, Height

Gen:ASPXFixedSizeTable

ForeColor, BackColor, Font, Border

Width, Height

Gen:ASPXVaryingSizeTable

ForeColor, BackColor, Font, Border

Width, Height

Gen:ASPXListBoxColumn

(listbox/table prompt)

ForeColor, BackColor, Font, Border, Height

Width

Gen:ASPXMenuBar

ForeColor, BackColor, Font, Width

Height, Border