BackgroundColor Element (RDL)

Specifies the background color of the item.

语法

<Style>
    ...
    <BackgroundColor>...</BackgroundColor>
    ...
</Style>

Element Characteristics

Characteristic Description

Data type and length

String

Default value

None

Cardinality

0-1: Optional element that can occur once or not at all.

Element Relationships

Relationship Element

Parent element

Style

Child element

None

备注

The BackgroundColor element contains an expression that evaluates to either a color name or a hex HTML color string in the form #HHHHHH. If this element is omitted, the background is transparent.

BackgroundColor applies only to rectangle, text box, list, matrix, table, chart, body, subtotal, title, legend, and plot area report items.

For more information about color values, see the "Color Table" topic at msdn.microsoft.com.

请参阅

参考

Report Definition XML Elements

帮助和信息

获取 SQL Server 2005 帮助