Skip to main content

ReportDesignerBase.ServicesRegistry Property

Specifies a collection of End-User Report Designer services. This is a dependency property.

Namespace: DevExpress.Xpf.Reports.UserDesigner

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

NuGet Package: DevExpress.Wpf.Reporting

Declaration

public ObservableCollection<EntryBase> ServicesRegistry { get; set; }

Property Value

Type Description
ObservableCollection<EntryBase>

A dynamic data collection of EntryBase objects.

Remarks

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) 
});

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() 
});

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.

See Also