[]
Shape report control is a graphical element that allows you to display different shape types in a report. It has no data associated with it. You can use the control in several ways to enhance your reports:
Some properties of the Shape control are described below. Note that you need to enable Advanced Properties Mode to view all properties.
Color: Select a color to use for the background.
Image: Select an image to use for the background.
Width: Enter a value in points to set the width of the border.
Style: Select a style for the border.
Color: Select a color to use for the border from Color Picker, Standard Colors, or Web Colors.
Shape Style: Select a style for the shape from the following:
Rectangle | RoundRect | Ellipse |
---|---|---|
Rectangular shape. | Rectangular shape with round corners. |
Elliptical shape. |
Rounding Radius: Radius for the round corners of the shape. This property is valid for the RoundRect shape style.
Style: Choose from the list of available styles and set to apply a style to the control.
Let’s say that we already have a report displaying a catalog of products grouped by categories as shown below. Please see List topic for designing this report.
We can enhance the appearance of this report by using Shape controls. We will use two Shape controls - one to highlight each category of products, the other one to visually mark the boundaries of the List data region with the 'Products' data. Both shapes will use a rectangular shape with round corners for a more powerful visual effect.
The final report will be as shown:
Drag-drop the Shape control onto the report’s designer, such that it surrounds text boxes [CategoryName]
and [Description]
.
Set the following properties of the Shape control to some suitable values, for example:
Note: Since Shape control overlaps the previously added controls, it hides them in the design area. In such a case, you may need to decrease the value of Layout > Z-Index to some suitable value.
Drag-drop another Shape control, on the List data region, and resize it to surround the List data region.
Set the following properties of the Shape control to some suitable values, for example:
Your report should look like the following in the design area:
Improve the appearance of the controls.
Preview.