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.v21.1.dll

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