Stepped Layout.frx 5.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <Report ScriptLanguage="CSharp" ReportInfo.Description="Demonstrates the following AdvMatrixObject features:&#13;&#10;- collapse/expand header elements;&#13;&#10;- stepped layout of row groups;&#13;&#10;- use of Display Text setting for &quot;Month&quot; element" ReportInfo.Created="09/01/2021 21:12:23" ReportInfo.Modified="04/07/2023 01:06:24" ReportInfo.CreatorVersion="1.0.0.0">
  3. <Dictionary>
  4. <TableDataSource Name="MatrixDemo" ReferenceName="NorthWind.MatrixDemo" DataType="System.Int32" Enabled="true">
  5. <Column Name="Name" DataType="System.String"/>
  6. <Column Name="Year" DataType="System.Int32"/>
  7. <Column Name="Month" DataType="System.Int32"/>
  8. <Column Name="ItemsSold" DataType="System.Int32"/>
  9. <Column Name="Revenue" DataType="System.Decimal"/>
  10. </TableDataSource>
  11. </Dictionary>
  12. <ReportPage Name="Page1" RawPaperSize="9" Watermark.Font="Arial, 60pt" LastPageSource="15" FirstPageSource="15">
  13. <ReportTitleBand Name="ReportTitle1" Width="718.2" Height="37.8" CanGrow="true">
  14. <TextObject Name="Text1" Width="718.2" Height="37.8" Text="REVENUE BY EMPLOYEES" HorzAlign="Center" VertAlign="Center" Font="Segoe UI, 14pt, style=Bold"/>
  15. </ReportTitleBand>
  16. <DataBand Name="Data1" Top="39.8" Width="718.2" Height="113.4">
  17. <AdvMatrixObject Name="AdvMatrix1" Left="15.12" Top="20.79" Width="343.98" Height="85.05" DataSource="MatrixDemo" Style="BlueWhite">
  18. <Columns>
  19. <Descriptor Expression="[MatrixDemo.Name]"/>
  20. <Descriptor DisplayText="Total"/>
  21. </Columns>
  22. <Rows>
  23. <Descriptor Expression="[MatrixDemo.Year]" Stepped="true">
  24. <Descriptor Expression="[MatrixDemo.Month]" DisplayText="[MonthName([MatrixDemo.Month])]" VisibleToggledBy="CollapseButton1"/>
  25. </Descriptor>
  26. <Descriptor DisplayText="Total"/>
  27. </Rows>
  28. <TableColumn Name="Column1" Width="111.51" AutoSize="true"/>
  29. <TableColumn Name="Column2" Width="122.85" AutoSize="true"/>
  30. <TableColumn Name="Column3" Width="109.62" AutoSize="true"/>
  31. <TableRow Name="Row1" Height="28.35">
  32. <TableCell Name="Cell1" Border.Lines="All" Border.Color="White" Fill.Color="110, 145, 190" Text="Year/Month" HorzAlign="Center" VertAlign="Center" Font="Segoe UI, 9pt" TextFill.Color="White"/>
  33. <TableCell Name="Cell2" Border.Lines="All" Border.Color="White" Fill.Color="110, 145, 190" Text="[MatrixDemo.Name]" AllowExpressions="false" HorzAlign="Center" VertAlign="Center" Font="Segoe UI, 9pt" TextFill.Color="White"/>
  34. <TableCell Name="Cell5" Border.Lines="All" Border.Color="White" Fill.Color="110, 145, 190" Text="Total" AllowExpressions="false" HorzAlign="Center" VertAlign="Center" Font="Segoe UI, 9pt" TextFill.Color="White"/>
  35. </TableRow>
  36. <TableRow Name="Row2">
  37. <TableCell Name="Cell3" Border.Lines="All" Border.Color="White" Fill.Color="Gainsboro" Text="[MatrixDemo.Year]" Padding="16, 1, 2, 1" AllowExpressions="false" VertAlign="Center" Font="Segoe UI, 9pt">
  38. <MatrixCollapseButton Name="CollapseButton1" Width="16" Height="18.9" Dock="Left" SymbolSize="5"/>
  39. </TableCell>
  40. <TableCell Name="Cell4" Border.Lines="All" Border.Color="White" Fill.Color="Gainsboro" Text="[Sum([MatrixDemo.Revenue])]" AllowExpressions="false" Format="Currency" Format.UseLocale="true" Format.DecimalDigits="2" HorzAlign="Right" Font="Segoe UI, 9pt"/>
  41. <TableCell Name="Cell6" Border.Lines="All" Border.Color="White" Fill.Color="Gainsboro" Text="[Sum([MatrixDemo.Revenue])]" AllowExpressions="false" Format="Currency" Format.UseLocale="true" Format.DecimalDigits="2" HorzAlign="Right" VertAlign="Center" WordWrap="false" Font="Segoe UI, 9pt"/>
  42. </TableRow>
  43. <TableRow Name="Row3">
  44. <TableCell Name="Cell7" Border.Lines="All" Border.Color="WhiteSmoke" Text="[MatrixDemo.Month]" Padding="20, 1, 2, 1" AllowExpressions="false" VertAlign="Center" Font="Segoe UI, 9pt"/>
  45. <TableCell Name="Cell8" Border.Lines="All" Border.Color="WhiteSmoke" Text="[Sum([MatrixDemo.Revenue])]" AllowExpressions="false" Format="Currency" Format.UseLocale="true" Format.DecimalDigits="2" HorzAlign="Right" Font="Segoe UI, 9pt"/>
  46. <TableCell Name="Cell9" Border.Lines="All" Border.Color="WhiteSmoke" Fill.Color="White" Text="[Sum([MatrixDemo.Revenue])]" AllowExpressions="false" Format="Currency" Format.UseLocale="true" Format.DecimalDigits="2" HorzAlign="Right" VertAlign="Center" WordWrap="false" Font="Segoe UI, 9pt"/>
  47. </TableRow>
  48. <TableRow Name="Row4">
  49. <TableCell Name="Cell10" Border.Lines="All" Border.Color="White" Fill.Color="110, 145, 190" Text="Total" HorzAlign="Center" VertAlign="Center" Font="Segoe UI, 9pt" TextFill.Color="White"/>
  50. <TableCell Name="Cell11" Border.Lines="All" Border.Color="White" Fill.Color="110, 145, 190" Text="[Sum([MatrixDemo.Revenue])]" AllowExpressions="false" Format="Currency" Format.UseLocale="true" Format.DecimalDigits="2" HorzAlign="Right" VertAlign="Center" Font="Segoe UI, 9pt" TextFill.Color="White"/>
  51. <TableCell Name="Cell12" Border.Lines="All" Border.Color="White" Fill.Color="110, 145, 190" Text="[Sum([MatrixDemo.Revenue])]" AllowExpressions="false" Format="Currency" Format.UseLocale="true" Format.DecimalDigits="2" HorzAlign="Right" VertAlign="Center" WordWrap="false" Font="Segoe UI, 9pt" TextFill.Color="White"/>
  52. </TableRow>
  53. </AdvMatrixObject>
  54. </DataBand>
  55. <PageFooterBand Name="PageFooter1" Top="155.2" Width="718.2" Height="28.35" Fill.Color="WhiteSmoke">
  56. <TextObject Name="Text12" Left="9.45" Width="217.35" Height="28.35" Cursor="Hand" Hyperlink.Value="https://www.fast-report.com/en/product/fast-report-net/" Text="Generated by FastReport" VertAlign="Center" Font="Segoe UI, 9pt, style=Underline" TextFill.Color="Blue"/>
  57. </PageFooterBand>
  58. </ReportPage>
  59. </Report>