Back to Devexpress

DiagramControl.GridSize Property

wpf-devexpress-dot-xpf-dot-diagram-dot-diagramcontrol-8e68f553.md

latest1.4 KB
Original Source

DiagramControl.GridSize Property

Gets or sets the size of a grid’s cell. This is a dependency property.

Namespace : DevExpress.Xpf.Diagram

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

NuGet Package : DevExpress.Wpf.Diagram

Declaration

csharp
public Size? GridSize { get; set; }
vb
Public Property GridSize As Size?

Property Value

TypeDescription
Nullable<Size>

The size of a grid’s cell.

|

Remarks

The grid is visible if the DiagramControl.ShowGrid property is set to true.

If the GridSize property is set to null , the grid size is automatically calculated based on the current zoom level (the value of the DiagramControl.ZoomFactor property).

See Also

DiagramControl Class

DiagramControl Members

DevExpress.Xpf.Diagram Namespace