Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

IReportManagerServiceExtensions.UpdateReport(IReportManagerService, XtraReport) Method

Static extension method that saves changes for the specified report.

Namespace: DevExpress.Xpf.Reports.UserDesigner.Extensions

Assembly: DevExpress.Xpf.ReportDesigner.v24.2.dll

NuGet Package: DevExpress.Wpf.Reporting

#Declaration

public static void UpdateReport(
    this IReportManagerService self,
    XtraReport report
)

#Parameters

Name Type Description
self IReportManagerService

The type utilized by the static extension method.

report XtraReport

An object specifying the report.

#Remarks

To modify an existing report and save your changes, call the UpdateReport method.

public void CreateNewReport() {
    XtraReport report = ...;
    ReportInfo info = ReportManagerService.SaveReport(report);
    info.Name = "Newly Added Report";
    ReportManagerService.UpdateReport(info);
}
See Also