Export (0) Print
Expand All

WizardStepBase.StepType Property

Gets or sets the type of navigation user interface (UI) to display for a step in a Wizard control.

Namespace:  System.Web.UI.WebControls
Assembly:  System.Web (in System.Web.dll)

public virtual WizardStepType StepType { get; set; }
<asp:WizardStepBase StepType="WizardStepType" />

Property Value

Type: System.Web.UI.WebControls.WizardStepType
One of the WizardStepType enumeration values. The default value is WizardStepType.Auto.

ExceptionCondition
ArgumentOutOfRangeException

The selected value is not one of the WizardStepType enumeration values.

Use the StepType property to specify the type of navigation buttons to display for a step in a Wizard control. If you specify a value for this property, any steps marked as Complete displays in a disabled state in the sidebar.

If you do not specify a value for this property, the default is WizardStepType.Auto.

The following table lists the available settings for the StepType property and the resulting behavior of the step:

WizardStepType.Auto

The navigation UI that is rendered for the step is determined by the order in which the step is declared.

WizardStepType.Complete

The step is the last one to appear. No navigation buttons are rendered.

WizardStepType.Finish

The step is the final data collection step. The Finish and Previous buttons are rendered for navigation.

WizardStepType.Start

The step is the first one to appear. A Previous button is not rendered.

WizardStepType.Step

The step is any step between the Start and the Finish step. Previous and Next buttons are rendered for navigation. This step type is useful for overriding the Auto step type.

.NET Framework

Supported in: 4.5.2, 4.5.1, 4.5, 4, 3.5, 3.0, 2.0

Windows 8.1, Windows Server 2012 R2, Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

Show:
© 2014 Microsoft