Use Odd and Even Styles

<< Click to Display Table of Contents >>

Navigation:  User Interface Reference > Report Designer > Report Designer for WPF > Creating Reports > Appearance Customization >

Use Odd and Even Styles

Interface Elements for Desktop > Report Designer > Report Designer for WPF > Creating Reports > Appearance Customization > Use Odd and Even Styles

This tutorial describes how to apply odd and even styles to report controls, e.g., to alternate the background color for each record.

To utilize odd and even styles, do the following.

1.Create a table report.

2.In the Properties Panel, click the ellipsis button for the report's Style Sheet property.

img123644

3.In the invoked Styles Editor, click the plus button to add a new style. Then, adjust the required options, e.g., set the Background Color.

img123645

Click OK to apply changes and quit the dialog.

4.Select the detail table, and in the Properties Panel, expand its Styles option. Invoke the drop-down list for the Even Style property and select the created style.

img123646

If required, perform the same steps to create and assign an odd style.

Switch to the Print Preview tab and view the result.

img123474

ExpandedCollapsed See Also

Understanding Style Concepts

Conditionally Change a Control's Appearance

Copyright (c) 1998-2016 Developer Express Inc. All rights reserved.

Send Feedback on this topic to DevExpress.