Answer the question
In order to leave comments, you need to log in
How to draw, create animations and render data in wpf/uwp?
Hello!
Windows Forms has a GDI+ library with various methods for drawing, as well as the OnPaint event, which allows you to draw or render data in desktop applications.
However, WPF/UWP does not have either GDI+ or OnPaint events.
But there are several options for drawing:
1. Use controls from Windows Forms: this is like a crutch, and perhaps Microsoft will abandon Windows Forms.
2. DirectX-OpenGl: very low-level compared to GDI+, it is relatively difficult to integrate a component on a form + minuses from the first point (if it is a Windows Forms control).
3. Adding various elements (lines, shapes) to the Canvas: the result is a Canvas with a collection of elements, not an image. How in this case to implement, for example, an eraser?
4. InkCanvas: very limited in functionality.
Can you please tell me how to properly render and draw in wpf / uwp desktop applications, while retaining the ability to use other controls, or is it better to choose another language for such tasks?
Answer the question
In order to leave comments, you need to log in
Now I can ask a stupidity: do you even have virtualization support enabled in the BIOS? Enable support in the BIOS, if there is none at all (an old motherboard, for example), disable PAE on the virtualbox.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question