Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

MapControl.Style Property

Definition

Important

Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.

Specifies the style of the map - for example, a road map or an aerial map.

public:
 property MapStyle Style { MapStyle get(); void set(MapStyle value); };
MapStyle Style();

void Style(MapStyle value);
public MapStyle Style { get; set; }
var mapStyle = mapControl.style;
mapControl.style = mapStyle;
Public Property Style As MapStyle
<!-- xmlns:Maps="using:Windows.UI.Xaml.Controls.Maps" -->

<Maps:MapControl Style="style" />
- or -
<Maps:MapControl>
 <Maps:MapControl.Style>style</Maps:MapControl.Style>
</Maps:MapControl>

Property Value

The style of the map - for example, a road map or an aerial map.

Remarks

Important

Aerial styles are not available when the network is disconnected from the internet.

Applies to

See also


Feedback

Was this page helpful?