# Grip class

Namespace: [Grasshopper2.UI.Canvas.Shapes](https://developer.rhino3d.com/api/gh2/namespace/grasshopper2.ui.canvas.shapes.md) · Assembly: [Grasshopper2](https://developer.rhino3d.com/api/gh2/assembly/grasshopper2.md)

```cs
public sealed class Grip
```

UI shape grip base class.

## Constructors

- [Grip](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.canvas.shapes.grip/ctor.md)

## Properties

- [Index](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.canvas.shapes.grip/index.md): Gets the index of this grip within the shape.
- [Info](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.canvas.shapes.grip/info.md): Gets the tooltip info of this grip.
- [Location](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.canvas.shapes.grip/location.md): Gets the location of this shape.
- [Name](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.canvas.shapes.grip/name.md): Gets the name of this grip.
- [ParentIndex](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.canvas.shapes.grip/parentindex.md): Gets the index of the parent grip (if any).
- [Shape](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.canvas.shapes.grip/shape.md): Gets the grip shape.

## Methods

- [Move](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.canvas.shapes.grip/move.md): Move this grip to a new location.
- [MoveTo](https://developer.rhino3d.com/api/gh2/type/grasshopper2.ui.canvas.shapes.grip/moveto.md): Move this grip to a new location.
