Skip to content

ReactiveWindow() constructor

Defined in

Type: ReactiveWindow Namespace: ReactiveUI Assembly: ReactiveUI.Wpf.dll

Applies to

net10.0-windows10.0.19041, net9.0-windows10.0.19041, net8.0-windows10.0.19041, net462, net481

public ReactiveWindow()

View source

Summary: Initializes a new instance of the ReactiveWindow class.

Remarks

When the window is activated, this constructor ensures that the ViewModel's activation logic is also triggered if the ViewModel implements IActivatableViewModel. This enables coordinated activation and deactivation of resources tied to the window and its ViewModel.