Normal
First you could try to use: https://github.com/MediaPortal/MediaPortal-2/blob/1fcf783e56c55e96ae9c0e490a4b5b5b7be5487f/MediaPortal/Source/Core/MediaPortal.UI/Presentation/Workflow/IWorkflowManager.cs#L126-L138.But I don't remember exactly if it still pushes the step to navigation history. According to interface docs its main difference is to be able to use dynamical created WF state ids.And you should know that there are always ways to leave a screen, even if you prevent "escape" to pop a navigation state (i.e. by all shortcuts like "H" for "home"). So maybe it's better to use a dialog for input of new items?Or only conditionally show different controls in same screen?Please explain more in detail what you like to achieve.
First you could try to use: https://github.com/MediaPortal/MediaPortal-2/blob/1fcf783e56c55e96ae9c0e490a4b5b5b7be5487f/MediaPortal/Source/Core/MediaPortal.UI/Presentation/Workflow/IWorkflowManager.cs#L126-L138.
But I don't remember exactly if it still pushes the step to navigation history. According to interface docs its main difference is to be able to use dynamical created WF state ids.
And you should know that there are always ways to leave a screen, even if you prevent "escape" to pop a navigation state (i.e. by all shortcuts like "H" for "home"). So maybe it's better to use a dialog for input of new items?
Or only conditionally show different controls in same screen?
Please explain more in detail what you like to achieve.