ASP.NET Pack Programmer's Guide
DiagramBase.DrawCell Event
See Also
 





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

Namespace: MindFusion.Diagramming
Package: MindFusion.Diagramming

 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

Gets the bounding rectangle of the cell being drawn.

Graphics

An object implementing the IGraphics interface 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 Namespace
DrawNode Event
ActionRedone Event