Skip to main content
A newer version of this page is available. .

Book.RemoveService(Type, Boolean) Method

Removes the service of the specified type from the service container.

Namespace: DevExpress.Xpf.Controls

Assembly: DevExpress.Xpf.Controls.v20.2.dll

NuGet Packages: DevExpress.WindowsDesktop.Wpf.Controls, DevExpress.Wpf.Navigation

Declaration

public void RemoveService(
    Type serviceType,
    bool promote
)

Parameters

Name Type Description
serviceType Type

The type of service to remove.

promote Boolean

true to promote this request to any parent service containers; otherwise, false.

See Also