MapLayer.GetPositionRectangle Method (DependencyObject)
Retrieves a LocationRect that UIElement objects of the layer are fit into (also known as “arranging”).
Namespace: Microsoft.Maps.MapControl.WPF
Assembly: Microsoft.Maps.MapControl.WPF (in Microsoft.Maps.MapControl.WPF.dll)
Syntax
public static LocationRect GetPositionRectangle(
DependencyObject dependencyObject
)
public:
static LocationRect^ GetPositionRectangle(
DependencyObject^ dependencyObject
)
static member GetPositionRectangle :
dependencyObject:DependencyObject -> LocationRect
Public Shared Function GetPositionRectangle (
dependencyObject As DependencyObject
) As LocationRect
Parameters
dependencyObject
Type: System.Windows.DependencyObjectThe dependency field.
Return Value
Type: Microsoft.Maps.MapControl.WPF.LocationRect
Returns LocationRect.
See Also
MapLayer Class
Microsoft.Maps.MapControl.WPF Namespace
Return to top