ArcGIS Pro 3.4 API Reference Guide
ArcGIS.Desktop.Mapping.DeviceLocation Namespace / MapDeviceLocationOptions Class / TrackUpNavigation Property
Example Version

TrackUpNavigation Property
Gets and sets whether the heading of the location from the device points to the top of the screen.
Syntax
public bool TrackUpNavigation {get; set;}
Remarks

Zooming or pannig the map view interactively cancels this mode and sets it to MappingDeviceLocationNavigationMode.None

By default, TrackupNavigation is set to False.

Example
Get Current Map Device Location Options
var options = MapDeviceLocationService.Instance.GetDeviceLocationOptions();

var visibility = options.DeviceLocationVisibility;
var navMode = options.NavigationMode;
var trackUp = options.TrackUpNavigation;
var showBuffer = options.ShowAccuracyBuffer;
Requirements

Target Platforms: Windows 11, Windows 10

ArcGIS Pro version: 3 or higher.
See Also