PositionChangedEventArgs PositionChangedEventArgs PositionChangedEventArgs PositionChangedEventArgs Class

Definition

Provides data for the PositionChanged event.

public : sealed class PositionChangedEventArgs : IPositionChangedEventArgs
public sealed class PositionChangedEventArgs : IPositionChangedEventArgs
Public NotInheritable Class PositionChangedEventArgs Implements IPositionChangedEventArgs
// This class does not provide a public constructor.
Attributes
Windows 10 requirements
Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)
Capabilities
location ID_CAP_LOCATION [Windows Phone]

Remarks

This object is the argument passed to the event handler for a PositionChanged event.

Properties

Position Position Position Position

The location data associated with the PositionChanged event.

public : Geoposition Position { get; }
public Geoposition Position { get; }
Public ReadOnly Property Position As Geoposition
var geoposition = positionChangedEventArgs.position;
Value
Geoposition Geoposition Geoposition Geoposition

A Geoposition object containing geographic location data.

Additional features and requirements
Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)
Capabilities
location ID_CAP_LOCATION [Windows Phone]