Show / Hide Table of Contents

Class UsngGrid

A class that represents the display of the United States National Grid (USNG) on the map view.

Inheritance
Object
Grid
UsngGrid
Grid.IsVisible
Grid.LabelOffset
Grid.LabelPosition
Grid.IsLabelVisible
Grid.LevelCount
Grid.GetLineSymbol(Int64)
Grid.GetTextSymbol(Int64)
Grid.SetLineSymbol(Int64, Symbol)
Grid.SetTextSymbol(Int64, Symbol)
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)
Object.ToString()
Namespace: Esri.ArcGISRuntime.UI
Assembly: Esri.ArcGISRuntime.dll
Syntax
public sealed class UsngGrid : Grid
Remarks

USNGGrid inherits from Grid and adds a property for the label unit to use.

Constructors

Name Description
UsngGrid()

Initializes a new instance of the UsngGrid class.

Properties

Name Description
LabelUnit

Gets or sets the units used for labeling the grid.

Applies to

TargetVersions
.NET Standard 2.0100.3 - 100.15
.NET 6.0100.13 - 100.15
.NET 6.0 Windows100.13 - 100.15
.NET Framework100.0 - 100.15
.NET 5100.10 - 100.12
.NET Core 3.1100.7 - 100.12
Xamarin.Android100.0 - 100.15
Xamarin.iOS100.0 - 100.15
UWP100.0 - 100.15

Relevant samples

Display grid: Display coordinate system grids including Latitude/Longitude, MGRS, UTM and USNG on a map view. Also, toggle label visibility and change the color of grid lines and grid labels.
In This Article
Back to top Copyright © 2022 Esri.