Show / Hide Table of Contents

Class BackgroundGrid

A background grid defines the default color and context grid for display behind a map or scene surface.

Inheritance
Object
BackgroundGrid
Implements
INotifyPropertyChanged
Object.Equals(Object)
Object.Equals(Object, Object)
Object.GetHashCode()
Object.GetType()
Object.MemberwiseClone()
Object.ReferenceEquals(Object, Object)
Object.ToString()
Namespace: Esri.ArcGISRuntime.UI
Assembly: Esri.ArcGISRuntime.dll
Syntax
public sealed class BackgroundGrid : INotifyPropertyChanged
Remarks

The background grid determines what an empty MapView or scene Surface looks like. An instance of this class can be used to set a default backdrop that a Map or Scene will display on top of.

Constructors

Name Description
BackgroundGrid()

Initializes a new instance of the BackgroundGrid class with default properties.

BackgroundGrid(Color, Color, Single, Single)

Initializes a new instance of the BackgroundGrid class with the specified properties.

Properties

Name Description
Color

Gets or sets the background color

GridLineColor

Gets or sets the grid line color

GridLineWidth

Gets or sets the grid line width in device-independent pixels

GridSize

Gets or sets the size of each grid square in device-independent pixels.

IsVisible

Gets or sets a value indicating whether the grid is visible on the background.

Name Description
INotifyPropertyChanged.PropertyChanged

Occurs when a property value changes.

See Also

BackgroundGrid
BackgroundGrid
BackgroundColor

Applies to

TargetVersions
.NET Standard 2.0100.3 - 100.14
.NET 6.0100.13 - 100.14
.NET 6.0 Windows100.13 - 100.14
.NET Framework100.0 - 100.14
.NET 5100.10 - 100.12
.NET Core 3.1100.7 - 100.12
Xamarin.Android100.0 - 100.14
Xamarin.iOS100.0 - 100.14
UWP100.0 - 100.14
In This Article
Back to top Copyright © 2021 Esri.