Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 

#Snap To Lines Sample

This sample demonstrates how to enable or disable the snapping to gridlines. It allows the diagram objects to snap to the nearest intersection of the gridlines while being dragged or resized. Snapping to gridlines can be enabled or disabled with the SnapConstraints.

Demo link:

https://blazor.syncfusion.com/demos/diagramcomponent/snapping?theme=fluent

Prerequisites

  • Visual Studio 2022

How to run the project

  • Checkout this project to a location in your disk.
  • Open the solution file using the Visual Studio 2022.
  • Restore the NuGet packages by rebuilding the solution.
  • Run the project.