共用方式為


OrientationSensor.ReadingChanged 事件

定義

發生於方向讀取變更時。

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

事件類型

適用於