Search
Diagram.Invalidate Method (Object, 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 (
    Object sender,
    Rect invalidRect
)

Visual Basic  Copy Code

Public Sub Invalidate( _
    sender As Object, _
    invalidRect As Rect _
)

 Parameters

sender
The object that causes the diagram invalidation.
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