AccelerometerReadingEventArgs.X Property

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

The acceleration in the X direction, in gravitational units.

Namespace:  Microsoft.Devices.Sensors
Assembly:  Microsoft.Devices.Sensors (in Microsoft.Devices.Sensors.dll)

Syntax

Public ReadOnly Property X As Double
public double X { get; }

Property Value

Type: System..::.Double
Type: Double.

Version Information

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Platforms

Windows Phone

See Also

Reference

AccelerometerReadingEventArgs Class

Microsoft.Devices.Sensors Namespace