- July 25, 2010
- 4,024
- 1,420
- Home Country
- Germany
@morpheus_xx
Sorry to bother you again
I basically have one workflow model with several Screens.
Inside the plugin.xml it is defined like this:
Inside the Workflow Model I use:
It works, but the problem is that the screen gets added to the Navigation Stack. That means the user can go backwards by using Esc, but this screws up my workflow
So I basically want to swap screens (.xaml files) without putting them on the navigation Stack (read: you can't go back by using Esc, it doesn't appear in the Navigation list on the top left corner.)
I am sure this is a easy one, but I already spend sooo many hours on it... I promise I always try to figure it out myself first before I start asking you, but I am lost
Sorry to bother you again
I basically have one workflow model with several Screens.
Inside the plugin.xml it is defined like this:
XML:
<Register Location="/Workflow/States">
<WorkflowState Id="CB09DF01-65FA-4550-977C-B685C237ED3D"
Name="TEST"
MainScreen="ConfigScreen"
DisplayLabel="InputDevices"
WorkflowModel="CC11183C-01A9-4F96-AF90-FAA046981006"/>
<WorkflowState Id="6ABF367E-346B-459F-B5A6-B61A1E285A64"
Name="changingInputsMain" MainScreen="ConfigScreenKeyMapping"
DisplayLabel="changingInputsMain"/>
<WorkflowState Id="9907E2BF-CCE9-4CF7-9F4D-807F14A5DF47"
Name="AddKey" MainScreen="ConfigScreenAddKey"
DisplayLabel="ConfigScreenAddKey"/>
<WorkflowState Id="FD7FEDE0-9268-41AE-AD0A-CC8066A41ED9"
Name="AddAction" MainScreen="ConfigScreenAddAction"
DisplayLabel="ConfigScreenAddAction"/>
</Register>
Inside the Workflow Model I use:
Code:
ServiceRegistration.Get<IWorkflowManager>().NavigatePush(Guid.Parse("6ABF367E-346B-459F-B5A6-B61A1E285A64"));
It works, but the problem is that the screen gets added to the Navigation Stack. That means the user can go backwards by using Esc, but this screws up my workflow
So I basically want to swap screens (.xaml files) without putting them on the navigation Stack (read: you can't go back by using Esc, it doesn't appear in the Navigation list on the top left corner.)
I am sure this is a easy one, but I already spend sooo many hours on it... I promise I always try to figure it out myself first before I start asking you, but I am lost