Muokkaa

Jaa


WizardStepBase.StepType Property

Definition

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

public:
 virtual property System::Web::UI::WebControls::WizardStepType StepType { System::Web::UI::WebControls::WizardStepType get(); void set(System::Web::UI::WebControls::WizardStepType value); };
public virtual System.Web.UI.WebControls.WizardStepType StepType { get; set; }
member this.StepType : System.Web.UI.WebControls.WizardStepType with get, set
Public Overridable Property StepType As WizardStepType

Property Value

One of the WizardStepType enumeration values. The default value is WizardStepType.Auto.

Exceptions

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

Remarks

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.

Applies to

See also