# Grasshopper2.UI.Grid namespace

Assembly: [Grasshopper2](https://developer.rhino3d.com/api/gh2/assembly/grasshopper2.md)

## Interfaces

- [ISnapElement](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.grid.isnapelement.md): Base interface for all snapping elements (points, lines, segments, circles, what have you.
- [ISnapProvider](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.grid.isnapprovider.md): Base interface for snapping grids.

## Classes

- [AxisStyle](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.grid.axisstyle.md): Bundles axial display properties.
- [Label](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.grid.label.md): A single label.
- [LabelCoverage](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.grid.labelcoverage.md): Provides methods for populating a region with non-overlapping labels.
- [LineStyle](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.grid.linestyle.md): Bundles gridlines property.
- [MarkStyle](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.grid.markstyle.md): Display properties for grid markers.
- [OrthoGrid](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.grid.orthogrid.md): Immutable class for rendering orthogonal grids into graphics contexts.

## Enums

- [GridElements](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.grid.gridelements.md): Enumerates the elements that make up a grid.
- [LabelAlignment](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.grid.labelalignment.md): Enumerates the defined label alignments.
- [LabelFreedom](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.grid.labelfreedom.md): Enumerates the ways in which a label may be moved to keep it visible.
- [LineType](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.grid.linetype.md): Enumerates the possible display styles for grid lines and axes.
- [MarkerPosition](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.grid.markerposition.md): Enumerates the various positions in which grid markers can be drawn.
