IReportManagerServiceExtensions.UpdateReport(IReportManagerService, XtraReport) Method
In This Article
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 | IReport |
The type utilized by the static extension method. |
report | Xtra |
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