# DiagramEditableDragSettingsBuilder

## Methods

### Snap(System.Action)

Specifies the shapes drag snap options. By default, during dragging, the shapes move by a given number of pixels at once. You can disable this behavior to make shapes movement smooth or you can specify a different number for the drag snap size to simulate a snap-to-grid functionality.

#### Parameters

##### configurator - System.Action<[DiagramEditableDragSnapSettingsBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/diagrameditabledragsnapsettingsbuilder)>

The configurator for the snap setting.

#### RETURNS

Returns the current instance of [DiagramEditableDragSettingsBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/diagrameditabledragsettingsbuilder) .

### Snap(System.Boolean)

Specifies the shapes drag snap options. By default, during dragging, the shapes move by a given number of pixels at once. You can disable this behavior to make shapes movement smooth or you can specify a different number for the drag snap size to simulate a snap-to-grid functionality.

#### Parameters

##### enabled - `System.Boolean`

Enables or disables the snap option.

#### RETURNS

Returns the current instance of [DiagramEditableDragSnapSettingsBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/diagrameditabledragsnapsettingsbuilder) .
