Raised when a table's cell must be custom drawn.
Namespace: MindFusion.Diagramming.Wpf
Assembly: MindFusion.Diagramming.Wpf
C# Copy Code |
---|
public event EventHandler<DrawCellEventArgs> DrawCell |
Visual Basic Copy Code |
---|
Public Event DrawCell As EventHandler(Of DrawCellEventArgs) |
DrawCell event handlers receive an argument of type DrawCellEventArgs. The following DrawCellEventArgs members provide information relevant to the event:
Member name | Description |
---|---|
The TableNode containing the cell that should be custom drawn. | |
The Cell that should be custom drawn. | |
Index of the column containing the cell. | |
Index of the row containing the cell. | |
The bounding rectangle of the cell being drawn. | |
A DrawingContext instance whose methods should be used to draw the cell contents. |
This event is raised for tables whose CellCustomDraw property is enabled.
WpfDiagram Programmer's Guide | © 2024 MindFusion |