This recipe will tell you about something which is good practice. But I have put it under 'Using Report Studio Better' for two reasons. One—it builds upon the idea learnt in previous recipe. Two—it does help you use Report Studio better.
The last recipe showed you how to apply style to selected list columns. Here we will see the recommended way to apply same style to all the objects (List Column Titles in this case).
Font: 12 Pt
Background Color: Silver
Border: 1pt Solid all sides
Then we have two options. First apply this style to one column title. Say Product line code.
What we are doing here is, instead of selecting the column titles individually, making a general selection of 'List Column Title Style' that applies to all column titles. In fact it is a parent object, so even the new items added later on to the list will fall under it and will carry same formatting.
This practice of selecting a generic or parent-level object not only saves time but also makes the formatting more future-proof. A report writer should follow this 'grab it all' practice for the formatting that applies across.
Please don't miss the 'Customizing Classes for report-wide effect' recipe in Chapter 11, Best Practices; to further enhance the technique of applying a universal style to the report.