Using Canvas in Windows Form .net application
11,945
You can use a WPF Canvas in a Windows Forms application. Just place the Canvas inside of an ElementHost control.
Author by
Omkar
Day starts with running to office and work plan for that day. Evening starts with exciting learnings on new and upcoming technologies. Leisure time spent activity is enjoying with family, cycling for fresh mind and health, watching movies.
Updated on June 14, 2022Comments
-
Omkar almost 2 years
I want to create a
Winform
application which displaysDatagrid
,Charts
on it. My requirement is, that the user should be able to position those elements according to his choice, like we droptext box
,label
in winform design view. I know that there is aCanvas
class in WPF, but I want to achieve the same withWinforms
.Can I use the WPF
Canvas
inWinform
? Or is there any other solution?