Search
DiagramBase.DrawForeground Event
See Also
 





Raised to let you custom draw the diagram foreground.

Namespace: MindFusion.Diagramming
Assembly: MindFusion.Diagramming

 Syntax

C#  Copy Code

public event EventHandler<DiagramEventArgs> DrawForeground

Visual Basic  Copy Code

Public Event DrawForeground As EventHandler(Of DiagramEventArgs)

 Event Data

DrawForeground event handlers receive an argument of type DiagramEventArgs. The following DiagramEventArgs members provide information relevant to the event:

Member name

Description

Graphics

Gets an object implementing the IGraphics interface whose methods should be used to draw the custom graphics.

VisibleRect

Specifies what part of the diagram is currently visible.

ClipRect

Gets the current clipping rectangle.

 Remarks

This event is raised after all diagram elements has been rendered, but before drawing the diagram boundaries with BoundsPen.

 See Also