<< Click to Display Table of Contents >>

 

This topic describes how to combine appearance properties into styles and apply them to report elements.

Use the following approaches to create a visual style in your report:

Extract a Style

Specify a report control's appearance properties and press Extract Style in the report's toolbar.

eurd-win-specify-properties

Create a new Style

Press the caption button in the toolbar's Styles group to invoke the Styles Editor.

eurd-win-styles-add-styles

Press the Add a style button and specify the new style's appearance properties. Close the Styles Editor.

The created style is added to the Style gallery. You can access this gallery in the following places:

the Styles group in the report's toolbar;

eurd-win-styles-in-toolbar

the Styles group in the Report Explorer.

eurd-win-styles-in-report-explorer

Select a report element and press a style in the toolbar's Styles group.

eurd-win-assign-style

This assigns the style to the report element's Style property.

eurd-win-style-property

You can use the Odd Style and Even Style properties to apply different styles to alternating rows in a report.

eurd-win-styleproperty-oddeven

eurd-win-use-oddevenstyles

Press the caption button in the toolbar's Styles group to invoke the Styles Editor.

eurd-win-customize-style

Select a style and modify its property values. All the report elements apply the updated style immediately.

Nested elements inherit their parent element's style if they do not have an applied style.

You can specify a different value for a report element's appearance property to override the corresponding property value in the report element's style.

Note

If you apply conditional formatting, its appearance property values have a higher priority than both the individually specified properties and the style's properties.

You can add a style to the Report Gallery and use it across different reports.

In the Report Explorer, right-click a style and choose Add to Gallery.

eurd-win-add-style-to-gallery

The styles that the Report Gallery includes are available across reports. Drag a style from the Report Gallery to a report element.

eurd-win-apply-gallery-style

This embeds the style to the report and set's the report element's Style property.

Note

You can combine styles into style sheets and reuse them in reports.