CompassPanel.SetElementHeading Method

This documentation is no longer available on MSDN, however it is available as a CHM download.

Sets the directional heading of a child element in the panel to a specified value.

Namespace: Microsoft.Maps.MapControl.Navigation
Assembly: Microsoft.Maps.MapControl (in Microsoft.Maps.MapControl.dll)

Usage

Syntax

'Declaration
Public Shared Sub SetElementHeading ( _
    element As DependencyObject, _
    value As Double _
)
public static void SetElementHeading (
    DependencyObject element,
    double value
)
public:
static void SetElementHeading (
    DependencyObject^ element, 
    double value
)
public static void SetElementHeading (
    DependencyObject element, 
    double value
)
public static function SetElementHeading (
    element : DependencyObject, 
    value : double
)

Parameters

  • element
    The element whose heading to set.
  • value
    The directional heading value to use for the specified element.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.

Target Platforms

See Also

Reference

CompassPanel Class
CompassPanel Members
Microsoft.Maps.MapControl.Navigation Namespace