Represents a method that determines the position of a data item within the diagram.
Namespace: MindFusion.Diagramming.Wpf
Assembly: MindFusion.Diagramming.Wpf
C# Copy Code |
---|
public delegate Rect ResolveNodePosition ( |
Visual Basic Copy Code |
---|
Public Delegate Function ResolveNodePosition( _ |
A data item whose position should be returned.
A System.Windows.Rect specifying the item's position.
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.
WpfDiagram Programmer's Guide | © 2024 MindFusion |