<< Click to Display Table of Contents >>

 

This document describes how to change a report control's appearance based on a specific condition.

1.Switch to the Report Explorer and right-click the Styles category to create a new visual style.

eurd-win-shaping-create-new-report-style

2.Right-click the created style and select Edit Styles.

eurd-win-shaping-edit-report-styles

3.In the invoked Styles Editor, customize the created style's appearance settings.

eurd-win-shaping-customize-style-settings

4.Create another style by cloning the existing one.

eurd-win-shaping-clone-a-style

5.Customize the new style's appearance settings and close the editor.

eurd-win-shaping-cloned-style-settings

6.Back in the Report Explorer, select a report element to which you wish to assign the created styles.

eurd-win-shaping-select-element-in-report-explorer

7.Open the Property Grid's Appearance tab, click the Style property's marker and select Style Expression in the context menu.

eurd-win-shaping-style-name-expression-property

8.In the invoked Expression Editor, specify the required condition for switching between the created styles.

eurd-win-shaping-style-name-expression

Switch to Print Preview to view the resulting report.

eurd-win-shaping-change-appearance-result