Skip to content

ViewModelActivator.Deactivate() method

Defined in

Type: ViewModelActivator Namespace: ReactiveUI.Reactive Assembly: ReactiveUI.Reactive.dll

Applies to

net10.0, net10.0-ios26.0, net10.0-android36.0, net10.0-maccatalyst26.0, net10.0-macos26.0, net10.0-tvos26.0, net9.0, net8.0, net462, net481

Overloads

  1. public void Deactivate()

  2. public void Deactivate(bool ignoreRefCount)

1. Overload

public void Deactivate()

View source

Summary: This method is called by the framework when the corresponding View is deactivated. Respects the activation reference count.

2. Overload

public void Deactivate(bool ignoreRefCount)

View source

Summary: This method is called by the framework when the corresponding View is deactivated.

Parameters

NameTypeDescription
ignoreRefCountboolForce the VM to be deactivated, even if more than one person called Activate.