wpf-devexpress-dot-xpf-dot-reports-dot-userdesigner-dot-reportdesignerbase.md
Specifies a collection of End-User Report Designer services. This is a dependency property.
Namespace : DevExpress.Xpf.Reports.UserDesigner
Assembly : DevExpress.Xpf.ReportDesigner.v25.2.dll
NuGet Package : DevExpress.Wpf.Reporting
public ObservableCollection<EntryBase> ServicesRegistry { get; set; }
Public Property ServicesRegistry As ObservableCollection(Of EntryBase)
| Type | Description |
|---|---|
| ObservableCollection<EntryBase> |
A dynamic data collection of EntryBase objects.
|
The following example illustrates how to register a specific customization service type in XAML.
<dxrud:ReportDesigner x:Name="reportDesigner">
<dxrud:ReportDesigner.ServicesRegistry>
<dxda:TypeEntry ServiceType="{x:Type dxrudw:IWizardCustomizationService}" ConcreteType="{x:Type local:MyWizardCustomizationService}" />
</dxrud:ReportDesigner.ServicesRegistry>
</dxrud:ReportDesigner>
The following example illustrates how to register a specific customization service type in code.
using DevExpress.Xpf.DataAccess.DataSourceWizard;
using DevExpress.Xpf.Reports.UserDesigner.ReportWizard;
// ...
reportDesigner.ServicesRegistry.Add(new TypeEntry {
ServiceType = typeof(IWizardCustomizationService),
ConcreteType = typeof(MyWizardCustomizationService)
});
Imports DevExpress.Xpf.DataAccess.DataSourceWizard
Imports DevExpress.Xpf.Reports.UserDesigner.ReportWizard
' ...
reportDesigner.ServicesRegistry.Add(New TypeEntry() With { _
Key .ServiceType = GetType(IWizardCustomizationService), _
Key .ConcreteType = GetType(MyWizardCustomizationService) _
})
The following example illustrates how to register a customization service instance in code.
using DevExpress.Xpf.DataAccess.DataSourceWizard;
using DevExpress.Xpf.Reports.UserDesigner.ReportWizard;
// ...
reportDesigner.ServicesRegistry.Add(new InstanceEntry {
ServiceType = typeof(IWizardCustomizationService),
Instance = new MyWizardCustomizationService()
});
Imports DevExpress.Xpf.DataAccess.DataSourceWizard
Imports DevExpress.Xpf.Reports.UserDesigner.ReportWizard
' ...
reportDesigner.ServicesRegistry.Add(New InstanceEntry() With { _
Key .ServiceType = GetType(IWizardCustomizationService), _
Key .Instance = New MyWizardCustomizationService() _
})
The following code snippets (auto-collected from DevExpress Examples) contain references to the ServicesRegistry property.
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-wpf-designer-data-provider-list/CS/WpfReportDesigner_CustomizeWizard/MainWindow.xaml#L13
<dxrud:ReportDesigner x:Name="reportDesigner">
<dxrud:ReportDesigner.ServicesRegistry>
<dxda:TypeEntry ServiceType="{x:Type dxrudw:IWizardCustomizationService}" ConcreteType="{x:Type local:MyWizardCustomizationService}" />
reporting-wpf-designer-load-custom-assembly/CS/UseEFOptionsAndCustomization.xaml#L10
<dxrud:ReportDesigner>
<dxrud:ReportDesigner.ServicesRegistry>
<dxda:InstanceEntry ServiceType="{x:Type dxrudwizard:IWizardCustomizationService}">
reporting-wpf-wizard-custom-page/CS/MainWindow.xaml#L12
<dxrud:ReportDesigner>
<dxrud:ReportDesigner.ServicesRegistry>
<dxda:TypeEntry ServiceType="{x:Type dxrudw:IWizardCustomizationService}" ConcreteType="{x:Type local:WizardCustomizationService}" />
reporting-wpf-customize-color-schemes-report-wizard-page/CS/MainWindow.xaml#L15
<dxrud:ReportDesigner>
<dxrud:ReportDesigner.ServicesRegistry>
<!-- Register the wizard customization service.-->
See Also