Method NavigateTo
NavigateTo(SequenceContext)
Navigates to a new SequenceContext.
Declaration
public void NavigateTo(SequenceContext context)
Parameters
Type | Name | Description |
---|---|---|
Sequence |
context | The context to navigate to. |
Remarks
The SequenceContext provided must be a valid navigation destination.
Valid navigation destinations:
- The parent context returned by Get
Parent .Context() - The root context returned by Get
Root .Context() - Any SequenceContext returned by Get
Child .Contexts() - Any SequenceContext returned by Get
Breadcrumbs() .
Note: This method cannot be used to change the root SequenceContext. To change the root SequenceContext, use Set
Exceptions
Type | Condition |
---|---|
Invalid |
The Window associated to this instance has been destroyed. |
Argument |
The context is not valid. |
Invalid |
The context is not a valid navigation destination. |