Class BackgroundGrid
A background grid defines the default color and context grid for display behind a map or scene surface.
Inheritance
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 (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
Applies to
Target | Versions |
---|---|
.NET Standard 2.0 | 100.3 - 200.6 |
.NET | 100.13 - 200.6 |
.NET Windows | 100.13 - 200.6 |
.NET Android | 200.0 - 200.6 |
.NET iOS | 200.0 - 200.6 |
.NET Framework | 100.0 - 200.6 |
Xamarin.Android | 100.0 - 100.15 |
Xamarin.iOS | 100.0 - 100.15 |
UWP | 100.0 - 200.6 |