MX-Frame Library Send comments on this topic.
Line
MX-Developer > Report - MxReport > Designing a Report > Controls > Line

Glossary Item Box

Draws a line in a report.

Remarks

Line control is used to draw lines in a report. Lines are usually used for separating individual data based on the row, content or any other criteria.
Different directions of lines can be used. It is possible to create vertical, horizontal or diagonal line. This is done by defining LineDirection property accordingly.

It is also possible to determine the style of the line. Line can be solid, dotted, dashed, etc. The style is defined with property LineStyle.

Example (MxSpace)

To see the Line on a report component, open MxSpace solution project in Visual Studio. In Solution Explorer expand node Reports and double click StockReport.cs. Line control is located in Detail1 band.

To add Line to a report

  1. In Solution Explorer open the desired MxReport component (StockReport) by double clicking it.
  2. Open Toolbox window and expand DX:Reports.vX.X section.
  3. Select XRLine control and drag it to the desired band (Detail1).
  4. Resize it to an appropriate width.

If the line is located at the bottom of the detail band, it will be displayed after every record in the report.

To learn more about the control, how to implement it and use it see Developer Express documentation. 

©2009 Metronik. All Rights Reserved.