Answer the question
In order to leave comments, you need to log in
A ready-made component for stretching shapes?
Everyone knows about the arrows that appear when creating a shape in Paint / Paint3D and allow you to stretch it.
Is there a similar functionality in WPF, if not, what is the easiest way to implement it?
Answer the question
In order to leave comments, you need to log in
Basic - no.
As far as I remember such things are done via Behavior's or addonners
Here's an old example of a behavior using the System.Windows.Interactivity library
10rem.net/blog/2010/01/09/a-wpf-behavior-for-windo...
Here's an even older one , but here, in my opinion, a more correct approach is through custom controls and Addonners, you can simply get the necessary pieces of code for yourself.
https://www.codeproject.com/Articles/22952/WPF-Dia...
And here is just the documentation, where all the necessary knowledge to make the same, but your own with blackjack and queens
https://docs.microsoft.com/ en-us/dotnet/framework/...
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question