Skip to main content

XRDesignMdiController.AddService(Type, ServiceCreatorCallback, Boolean) Method

Adds the specified service to XRDesignMdiController.

Namespace: DevExpress.XtraReports.UserDesigner

Assembly: DevExpress.XtraReports.v23.2.Extensions.dll

NuGet Package: DevExpress.Win.Reporting

Declaration

public void AddService(
    Type serviceType,
    ServiceCreatorCallback callback,
    bool promote
)

Parameters

Name Type Description
serviceType Type

A Type value, specifying the service type.

callback ServiceCreatorCallback

A callback object that can create the service. This allows a service to be declared as available, but delays creation of the object until the service is requested.

promote Boolean

true to promote these changes to all available Design Panels; otherwise false.

See Also