Show / Hide Table of Contents

Class Compass

The Compass Control showing the heading on the map when the rotation is not North up / 0.

Inheritance
object
DependencyObject
UIElement
FrameworkElement
Control
Compass
Implements
IEquatable<DependencyObject>
IAnimationObject
IVisualElement
IVisualElement2
IEquatable<UIElement>
IEquatable<FrameworkElement>
IWinRTObject
IUnmanagedVirtualMethodTableProvider
IDynamicInterfaceCastable
IEquatable<Control>
Namespace: Esri.ArcGISRuntime.Toolkit.UI.Controls
Assembly: Esri.ArcGISRuntime.Toolkit.WinUI.dll
Syntax
[WinRTRuntimeClassName("Microsoft.UI.Xaml.IUIElementOverrides")]
[WinRTExposedType(typeof(Esri_ArcGISRuntime_Toolkit_UI_Controls_CompassWinRTTypeDetails))]
public class Compass : Control, IEquatable<DependencyObject>, IAnimationObject, IVisualElement, IVisualElement2, IEquatable<UIElement>, IEquatable<FrameworkElement>, IWinRTObject, IUnmanagedVirtualMethodTableProvider, IDynamicInterfaceCastable, IEquatable<Control>

Constructors

Name Description
Compass()

Initializes a new instance of the Compass class.

Fields

Name Description
AutoHideProperty

Identifies the AutoHide dependency property.

GeoViewProperty

Identifies the GeoView Dependency Property.

HeadingProperty

Identifies the Heading dependency property.

Properties

Name Description
AutoHide

Gets or sets a value indicating whether to auto-hide the control when Heading is 0.

GeoView

Gets or sets the GeoView property that can be attached to a Compass control to accurately set the heading, instead of setting the Heading property directly.

Heading

Gets or sets the Heading for the compass.

Methods

Name Description
OnApplyTemplate()

When overridden in a derived class, is invoked whenever application code or internal processes call ApplyTemplate().

OnMouseLeftButtonDown(MouseButtonEventArgs)

Invoked when an unhandled MouseLeftButtonDown routed event is raised on this element. Implement this method to add class handling for this event.

OnTapped(TappedRoutedEventArgs)

Called before the Tapped event occurs.

In this article
Back to top Generated by DocFX