Class Grid
Grid is a base class for MGRSGrid, USNGGrid, UTMGrid and LatitudeLongitudeGrid that represents the display of a coordinate system grid on the map view.
Namespace: Esri.ArcGISRuntime.UI
Assembly: Esri.ArcGISRuntime.dll
Syntax
public abstract class Grid
Remarks
It contains all of the common operations and properties that apply to displaying and working with the different grids currently supported. This includes toggling visibility and configuring layout and appearance preferences.
Properties
Name | Description |
---|---|
IsLabelVisible | Gets or sets a value indicating whether grid's labels are visible. |
IsVisible | Gets or sets a value indicating whether the grid is visible. |
LabelOffset | Gets or sets the grid's text label offset from the edge of the map view in DIPS. |
LabelPosition | Gets or sets the positioning of the grid's labels. |
LevelCount | Gets the number of levels of resolution supported by the grid. The line and label style can be set for each of these resolution levels. |
Methods
Name | Description |
---|---|
GetLineSymbol(Int64) | Returns the line symbol used for the grid lines at the given resolution level. |
GetTextSymbol(Int64) | Returns the text symbol used for the grid labels at the given resolution level. |
SetLineSymbol(Int64, Symbol) | Sets the line symbol used for the grid lines at the given resolution level. |
SetTextSymbol(Int64, Symbol) | Sets the text symbol used for the grid labels at the given resolution level. |
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 |