Please consider the following scenario. Wizard starts with page A which allows branching towards pages B and C. Both B and C lead to D which shows a progress of some kind. D leads to E which is a "finish" page.
We want page D not to be added to page stack so that if one backs from page E, one ends up on B or C.
We cannot use WizardPage.PreviousPage property on E because a path to page E can be either from B or C.
Unless I am missing something obvious, could you please add a property on WizardPage e.g. AddToStack with a default value of True? This won't break current behavior and will allow for exactly the scenario described above.
I have tried a programmatic workaround by setting PreviousPage on E using (Un)Selected events but this didn't work. Besides, even if it worked the page from PreviousPage would be added to the stack instead of the desired behavior which is to pop the stack.
We want page D not to be added to page stack so that if one backs from page E, one ends up on B or C.
We cannot use WizardPage.PreviousPage property on E because a path to page E can be either from B or C.
Unless I am missing something obvious, could you please add a property on WizardPage e.g. AddToStack with a default value of True? This won't break current behavior and will allow for exactly the scenario described above.
I have tried a programmatic workaround by setting PreviousPage on E using (Un)Selected events but this didn't work. Besides, even if it worked the page from PreviousPage would be added to the stack instead of the desired behavior which is to pop the stack.