Skip to content

Latest commit

 

History

History
43 lines (24 loc) · 1.83 KB

File metadata and controls

43 lines (24 loc) · 1.83 KB
title author
Conditionally Change a Control's Appearance
Anna Gubareva

Conditionally Change a Control's Appearance

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.

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

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

  4. Create another style by cloning the existing one.

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

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

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

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

Switch to Print Preview to view the resulting report.