Search
Diagram.Invalidate Method (Object, RectangleF)
See Also
 





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

Namespace: MindFusion.Diagramming
Package: MindFusion.Diagramming

 Syntax

C#  Copy Code

public void Invalidate (
    Object sender,
    RectangleF invalidRect
)

Visual Basic  Copy Code

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

 Parameters

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