Search
RenderCallback(T) Delegate
See Also
 





This delegate declares the prototype of drawing callbacks called by various icon Renderers.

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

 Syntax

C#  Copy Code

public delegate bool RenderCallback<T> (
    T item,
    DrawingContext graphics,
    Rect bounds
)

Visual Basic  Copy Code

Public Delegate Function RenderCallback(Of T) ( _
    item As T, _
    graphics As DrawingContext, _
    bounds As Rect _
) As Boolean

 Parameters

item

The diagram item that invokes the callback.

graphics

A DrawingContext object representing the drawing canvas.

bounds

The icon's bounding rectangle.

 Return Value

true to prevent standard icon rendering, ot false to apply it.

 See Also