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¶
-
public void Deactivate() -
public void Deactivate(bool ignoreRefCount)
1. Overload¶
public void Deactivate()
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)
Summary: This method is called by the framework when the corresponding View is deactivated.
Parameters
| Name | Type | Description |
|---|---|---|
ignoreRefCount | bool | Force the VM to be deactivated, even if more than one person called Activate. |