BaseDataListDesigner.OnAutoFormatApplied(DesignerAutoFormat) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
將自動格式化配置套用至關聯控制項時呼叫。
public:
override void OnAutoFormatApplied(System::Web::UI::Design::DesignerAutoFormat ^ appliedAutoFormat);
public override void OnAutoFormatApplied (System.Web.UI.Design.DesignerAutoFormat appliedAutoFormat);
override this.OnAutoFormatApplied : System.Web.UI.Design.DesignerAutoFormat -> unit
Public Overrides Sub OnAutoFormatApplied (appliedAutoFormat As DesignerAutoFormat)
參數
- appliedAutoFormat
- DesignerAutoFormat
定義樣式的 DesignerAutoFormat 物件。
備註
OnAutoFormatApplied當 物件套用至衍生自 類別的 BaseDataList 相關聯控制項時 DesignerAutoFormat ,會呼叫 方法。 DesignerAutoFormat物件會 DesignerAutoFormatStyle 定義套用至 控制項的 物件。
設計工具可以覆寫 OnAutoFormatApplied 以檢查控制項的屬性,或採取其他動作。
適用於
另請參閱
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應