Search
Diagram.DrawGrid Method
See Also
 





Renders the diagram grid.

Namespace: MindFusion.Diagramming.Avalonia
Assembly: MindFusion.Diagramming.Avalonia

 Syntax

C#  Copy Code

protected virtual void DrawGrid (
    DrawingContext graphics,
    Nullable<Rect> viewport
)

Visual Basic  Copy Code

Protected Overridable Sub DrawGrid( _
    graphics As DrawingContext, _
    viewport As Nullable(Of Rect) _
)

 Parameters

graphics

A DrawingContext instance representing the target drawing surface where the grid should be rendered.

viewport

 See Also