Back to Devexpress

EntryBase Class

wpf-devexpress-dot-xpf-dot-dataaccess-dot-datasourcewizard-06d96b93.md

latest3.6 KB
Original Source

EntryBase Class

An End-User Report Designer service.

Namespace : DevExpress.Xpf.DataAccess.DataSourceWizard

Assembly : DevExpress.Xpf.DataAccess.v25.2.dll

NuGet Package : DevExpress.Wpf.Reporting

Declaration

csharp
public abstract class EntryBase :
    DependencyObject
vb
Public MustInherit Class EntryBase
    Inherits 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.

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.

csharp
using DevExpress.Xpf.DataAccess.DataSourceWizard;
using DevExpress.Xpf.Reports.UserDesigner.ReportWizard;
// ...

reportDesigner.ServicesRegistry.Add(new TypeEntry { 
    ServiceType = typeof(IWizardCustomizationService), 
    ConcreteType = typeof(MyWizardCustomizationService) 
});
vb
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.

csharp
using DevExpress.Xpf.DataAccess.DataSourceWizard;
using DevExpress.Xpf.Reports.UserDesigner.ReportWizard;
// ...

reportDesigner.ServicesRegistry.Add(new InstanceEntry { 
    ServiceType = typeof(IWizardCustomizationService), 
    Instance = new MyWizardCustomizationService() 
});
vb
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() _
})

Inheritance

Object DispatcherObject DependencyObject EntryBase

See Also

EntryBase Members

DevExpress.Xpf.DataAccess.DataSourceWizard Namespace