MindFusion.Wpf Pack Programmer's Guide
SpringLayout.Iterate Method (Int32, Int32, Boolean)
See Also
 





Runs one or more layout iterations.

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

 Syntax

C#  Copy Code

public void Iterate (
    int iterationFrom,
    int iterationTo,
    bool asynchronous
)

Visual Basic  Copy Code

Public Sub Iterate( _
    iterationFrom As Integer, _
    iterationTo As Integer, _
    asynchronous As Boolean _
)

 Parameters

iterationFrom

Specifies from which iteration to start.

iterationTo

Specifies at which iteration to stop.

asynchronous

true to disable UI updates, or false otherwise.

 Remarks

Use this method to create an animation of the layout process, for example, by calling it from a timer. Call BeginArrange to prepare the layout object for use of Iterate, and call EndArrange when done. Each call to Iterate starts from the iteration next to the one where the previous call has stopped. Setting the asynchronous argument to true will let you run SpringLayout calculations from a worker thread.

 See Also

Iterate Method Overload List
SpringLayout Members
SpringLayout Class
MindFusion.Diagramming.Wpf.Layout Namespace