Show / Hide Table of Contents

Property BackgroundColor

BackgroundColor

Gets or sets the background color of the map.

Declaration
public Color BackgroundColor { get; set; }
Property Value
Type Description
Color

The background color of the map.

Remarks

This value determines the color to be displayed behind the map. This color will be displayed in transparent areas of the map as well as areas where there is no basemap or operational data.

When a map is set on a MapView, changes to BackgroundColor will immediately take effect.

The default value is Empty. In this case, the BackgroundGrid is used to determine the background color to display.

Applies to

Platforms and versions
TargetVersions
.NET Standard 2.0100.7 - 200.0
.NET 6.0100.13 - 200.0
.NET 6.0 Windows100.13 - 200.0
.NET 6.0 Android200
.NET 6.0 iOS200
.NET Framework100.7 - 200.0
.NET 5100.10 - 100.12
.NET Core 3.1100.7 - 100.12
Android100.7 - 100.15
iOS100.7 - 100.15
UWP100.7 - 200.0
In This Article
Back to top Copyright © 2022 Esri.