Skip to main content

Book.RemoveService(Type, Boolean) Method

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

Namespace: DevExpress.Xpf.Controls

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

NuGet Package: DevExpress.Wpf.Controls

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