Xceed Toolkit Plus for WPF v5.0 Documentation
Xceed.Wpf.Toolkit Assembly / Xceed.Wpf.Toolkit.Panels Namespace / IterativeAnimator Class / GetNextChildPlacement Method


In This Topic
    GetNextChildPlacement Method (IterativeAnimator)
    In This Topic
    Called iteratively while a child is animating to its target placement rect. Each iteration should result in a new placement rect until the target placement is reached.
    Syntax
    'Declaration
     
    Public MustOverride Function GetNextChildPlacement( _
       ByVal child As UIElement, _
       ByVal currentTime As TimeSpan, _
       ByVal currentPlacement As Rect, _
       ByVal targetPlacement As Rect, _
       ByVal activeLayout As AnimationPanel, _
       ByVal animationRate As AnimationRate, _
       ByRef placementArgs As Object, _
       ByRef isDone As Boolean _
    ) As Rect
    'Usage
     
    Dim instance As IterativeAnimator
    Dim child As UIElement
    Dim currentTime As TimeSpan
    Dim currentPlacement As Rect
    Dim targetPlacement As Rect
    Dim activeLayout As AnimationPanel
    Dim animationRate As AnimationRate
    Dim placementArgs As Object
    Dim isDone As Boolean
    Dim value As Rect
     
    value = instance.GetNextChildPlacement(child, currentTime, currentPlacement, targetPlacement, activeLayout, animationRate, placementArgs, isDone)
    public abstract Rect GetNextChildPlacement( 
       UIElement child,
       TimeSpan currentTime,
       Rect currentPlacement,
       Rect targetPlacement,
       AnimationPanel activeLayout,
       AnimationRate animationRate,
       ref object placementArgs,
       out bool isDone
    )

    Parameters

    child
    currentTime
    currentPlacement
    targetPlacement
    activeLayout
    animationRate
    placementArgs
    isDone
    Requirements

    Target Platforms: Windows 11, Windows 10, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also