MindFusion.Wpf Pack Programmer's Guide
Diagram.ArrangeAnimated Method
See Also
 





Arranges the diagram using the given layout, and animates items moving to their new positions.

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

 Syntax

C#  Copy Code

public bool ArrangeAnimated (
    Layout layout,
    int duration,
    AnimationType animationType,
    EasingType easingType
)

Visual Basic  Copy Code

Public Function ArrangeAnimated( _
    layout As Layout, _
    duration As Integer, _
    animationType As AnimationType, _
    easingType As EasingType _
) As Boolean

 Parameters

layout

The layout algorithm to apply.

duration

An integer, specifying the duration of the animation in milliseconds.

animationType

A member of the AnimationType enumeration, specifying the animation type to use.

easingType

A member of the EasingType enumeration, specifying the type of easing function to apply to the animation.

 Return Value

true if the diagram has been arranged successfully; or false otherwise.

 See Also

Diagram Members
Diagram Class
MindFusion.Diagramming.Wpf Namespace