4 ms·
In order to make a WinForms app look native on Windows 10, you have to do a LOT of manual layout/padding work. It is do-able but it's a lot of work. Of all the
by Jaruzel 9y ago
In order to make a WinForms app look native on Windows 10, you have to do a LOT of manual layout/padding work. It is do-able but it's a lot of work.
Of all the main code platforms that MS push, I'm still pretty much tied to WinForms - I prefer it, and it feels more intuitive to the way I think. It's also been around over 2 decades now, and you can pretty much do ANYTHING with it.
I skipped the WPF revolution, and am just about to dip my toe into UWP apps (I'm not a professional coder). I think I'm going to find it a steep learning curve :(
What I'd LIKE to see, is UWP running on Linux? That would really cement MS's 'run anywhere' concept.
- pjc50 9y agoWhy would anyone want to make an app look Win10 "native"? It looks horrible (something is always up with the font rendering) and I'd actually prefer a WinForms app.
- skocznymroczny 9y agoWhat is considered "native" on Win10? The 'Metro' apps or normal 'boring' Windows apps?
- Jaruzel 9y ago'Win10 Native' in this context is making your app look like it's seamlessly part of the OS. The big change is the default font: Segoe UI Font: - Standard usage: 11pt Regular - Sub Headings: 14pt Semi-bold - Headings: 20pt Regular WinForms in Visual Studio still defaults to MS Sans Serif 8pt - so you have to change that at the form level before you even start. Plus all the controls have NO padding around them, so you have to add padding manually or use panel controls to space stuff. It's a pain, but not insurmountable.
- vitorgrs 9y agoMicrosoft it's already working on Xamarin.Forms for Linux.