共用方式為


Battery.BatteryInfoChanged Event

Definition

Event trigger when battery properties have changed.

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

Event Type

Applies to