Skip to main content

EntryBase Class

Namespace: DevExpress.Xpf.DataAccess.DataSourceWizard

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

NuGet Package: DevExpress.Wpf.Reporting

Declaration

public abstract class EntryBase :
    DependencyObject

Remarks

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

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