xtrareports-devexpress-dot-xtrareports-dot-extensions-dot-reportstorageextension-dot-registerextensionglobal-x28-devexpress-dot-xtrareports-dot-extensions-dot-reportstorageextension-x29.md
Registers the specified Report Storage extension to be used by all End-User Designers within the current application.
Namespace : DevExpress.XtraReports.Extensions
Assembly : DevExpress.XtraReports.v25.2.Extensions.dll
NuGet Package : DevExpress.Win.Reporting
public static void RegisterExtensionGlobal(
ReportStorageExtension extension
)
Public Shared Sub RegisterExtensionGlobal(
extension As ReportStorageExtension
)
| Name | Type | Description |
|---|---|---|
| extension | ReportStorageExtension |
A ReportStorageExtension class descendant.
|
Use the RegisterExtensionGlobal method to register your custom report storage extension.
For a code example, see Custom Report Storage.
The following code snippets (auto-collected from DevExpress Examples) contain references to the RegisterExtensionGlobal(ReportStorageExtension) method.
Note
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.
reporting-winforms-custom-report-storage/CS/Program.cs#L31
ReportStorageExtension.RegisterExtensionGlobal(reportStorage);
Application.Run(new Form1());
reporting-winforms-custom-xml-serialization/CS/WindowsApplication54/Form1.cs#L19
// The following code is required to serialize custom objects.
ReportExtension.RegisterExtensionGlobal(new ReportExtension());
ReportDesignExtension.RegisterExtension(new DesignExtension(), ExtensionName);
reporting-winforms-parameter-custom-type-serialization/CS/Form1.cs#L14
ReportDesignExtension.RegisterExtension(new CustomReportExtension(), TeamParameterName);
CustomReportStorageExtension.RegisterExtensionGlobal(new CustomReportStorageExtension());
}
reporting-winforms-custom-report-storage/VB/Program.vb#L34
ReportStorageExtension.RegisterExtensionGlobal(reportStorage_Renamed)
Application.Run(New Form1())
reporting-winforms-custom-xml-serialization/VB/WindowsApplication54/Form1.vb#L20
' The following code is required to serialize custom objects.
ReportExtension.RegisterExtensionGlobal(New ReportExtension())
ReportDesignExtension.RegisterExtension(New DesignExtension(), ExtensionName)
reporting-winforms-parameter-custom-type-serialization/VB/Form1.vb#L16
ReportDesignExtension.RegisterExtension(New CustomReportExtension(), TeamParameterName)
CustomReportStorageExtension.RegisterExtensionGlobal(New CustomReportStorageExtension())
End Sub
See Also