If I take a tab strip (like the one in Examples/TabbedDocument) and add the following code in order to only allow dragging the documents within the tab strip they are a part of:
Then when dragging the cursor does weird things. If I start dragging, it shows the red circle (because I can't drop the document on itself). And if the cursor stays within the tab strip, everything is fine. But if I drag down so I'm hovering over one of the documents themselves, the cursor reverts to a simple pointer, even though I'm still dragging. Ideally, it would remain as a red circle, or if I had first hovered over a different tab, changing the cursor to the valid drop cursor, it should switch back to a red circle.
If I then return to the document tab strip (still dragging), the cursor will come back when I hover over the original document tab being dragged, but not any of the others.
radDock1.GetService<DragDropService>().Starting += (sender, args) =>
{
if
((sender
as
DragDropService).DragDropContext == DragDropContext.DocumentWindow)
{
args.Cancel =
true
;
}
};
Then when dragging the cursor does weird things. If I start dragging, it shows the red circle (because I can't drop the document on itself). And if the cursor stays within the tab strip, everything is fine. But if I drag down so I'm hovering over one of the documents themselves, the cursor reverts to a simple pointer, even though I'm still dragging. Ideally, it would remain as a red circle, or if I had first hovered over a different tab, changing the cursor to the valid drop cursor, it should switch back to a red circle.
If I then return to the document tab strip (still dragging), the cursor will come back when I hover over the original document tab being dragged, but not any of the others.