Search
DiagramItem.GetRepaintRect Method
See Also
 





Gets the repaint region for this item, taking into account factors such as pen, selection handles and shadow.

Namespace: MindFusion.Diagramming
Assembly: MindFusion.Diagramming

 Syntax

C#  Copy Code

public virtual Rect GetRepaintRect (
    bool includeConnected
)

Visual Basic  Copy Code

Public Overridable Function GetRepaintRect( _
    includeConnected As Boolean _
) As Rect

 Parameters

includeConnected
true if related items should be considered too; otherwise, false.

 Return Value

A rectangular region that should be repainted when this item is modified.

 Remarks

This method is invoked when an item is modified by the user, or when an appearance property of the item changes. The returned region is invalidated and redrawn at the next paint operation.

 See Also