WinForms Vs WPF
During this quarantine, I have been learning C# by myself using different kinds of courses but some days ago I start to create some UI and I looked that some courses teach WinForms and others WPF. So...which is better? what may I learn first? and what's the difference between them? Have a nice day 💁🏼♀️💁🏼♀️💁🏼♀️
8/17/2020 5:05:12 PMAriadne Rangel
2 AnswersNew Answer
"The single most important difference between WinForms and WPF is the fact that while WinForms is simply a layer on top of the standard Windows controls (e.g. a TextBox), WPF is built from scratch and doesn't rely on standard Windows controls in almost all situations." https://www.wpf-tutorial.com/about-wpf/wpf-vs-winforms/ There's no need to learn XAML when developing WPF applications using Microsoft Visual Studio if you also install the Expression Blend add on, which comes with the WPF workflow. Expression Blend is a visual design tool for application layouts.
winform is old but u get the basic from learning it. For wpf, u need to learn xaml and data binding (...).