mirror of
https://github.com/microsoft/PowerToys.git
synced 2025-12-15 11:17:53 +01:00
1.3 KiB
1.3 KiB
UI Architecture
The UI code is distributed between two projects: PowerToys.Settings and Microsoft.PowerToys.Settings.UI. PowerToys.Settings is a WPF .net core application. It contains the parent display window and corresponding code is present in MainWindow.xaml. Microsoft.PowerToys.Settings.UI is UWP applications and contains views for base navigation and modules. Fig 1 provides a description of the UI controls hierarchy and each of the controls have been summarized below :
MainWindow.xamlis the parent WPF control.WindowsXamlHostcontrol is used to host UWP control toMainWindow.xamlparent control.ShellPage.xamlis a UWP control, consisting of a side navigation panel with an icon for each module. Clicking on a module icon loads the correspondingsetting.jsonfile and displays the data in the UI.
