wpf-devexpress-dot-xpf-dot-dataaccess-dot-datasourcewizard-06d96b93.md
An End-User Report Designer service.
Namespace : DevExpress.Xpf.DataAccess.DataSourceWizard
Assembly : DevExpress.Xpf.DataAccess.v25.2.dll
NuGet Package : DevExpress.Wpf.Reporting
public abstract class EntryBase :
DependencyObject
Public MustInherit Class EntryBase
Inherits DependencyObject
A collection of EntryBase objects is returned by the ReportDesignerBase.ServicesRegistry property, enabling the Report Wizard customization.
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() _
})
Object DispatcherObject DependencyObject EntryBase
See Also