All docs
V20.2
20.2
20.1
19.2
19.1
The page you are viewing does not exist in version 19.1. This link will take you to the root page.
18.2
The page you are viewing does not exist in version 18.2. This link will take you to the root page.
18.1
The page you are viewing does not exist in version 18.1. This link will take you to the root page.
17.2
The page you are viewing does not exist in version 17.2. This link will take you to the root page.

ASPxDiagram.SettingsGrid Property

Provides access to grid settings.

Namespace: DevExpress.Web.ASPxDiagram

Assembly: DevExpress.Web.ASPxDiagram.v20.2.dll

Declaration

public DiagramGridSettings SettingsGrid { get; }
Public ReadOnly Property SettingsGrid As DiagramGridSettings

Property Value

Type Description
DiagramGridSettings

An object that contains the grid settings.

Available values:

Name Description
Size

Specifies the grid's pitch.

SnapToGrid

Specifies whether diagram elements should snap to grid lines.

Visible

Specifies whether grid lines are visible.

ToString()

This method is not in effect for the DiagramGridSettings class.

Assign(PropertiesBase)

Copies public properties from the specified object to the current object.

DiagramGridSettings(IPropertiesOwner)

Initializes a new DiagramAutoLayoutSettings class instance with the specified owner.

Remarks

<dx:ASPxDiagram ID="Diagram" runat="server" Units="Cm">
  <SettingsGrid Size="1" Visible="False"/>
</dx:ASPxDiagram>
See Also