MapLayer.GetPositionRectangle Method

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

Retrieves a LocationRect that UIElement objects of the layer are fit into (also known as “arranging”).

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

Usage

Syntax

'Declaration
Public Shared Function GetPositionRectangle ( _
    dependencyObject As DependencyObject _
) As LocationRect
public static LocationRect GetPositionRectangle (
    DependencyObject dependencyObject
)
public:
static LocationRect^ GetPositionRectangle (
    DependencyObject^ dependencyObject
)
public static LocationRect GetPositionRectangle (
    DependencyObject dependencyObject
)
public static function GetPositionRectangle (
    dependencyObject : DependencyObject
) : LocationRect

Parameters

  • dependencyObject
    The dependency field.

Return Value

Returns LocationRect.

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

MapLayer Class
MapLayer Members
Microsoft.Maps.MapControl Namespace