You can combine report controls from the same band into a template. Hold down SHIFT or CTRL and select controls. Then, right-click the selection and choose Add To Gallery in the context menu.
This adds a new template to the Controls section. The template name consists of control names separated by commas.
To apply a control template, drag and drop it from the Report Gallery onto a band.
All the control settings are restored when you apply the template.
Right-click a style in the Report Explorer and select Add To Gallery to create a new template in the Styles category.
Use the following ways to apply a style template:
To add the style to the report's style sheet, right-click the style in the Report Gallery and select Add to Report Style Sheet.
You can also use the same action in the Styles node's context menu to add all the styles available in the Report Gallery.
To apply the style to a specific report control, drag and drop this style from the Report Gallery onto this control. This also adds the selected style to the report style sheet if it does not already contain this style.
Right-click a data source in the Report Explorer and select Add To Gallery to create a new template in the Components category.
Do one of the following to apply a data source template:
Right-click the template in the Report Gallery and select Add to Report Components in the context menu.
Drag and drop the template from the Report Gallery onto the report.
To change the template name, select Rename in the template's context menu and type a new name.
Right-click a root Gallery node and select Add New Folder in the context menu.
Specify the folder name. Move templates to this folder to combine them into a group.
Import and Export Templates
You can import gallery items from an XML file. Right-click the Import toolbar button, locate a file in the invoked Open dialog and click OK.
To save gallery templates to an XML file, click the Export toolbar button and select a target file in the Save dialog.
The Report Gallery stores templates in the %localappdata%\Developer Express Inc\XtraReports Suite\ReportGallery.xml file.
Was this page helpful?
Thanks for your feedback! Any other suggestions? Tell us here.