xtrareports-devexpress-dot-xtrareports-dot-extensions-df073ea4.md
Enables you to provide a custom file storage for the Report Gallery in WinForms and WPF applications.
Namespace : DevExpress.XtraReports.Extensions
Assembly : DevExpress.XtraReports.v25.2.dll
NuGet Package : DevExpress.Reporting.Core
public class ReportGalleryDirectoryExtension :
ReportGalleryExtension
Public Class ReportGalleryDirectoryExtension
Inherits ReportGalleryExtension
The Report Gallery stores templates in the %localappdata%\Developer Express Inc\XtraReports Suite\ReportGallery.xml file.
You can use the ReportGalleryDirectoryExtension class to provide a custom file storage. This class is inherited from the abstract ReportGalleryExtension class.
Do the following to store the Report Gallery’s templates in another file:
The code below demonstrates how to store templates in the directory that contains the application’s executable file.
WinForms
WPF
See the following topics for more information:
Object ReportGalleryExtension ReportGalleryDirectoryExtension
See Also