Udostępnij za pośrednictwem


MapControl.ColorScheme Property

Definition

Gets or sets the color scheme of the map – for example, light or dark.

public:
 property MapColorScheme ColorScheme { MapColorScheme get(); void set(MapColorScheme value); };
MapColorScheme ColorScheme();

void ColorScheme(MapColorScheme value);
public MapColorScheme ColorScheme { get; set; }
var mapColorScheme = mapControl.colorScheme;
mapControl.colorScheme = mapColorScheme;
Public Property ColorScheme As MapColorScheme
<!-- xmlns:Maps="using:Windows.UI.Xaml.Controls.Maps" -->

<Maps:MapControl ColorScheme="colorScheme" />
- or -
<Maps:MapControl>
    <Maps:MapControl.ColorScheme>colorScheme</Maps:MapControl.ColorScheme>
</Maps:MapControl>

Property Value

The color scheme of the map – for example, light or dark.

Applies to

See also