Gets or sets the type of custom drawing performed on the table cells.
Namespace: MindFusion.Diagramming.Wpf
Assembly: MindFusion.Diagramming.Wpf
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 WpfDiagram paints by default. The following CustomDraw members can be assigned to this property to specify the custom painting mode:
Member Name | Description |
---|---|
Do not perform custom drawing, let all painting be done by WpfDiagram. | |
The custom painting code executes after the cell interior is painted by WpfDiagram, but before the cell's text is rendered. | |
The component does not do any standard drawing of the cell, the entire painting is left for the application. | |
The custom painting code executes after all parts of the cell, including its text, are painted by WpfDiagram. |
WpfDiagram Programmer's Guide | © 2024 MindFusion |