ControlDesigner.OnAutoFormatApplied(DesignerAutoFormat) メソッド
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
定義済みの自動書式設定スキームが関連付けられているコントロールに適用されたときに呼び出されます。
public:
virtual void OnAutoFormatApplied(System::Web::UI::Design::DesignerAutoFormat ^ appliedAutoFormat);
public virtual void OnAutoFormatApplied(System.Web.UI.Design.DesignerAutoFormat appliedAutoFormat);
abstract member OnAutoFormatApplied : System.Web.UI.Design.DesignerAutoFormat -> unit
override this.OnAutoFormatApplied : System.Web.UI.Design.DesignerAutoFormat -> unit
Public Overridable Sub OnAutoFormatApplied (appliedAutoFormat As DesignerAutoFormat)
パラメーター
- appliedAutoFormat
- DesignerAutoFormat
スタイルを定義する DesignerAutoFormat オブジェクト。
注釈
OnAutoFormatApplied メソッドは、DesignerAutoFormat オブジェクトが定義済みの形式を関連付けられたコントロールに適用した後に呼び出されます。 DesignerAutoFormat オブジェクトは、コントロールに適用される自動書式設定スキームの名前とスタイル設定を定義します。
ControlDesigner クラスから派生したクラスは、関連付けられたコントロールに自動書式設定スキームが適用されたときに追加の処理を実行するために、OnAutoFormatApplied メソッドをオーバーライドします。