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
System.Object
BackgroundGrid
Implements
System.ComponentModel.INotifyPropertyChanged
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.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 (DIP).

GridSize

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

IsVisible

Gets or sets a value indicating whether grid lines are visible on the Color.

Name Description
INotifyPropertyChanged.PropertyChanged

Occurs when a property value changes.

See Also

BackgroundGrid
BackgroundGrid
BackgroundColor

Applies to

TargetVersions
.NET Standard 2.0100.3 - 200.7
.NET100.13 - 200.7
.NET Windows100.13 - 200.7
.NET Android200.0 - 200.7
.NET iOS200.0 - 200.7
.NET Framework100.0 - 200.7
Xamarin.Android100.0 - 100.15
Xamarin.iOS100.0 - 100.15
UWP100.0 - 200.7
In This Article
Back to top Copyright © 2022 Esri.