Skip to main content

ReportGalleryExtension.SaveGallery(Gallery) Method

Saves the entire Report Gallery to the storage.

Namespace: DevExpress.XtraReports.Extensions

Assembly: DevExpress.XtraReports.v23.2.dll

NuGet Package: DevExpress.Reporting.Core

Declaration

public abstract void SaveGallery(
    Gallery gallery
)

Parameters

Name Type Description
gallery Gallery

An object that specifies the Report Gallery.

Remarks

The SaveGallery method is called internally in the SaveGalleryChanges method. The SaveGalleryChanges method is called each time when a user adds, deletes, moves, copies or renames a gallery item.

When you implement a custom Report Gallery storage, override one of these methods:

  • SaveGallery to save the entire Report Gallery.
  • SaveGalleryChanges to save only the changes that users made to the Report Gallery.

See the ReportGalleryExtension class description for more information and examples.

See Also