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 property WizardStepType StepType {
	WizardStepType get ();
	void set (WizardStepType value);
}

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.6, 4.5, 4, 3.5, 3.0, 2.0
Show:
© 2015 Microsoft