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

Glossary Item Box

Displays auxiliary information on report pages.

Remarks

Control displays some auxiliary information in a report. It can return information about current number of page, currently logged user, date and time, etc. This type of information is generally used in the Page Header, Page Footer, Top Margin and Bottom Margin bands.

The type of the information displayed is defined with property PageInfo. The value of the property can be selected from a predefined list.

Option Description
Number Displays the number of the current page.
NumberOfTotal Displays the number of the current page and the number of total pages (N/M).
RomLowNumber Displays the current page number using roman numerals in lowercase.
RomHiNumber Displays the current page number using roman numerals in uppercase.
DateTime Displays date of report creation.
UserName Displays the user name for the current thread.

Example (MxSpace)

To see the PageInfo on a report component, open MxSpace solution project in Visual Studio. In Solution Explorer expand node Reports and double click StockReport.cs. Three PageInfo controls are displayed at the bottom of the report in ReportFooter band.

To add PageInfo 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 XRPageInfo control and drag it to the desired band (ReportFooter).
  4. Open Properties window.
  5. Select the desired value in property PageInfo.

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

©2009 Metronik. All Rights Reserved.