Search
Diagram.Invalidate Method (Rect)
See Also
 





Invalidates the specified rectangle of the diagram, causing it to be repainted.

Namespace: MindFusion.Diagramming
Assembly: MindFusion.Diagramming

 Syntax

C#  Copy Code

public void Invalidate (
    Rect invalidRect
)

Visual Basic  Copy Code

Public Sub Invalidate( _
    invalidRect As Rect _
)

 Parameters

invalidRect
A Microsoft.Maui.Graphics.Rect instance specifying the region that should be repainted. If not specified, the whole diagram will be repainted.

 Remarks

This method raises the Repaint event. DiagramView objects handle Repaint by redrawing the specified diagram region.

 See Also