バージョン 24.2 (最新)

CanSwapContainers メソッド

コンテナーをスワップできる場合は True を返します。
シンタックス
protected internal virtual bool CanSwapContainers( 
   FrameworkElement dragItemContainer,
   ItemInfoBase dragItemInfo,
   FrameworkElement swapTargetContainer,
   ItemInfoBase swapTargetItemInfo
)

パラメータ

dragItemContainer
ドラッグされる項目のコンテナー。
dragItemInfo
関連するドラッグ項目の情報。
swapTargetContainer
スワップのターゲットであるコンテナー。
swapTargetItemInfo
関連するスワップ ターゲット項目の情報。

戻り値の型

双方のコンテナーが最大化されている場合、もしくは双方のコンテナーが最大化されていない場合、デフォルトの実装は True を返します。
参照