MapControl.Style MapControl.Style MapControl.Style MapControl.Style Property

Definition

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

public : MapStyle Style { get; set; }
MapStyle Style();

void Style(MapStyle style);
public MapStyle Style { get; set; }
Public ReadWrite 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.

See also