So essentially the situation I have is that I am setting various options on a configuration class with each step in the stepper. Some of the steps require some code behind to work properly. At the end of the stepper I display a summary page of those options and if the user clicks 'Execute' (ie: the continue button) I run a Task and pass it those options. The task itself updates a progress view as it goes and then notifies the UI when it is cancelled or finished so it can alert the user and get rid of the stepper view.
I did some reading and the Docs seem to say you can hook up to an event on the stepper control itself to tell when each step is navigated to. However if I do it that way I'll have to have an event handler on the main view holding the stepper that makes choices on actions based on what step view is shown. Seems like this would be big and clunky. It's possible I am not understanding something.
Is there a way for the step views themselves to know when they are navigated to so they can do whatever setup they need to or in the case of the last step launch the task?
So essentially the situation I have is that I am setting various options on a configuration class with each step in the stepper. Some of the steps require some code behind to work properly. At the end of the stepper I display a summary page of those options and if the user clicks 'Execute' (ie: the continue button) I run a Task and pass it those options. The task itself updates a progress view as it goes and then notifies the UI when it is cancelled or finished so it can alert the user and get rid of the stepper view.
I did some reading and the Docs seem to say you can hook up to an event on the stepper control itself to tell when each step is navigated to. However if I do it that way I'll have to have an event handler on the main view holding the stepper that makes choices on actions based on what step view is shown. Seems like this would be big and clunky. It's possible I am not understanding something.
Is there a way for the step views themselves to know when they are navigated to so they can do whatever setup they need to or in the case of the last step launch the task?