Version

OnContainersSwapped Method

Called when a container dropped on another to swap it.
Syntax
'Declaration
 
Protected Friend Overridable Sub OnContainersSwapped( _
   ByVal dragItemContainer As FrameworkElement, _
   ByVal dragItemInfo As ItemInfoBase, _
   ByVal swapTargetContainer As FrameworkElement, _
   ByVal swapTargetItemInfo As ItemInfoBase _
) 
protected internal virtual void OnContainersSwapped( 
   FrameworkElement dragItemContainer,
   ItemInfoBase dragItemInfo,
   FrameworkElement swapTargetContainer,
   ItemInfoBase swapTargetItemInfo
)

Parameters

dragItemContainer
The container of the item that was dragged.
dragItemInfo
The associated drag item's info
swapTargetContainer
The container that is the target of the swap.
swapTargetItemInfo
The associated swap target item's info
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, 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