共用方式為


Battery.EnergySaverStatusChanged 事件

定義

發生於省電狀態變更時。

public:
 static event EventHandler<Microsoft::Maui::Devices::EnergySaverStatusChangedEventArgs ^> ^ EnergySaverStatusChanged;
public static event EventHandler<Microsoft.Maui.Devices.EnergySaverStatusChangedEventArgs> EnergySaverStatusChanged;
member this.EnergySaverStatusChanged : EventHandler<Microsoft.Maui.Devices.EnergySaverStatusChangedEventArgs> 
Public Shared Custom Event EnergySaverStatusChanged As EventHandler(Of EnergySaverStatusChangedEventArgs) 

事件類型

適用於