CreateUserWizard.InstructionTextStyle 屬性
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
取得屬性集合的參考,這些屬性定義指示文字的外觀。
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 屬性不會有任何作用。
適用於
另請參閱
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應