<Window x:Class="SampleListTree.MainWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
        xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
        xmlns:Syncfusion="http://schemas.syncfusion.com/wpf"
        xmlns:local="clr-namespace:SampleListTree"
        mc:Ignorable="d"
        Title="MainWindow" Height="450" Width="800">
    <Grid>
        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="*"></ColumnDefinition>
            <ColumnDefinition Width="*"></ColumnDefinition>
        </Grid.ColumnDefinitions>
        <Grid.RowDefinitions>
            <RowDefinition Height="28"></RowDefinition>
            <RowDefinition Height="*"></RowDefinition>
            <RowDefinition Height="28"></RowDefinition>
            <RowDefinition Height="*"></RowDefinition>
        </Grid.RowDefinitions>
        <TextBox  Grid.Row="0" Grid.Column="0" FontSize="18" Grid.ColumnSpan="2" Background="LightGray" TextAlignment="Center" Text="Drag from ListBox to syncfusion.TreeviewAdv"/>
        <ListBox Name="ListSource" Margin="30,30,30,30" Grid.Row="1" Grid.Column="0" Background="FloralWhite"
                  PreviewMouseLeftButtonDown="ListSource_PreviewMouseLeftButtonDown"
				  MouseMove="ListSource_MouseMove">            
        </ListBox>
        <Syncfusion:TreeViewAdv Name="TargetTree" Margin="30,30,30,30" Grid.Row="1" Grid.Column="1" Background="LightBlue" 
                  AllowDrop="True"
                  DragEnter="TargetTree_DragEnter"
                  DragDrop.Drop="TargetTree_Drop">            
        </Syncfusion:TreeViewAdv>
        <TextBox  Grid.Row="2" Grid.Column="0" FontSize="18" Grid.ColumnSpan="2" Background="LightGray" TextAlignment="Center" Text="Drag from ListBox to Treeview"/>
        <ListBox Name="ListSource2" Margin="30,30,30,30" Grid.Row="3" Grid.Column="0" Background="FloralWhite"
                  PreviewMouseLeftButtonDown="ListSource2_PreviewMouseLeftButtonDown"
				  MouseMove="ListSource2_MouseMove">
        </ListBox>
        <TreeView Name="TargetTree2" Margin="30,30,30,30" Grid.Row="3" Grid.Column="1" Background="DarkSeaGreen" 
                  AllowDrop="True"
                  DragEnter="TargetTree2_DragEnter"
                  DragDrop.Drop="TargetTree2_Drop">
        </TreeView>
    </Grid>
</Window>
