语言

CompleteWizardStep.StepType 属性

定义

获取或设置要为 CompleteWizardStep 控件的页面 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

属性值

Complete枚举的WizardStepType枚举值。

属性

例外

尝试设置 StepType 属性。

注解

该 StepType 属性指定要为控件的最终用户帐户创建步骤(步骤 CreateUserWizardStep ) CreateUserWizard 显示的导航 UI 的类型。

Caution

该 StepType 属性将 WizardStepBase.StepType 重写该属性, CompleteWizardStep 以确保始终设置为 Complete 枚举的值 WizardStepType 。 尝试将 StepType 属性设置为其他值将导致一个 InvalidOperationException。

此属性不能由主题或样式表主题设置。 有关详细信息,请参阅 ThemeableAttribute 和 ASP.NET 主题和外观。

适用于

另请参阅