Wizard::WizardSteps Property
Gets a collection containing all the WizardStepBase objects that are defined for the control.
Assembly: System.Web (in System.Web.dll)
public: [PersistenceModeAttribute(PersistenceMode::InnerProperty)] [ThemeableAttribute(false)] property WizardStepCollection^ WizardSteps { virtual WizardStepCollection^ get(); }
Property Value
Type: System.Web.UI.WebControls::WizardStepCollection^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 ASP.NET Themes and Skins.
Available since 2.0
.jpeg?cs-save-lang=1&cs-lang=cpp)