MapControl.ColorScheme 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.
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.