System.Web.UI.WebControls.Wizard.WizardSteps Property

Gets a collection containing all the System.Web.UI.WebControls.WizardStepBase objects that are defined for the control.

Syntax

[System.Web.UI.Themeable(false)]
[System.Web.UI.PersistenceMode(System.Web.UI.PersistenceMode.InnerProperty)]
[System.ComponentModel.Editor("System.Web.UI.Design.WebControls.WizardStepCollectionEditor,System.Design, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a", "System.Drawing.Design.UITypeEditor, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")]
[System.ComponentModel.DesignerSerializationVisibility(System.ComponentModel.DesignerSerializationVisibility.Content)]
public virtual WizardStepCollection WizardSteps { get; }

Value

Documentation for this section has not yet been entered.

Remarks

The Wizard.WizardSteps property returns a collection of System.Web.UI.WebControls.WizardStepBase objects that make up the System.Web.UI.WebControls.Wizard control. You can use the Wizard.WizardSteps collection to access the System.Web.UI.WebControls.WizardStepBase objects that are contained in the System.Web.UI.WebControls.Wizard control programmatically. Use the WizardStepCollection.Add(WizardStepBase), WizardStepCollection.Remove(WizardStepBase), WizardStepCollection.Clear, and WizardStepCollection.Insert(int, WizardStepBase) methods to manipulate the System.Web.UI.WebControls.WizardStepBase objects in the collection programmatically.

Note:

If you are using Microsoft Visual Studio 2005, note that the Wizard.ActiveStepIndex is persisted in Source view. If you change the Wizard.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 Wizard.ActiveStepIndex might be pointing to a different step.

If the System.Web.UI.WebControls.Wizard control contains multiple System.Web.UI.WebControls.WizardStepCollection collections, the collections will be merged.

This property cannot be set by themes or style sheet themes. For more information, see System.Web.UI.ThemeableAttribute and ASP.NET Themes Overview.

Requirements

Namespace: System.Web.UI.WebControls
Assembly: System.Web (in System.Web.dll)
Assembly Versions: 2.0.0.0
Since: .NET 2.0