MindFusion.Wpf Pack Programmer's Guide
DiagramItem.Draw Method
See Also
 





Draws the item on the specified DrawingContext object.

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

 Syntax

C#  Copy Code

public abstract void Draw (
    DrawingContext graphics,
    RenderOptions options
)

Visual Basic  Copy Code

Public MustOverride Sub Draw( _
    graphics As DrawingContext, _
    options As RenderOptions _
)

 Parameters

graphics
A DrawingContext object where the item should be rendered.
options

Provides options for the drawing operation.

 Remarks

Diagramming for WPF calls this method to draw a representation of the diagram item onto the specified drawing surface. Implement this method in custom node or link types if you need to provide your own drawing functionality.

 See Also

DiagramItem Members
DiagramItem Class
MindFusion.Diagramming.Wpf Namespace