The requested page is not available for the requested platform. You are viewing the content for Default platform.
All docs
V19.1
19.2 (EAP/Beta)
19.1
18.2
The page you are viewing does not exist in version 18.2. This link will take you to the root page.
18.1
The page you are viewing does not exist in version 18.1. This link will take you to the root page.
17.2
The page you are viewing does not exist in version 17.2. This link will take you to the root page.

ReportGalleryExtension.SaveGalleryChanges(Gallery, IEnumerable<GalleryItem>, GalleryChangeType) Method

Saves the changed Report Gallery items to the storage.

Namespace: DevExpress.XtraReports.Extensions

Assembly: DevExpress.XtraReports.v19.1.dll

Declaration

public virtual void SaveGalleryChanges(
    Gallery gallery,
    IEnumerable<GalleryItem> changedItems,
    GalleryChangeType changeType
)
Public Overridable Sub SaveGalleryChanges(
    gallery As Gallery,
    changedItems As IEnumerable(Of GalleryItem),
    changeType As GalleryChangeType
)

Parameters

Name Type Description
gallery Gallery

An object that specifies the Report Gallery.

changedItems IEnumerable<GalleryItem>

A collection of changed items.

changeType GalleryChangeType

A value that specifies the change type.

Remarks

The SaveGalleryChanges method is called each time a user adds, deletes, moves, copies or renames a gallery item. This method internally calls the SaveGallery(Gallery) method.

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