PowerToys/doc/devdocs/settingsv2/project-overview.md
Stefan Markovic 073caffef4
[Settings, Common.UI, runner exe] Unify exe/dll naming (#15005)
* Unify exe/dll naming - PowerToys.Runner

Align naming with other exes - PowerToys Runner -> PowerToys.Runner

* Unify exe/dll naming - Microsoft.PowerToys.Common.UI

Project name - Microsoft.PowerToys.Common.UI -> Common.UI
dll name - Microsoft.PowerToys.Common.UI.dll -> PowerToys.Common.UI.dll

* Unify exe/dll naming - Settings

Project names - Microsoft.PowerToys.Settings* -> Settings*
Dll names - Microsoft.PowerToys.Settings*.dll -> PowerToys.Settings*.dll

* Revert file autoformat

* [Docs] Update paths to settings projects/files

* Fix tests - Update path
2021-12-15 12:56:52 +01:00

1.2 KiB

Overview

Settingsv2 is WPF .net core desktop application. It uses the WindowsXamlHost control from the Windows Community Toolkit to host UWP controls from WinUI3 library. More details about WinUI can be found here.

Settings V2 Project structure

The Settings project is a XAML island based project which follows the MVVM architectural pattern where the graphical user interface is separated from the view models.

UI Components:

The Settings.UI project contains the xaml files for each of the UI components. It also contains the Hotkey logic for the settings control.

Viewmodels:

The Settings.UI.Library project contains the data that is to be rendered by the UI components.

Settings Runner:

The function of the settings runner project is to communicate all changes that the user makes in the user interface, to the runner so that it can be dispatched and reflected in all the modules.