CreateUserWizardStep.StepType 属性

定义

获取或设置为 CreateUserWizardStep 控件的 CreateUserWizard 步骤显示的用户界面 (UI) 的类型。

public:
 virtual property System::Web::UI::WebControls::WizardStepType StepType { System::Web::UI::WebControls::WizardStepType get(); void set(System::Web::UI::WebControls::WizardStepType value); };
[System.ComponentModel.Browsable(false)]
[System.Web.UI.Themeable(false)]
public override System.Web.UI.WebControls.WizardStepType StepType { get; set; }
[<System.ComponentModel.Browsable(false)>]
[<System.Web.UI.Themeable(false)>]
member this.StepType : System.Web.UI.WebControls.WizardStepType with get, set
Public Overrides Property StepType As WizardStepType

属性值

Auto 枚举的 WizardStepType 枚举值。

属性

例外

尝试将 StepType 属性设置为 WizardStepType.Auto 枚举值以外的值。

注解

属性 StepType 指定要为控件的用户帐户创建步骤 CreateUserWizard 显示的导航选项。

属性 StepType 确定 Wizard 控件的哪些导航按钮显示在控件上 CreateUserWizardStep 。 有关更多信息,请参见 WizardStepBase.StepType 属性。

注意

如果尝试将 StepType 属性更改为枚举值以外的 Auto 任何值 WizardStepTypeInvalidOperationException 将引发 。

无法通过主题或样式表主题设置此属性。 有关详细信息,请参阅 ThemeableAttributeASP.NET 主题和外观

适用于

另请参阅