I'm trying to set a WrapPanel as DropTarget using the following approach:
// Setup Drop TargetDropTarget dropTarget = new DropTarget();dropTarget.IsDropTarget = true;dropTarget.DropChannels.Add("ChannelA");DragDropManager.SetDropTarget(tabsContentPanel, dropTarget);
where "tabsContentPanel" is a WrapPanel.
This approach works on a ListBox and also on XamTree items contained in the WrapPanel. But when I set it on the WrapPanel, it doesn't allow dropping to the blank area of the WrapPanel.
Need help in setting the unoccupied area of a WrapPanel as a DropTarget!
Question on Forum Posting: Is there a way to insert a code snippet without causing the automatic formatting to foul things up???
I took great pains to remove the linebreaks (or paragraph breaks) from the code in the above post but it still rendered the remaining text barely readablle.
Help!
Also, how would one attach a file such as a code file? Do you use the Insert Media button?