Udostępnij za pośrednictwem


MapControl.Style Property

Definition

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