Wizard.GetStepType Method

Returns the WizardStepType value for the specified WizardStepBase object.

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

public:
WizardStepType GetStepType (
	WizardStepBase^ wizardStep, 
	int index
)
public WizardStepType GetStepType (
	WizardStepBase wizardStep, 
	int index
)
public function GetStepType (
	wizardStep : WizardStepBase, 
	index : int
) : WizardStepType
Not applicable.

Parameters

wizardStep

The WizardStepBase for which the associated WizardStepType is returned.

index

The index of the WizardStepBase for which the associated WizardStepType is returned.

Return Value

One of the WizardStepType values.

Use the GetStepType method to determine the WizardStepType value of the specified WizardStepBase object.

The following code example demonstrates how to use the GetStepType method to determine the associated WizardStepType value for the current step of the Wizard control. Each time the ActiveStepChanged event is raised, the new WizardStepType value is retrieved and a message is written to Label1.

No code example is currently available or this language may not be supported.

Windows 98, Windows Server 2000 SP4, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0, 2.0

Community Additions

ADD
Show: