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
System.Drawing.Color

The background color of the map.

Remarks

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

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

The default value is System.Drawing.Color.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.7
.NET100.13 - 200.7
.NET Windows100.13 - 200.7
.NET Android200.0 - 200.7
.NET iOS200.0 - 200.7
.NET Framework100.7 - 200.7
Xamarin.Android100.7 - 100.15
Xamarin.iOS100.7 - 100.15
UWP100.7 - 200.7
In This Article
Back to top Copyright © 2022 Esri.