Raised to let you custom draw the diagram background.
Namespace: MindFusion.Diagramming
Assembly: MindFusion.Diagramming
C# Copy Code |
---|
public event EventHandler<DiagramEventArgs> DrawBackground |
Visual Basic Copy Code |
---|
Public Event DrawBackground As EventHandler(Of DiagramEventArgs) |
DrawBackground event handlers receive an argument of type DiagramEventArgs. The following DiagramEventArgs members provide information relevant to the event:
Member name | Description |
---|---|
Gets an object implementing the IGraphics interface whose methods should be used to draw the custom graphics. | |
Specifies what part of the diagram is currently visible. | |
Gets the current clipping rectangle. |
This event is raised just after drawing the BackgroundImage and before drawing the alignment grid.
MindFusion.Diagramming Developer's Guide | © 2024 MindFusion |