Constructor Navigator
Navigator(Window, Action<NavigatorBuilder>)
Initializes a new instance of the Navigator class with the specified window for displaying the active view and navigator build action. The window's content will be overridden with content managed by the navigator.
Declaration
public Navigator(Window window, Action<NavigatorBuilder> buildAction)
Parameters
| Type | Name | Description |
|---|---|---|
| Window | window | |
| Action<NavigatorBuilder> | buildAction |
Navigator(ContentControl, Action<NavigatorBuilder>)
Initializes a new instance of the Navigator class with the specified content control for displaying the active view and navigator build action. The content control's content will be overridden with content managed by the navigator.
Declaration
public Navigator(ContentControl contentControl, Action<NavigatorBuilder> buildAction)
Parameters
| Type | Name | Description |
|---|---|---|
| ContentControl | contentControl | |
| Action<NavigatorBuilder> | buildAction |
Navigator(ViewNavigator, Action<NavigatorBuilder>)
Initializes a new instance of the Navigator class with the specified root view navigator and navigator build action.
Declaration
public Navigator(ViewNavigator viewNavigator, Action<NavigatorBuilder> buildAction)
Parameters
| Type | Name | Description |
|---|---|---|
| ViewNavigator | viewNavigator | |
| Action<NavigatorBuilder> | buildAction |