Uses a Boolean value to determine whether the Wizard.ActiveStep property can be set to the System.Web.UI.WebControls.WizardStepBase object that corresponds to the index that is passed in.
- index
- The index of the System.Web.UI.WebControls.WizardStepBase object being checked.
false if the index passed in refers to a System.Web.UI.WebControls.WizardStepBase that has already been accessed and its WizardStepBase.AllowReturn property is set to false; otherwise, true.
The Wizard.AllowNavigationToStep(int) method can be accessed from a derived class only because of its protected modifier. In a derived class, you can use the Wizard.AllowNavigationToStep(int) method to determine whether the index that is passed in can be used to set the Wizard.ActiveStepIndex property. The Wizard.AllowNavigationToStep(int) method will return false if the index that is passed in refers to a System.Web.UI.WebControls.WizardStepBase object that has already been accessed and has its WizardStepBase.AllowReturn property set to false; otherwise, it will return true.