Gets or sets the type of custom drawing performed on the table cells.
Namespace: MindFusion.Diagramming
Package: MindFusion.Diagramming
C# Copy Code |
---|
public CustomDraw CellCustomDraw { get; set; } |
Visual Basic Copy Code |
---|
Public Property CellCustomDraw As CustomDraw |
A member of the CustomDraw enumeration. Initialized with the value of CellCustomDraw.
This property allows invoking custom painting code for the cells of a table. That code must execute in response to the DrawCell event. There are several modes of custom painting, allowing the custom code to paint the cell entirely, or do that in addition to what NetDiagram paints by default. The following CustomDraw members can be assigned to this property to specify the custom painting mode:
Member Name | Description |
---|---|
None | Do not perform custom drawing, let all painting be done by NetDiagram. |
Additional | The custom painting code executes after the cell interior is painted by NetDiagram, but before the cell's text is rendered. |
Full | The component does not do any standard drawing of the cell, the entire painting is left for the application. |
Additional2 | The custom painting code executes after all parts of the cell, including its text, are painted by NetDiagram. |
NetDiagram Programmer's Guide | © 2023 MindFusion |