Expand Minimize
2 out of 3 rated this helpful - Rate this topic

Style Element

SQL Server 2000

Style Element

Contains information about the style of an item.

<Body> <!-- or PageHeader, PageFooter, Line, Rectangle, Textbox, Image, Subreport, List, Matrix, Table, Chart, Subtotal, Title, Legend, Axis, DataPoint, DataLabel, Marker, PlotArea, MajorGridLines, MinorGridLines -->
   ...
   <Style>
      <BorderColor>...</BorderColor>
      <BorderStyle>...</BorderStyle>
      <BorderWidth>...</BorderWidth>
      <BackgroundColor>...</BackgroundColor>
      <BackgroundGradientEndColor>...</BackgroundGradientEndColor>
      <BackgroundGradientType>...</BackgroundGradientType>
      <BackgroundImage>...</BackgroundImage>
      <FontStyle>...</FontStyle>
      <FontFamily>...</FontFamily>
      <FontSize>...</FontSize>
      <FontWeight>...</FontWeight>
      <Format>...</Format>
      <TextDecoration>...</TextDecoration>
      <TextAlign>...</TextAlign>
      <VerticalAlign>...</VerticalAlign>
      <Color>...</Color>
      <PaddingLeft>...</PaddingLeft>
      <PaddingRight>...</PaddingRight>
      <PaddingTop>...</PaddingTop>
      <PaddingBottom>...</PaddingBottom>
      <LineHeight>...</LineHeight>
      <Direction>...</Direction>
      <WritingMode>...</WritingMode>
      <Language>...</Language>
      <UnicodeBiDi>...</UnicodeBiDi>
      <Calendar>...</Calendar>
      <NumeralLanguage>...</NumeralLanguage>
      <NumeralVariant>...</NumeralVariant>
   </Style>
   ...
<Body> <!-- or /PageHeader, /PageFooter, /Line, /Rectangle, /Textbox, /Image, /Subreport, /List, /Matrix, /Table, /Chart, /Subtotal, /Title, /Legend, /Axis, /DataPoint, /DataLabel, /Marker, /PlotArea, /MajorGridLines, /MinorGridLines -->
Element Characteristics

Characteristic Description
Data type and length None
Default value None
Cardinality 0-1: Optional element that can occur once or not at all

Element Relationships

Remarks

In a data region, such as table, matrix, list, or chart, text style properties apply only to the text box that appears when the data region contains no rows. If the data region contains data, text style properties are ignored. In this case, text style is determined by the style properties for the text boxes contained within the data region.

When Style is used within the Subtotal element, Style overrides the style of any top-level items in the subtotal column or row. At the intersection of a row and a column, the style of the row overrides the style of the column.

When Style is used within the Axis element, text style properties apply to the axis labels, and line properties apply to axis lines.

See Also

Report Definition XML Elements

Did you find this helpful?
(1500 characters remaining)
© 2013 Microsoft. All rights reserved.