xyzzer / WinRTXamlToolkit

WinRT XAML Toolkit
Other
282 stars 67 forks source link

Drag&Drop shapes? #41

Open pcdus opened 7 years ago

pcdus commented 7 years ago

Hello, I just download your sample and I would like to know if there is a way to use the ToolKit do drag&drop basic shapes (rectangle, circle, triangle) on a main area (Canvas?) and the resize or move these shapes... Thanks in advance!

xyzzer commented 7 years ago

IIRC there is some attached behavior to support some drag&drop of an element within the bounds of the current parent element, but I would say it's there more as a demo of how you could do it rather than a full-featured drag&drop implementation. Check "Control Extensions"/"Behavior" in the sample app.