Share via


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 中的對應設定。

設定會覆寫 InstructionTextStyle 下列 CreateUserWizard 樣式屬性:

不過,當您使用範本來定義控制項的外觀 CreateUserWizard 時, InstructionTextStyle 屬性不會有任何作用。

適用於

另請參閱