Wizard.WizardSteps Property
Assembly: System.Web (in system.web.dll)
[ThemeableAttribute(false)] public: virtual property WizardStepCollection^ WizardSteps { WizardStepCollection^ get (); }
/** @property */ public WizardStepCollection get_WizardSteps ()
public function get WizardSteps () : WizardStepCollection
Not applicable.
Property Value
A WizardStepCollection representing all the WizardStepBase objects defined for the Wizard.The WizardSteps property returns a collection of WizardStepBase objects that make up the Wizard control. You can use the WizardSteps collection to access the WizardStepBase objects that are contained in the Wizard control programmatically. Use the Add, Remove, Clear, and Insert methods to manipulate the WizardStepBase objects in the collection programmatically.
Note: |
|---|
| If you are using Microsoft Visual Studio 2005, note that the ActiveStepIndex is persisted in Source view. If you change the WizardSteps property in Design view by clicking the sidebar buttons, and you then run the page, the first step of the Wizard control might not be shown because the ActiveStepIndex might be pointing to a different step. |
If the Wizard control contains multiple WizardStepCollection collections, the collections will be merged.
This property cannot be set by themes or style sheet themes. For more information, see ThemeableAttribute and Introduction to ASP.NET Themes.
Note: