Class BackgroundGrid
A background grid defines the default color and context grid for display behind a map or scene surface.
Implements
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
Applies to
| Target | Versions |
|---|---|
| .NET Standard 2.0 | 100.3 - 100.15 |
| .NET 6.0 | 100.13 - 100.15 |
| .NET 6.0 Windows | 100.13 - 100.15 |
| .NET Framework | 100.0 - 100.15 |
| .NET 5 | 100.10 - 100.12 |
| .NET Core 3.1 | 100.7 - 100.12 |
| Xamarin.Android | 100.0 - 100.15 |
| Xamarin.iOS | 100.0 - 100.15 |
| UWP | 100.0 - 100.15 |