I have used the CustomCanvas panel inside the ScrollViewer. i have tried to show the drop event to the CustomCanvas panel. but it doesn't gets fired.
Codes:
Xaml:
<ScrollViewer x:Name="lvw_Viewer" Height="160" IsTabStop="False" Margin="10" Grid.Column="1" Grid.Row="0" Visibility="Visible" >
<converter:ScrollableCanvas Grid.Row="0" x:Name="lvw_Canvas" />
</ScrollViewer>
Code-Behind
this.lvw_Viewer.AllowDrop = true;
this.lvw_Canvas.AllowDrop = true;
this.lvw_Canvas.Drop += lvw_Canvas_Drop;
private void lvw_Canvas_Drop(object sender, DragEventArgs e)
{
}
Please let me know if you have any answers.
Regards,
Ganeshkumar