# ReactiveWindow

Version: 0.5.0
Framework commit: d503df2befa756e681fcdc6250e9552dc7388bea
Canonical URL: /docs/0.5.0/api/ferroui-reactiveui-controls/type_alias-reactivewindow/

**type alias** · [`ferroui-reactiveui-controls`](/docs/0.5.0/api/ferroui-reactiveui-controls/) · v0.5.0

```rust
type ReactiveWindow<VM> = crate::reactive_view::ReactiveView<crate::ReactiveWindowBase, VM>
```

A ReactiveUI `Window` that implements `IViewFor<TViewModel>` (`ReactiveWindow<TViewModel>`).

Deviation (DEVIATIONS.md, ReactiveUI controls): a typed handle over a [`ReactiveWindowBase`](/docs/0.5.0/api/ferroui-reactiveui-controls/struct-reactivewindowbase/)
([`ReactiveView`](/docs/0.5.0/api/ferroui-reactiveui-controls/struct-reactiveview/)): it dereferences to the window, gives and takes the view model as `Rc<VM>`,
and makes the window take only view models of type `VM` from its data context
(`IsValidViewModelValue`). Shared as an `Rc`, it is the window's `IViewFor<TViewModel>`
(`into_view_for_of`).

[View source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.ReactiveUI.Controls/reactive_window.rs#L14)

## Availability

Extracted for `aarch64-apple-darwin`. Cargo features are listed in the [crate index](/docs/0.5.0/api/).
