Method WireView
WireView(object, IRoutedViewModelBase, out object?)
Wires up a newly materialized view with the specified view model. The implementation should attach the view model as the view's data context, hook up any framework-specific bindings/event handlers, and produce the child view navigator if the view is a parent view.
Declaration
protected abstract void WireView(object view, IRoutedViewModelBase viewModel, out object? childViewNavigator)
Parameters
| Type | Name | Description |
|---|---|---|
| object | view | The materialized view instance. |
| IRoutedViewModelBase | viewModel | The view model instance. |
| object | childViewNavigator | The child view navigator if the view is a parent view, otherwise null. |