Gets or sets the type of custom drawing performed on this shape node.
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 ShapeCustomDraw.
Member Name | Description |
---|---|
Do not perform custom drawing, let all painting be done by WpfDiagram. | |
The custom painting code executes after the node interior and frame are painted by WpfDiagram, but before text is rendered. In this mode, the DrawingContext instance passed to the custom drawing event handler has a clipping region applied to it. | |
The component does not do any standard drawing, the entire painting of the node is done by the application. | |
Only the shadow of the node is painted by custom code, the node itself is drawn by the component. | |
The custom painting code executes after all parts of the node are painted by WpfDiagram. In this mode, the DrawingContext instance passed to the custom drawing event handler doesn't have a clipping region applied to it. |
WpfDiagram Programmer's Guide | © 2024 MindFusion |