2.293.3 Style.BackgroundGradientType

The Style.BackgroundGradientType element specifies the type of background gradient of a report item. This element is optional. If this element is present, its value MUST be a String ([XMLSCHEMA2/2] section 3.2.1) or an expression that evaluates to a String. The value of this element MUST evaluate to one of the following:

Default: Specifies the default background gradient, which is treated the same as "None".

None: Specifies that there is no background gradient.

LeftRight: Specifies a horizontal background gradient.

TopBottom: Specifies a vertical background gradient.

Center: Specifies a circular background gradient.

DiagonalLeft: Specifies a diagonal gradient that goes from top-left to bottom-right.

DiagonalRight: Specifies a diagonal gradient that goes from top-right to bottom-left.

HorizontalCenter: Specifies a horizontal gradient that goes out from the center to both the top and the bottom.

VerticalCenter: Specifies a vertical gradient that goes out from the center to both the left and the right.

If the Style.BackgroundGradientType element is not present, its value is interpreted as "None". If the grandparent element of this element is a ReportItem and not a Chart, the Style.BackgroundGradientType element is ignored.

If the grandparent element of this element is ChartAxis, Axis, Title, ChartAxisTitle, ChartAxisScaleBreak, ChartMarker, Marker, ChartGridLines, MajorGridLines, MinorGridLines, ChartTickMarks, LinearGauge, RadialGauge, ScaleRange, ScaleLabels, CustomLabel, or PinLabel, the Style.BackgroundGradientType element is ignored.

Following is the parent element of the Style.BackgroundGradientType element.

Parent elements

Style

The following is the XML Schema definition of the Style.BackgroundGradientType element.

 <xsd:element name="BackgroundGradientType" type="xsd:string" minOccurs="0" />