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





Raised when a table's cell must be custom drawn.

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

 Syntax

C#  Copy Code

public event EventHandler<DrawCellEventArgs> DrawCell

Visual Basic  Copy Code

Public Event DrawCell As EventHandler(Of DrawCellEventArgs)

 Event Data

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

Member name

Description

Table

The TableNode containing the cell that should be custom drawn.

Cell

The Cell that should be custom drawn.

Column

Index of the column containing the cell.

Row

Index of the row containing the cell.

Bounds

The bounding rectangle of the cell being drawn.

Graphics

DrawingContext instance whose methods should be used to draw the cell contents.

 Remarks

This event is raised for tables whose CellCustomDraw property is enabled.

 See Also

DiagramBase Members
DiagramBase Class
MindFusion.Diagramming.Wpf Namespace
DrawNode Event
ActionRedone Event