Skip to content
wendazhou edited this page Aug 4, 2012 · 2 revisions

ReactiveUI.Routing

ReactiveUI.Routing is a simple .Net routing framework. It works in a ViewModel-first fashion, with automatic view location.

Tracing:

ReactiveUI.Routing is traced through ETW (event tracing for windows) with an EventSource named ReactiveUI.Routing.

Notes:

Set the DataContext property of views to bind to their ViewModel property as follows: DataContext={Binding Path=ViewModel, RelativeSource={RelativeSource Self}}

this prevents binding warnings, and also prevents recursive inclusion in case of nested RoutedViewHosts.

Clone this wiki locally