StepDirection Enum
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Direction for next step.
public enum StepDirection
type StepDirection =
Public Enum StepDirection
- Inheritance
-
StepDirection
Fields
Name | Value | Description |
---|---|---|
Complete | 0 | The form is complete and OnCompletion(OnCompletionAsyncDelegate<T>) should be called. |
Named | 1 | Move to a named step. If there is more than one name, the user will be asked to choose. |
Next | 2 | Move to the next step that is Active(T) and uncompleted. |
Previous | 3 | Move to the previously executed step. |
Quit | 4 | Quit the form and return failure to the parent dialog. |
Reset | 5 | Reset the form to start over. |
Remarks
As each step in a form completes, the step can determine the next step to take. Usually this is just to move onto the next active, uncompleted step, but you can also move back or present a list of choices to the user. A step is active if Active(T) returns true on the current state. A step is ready if it has not already been successfully completed.