DiagramControl.ShowGrid Property

Specifies whether to display grid lines on the Canvas. This is a dependency property.

Namespace: DevExpress.Xpf.Diagram

Assembly: DevExpress.Xpf.Diagram.v20.2.dll

Declaration

public bool ShowGrid { get; set; }
Public Property ShowGrid As Boolean

Property Value

Type Description
Boolean

true to display grid lines on the canvas; otherwise, false.

Remarks

The MeasureUnit value affects the grid cell size.

Implements

DevExpress.Diagram.Core.IDiagramControl.ShowGrid
See Also