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>
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.