Control.OnBackgroundImageLayoutChanged(EventArgs) メソッド
定義
BackgroundImageLayoutChanged イベントを発生させます。Raises the BackgroundImageLayoutChanged event.
protected:
virtual void OnBackgroundImageLayoutChanged(EventArgs ^ e);
protected virtual void OnBackgroundImageLayoutChanged (EventArgs e);
abstract member OnBackgroundImageLayoutChanged : EventArgs -> unit
override this.OnBackgroundImageLayoutChanged : EventArgs -> unit
Protected Overridable Sub OnBackgroundImageLayoutChanged (e As EventArgs)
パラメーター
注釈
イベントを発生させると、イベント ハンドラーがデリゲートから呼び出されます。Raising an event invokes the event handler through a delegate. 詳細については、次を参照してください。処理とイベントの発生します。For more information, see Handling and Raising Events.
OnBackgroundImageLayoutChanged メソッドを使用すると、デリゲートを結び付けずに、派生クラスでイベントを処理することもできます。The OnBackgroundImageLayoutChanged method also allows derived classes to handle the event without attaching a delegate. 派生クラスでイベントを処理する場合は、この手法をお勧めします。This is the preferred technique for handling the event in a derived class.
注意 (継承者)
派生クラスで OnBackgroundImageLayoutChanged(EventArgs) をオーバーライドする場合は、登録されているデリゲートがイベントを受け取ることができるように、基本クラスの OnBackgroundImageLayoutChanged(EventArgs) メソッドを呼び出してください。When overriding OnBackgroundImageLayoutChanged(EventArgs) in a derived class, be sure to call the base class's OnBackgroundImageLayoutChanged(EventArgs) method so that registered delegates receive the event.