Wizard::WizardSteps Property
Gets a collection containing all the WizardStepBase objects that are defined for the control.
Assembly: System.Web (in System.Web.dll)
[ThemeableAttribute(false)] [PersistenceModeAttribute(PersistenceMode::InnerProperty)] public: virtual property WizardStepCollection^ WizardSteps { WizardStepCollection^ get (); }
Property Value
Type: System.Web.UI.WebControls::WizardStepCollectionA 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.
Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows XP SP2 x64 Edition, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Note