Gets or sets the type of custom drawing performed on this table.
Namespace: MindFusion.Diagramming.Wpf
Assembly: MindFusion.Diagramming.Wpf
C# Copy Code |
---|
public CustomDraw CustomDraw { get; set; } |
Visual Basic Copy Code |
---|
Public Property CustomDraw As CustomDraw |
A member of the CustomDraw enumeration. Initialized with the value of TableCustomDraw.
This property allows invoking custom painting code for a table. That code must execute in response to the DrawNode event. There are several modes of custom painting, allowing the custom code to paint the table 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 table interior and frame are painted by WpfDiagram, but before cells are rendered. | |
The component does not do any standard drawing of the table frame, whose painting is left for the application. Cells are painted independently, as set in CellCustomDraw. | |
Only the shadow of the table is painted by custom code, the table itself is drawn by the component. | |
The custom painting code executes after all parts of the table, including its cells, are painted by WpfDiagram. |
This property doesn't affect the painting of table cells. Table cells can be custom painted by the DrawCell event as set in CellCustomDraw.
WpfDiagram Programmer's Guide | © 2024 MindFusion |