Kendo.Mvc.UI.Fluent.DiagramEditableDragSettingsBuilder

Defines the fluent API for configuring DiagramEditableDragSettings

Methods

Snap(System.Action<Kendo.Mvc.UI.Fluent.DiagramEditableDragSnapSettingsBuilder<T,T>>)

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<Kendo.Mvc.UI.Fluent.DiagramEditableDragSnapSettingsBuilder>

The configurator for the snap setting.

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.

In this article
Not finding the help you need?