Label.OnTextAlignChanged(EventArgs) Label.OnTextAlignChanged(EventArgs) Label.OnTextAlignChanged(EventArgs) Label.OnTextAlignChanged(EventArgs) Method

定義

引發 TextAlignChanged 事件。Raises the TextAlignChanged event.

protected:
 virtual void OnTextAlignChanged(EventArgs ^ e);
protected virtual void OnTextAlignChanged (EventArgs e);
abstract member OnTextAlignChanged : EventArgs -> unit
override this.OnTextAlignChanged : EventArgs -> unit
Protected Overridable Sub OnTextAlignChanged (e As EventArgs)

參數

e
EventArgs EventArgs EventArgs EventArgs

包含事件資料的 EventArgsAn EventArgs that contains the event data.

備註

引發事件會透過委派叫用此事件處理常式。Raising an event invokes the event handler through a delegate. 如需詳細資訊, 請參閱處理和引發事件For more information, see Handling and Raising Events.

給繼承者的注意事項

在衍生OnTextAlignChanged(EventArgs)類別中覆寫時,請務必呼叫基類的OnTextAlignChanged(EventArgs)方法。When overriding OnTextAlignChanged(EventArgs) in a derived class, be sure to call the base class's OnTextAlignChanged(EventArgs) method.

適用於

另請參閱