Line
- Last UpdatedMar 30, 2022
- 3 minute read
The Line control is used for decoration and the visual separation of a report's sections.

In the Property Grid, the Line control's properties are divided into the following groups:
Appearance
Background Color
Specifies the background colour for the controls contained within the band. This option
is also available on the Formatting Toolbar (
).
Border Color, Border Dash Style, Border Width and Borders
Specify border settings for the control.
Foreground Color
Specifies the text colour for the controls contained within the band. This option
is also available on the Formatting Toolbar (
).
Formatting Rules
Displays the Formatting Rules Editor which enables users to choose which rules should be applied to the band during report generation, and define the precedence of the applied rules. For further information, refer to Conditionally Change a Control's Appearance.

Line Direction
The line can be drawn vertically, horizontally and diagonally across a Line control rectangle from one corner to the other by selecting from the Vertical, Horizontal, Slant and Back Slant direction types.
Line Style
Users can select the solid (the default), dashed, dotted or mixed style for the Line.
Line Width
Specifies the Line's width, in report measurement units.
Padding
Specifies indent values used to render the contents of the controls.
Style Priority
Defines the priority of various styles (for example, background colour or border colour). For further information on style inheritance, refer to Styles Concepts.
Styles
Defines odd and even styles for the controls, as well as assigning an existing style to the them (or a newly created one). For further information on style inheritance, refer to Styles Concepts.
Behaviour
Anchor Vertically
Specifies the vertical anchoring style of the control, so that after page rendering it stays attached to the top control, bottom control, or both. The property setting is useful for data-bound controls located between upper and lower controls, which are able to resize depending on their contents.
Keep Together
Specifies whether the contents of the band can be horizontally split across pages. Reporting attempts to keep band entries on a single page. In general, if the contents are too large to fit on a single page, then the band is started on a new page, and continues on the following page.
If a control does not fit on the next page either, then the control will be split despite this property's setting.
Scripts
Contains events which can be handled with scripts. For further information on scripting, refer to Handle Events via Scripts.
Visible
Specifies whether the control is visible when using the print preview.
Data
(Data Bindings)
If the current report is bound to data, the property is used to bind control properties (Bookmark, Navigation URL, Tag and Text) to a data field obtained from the report data source, and to apply a format string. For more information, refer to Display Values from a Database (Bind Report Elements to Data).
Tag
Adds additional information to a control; for example, the Id, by which the control can then be accessed via scripts.
Design
(Name)
Determines a control's name, by which it can be accessed in the Report Explorer, the Property Grid and via scripts.
Layout
Location
Specifies the location of the control in report measurement units.
Size
Specifies the control's size, in report measurement units.
Snap Line Margin
Specifies the margins for the control, which are maintained when the control is aligned using snap lines.