Hi,
Look at the Remarks for the DragSelectingTool class.
I did that before the post , it did’nt help me.
To be sure, I just added that XAML to a random sample Diagram, and it changed the “rubber-band” drag-selection behavior just as advertised.
So I don’t know what to say. Maybe there’s something different about your app? I suppose you could try adding the same XAML into one of the sample apps, to see if it works for you at all.
I found a solution , im just gonna post it for others to see if they’ll need it one day .
If I understand you correctly, that is exactly the effect one gets when setting the DragSelectingTool.Include property, as the documentation shows can be done in XAML without writing any code.
when u sayd "remarks" i did'nt get the specific location of what u ment, perhaps it could be easier to understand , if u posted the hole thing like:
This is a standard mouse-move tool.
For example, you can change the selection policy in XAML by:
Then I would'nt hhave to do stuff like override DragSelectinTool methods!
any way your solution is much better than mine for sure...
thanks ,
Leo
I’m sorry – I thought the context of looking at documentation was clear, so that “Remarks” had to refer to the “Remarks” section of the API documentation for that class.
Well, that’s what I get for trying to answer early in the morning before going to work.
A detailed answer (which in this case required copy paste) is always better then 8 words .
no harm done . thanks Leo.I was using a tablet, and it’s hard to type much or to copy-and-paste from the documentation on our web site with a tablet. Keyboard and mouse are much better for writing.