Color Element (RDL)

Describes the foreground color of the item.

語法

<Style>
    ...
    <Color>...</Color>
    ...
</Style>

Element Characteristics

Characteristic Description

Data type and length

String

Default value

Black

Cardinality

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

Element Relationships

Relationship Element

Parent element

Style

Child element

None

備註

The Color element contains an expression that evaluates to either a color name or a hex HTML color string in the form #HHHHHH. For information about color values, see the "Color Table" topic at msdn.microsoft.com.

Color applies only to text box, subtotal, title, and legend report items.

請參閱

參考

Report Definition XML Elements

說明及資訊

取得 SQL Server 2005 協助