Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Develop WPF App like Windows 10 Setting App [closed]

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.

windows 10 setting app

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 :)

like image 209
Kishor Avatar asked Nov 06 '15 08:11

Kishor


People also ask

Is WPF still alive?

WPF is still one of the most used app frameworks in use on Windows (right behind WinForms).

Can I use UWP controls in WPF?

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.

Is WPF same as UWP?

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 .


2 Answers

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:

  • Modern UI for WPF
  • Universal WPF

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

like image 100
Bart Avatar answered Nov 15 '22 21:11

Bart


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/

like image 23
DrDynamic Avatar answered Nov 15 '22 20:11

DrDynamic