NormalizedAnchorPoint attached property
TOC
Collapse the table of content
Expand the table of content

MapControl.NormalizedAnchorPoint attached property

Gets or sets the anchor point of a child element of the MapControl. Specify a value from 0 to 1. The anchor point is the point on the child element that is positioned at the geographic location on the MapControl specified by the MapControl.Location attached property.

Remarks

The default value of MapControl.NormalizedAnchorPoint (0, 0) represents the upper left corner of the child element.

MapControl.NormalizedAnchorPoint is an attached property for use with Extensible Application Markup Language (XAML). When you get or set this property in code instead, call the GetNormalizedAnchorPoint or SetNormalizedAnchorPoint method. When you call these methods, the target parameter is the object on which the attached property value is set.

A less commonly used way to get or set the value in code is to use the dependency property system. Call the GetValue or SetValue method and pass NormalizedAnchorPointProperty as the dependency property identifier.

A MapControl.NormalizedAnchorPoint value is interpreted by the parent MapControl element. The value is used along with MapControl.Location to specify the layout characteristics of each child element of a MapControl.

Requirements (Windows 10 device family)

Device family

API contract

Namespace

Windows.UI.Xaml.Controls.Maps

Requirements (Windows 8.x and Windows Phone 8.x)

Minimum supported client

Windows 8.1

Minimum supported server

Windows Server 2012 R2

Namespace

Windows.UI.Xaml.Controls.Maps

See also

MapControl
Display maps with 2D, 3D, and Streetside views

 

 

Show:
© 2017 Microsoft