# DragPickingMode enum

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

```cs
public enum DragPickingMode
```

Enumerates the various selection contexts.

## Values

| Name | Value | Description |
| --- | --- | --- |
| Default | 0 | Picking mode is based on keyboard state. |
| SubObject | 1 | Subobjects are dragged if supported, otherwise whole objects are dragged. |
| OneObject | 2 | Whole objects are dragged. |
| AllObjects | 3 | All objects in a parameter are dragged at once. |
