Skip to end of metadata
Go to start of metadata

This example shows how to move item from unbound ListBox to bound ListBox and using UXPanel.

Example

Description

UXPanel does not allow moving items from an unbound ListBox to a bound ListBox since unbound ListBox does not have data context assigned to it. Therefore you need to create the data context at PrepareDropEvent and assign it as drop objects. 

All drag-drop events are built on routed event architecture including the DropEvent. To learn more about routed event, see Routed Events overview.

Code

XAML
C#