DiagramGridSettings.SnapToGrid Property
In This Article
Specifies whether diagram elements should snap to grid lines.
Namespace: DevExpress.Web.ASPxDiagram
Assembly: DevExpress.Web.ASPxDiagram.v24.2.dll
NuGet Package: DevExpress.Web
#Declaration
#Property Value
Type | Default | Description |
---|---|---|
Boolean | true |
|
#Property Paths
You can access this nested property as listed below:
Library | Object Type | Path to Snap |
---|---|---|
ASP. |
Diagram |
|
ASP. |
ASPx |
|
#Remarks
Use the SnapToGrid property to programmatically specify whether diagram elements should snap to grid lines.
Users can enable/disable this functionality via the UI.
See Also