Class NavigatingArgs
Provides information to a view model when its route is navigating away from and allows it to be cancelled.
Namespace: Singulink.UI.Navigation
Assembly: Singulink.UI.Navigation.dll
Syntax
public class NavigatingArgs
Constructors
Name | Description |
---|---|
NavigatingArgs(NavigationType, NavigatingFlags, RouteOptions) | Provides information to a view model when its route is navigating away from and allows it to be cancelled. |
Properties
Name | Description |
---|---|
Cancel | Gets or sets a value indicating whether the navigation should be canceled and the current route should remain active. |
NavigationType | Gets the type of navigation that is occurring. |
RouteOptions | Gets the route options for the new route that will be navigated to. |
WillBeNavigatedFrom | Gets a value indicating whether this view model will be navigated away from if the navigation is not cancelled. If this is false then the view model will remain active in the new route but nested child navigations or route options may be changing (or not, i.e. in the case of a refresh). |