Correctly wired a view in WPF app.