This question is just about how to develop an WPF
app with control styles exactly matching with Windows 10 Settings APP.
In windows 10 setting App have different styles for combobox
, toggle button
slider control
etc.
Are these custom style available right away to use from Microsoft(.NET
platform)? Or I need to work my ass off to match these windows controls.
Or any other third party extension or tool available for the same.
All the suggestions are welcome :)
WPF is still one of the most used app frameworks in use on Windows (right behind WinForms).
Wrapped controls wrap the interface and functionality of a small set of useful UWP XAML controls. You can add a wrapped control directly to the design surface of your WPF or Windows Forms project, and then use it in the designer like any other WPF or Windows Forms control.
WPF is another UI framework, and UWP uses many concepts that you find in WPF, like XAML, data binding, styles etc. That means that a WPF developer gets up to speed with UWP quite fast, and vice versa. But WPF is not a UI framework that C++ developers can use, for WPF you have to develop with .
The easiest way would be to create your apps as Windows 10 UWP apps of course.
But if you want to stick with WPF, there are several libraries already available (and you'll possible find more if you dig deep into the web). The two I know from the top of my head are:
The first one giving you more UI controls, the second one is focusing on the new Windows 10 controls like SplitView
and RelativePanel
.
A good place to get you started layout-wise if you want to create your own controls, is dig into the styles for these existing controls (if you installed the 8.1 and 10 SDKs).
C:\Program Files (x86)\Windows Kits\8.1\Include\winrt\xaml\design
C:\Program Files (x86)\Windows Kits\10\DesignTime\CommonConfiguration\Neutral\UAP\10.0.10240.0\Generic
For everyone who is looking for an answer to this problem. There is a NuGet package to bring the Metro Design to WPF applications: https://mahapps.com/
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With