CreateUserWizard.InstructionTextStyle 属性

定义

获取一个对属性集合的引用,这些属性用于定义说明文本的外观。

public:
 property System::Web::UI::WebControls::TableItemStyle ^ InstructionTextStyle { System::Web::UI::WebControls::TableItemStyle ^ get(); };
[System.Web.UI.PersistenceMode(System.Web.UI.PersistenceMode.InnerProperty)]
public System.Web.UI.WebControls.TableItemStyle InstructionTextStyle { get; }
[<System.Web.UI.PersistenceMode(System.Web.UI.PersistenceMode.InnerProperty)>]
member this.InstructionTextStyle : System.Web.UI.WebControls.TableItemStyle
Public ReadOnly Property InstructionTextStyle As TableItemStyle

属性值

TableItemStyle 的引用,它包含用于定义说明文本外观的属性。

属性

注解

属性 InstructionTextStyle 定义 控件中 CreateUserWizard 指令文本的外观。 此属性为只读;但是,您可以设置它返回的对象 TableItemStyle 的属性。 您可以以声明方式以 形式 Property-Subproperty设置这些属性,其中 Subproperty 表示 TableItemStyle 类 (的属性, InstructionTextStyle-ForeColor 例如,) 。 可以采用 (格式 Property.Subproperty 以编程方式设置 属性, InstructionTextStyle.ForeColor 例如,) 。

属性 InstructionTextStyle 定义 属性的外观 InstructionText

属性的 InstructionTextStyle 样式设置与控件的样式设置 CreateUserWizard 合并。 属性中 InstructionTextStyle 应用的任何设置将替代控件属性 CreateUserWizard 中的相应设置。

以下 CreateUserWizard 样式属性由 InstructionTextStyle 设置替代:

但是,使用模板定义控件的外观 CreateUserWizard 时, InstructionTextStyle 属性不起作用。

适用于

另请参阅