Search
TableNode.CellCustomDraw Property
See Also
 





Gets or sets the type of custom drawing performed on the table cells.

Namespace: MindFusion.Diagramming.Wpf
Assembly: MindFusion.Diagramming.Wpf

 Syntax

C#  Copy Code

public CustomDraw CellCustomDraw { get; set; }

Visual Basic  Copy Code

Public Property CellCustomDraw As CustomDraw

 Property Value

A member of the CustomDraw enumeration. Initialized with the value of CellCustomDraw.

 Remarks

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

None

Do not perform custom drawing, let all painting be done by WpfDiagram.

Additional

The custom painting code executes after the cell interior is painted by WpfDiagram, 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 WpfDiagram.

 See Also