borice
Stefan,
Thanks for your answer.
Do you happen to have anything that would get me started on (b)
If I understand this correctly, I would need to create my own "selection" EditingMode (let's call it MySelectionEditingMode) that I will use in place of the default selection editing mode, like so:
whenever selection behavior is needed, instead of setting InkCanvas.EditingMode = InkCanvasEditingMode.Select I would set InkCanvas.EditingMode = (InkCanvasEditingMode)MySelectionEditingMode, where MySelectionEditingMode would be a constant with a value different from any found in the default InkCanvasEditingMode. [something tells me that's not going to work... ]
Then I will probably need to override OnStylusDown, OnStylusUp, OnStylusMove (and similarly for mouse events) and take care of the rendering of the lasso, the logic behind figuring out what has been selected based on the lasso, and finally drawing the selection adorner and custom handling everything regarding selection move, resize, etc... and their respective visual feedbacks.
I'm still not sure if this will work because if I then use the default implementation of InkCanvas.Select(...), wouldn't that mess things up
Is my analysis correct or have I understood this wrong
As I only have about 1 month experience with WPF (but enough experience with C# on .NET 2.0, and Tablet PC SDK), I guess I'm a little worried that going this deep in having to manually deal with lasso drawing and other such things might pose some challenges for me as I'm uncertain about what the best way to do this is in WPF.
Thank you very much for your assistance.
Regards,
Boris Capitanu