Skip to content

Instantly share code, notes, and snippets.

@shamp00
Last active December 9, 2015 15:31
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save shamp00/f085bf10dd65ace5d229 to your computer and use it in GitHub Desktop.
Save shamp00/f085bf10dd65ace5d229 to your computer and use it in GitHub Desktop.
<?xml version="1.0" encoding="utf-8"?>
<XtraReportsLayoutSerializer SerializerVersion="15.2.3.0" Ref="1" Name="XtraReport" ControlType="DevExpress.XtraReports.UI.XtraReport, DevExpress.XtraReports.v15.2, Version=15.2.3.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a" DataSource="#Ref-0" DisplayName="Contacts Report" ScriptsSource="&#xD;&#xA;private void xrTableCell8_BeforePrint(object sender, System.Drawing.Printing.PrintEventArgs e) {&#xD;&#xA; var x = 23;&#xD;&#xA;}&#xD;&#xA;" Version="15.2" PageWidth="850" PageHeight="1100">
<Extensions>
<Item1 Ref="2" Key="DataSerializationExtension" Value="XtraReport" />
<Item2 Ref="3" Key="DataEditorExtension" Value="XtraReport" />
<Item3 Ref="4" Key="ParameterEditorExtension" Value="XtraReport" />
</Extensions>
<Bands>
<Item1 Ref="5" ControlType="DetailBand" Name="Detail" TextAlignment="TopLeft" Padding="0,0,0,0,100" HeightF="23">
<Controls>
<Item1 Ref="6" ControlType="XRTable" Name="xrTable2" SizeF="637,23" LocationFloat="6, 0" AnchorVertical="Both">
<Rows>
<Item1 Ref="7" Name="xrTableRow4" ControlType="XRTableRow" Weight="1">
<Cells>
<Item1 Ref="8" ControlType="XRTableCell" Name="xrTableCell8" Weight="253" StyleName="DataField" CanGrow="false" Text="xrTableCell8">
<DataBindings>
<Item1 Ref="9" PropertyName="Text" DataMember="FirstName" />
</DataBindings>
<Scripts Ref="10" OnBeforePrint="xrTableCell8_BeforePrint" />
</Item1>
<Item2 Ref="11" ControlType="XRTableCell" Name="xrTableCell10" Weight="250" StyleName="DataField" CanGrow="false" Text="xrTableCell10">
<DataBindings>
<Item1 Ref="12" PropertyName="Text" DataMember="LastName" />
</DataBindings>
</Item2>
<Item3 Ref="13" ControlType="XRTableCell" Name="xrTableCell12" Weight="133" StyleName="DataField" CanGrow="false" Text="xrTableCell12">
<DataBindings>
<Item1 Ref="14" PropertyName="Text" DataMember="Email" />
</DataBindings>
</Item3>
</Cells>
</Item1>
</Rows>
</Item1>
</Controls>
</Item1>
<Item2 Ref="15" ControlType="PageHeaderBand" Name="pageHeaderBand1" HeightF="42">
<Controls>
<Item1 Ref="16" ControlType="XRTable" Name="xrTable1" SizeF="637,36" LocationFloat="6, 6" AnchorVertical="Bottom">
<Rows>
<Item1 Ref="17" Name="xrTableRow3" ControlType="XRTableRow" Weight="1">
<Cells>
<Item1 Ref="18" ControlType="XRTableCell" Name="xrTableCell7" Weight="253" TextAlignment="MiddleLeft" StyleName="FieldCaption" CanGrow="false" Text="First Name" />
<Item2 Ref="19" ControlType="XRTableCell" Name="xrTableCell9" Weight="250" TextAlignment="MiddleLeft" StyleName="FieldCaption" CanGrow="false" Text="Last Name" />
<Item3 Ref="20" ControlType="XRTableCell" Name="xrTableCell11" Weight="133" TextAlignment="MiddleLeft" StyleName="FieldCaption" CanGrow="false" Text="Email" />
</Cells>
</Item1>
</Rows>
</Item1>
</Controls>
</Item2>
<Item3 Ref="21" ControlType="PageFooterBand" Name="pageFooterBand1" HeightF="29">
<Controls>
<Item1 Ref="22" ControlType="XRPageInfo" Name="xrPageInfo1" StyleName="PageInfo" LocationFloat="6, 6" SizeF="313,23" Padding="2,2,0,0,100" PageInfo="DateTime" />
<Item2 Ref="23" ControlType="XRPageInfo" Name="xrPageInfo2" StyleName="PageInfo" LocationFloat="331, 6" SizeF="313,23" Padding="2,2,0,0,100" Format="Page {0} of {1}" TextAlignment="TopRight" />
</Controls>
</Item3>
<Item4 Ref="24" ControlType="ReportHeaderBand" Name="reportHeaderBand1" HeightF="61">
<Controls>
<Item1 Ref="25" ControlType="XRLabel" Name="xrLabel1" LocationFloat="6, 6" SizeF="638,43" StyleName="Title" Padding="2,2,0,0,100" Text="Contacts" />
</Controls>
</Item4>
<Item5 Ref="26" ControlType="TopMarginBand" Name="topMarginBand1" HeightF="100" />
<Item6 Ref="27" ControlType="BottomMarginBand" Name="bottomMarginBand1" HeightF="100" />
</Bands>
<StyleSheet>
<Item1 Ref="28" Name="Title" BorderColor="Black" Sides="None" BorderWidthSerializable="1" StringFormat="Near;Near;0;None;Character;Default" BackColor="Transparent" BorderStyle="Inset" Font="Tahoma, 24pt, style=Bold" ForeColor="Teal" />
<Item2 Ref="29" Name="FieldCaption" BorderColor="Black" Sides="Bottom" BorderWidthSerializable="1" StringFormat="Near;Near;0;None;Character;Default" BackColor="Transparent" BorderStyle="Inset" Font="Arial, 10pt, style=Bold" ForeColor="Black" />
<Item3 Ref="30" Name="PageInfo" BorderColor="Black" Sides="None" BorderWidthSerializable="1" StringFormat="Near;Near;0;None;Character;Default" BackColor="Transparent" BorderStyle="Inset" Font="Arial, 9pt" ForeColor="Black" />
<Item4 Ref="31" Name="DataField" BorderColor="Black" Sides="None" BorderWidthSerializable="1" StringFormat="Near;Near;0;None;Character;Default" BackColor="Transparent" Padding="2,2,0,0,100" BorderStyle="Inset" Font="Arial, 10pt" ForeColor="Black" />
</StyleSheet>
<ComponentStorage>
<Item1 Ref="0" ObjectTypeName="MainDemo.Module.BusinessObjects.Contact" ObjectType="DevExpress.Persistent.Base.ReportsV2.CollectionDataSource,DevExpress.Persistent.Base.v15.2" Name="collectionDataSource1" TopReturnedRecords="0">
<Sorting Ref="32" />
</Item1>
</ComponentStorage>
</XtraReportsLayoutSerializer>
/// <XRTypeInfo>
/// <AssemblyFullName>DevExpress.XtraReports.v15.2, Version=15.2.3.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a</AssemblyFullName>
/// <AssemblyLocation>C:\Windows\Microsoft.Net\assembly\GAC_MSIL\DevExpress.XtraReports.v15.2\v4.0_15.2.3.0__b88d1754d700e49a\DevExpress.XtraReports.v15.2.dll</AssemblyLocation>
/// <TypeName>DevExpress.XtraReports.UI.XtraReport</TypeName>
/// <Localization />
/// <Version>15.2</Version>
/// <References>
/// <Reference Path="C:\Windows\Microsoft.Net\assembly\GAC_MSIL\DevExpress.Persistent.Base.v15.2\v4.0_15.2.3.0__b88d1754d700e49a\DevExpress.Persistent.Base.v15.2.dll" />
/// <Reference Path="C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System\v4.0_4.0.0.0__b77a5c561934e089\System.dll" />
/// <Reference Path="C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Configuration\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Configuration.dll" />
/// <Reference Path="C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Xml\v4.0_4.0.0.0__b77a5c561934e089\System.Xml.dll" />
/// <Reference Path="C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Data.SqlXml\v4.0_4.0.0.0__b77a5c561934e089\System.Data.SqlXml.dll" />
/// <Reference Path="C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Security\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Security.dll" />
/// <Reference Path="C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Core\v4.0_4.0.0.0__b77a5c561934e089\System.Core.dll" />
/// <Reference Path="C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Numerics\v4.0_4.0.0.0__b77a5c561934e089\System.Numerics.dll" />
/// <Reference Path="C:\Windows\Microsoft.Net\assembly\GAC_MSIL\DevExpress.ExpressApp.v15.2\v4.0_15.2.3.0__b88d1754d700e49a\DevExpress.ExpressApp.v15.2.dll" />
/// <Reference Path="C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.ServiceModel\v4.0_4.0.0.0__b77a5c561934e089\System.ServiceModel.dll" />
/// <Reference Path="C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Xaml\v4.0_4.0.0.0__b77a5c561934e089\System.Xaml.dll" />
/// <Reference Path="C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.ServiceModel.Internals\v4.0_4.0.0.0__31bf3856ad364e35\System.ServiceModel.Internals.dll" />
/// <Reference Path="C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Runtime.Serialization\v4.0_4.0.0.0__b77a5c561934e089\System.Runtime.Serialization.dll" />
/// <Reference Path="C:\Windows\Microsoft.Net\assembly\GAC_MSIL\SMDiagnostics\v4.0_4.0.0.0__b77a5c561934e089\SMDiagnostics.dll" />
/// <Reference Path="C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.IdentityModel\v4.0_4.0.0.0__b77a5c561934e089\System.IdentityModel.dll" />
/// <Reference Path="C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Web.ApplicationServices\v4.0_4.0.0.0__31bf3856ad364e35\System.Web.ApplicationServices.dll" />
/// <Reference Path="C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.DirectoryServices\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.DirectoryServices.dll" />
/// <Reference Path="C:\Windows\Microsoft.Net\assembly\GAC_64\System.Transactions\v4.0_4.0.0.0__b77a5c561934e089\System.Transactions.dll" />
/// <Reference Path="C:\Windows\Microsoft.Net\assembly\GAC_64\System.EnterpriseServices\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.EnterpriseServices.dll" />
/// <Reference Path="C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Runtime.Remoting\v4.0_4.0.0.0__b77a5c561934e089\System.Runtime.Remoting.dll" />
/// <Reference Path="C:\Windows\Microsoft.Net\assembly\GAC_64\System.Web\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Web.dll" />
/// <Reference Path="C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Drawing\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Drawing.dll" />
/// <Reference Path="C:\Windows\Microsoft.Net\assembly\GAC_64\System.Data\v4.0_4.0.0.0__b77a5c561934e089\System.Data.dll" />
/// <Reference Path="C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Web.RegularExpressions\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Web.RegularExpressions.dll" />
/// <Reference Path="C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Design\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Design.dll" />
/// <Reference Path="C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Windows.Forms\v4.0_4.0.0.0__b77a5c561934e089\System.Windows.Forms.dll" />
/// <Reference Path="C:\Windows\Microsoft.Net\assembly\GAC_MSIL\Accessibility\v4.0_4.0.0.0__b03f5f7f11d50a3a\Accessibility.dll" />
/// <Reference Path="C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Deployment\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Deployment.dll" />
/// <Reference Path="C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Runtime.Serialization.Formatters.Soap\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Runtime.Serialization.Formatters.Soap.dll" />
/// <Reference Path="C:\Windows\Microsoft.Net\assembly\GAC_64\System.Data.OracleClient\v4.0_4.0.0.0__b77a5c561934e089\System.Data.OracleClient.dll" />
/// <Reference Path="C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Drawing.Design\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Drawing.Design.dll" />
/// <Reference Path="C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.ComponentModel.DataAnnotations\v4.0_4.0.0.0__31bf3856ad364e35\System.ComponentModel.DataAnnotations.dll" />
/// <Reference Path="C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.DirectoryServices.Protocols\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.DirectoryServices.Protocols.dll" />
/// <Reference Path="C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Runtime.Caching\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Runtime.Caching.dll" />
/// <Reference Path="C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.ServiceProcess\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.ServiceProcess.dll" />
/// <Reference Path="C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Configuration.Install\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Configuration.Install.dll" />
/// <Reference Path="C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Web.Services\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Web.Services.dll" />
/// <Reference Path="C:\Windows\Microsoft.Net\assembly\GAC_MSIL\Microsoft.Build.Utilities.v4.0\v4.0_4.0.0.0__b03f5f7f11d50a3a\Microsoft.Build.Utilities.v4.0.dll" />
/// <Reference Path="C:\Windows\Microsoft.Net\assembly\GAC_MSIL\Microsoft.Build.Framework\v4.0_4.0.0.0__b03f5f7f11d50a3a\Microsoft.Build.Framework.dll" />
/// <Reference Path="C:\Windows\Microsoft.Net\assembly\GAC_MSIL\Microsoft.Build.Tasks.v4.0\v4.0_4.0.0.0__b03f5f7f11d50a3a\Microsoft.Build.Tasks.v4.0.dll" />
/// <Reference Path="C:\Windows\Microsoft.Net\assembly\GAC_MSIL\Microsoft.Transactions.Bridge\v4.0_4.0.0.0__b03f5f7f11d50a3a\Microsoft.Transactions.Bridge.dll" />
/// <Reference Path="C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.IdentityModel.Selectors\v4.0_4.0.0.0__b77a5c561934e089\System.IdentityModel.Selectors.dll" />
/// <Reference Path="C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Messaging\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Messaging.dll" />
/// <Reference Path="C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Xml.Linq\v4.0_4.0.0.0__b77a5c561934e089\System.Xml.Linq.dll" />
/// <Reference Path="C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Runtime.DurableInstancing\v4.0_4.0.0.0__31bf3856ad364e35\System.Runtime.DurableInstancing.dll" />
/// <Reference Path="C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Net.Http\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Net.Http.dll" />
/// <Reference Path="C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.ServiceModel.Activation\v4.0_4.0.0.0__31bf3856ad364e35\System.ServiceModel.Activation.dll" />
/// <Reference Path="C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.ServiceModel.Activities\v4.0_4.0.0.0__31bf3856ad364e35\System.ServiceModel.Activities.dll" />
/// <Reference Path="C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Activities\v4.0_4.0.0.0__31bf3856ad364e35\System.Activities.dll" />
/// <Reference Path="C:\Windows\Microsoft.Net\assembly\GAC_64\Microsoft.VisualBasic.Activities.Compiler\v4.0_10.0.0.0__b03f5f7f11d50a3a\Microsoft.VisualBasic.Activities.Compiler.dll" />
/// <Reference Path="C:\Windows\Microsoft.Net\assembly\GAC_MSIL\Microsoft.VisualBasic\v4.0_10.0.0.0__b03f5f7f11d50a3a\Microsoft.VisualBasic.dll" />
/// <Reference Path="C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Management\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Management.dll" />
/// <Reference Path="C:\Windows\Microsoft.Net\assembly\GAC_MSIL\Microsoft.JScript\v4.0_10.0.0.0__b03f5f7f11d50a3a\Microsoft.JScript.dll" />
/// <Reference Path="C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Activities.DurableInstancing\v4.0_4.0.0.0__31bf3856ad364e35\System.Activities.DurableInstancing.dll" />
/// <Reference Path="C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Xaml.Hosting\v4.0_4.0.0.0__31bf3856ad364e35\System.Xaml.Hosting.dll" />
/// <Reference Path="C:\Windows\Microsoft.Net\assembly\GAC_MSIL\DevExpress.Utils.v15.2\v4.0_15.2.3.0__b88d1754d700e49a\DevExpress.Utils.v15.2.dll" />
/// <Reference Path="C:\Windows\Microsoft.Net\assembly\GAC_64\PresentationCore\v4.0_4.0.0.0__31bf3856ad364e35\PresentationCore.dll" />
/// <Reference Path="C:\Windows\Microsoft.Net\assembly\GAC_MSIL\WindowsBase\v4.0_4.0.0.0__31bf3856ad364e35\WindowsBase.dll" />
/// <Reference Path="C:\Windows\Microsoft.Net\assembly\GAC_MSIL\UIAutomationTypes\v4.0_4.0.0.0__31bf3856ad364e35\UIAutomationTypes.dll" />
/// <Reference Path="C:\Windows\Microsoft.Net\assembly\GAC_MSIL\UIAutomationProvider\v4.0_4.0.0.0__31bf3856ad364e35\UIAutomationProvider.dll" />
/// <Reference Path="C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Windows.Input.Manipulations\v4.0_4.0.0.0__b77a5c561934e089\System.Windows.Input.Manipulations.dll" />
/// <Reference Path="C:\Windows\Microsoft.Net\assembly\GAC_MSIL\UIAutomationClient\v4.0_4.0.0.0__31bf3856ad364e35\UIAutomationClient.dll" />
/// <Reference Path="C:\Windows\Microsoft.Net\assembly\GAC_MSIL\DevExpress.XtraReports.v15.2.Extensions\v4.0_15.2.3.0__b88d1754d700e49a\DevExpress.XtraReports.v15.2.Extensions.dll" />
/// <Reference Path="C:\Windows\Microsoft.Net\assembly\GAC_MSIL\DevExpress.Utils.v15.2.UI\v4.0_15.2.3.0__b88d1754d700e49a\DevExpress.Utils.v15.2.UI.dll" />
/// <Reference Path="C:\Windows\Microsoft.Net\assembly\GAC_MSIL\DevExpress.XtraBars.v15.2\v4.0_15.2.3.0__b88d1754d700e49a\DevExpress.XtraBars.v15.2.dll" />
/// <Reference Path="C:\Windows\Microsoft.Net\assembly\GAC_MSIL\DevExpress.XtraEditors.v15.2\v4.0_15.2.3.0__b88d1754d700e49a\DevExpress.XtraEditors.v15.2.dll" />
/// <Reference Path="C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Data.Linq\v4.0_4.0.0.0__b77a5c561934e089\System.Data.Linq.dll" />
/// <Reference Path="C:\Windows\Microsoft.Net\assembly\GAC_MSIL\DevExpress.XtraTreeList.v15.2\v4.0_15.2.3.0__b88d1754d700e49a\DevExpress.XtraTreeList.v15.2.dll" />
/// <Reference Path="C:\Windows\Microsoft.Net\assembly\GAC_MSIL\DevExpress.XtraLayout.v15.2\v4.0_15.2.3.0__b88d1754d700e49a\DevExpress.XtraLayout.v15.2.dll" />
/// <Reference Path="C:\Windows\Microsoft.Net\assembly\GAC_MSIL\DevExpress.XtraRichEdit.v15.2\v4.0_15.2.3.0__b88d1754d700e49a\DevExpress.XtraRichEdit.v15.2.dll" />
/// <Reference Path="C:\Windows\Microsoft.Net\assembly\GAC_MSIL\DevExpress.XtraPrinting.v15.2\v4.0_15.2.3.0__b88d1754d700e49a\DevExpress.XtraPrinting.v15.2.dll" />
/// <Reference Path="C:\Windows\Microsoft.Net\assembly\GAC_MSIL\DevExpress.Pdf.v15.2.Core\v4.0_15.2.3.0__b88d1754d700e49a\DevExpress.Pdf.v15.2.Core.dll" />
/// <Reference Path="C:\Windows\Microsoft.Net\assembly\GAC_MSIL\DevExpress.XtraVerticalGrid.v15.2\v4.0_15.2.3.0__b88d1754d700e49a\DevExpress.XtraVerticalGrid.v15.2.dll" />
/// <Reference Path="C:\Windows\Microsoft.Net\assembly\GAC_MSIL\DevExpress.DataAccess.v15.2.UI\v4.0_15.2.3.0__b88d1754d700e49a\DevExpress.DataAccess.v15.2.UI.dll" />
/// <Reference Path="C:\Windows\Microsoft.Net\assembly\GAC_MSIL\DevExpress.XtraGrid.v15.2\v4.0_15.2.3.0__b88d1754d700e49a\DevExpress.XtraGrid.v15.2.dll" />
/// <Reference Path="C:\Windows\Microsoft.Net\assembly\GAC_MSIL\DevExpress.CodeParser.v15.2\v4.0_15.2.3.0__b88d1754d700e49a\DevExpress.CodeParser.v15.2.dll" />
/// <Reference Path="C:\Windows\Microsoft.Net\assembly\GAC_MSIL\DevExpress.XtraCharts.v15.2.Extensions\v4.0_15.2.3.0__b88d1754d700e49a\DevExpress.XtraCharts.v15.2.Extensions.dll" />
/// <Reference Path="C:\Windows\Microsoft.Net\assembly\GAC_MSIL\DevExpress.XtraCharts.v15.2.Wizard\v4.0_15.2.3.0__b88d1754d700e49a\DevExpress.XtraCharts.v15.2.Wizard.dll" />
/// <Reference Path="C:\Windows\Microsoft.Net\assembly\GAC_MSIL\DevExpress.XtraNavBar.v15.2\v4.0_15.2.3.0__b88d1754d700e49a\DevExpress.XtraNavBar.v15.2.dll" />
/// <Reference Path="C:\Windows\Microsoft.Net\assembly\GAC_MSIL\DevExpress.XtraPivotGrid.v15.2\v4.0_15.2.3.0__b88d1754d700e49a\DevExpress.XtraPivotGrid.v15.2.dll" />
/// </References>
/// <Resources>
/// <Resource Name="XtraReportSerialization.XtraReport">
/// zsrvvgEAAACRAAAAbFN5c3RlbS5SZXNvdXJjZXMuUmVzb3VyY2VSZWFkZXIsIG1zY29ybGliLCBWZXJzaW9uPTQuMC4wLjAsIEN1bHR1cmU9bmV1dHJhbCwgUHVibGljS2V5VG9rZW49Yjc3YTVjNTYxOTM0ZTA4OSNTeXN0ZW0uUmVzb3VyY2VzLlJ1bnRpbWVSZXNvdXJjZVNldAIAAAAAAAAAAAAAAFBBRFBBRFC0AAAA</Resource>
/// </Resources>
/// </XRTypeInfo>
namespace XtraReportSerialization {
public class XtraReport : DevExpress.XtraReports.UI.XtraReport {
private DevExpress.XtraReports.UI.DetailBand Detail;
private DevExpress.XtraReports.UI.XRTable xrTable2;
private DevExpress.XtraReports.UI.XRTableRow xrTableRow4;
private DevExpress.XtraReports.UI.XRTableCell xrTableCell8;
private DevExpress.XtraReports.UI.XRTableCell xrTableCell10;
private DevExpress.XtraReports.UI.XRTableCell xrTableCell12;
private DevExpress.XtraReports.UI.PageHeaderBand pageHeaderBand1;
private DevExpress.XtraReports.UI.XRTable xrTable1;
private DevExpress.XtraReports.UI.XRTableRow xrTableRow3;
private DevExpress.XtraReports.UI.XRTableCell xrTableCell7;
private DevExpress.XtraReports.UI.XRTableCell xrTableCell9;
private DevExpress.XtraReports.UI.XRTableCell xrTableCell11;
private DevExpress.XtraReports.UI.PageFooterBand pageFooterBand1;
private DevExpress.XtraReports.UI.XRPageInfo xrPageInfo1;
private DevExpress.XtraReports.UI.XRPageInfo xrPageInfo2;
private DevExpress.XtraReports.UI.ReportHeaderBand reportHeaderBand1;
private DevExpress.XtraReports.UI.XRLabel xrLabel1;
private DevExpress.XtraReports.UI.TopMarginBand topMarginBand1;
private DevExpress.XtraReports.UI.BottomMarginBand bottomMarginBand1;
private DevExpress.Persistent.Base.ReportsV2.CollectionDataSource collectionDataSource1;
private DevExpress.XtraReports.UI.XRControlStyle Title;
private DevExpress.XtraReports.UI.XRControlStyle FieldCaption;
private DevExpress.XtraReports.UI.XRControlStyle PageInfo;
private DevExpress.XtraReports.UI.XRControlStyle DataField;
private System.Resources.ResourceManager _resources;
private string _resourceString;
public XtraReport() {
this._resourceString = DevExpress.XtraReports.Serialization.XRResourceManager.GetResourceFor("XtraReportSerialization.XtraReport");
this.InitializeComponent();
}
private System.Resources.ResourceManager resources {
get {
if (_resources == null) {
this._resources = new DevExpress.XtraReports.Serialization.XRResourceManager(this._resourceString);
}
return this._resources;
}
}
private void InitializeComponent() {
this.Detail = new DevExpress.XtraReports.UI.DetailBand();
this.pageHeaderBand1 = new DevExpress.XtraReports.UI.PageHeaderBand();
this.pageFooterBand1 = new DevExpress.XtraReports.UI.PageFooterBand();
this.reportHeaderBand1 = new DevExpress.XtraReports.UI.ReportHeaderBand();
this.topMarginBand1 = new DevExpress.XtraReports.UI.TopMarginBand();
this.bottomMarginBand1 = new DevExpress.XtraReports.UI.BottomMarginBand();
this.xrTable2 = new DevExpress.XtraReports.UI.XRTable();
this.xrTableRow4 = new DevExpress.XtraReports.UI.XRTableRow();
this.xrTableCell8 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTableCell10 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTableCell12 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTable1 = new DevExpress.XtraReports.UI.XRTable();
this.xrTableRow3 = new DevExpress.XtraReports.UI.XRTableRow();
this.xrTableCell7 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTableCell9 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTableCell11 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrPageInfo1 = new DevExpress.XtraReports.UI.XRPageInfo();
this.xrPageInfo2 = new DevExpress.XtraReports.UI.XRPageInfo();
this.xrLabel1 = new DevExpress.XtraReports.UI.XRLabel();
this.collectionDataSource1 = new DevExpress.Persistent.Base.ReportsV2.CollectionDataSource();
this.Title = new DevExpress.XtraReports.UI.XRControlStyle();
this.FieldCaption = new DevExpress.XtraReports.UI.XRControlStyle();
this.PageInfo = new DevExpress.XtraReports.UI.XRControlStyle();
this.DataField = new DevExpress.XtraReports.UI.XRControlStyle();
((System.ComponentModel.ISupportInitialize)(this.xrTable2)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.xrTable1)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.collectionDataSource1)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this)).BeginInit();
//
// Detail
//
this.Detail.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
this.xrTable2});
this.Detail.HeightF = 23F;
this.Detail.Name = "Detail";
this.Detail.Padding = new DevExpress.XtraPrinting.PaddingInfo(0, 0, 0, 0, 100F);
this.Detail.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft;
//
// pageHeaderBand1
//
this.pageHeaderBand1.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
this.xrTable1});
this.pageHeaderBand1.HeightF = 42F;
this.pageHeaderBand1.Name = "pageHeaderBand1";
//
// pageFooterBand1
//
this.pageFooterBand1.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
this.xrPageInfo1,
this.xrPageInfo2});
this.pageFooterBand1.HeightF = 29F;
this.pageFooterBand1.Name = "pageFooterBand1";
//
// reportHeaderBand1
//
this.reportHeaderBand1.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
this.xrLabel1});
this.reportHeaderBand1.HeightF = 61F;
this.reportHeaderBand1.Name = "reportHeaderBand1";
//
// topMarginBand1
//
this.topMarginBand1.HeightF = 100F;
this.topMarginBand1.Name = "topMarginBand1";
//
// bottomMarginBand1
//
this.bottomMarginBand1.HeightF = 100F;
this.bottomMarginBand1.Name = "bottomMarginBand1";
//
// xrTable2
//
this.xrTable2.AnchorVertical = ((DevExpress.XtraReports.UI.VerticalAnchorStyles)((DevExpress.XtraReports.UI.VerticalAnchorStyles.Top | DevExpress.XtraReports.UI.VerticalAnchorStyles.Bottom)));
this.xrTable2.LocationFloat = new DevExpress.Utils.PointFloat(6F, 0F);
this.xrTable2.Name = "xrTable2";
this.xrTable2.Rows.AddRange(new DevExpress.XtraReports.UI.XRTableRow[] {
this.xrTableRow4});
this.xrTable2.SizeF = new System.Drawing.SizeF(637F, 23F);
//
// xrTableRow4
//
this.xrTableRow4.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
this.xrTableCell8,
this.xrTableCell10,
this.xrTableCell12});
this.xrTableRow4.Name = "xrTableRow4";
this.xrTableRow4.Weight = 1D;
//
// xrTableCell8
//
this.xrTableCell8.CanGrow = false;
this.xrTableCell8.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
new DevExpress.XtraReports.UI.XRBinding("Text", null, "FirstName")});
this.xrTableCell8.Name = "xrTableCell8";
this.xrTableCell8.Scripts.OnBeforePrint = "xrTableCell8_BeforePrint";
this.xrTableCell8.StyleName = "DataField";
this.xrTableCell8.Text = "xrTableCell8";
this.xrTableCell8.Weight = 253D;
//
// xrTableCell10
//
this.xrTableCell10.CanGrow = false;
this.xrTableCell10.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
new DevExpress.XtraReports.UI.XRBinding("Text", null, "LastName")});
this.xrTableCell10.Name = "xrTableCell10";
this.xrTableCell10.StyleName = "DataField";
this.xrTableCell10.Text = "xrTableCell10";
this.xrTableCell10.Weight = 250D;
//
// xrTableCell12
//
this.xrTableCell12.CanGrow = false;
this.xrTableCell12.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
new DevExpress.XtraReports.UI.XRBinding("Text", null, "Email")});
this.xrTableCell12.Name = "xrTableCell12";
this.xrTableCell12.StyleName = "DataField";
this.xrTableCell12.Text = "xrTableCell12";
this.xrTableCell12.Weight = 133D;
//
// xrTable1
//
this.xrTable1.AnchorVertical = DevExpress.XtraReports.UI.VerticalAnchorStyles.Bottom;
this.xrTable1.LocationFloat = new DevExpress.Utils.PointFloat(6F, 6F);
this.xrTable1.Name = "xrTable1";
this.xrTable1.Rows.AddRange(new DevExpress.XtraReports.UI.XRTableRow[] {
this.xrTableRow3});
this.xrTable1.SizeF = new System.Drawing.SizeF(637F, 36F);
//
// xrTableRow3
//
this.xrTableRow3.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
this.xrTableCell7,
this.xrTableCell9,
this.xrTableCell11});
this.xrTableRow3.Name = "xrTableRow3";
this.xrTableRow3.Weight = 1D;
//
// xrTableCell7
//
this.xrTableCell7.CanGrow = false;
this.xrTableCell7.Name = "xrTableCell7";
this.xrTableCell7.StyleName = "FieldCaption";
this.xrTableCell7.Text = "First Name";
this.xrTableCell7.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
this.xrTableCell7.Weight = 253D;
//
// xrTableCell9
//
this.xrTableCell9.CanGrow = false;
this.xrTableCell9.Name = "xrTableCell9";
this.xrTableCell9.StyleName = "FieldCaption";
this.xrTableCell9.Text = "Last Name";
this.xrTableCell9.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
this.xrTableCell9.Weight = 250D;
//
// xrTableCell11
//
this.xrTableCell11.CanGrow = false;
this.xrTableCell11.Name = "xrTableCell11";
this.xrTableCell11.StyleName = "FieldCaption";
this.xrTableCell11.Text = "Email";
this.xrTableCell11.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
this.xrTableCell11.Weight = 133D;
//
// xrPageInfo1
//
this.xrPageInfo1.LocationFloat = new DevExpress.Utils.PointFloat(6F, 6F);
this.xrPageInfo1.Name = "xrPageInfo1";
this.xrPageInfo1.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
this.xrPageInfo1.PageInfo = DevExpress.XtraPrinting.PageInfo.DateTime;
this.xrPageInfo1.SizeF = new System.Drawing.SizeF(313F, 23F);
this.xrPageInfo1.StyleName = "PageInfo";
//
// xrPageInfo2
//
this.xrPageInfo2.Format = "Page {0} of {1}";
this.xrPageInfo2.LocationFloat = new DevExpress.Utils.PointFloat(331F, 6F);
this.xrPageInfo2.Name = "xrPageInfo2";
this.xrPageInfo2.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
this.xrPageInfo2.SizeF = new System.Drawing.SizeF(313F, 23F);
this.xrPageInfo2.StyleName = "PageInfo";
this.xrPageInfo2.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopRight;
//
// xrLabel1
//
this.xrLabel1.LocationFloat = new DevExpress.Utils.PointFloat(6F, 6F);
this.xrLabel1.Name = "xrLabel1";
this.xrLabel1.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
this.xrLabel1.SizeF = new System.Drawing.SizeF(638F, 43F);
this.xrLabel1.StyleName = "Title";
this.xrLabel1.Text = "Contacts";
//
// collectionDataSource1
//
this.collectionDataSource1.Name = "collectionDataSource1";
this.collectionDataSource1.ObjectTypeName = "MainDemo.Module.BusinessObjects.Contact";
this.collectionDataSource1.TopReturnedRecords = 0;
//
// Title
//
this.Title.BackColor = System.Drawing.Color.Transparent;
this.Title.BorderColor = System.Drawing.Color.Black;
this.Title.Borders = DevExpress.XtraPrinting.BorderSide.None;
this.Title.BorderWidth = 1F;
this.Title.Font = new System.Drawing.Font("Tahoma", 24F, System.Drawing.FontStyle.Bold);
this.Title.ForeColor = System.Drawing.Color.Teal;
this.Title.Name = "Title";
//
// FieldCaption
//
this.FieldCaption.BackColor = System.Drawing.Color.Transparent;
this.FieldCaption.BorderColor = System.Drawing.Color.Black;
this.FieldCaption.Borders = DevExpress.XtraPrinting.BorderSide.Bottom;
this.FieldCaption.BorderWidth = 1F;
this.FieldCaption.Font = new System.Drawing.Font("Arial", 10F, System.Drawing.FontStyle.Bold);
this.FieldCaption.ForeColor = System.Drawing.Color.Black;
this.FieldCaption.Name = "FieldCaption";
//
// PageInfo
//
this.PageInfo.BackColor = System.Drawing.Color.Transparent;
this.PageInfo.BorderColor = System.Drawing.Color.Black;
this.PageInfo.Borders = DevExpress.XtraPrinting.BorderSide.None;
this.PageInfo.BorderWidth = 1F;
this.PageInfo.Font = new System.Drawing.Font("Arial", 9F);
this.PageInfo.ForeColor = System.Drawing.Color.Black;
this.PageInfo.Name = "PageInfo";
//
// DataField
//
this.DataField.BackColor = System.Drawing.Color.Transparent;
this.DataField.BorderColor = System.Drawing.Color.Black;
this.DataField.Borders = DevExpress.XtraPrinting.BorderSide.None;
this.DataField.BorderWidth = 1F;
this.DataField.Font = new System.Drawing.Font("Arial", 10F);
this.DataField.ForeColor = System.Drawing.Color.Black;
this.DataField.Name = "DataField";
this.DataField.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
//
// XtraReport
//
this.Bands.AddRange(new DevExpress.XtraReports.UI.Band[] {
this.Detail,
this.pageHeaderBand1,
this.pageFooterBand1,
this.reportHeaderBand1,
this.topMarginBand1,
this.bottomMarginBand1});
this.ComponentStorage.AddRange(new System.ComponentModel.IComponent[] {
this.collectionDataSource1});
this.DataSource = this.collectionDataSource1;
this.DisplayName = "Contacts Report";
this.Extensions.Add("DataSerializationExtension", "XtraReport");
this.Extensions.Add("DataEditorExtension", "XtraReport");
this.Extensions.Add("ParameterEditorExtension", "XtraReport");
this.Name = "XtraReport";
this.PageHeight = 1100;
this.PageWidth = 850;
this.ScriptsSource = "\r\nprivate void xrTableCell8_BeforePrint(object sender, System.Drawing.Printing.Pr" +
"intEventArgs e) {\r\n var x = 23;\r\n}\r\n";
this.StyleSheet.AddRange(new DevExpress.XtraReports.UI.XRControlStyle[] {
this.Title,
this.FieldCaption,
this.PageInfo,
this.DataField});
this.Version = "15.2";
((System.ComponentModel.ISupportInitialize)(this.xrTable2)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.xrTable1)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.collectionDataSource1)).EndInit();
((System.ComponentModel.ISupportInitialize)(this)).EndInit();
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment