共用方式為


Element.OnHandlerChanging(HandlerChangingEventArgs) 方法

定義

在衍生類別中覆寫時,應該引發 HandlerChanging 事件。

protected:
 virtual void OnHandlerChanging(Microsoft::Maui::Controls::HandlerChangingEventArgs ^ args);
protected virtual void OnHandlerChanging (Microsoft.Maui.Controls.HandlerChangingEventArgs args);
abstract member OnHandlerChanging : Microsoft.Maui.Controls.HandlerChangingEventArgs -> unit
override this.OnHandlerChanging : Microsoft.Maui.Controls.HandlerChangingEventArgs -> unit
Protected Overridable Sub OnHandlerChanging (args As HandlerChangingEventArgs)

參數

args
HandlerChangingEventArgs

提供 HandlerChanging 事件的資料。

備註

實作者負責引發 HandlerChanging 事件。

適用於