Search
ResolveNodePosition Delegate
See Also
 





Represents a method that determines the position of a data item within the diagram.

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

 Syntax

C#  Copy Code

public delegate Rect ResolveNodePosition (
    Object dataItem
)

Visual Basic  Copy Code

Public Delegate Function ResolveNodePosition( _
    dataItem As Object _
) As Rect

 Parameters

dataItem

A data item whose position should be returned.

 Return Value

A System.Windows.Rect specifying the item's position.

 Remarks

By default, VirtualizingDiagram determines the position of a data item by inspecting its X, Y, Width and Height properties through reflection. By assigning this delegate method to the ResolveNodePosition property of VirtualizingDiagram, you can place items whose position properties are named differently or whose position is stored elsewhere.

 See Also