MindFusion.Wpf Pack Programmer's Guide
DiagramBase.DrawNode Event
See Also
 





Raised when a diagram node must be custom drawn.

Namespace: MindFusion.Diagramming.Wpf
Assembly: MindFusion.Diagramming.Wpf

 Syntax

C#  Copy Code

public event EventHandler<DrawNodeEventArgs> DrawNode

Visual Basic  Copy Code

Public Event DrawNode As EventHandler(Of DrawNodeEventArgs)

 Event Data

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

Member name

Description

Node

The DiagramNode that should be custom drawn.

Bounds

The bounding rectangle of the node being drawn.

Graphics

A DrawingContext instance whose methods should be used to draw the node.

 Remarks

This event is raised for nodes whose CustomDraw property is enabled.

 See Also

DiagramBase Members
DiagramBase Class
MindFusion.Diagramming.Wpf Namespace
DrawLink Event