Settings UI: Fix spelling error and make spell checker happy (#41403)

## Summary of the Pull Request

- Renames `NavigatablePage` to `NavigablePage` to fix a spelling error.
- Reverts related entries in `exclude.txt` that triggered a forbidden
pattern error in the spell checker.
- The spell checker does not allow PascalCase words like
`NavigatablePage` in `exclude.txt` because of its automatic casing
rules.

 
Regression: #41285

---------

Co-authored-by: vanzue <vanzue@outlook.com>
This commit is contained in:
Jiří Polášek
2025-08-27 05:29:14 +02:00
committed by GitHub
parent e8e1431e15
commit 3ebf0f741a
61 changed files with 115 additions and 113 deletions

View File

@@ -1025,8 +1025,6 @@ MYICON
NAMECHANGE NAMECHANGE
namespaceanddescendants namespaceanddescendants
nao nao
Navigatable
NavigatablePage
NCACTIVATE NCACTIVATE
ncc ncc
NCCALCSIZE NCCALCSIZE

View File

@@ -260,3 +260,7 @@ Process Process
# ZoomIt menu items with accelerator keys # ZoomIt menu items with accelerator keys
E&xit E&xit
St&yle St&yle
# This matches a relative clause where the relative pronoun "that" is omitted.
# Example: "Gets or sets the window the TitleBar should configure."
\bthe\s+\w+\s+the\b

View File

@@ -14,14 +14,14 @@ using Windows.UI;
namespace Microsoft.PowerToys.Settings.UI.Helpers; namespace Microsoft.PowerToys.Settings.UI.Helpers;
public abstract partial class NavigatablePage : Page public abstract partial class NavigablePage : Page
{ {
private const int ExpandWaitDuration = 500; private const int ExpandWaitDuration = 500;
private const int AnimationDuration = 2000; private const int AnimationDuration = 2000;
private NavigationParams _pendingNavigationParams; private NavigationParams _pendingNavigationParams;
public NavigatablePage() public NavigablePage()
{ {
Loaded += OnPageLoaded; Loaded += OnPageLoaded;
} }

View File

@@ -1,4 +1,4 @@
<local:NavigatablePage <local:NavigablePage
x:Class="Microsoft.PowerToys.Settings.UI.Views.AdvancedPastePage" x:Class="Microsoft.PowerToys.Settings.UI.Views.AdvancedPastePage"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
@@ -12,7 +12,7 @@
x:Name="RootPage" x:Name="RootPage"
AutomationProperties.LandmarkType="Main" AutomationProperties.LandmarkType="Main"
mc:Ignorable="d"> mc:Ignorable="d">
<local:NavigatablePage.Resources> <local:NavigablePage.Resources>
<ResourceDictionary> <ResourceDictionary>
<ResourceDictionary.ThemeDictionaries> <ResourceDictionary.ThemeDictionaries>
<ResourceDictionary x:Key="Default"> <ResourceDictionary x:Key="Default">
@@ -38,7 +38,7 @@
</StackPanel> </StackPanel>
</DataTemplate> </DataTemplate>
</ResourceDictionary> </ResourceDictionary>
</local:NavigatablePage.Resources> </local:NavigablePage.Resources>
<Grid> <Grid>
<controls:SettingsPageControl x:Uid="AdvancedPaste" ModuleImageSource="ms-appx:///Assets/Settings/Modules/AdvancedPaste.png"> <controls:SettingsPageControl x:Uid="AdvancedPaste" ModuleImageSource="ms-appx:///Assets/Settings/Modules/AdvancedPaste.png">
<controls:SettingsPageControl.ModuleContent> <controls:SettingsPageControl.ModuleContent>
@@ -425,4 +425,4 @@
</StackPanel> </StackPanel>
</ContentDialog> </ContentDialog>
</Grid> </Grid>
</local:NavigatablePage> </local:NavigablePage>

View File

@@ -15,7 +15,7 @@ using Microsoft.UI.Xaml.Controls;
namespace Microsoft.PowerToys.Settings.UI.Views namespace Microsoft.PowerToys.Settings.UI.Views
{ {
public sealed partial class AdvancedPastePage : NavigatablePage, IRefreshablePage public sealed partial class AdvancedPastePage : NavigablePage, IRefreshablePage
{ {
private AdvancedPasteViewModel ViewModel { get; set; } private AdvancedPasteViewModel ViewModel { get; set; }

View File

@@ -1,4 +1,4 @@
<local:NavigatablePage <local:NavigablePage
x:Class="Microsoft.PowerToys.Settings.UI.Views.AlwaysOnTopPage" x:Class="Microsoft.PowerToys.Settings.UI.Views.AlwaysOnTopPage"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
@@ -136,4 +136,4 @@
<controls:PageLink x:Uid="LearnMore_AlwaysOnTop" Link="https://aka.ms/PowerToysOverview_AlwaysOnTop" /> <controls:PageLink x:Uid="LearnMore_AlwaysOnTop" Link="https://aka.ms/PowerToysOverview_AlwaysOnTop" />
</controls:SettingsPageControl.PrimaryLinks> </controls:SettingsPageControl.PrimaryLinks>
</controls:SettingsPageControl> </controls:SettingsPageControl>
</local:NavigatablePage> </local:NavigablePage>

View File

@@ -9,7 +9,7 @@ using Microsoft.UI.Xaml.Controls;
namespace Microsoft.PowerToys.Settings.UI.Views namespace Microsoft.PowerToys.Settings.UI.Views
{ {
public sealed partial class AlwaysOnTopPage : NavigatablePage, IRefreshablePage public sealed partial class AlwaysOnTopPage : NavigablePage, IRefreshablePage
{ {
private AlwaysOnTopViewModel ViewModel { get; set; } private AlwaysOnTopViewModel ViewModel { get; set; }

View File

@@ -1,4 +1,4 @@
<local:NavigatablePage <local:NavigablePage
x:Class="Microsoft.PowerToys.Settings.UI.Views.AwakePage" x:Class="Microsoft.PowerToys.Settings.UI.Views.AwakePage"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
@@ -14,9 +14,9 @@
AutomationProperties.LandmarkType="Main" AutomationProperties.LandmarkType="Main"
mc:Ignorable="d"> mc:Ignorable="d">
<local:NavigatablePage.Resources> <local:NavigablePage.Resources>
<converters:AwakeModeToIntConverter x:Key="AwakeModeToIntConverter" /> <converters:AwakeModeToIntConverter x:Key="AwakeModeToIntConverter" />
</local:NavigatablePage.Resources> </local:NavigablePage.Resources>
<controls:SettingsPageControl <controls:SettingsPageControl
x:Uid="Awake" x:Uid="Awake"
@@ -119,4 +119,4 @@
<controls:PageLink x:Uid="SecondaryLink_Awake" Link="https://awake.den.dev" /> <controls:PageLink x:Uid="SecondaryLink_Awake" Link="https://awake.den.dev" />
</controls:SettingsPageControl.SecondaryLinks> </controls:SettingsPageControl.SecondaryLinks>
</controls:SettingsPageControl> </controls:SettingsPageControl>
</local:NavigatablePage> </local:NavigablePage>

View File

@@ -17,7 +17,7 @@ using PowerToys.GPOWrapper;
namespace Microsoft.PowerToys.Settings.UI.Views namespace Microsoft.PowerToys.Settings.UI.Views
{ {
public sealed partial class AwakePage : NavigatablePage, IRefreshablePage public sealed partial class AwakePage : NavigablePage, IRefreshablePage
{ {
private readonly string _appName = "Awake"; private readonly string _appName = "Awake";
private readonly SettingsUtils _settingsUtils; private readonly SettingsUtils _settingsUtils;

View File

@@ -1,4 +1,4 @@
<local:NavigatablePage <local:NavigablePage
x:Class="Microsoft.PowerToys.Settings.UI.Views.CmdNotFoundPage" x:Class="Microsoft.PowerToys.Settings.UI.Views.CmdNotFoundPage"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
@@ -170,4 +170,4 @@
<controls:PageLink x:Uid="LearnMore_CmdNotFound" Link="https://aka.ms/PowerToysOverview_CmdNotFound" /> <controls:PageLink x:Uid="LearnMore_CmdNotFound" Link="https://aka.ms/PowerToysOverview_CmdNotFound" />
</controls:SettingsPageControl.PrimaryLinks> </controls:SettingsPageControl.PrimaryLinks>
</controls:SettingsPageControl> </controls:SettingsPageControl>
</local:NavigatablePage> </local:NavigablePage>

View File

@@ -8,7 +8,7 @@ using Microsoft.UI.Xaml.Controls;
namespace Microsoft.PowerToys.Settings.UI.Views namespace Microsoft.PowerToys.Settings.UI.Views
{ {
public sealed partial class CmdNotFoundPage : NavigatablePage public sealed partial class CmdNotFoundPage : NavigablePage
{ {
private CmdNotFoundViewModel ViewModel { get; set; } private CmdNotFoundViewModel ViewModel { get; set; }

View File

@@ -1,4 +1,4 @@
<local:NavigatablePage <local:NavigablePage
x:Class="Microsoft.PowerToys.Settings.UI.Views.CmdPalPage" x:Class="Microsoft.PowerToys.Settings.UI.Views.CmdPalPage"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
@@ -52,4 +52,4 @@
<controls:PageLink x:Uid="LearnMore_CmdPal" Link="https://aka.ms/PowerToysOverview_CmdPal" /> <controls:PageLink x:Uid="LearnMore_CmdPal" Link="https://aka.ms/PowerToysOverview_CmdPal" />
</controls:SettingsPageControl.PrimaryLinks> </controls:SettingsPageControl.PrimaryLinks>
</controls:SettingsPageControl> </controls:SettingsPageControl>
</local:NavigatablePage> </local:NavigablePage>

View File

@@ -13,7 +13,7 @@ using Microsoft.UI.Xaml.Controls;
namespace Microsoft.PowerToys.Settings.UI.Views namespace Microsoft.PowerToys.Settings.UI.Views
{ {
public sealed partial class CmdPalPage : NavigatablePage, IRefreshablePage public sealed partial class CmdPalPage : NavigablePage, IRefreshablePage
{ {
private CmdPalViewModel ViewModel { get; set; } private CmdPalViewModel ViewModel { get; set; }

View File

@@ -1,4 +1,4 @@
<local:NavigatablePage <local:NavigablePage
x:Class="Microsoft.PowerToys.Settings.UI.Views.ColorPickerPage" x:Class="Microsoft.PowerToys.Settings.UI.Views.ColorPickerPage"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
@@ -232,4 +232,4 @@
<controls:PageLink Link="https://medium.com/@Niels9001/a-fluent-color-meter-for-powertoys-20407ededf0c" Text="Niels Laute's UX concept" /> <controls:PageLink Link="https://medium.com/@Niels9001/a-fluent-color-meter-for-powertoys-20407ededf0c" Text="Niels Laute's UX concept" />
</controls:SettingsPageControl.SecondaryLinks> </controls:SettingsPageControl.SecondaryLinks>
</controls:SettingsPageControl> </controls:SettingsPageControl>
</local:NavigatablePage> </local:NavigablePage>

View File

@@ -15,7 +15,7 @@ using Microsoft.Windows.ApplicationModel.Resources;
namespace Microsoft.PowerToys.Settings.UI.Views namespace Microsoft.PowerToys.Settings.UI.Views
{ {
public sealed partial class ColorPickerPage : NavigatablePage, IRefreshablePage public sealed partial class ColorPickerPage : NavigablePage, IRefreshablePage
{ {
public ColorPickerViewModel ViewModel { get; set; } public ColorPickerViewModel ViewModel { get; set; }

View File

@@ -1,4 +1,4 @@
<local:NavigatablePage <local:NavigablePage
x:Class="Microsoft.PowerToys.Settings.UI.Views.CropAndLockPage" x:Class="Microsoft.PowerToys.Settings.UI.Views.CropAndLockPage"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
@@ -66,4 +66,4 @@
<controls:PageLink Link="https://github.com/kevinguo305" Text="Kevin Guo" /> <controls:PageLink Link="https://github.com/kevinguo305" Text="Kevin Guo" />
</controls:SettingsPageControl.SecondaryLinks> </controls:SettingsPageControl.SecondaryLinks>
</controls:SettingsPageControl> </controls:SettingsPageControl>
</local:NavigatablePage> </local:NavigablePage>

View File

@@ -9,7 +9,7 @@ using Microsoft.UI.Xaml.Controls;
namespace Microsoft.PowerToys.Settings.UI.Views namespace Microsoft.PowerToys.Settings.UI.Views
{ {
public sealed partial class CropAndLockPage : NavigatablePage, IRefreshablePage public sealed partial class CropAndLockPage : NavigablePage, IRefreshablePage
{ {
private CropAndLockViewModel ViewModel { get; set; } private CropAndLockViewModel ViewModel { get; set; }

View File

@@ -1,4 +1,4 @@
<local:NavigatablePage <local:NavigablePage
x:Class="Microsoft.PowerToys.Settings.UI.Views.DashboardPage" x:Class="Microsoft.PowerToys.Settings.UI.Views.DashboardPage"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
@@ -14,7 +14,7 @@
AutomationProperties.LandmarkType="Main" AutomationProperties.LandmarkType="Main"
DataContext="DashboardViewModel" DataContext="DashboardViewModel"
mc:Ignorable="d"> mc:Ignorable="d">
<local:NavigatablePage.Resources> <local:NavigablePage.Resources>
<converters:ModuleItemTemplateSelector <converters:ModuleItemTemplateSelector
x:Key="ModuleItemTemplateSelector" x:Key="ModuleItemTemplateSelector"
ActivationTemplate="{StaticResource ModuleItemActivationTemplate}" ActivationTemplate="{StaticResource ModuleItemActivationTemplate}"
@@ -74,7 +74,7 @@
TextWrapping="WrapWholeWords" /> TextWrapping="WrapWholeWords" />
</Grid> </Grid>
</DataTemplate> </DataTemplate>
</local:NavigatablePage.Resources> </local:NavigablePage.Resources>
<Grid Margin="16,0,0,0" RowSpacing="12"> <Grid Margin="16,0,0,0" RowSpacing="12">
<Grid.RowDefinitions> <Grid.RowDefinitions>
<RowDefinition Height="Auto" /> <RowDefinition Height="Auto" />
@@ -363,4 +363,4 @@
</VisualStateGroup> </VisualStateGroup>
</VisualStateManager.VisualStateGroups> </VisualStateManager.VisualStateGroups>
</Grid> </Grid>
</local:NavigatablePage> </local:NavigablePage>

View File

@@ -20,7 +20,7 @@ namespace Microsoft.PowerToys.Settings.UI.Views
/// <summary> /// <summary>
/// Dashboard Settings Page. /// Dashboard Settings Page.
/// </summary> /// </summary>
public sealed partial class DashboardPage : NavigatablePage, IRefreshablePage public sealed partial class DashboardPage : NavigablePage, IRefreshablePage
{ {
/// <summary> /// <summary>
/// Gets or sets view model. /// Gets or sets view model.

View File

@@ -1,4 +1,4 @@
<local:NavigatablePage <local:NavigablePage
x:Class="Microsoft.PowerToys.Settings.UI.Views.EnvironmentVariablesPage" x:Class="Microsoft.PowerToys.Settings.UI.Views.EnvironmentVariablesPage"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
@@ -53,4 +53,4 @@
<controls:PageLink x:Uid="LearnMore_EnvironmentVariables" Link="https://aka.ms/PowerToysOverview_EnvironmentVariables" /> <controls:PageLink x:Uid="LearnMore_EnvironmentVariables" Link="https://aka.ms/PowerToysOverview_EnvironmentVariables" />
</controls:SettingsPageControl.PrimaryLinks> </controls:SettingsPageControl.PrimaryLinks>
</controls:SettingsPageControl> </controls:SettingsPageControl>
</local:NavigatablePage> </local:NavigablePage>

View File

@@ -9,7 +9,7 @@ using Microsoft.UI.Xaml.Controls;
namespace Microsoft.PowerToys.Settings.UI.Views namespace Microsoft.PowerToys.Settings.UI.Views
{ {
public sealed partial class EnvironmentVariablesPage : NavigatablePage, IRefreshablePage public sealed partial class EnvironmentVariablesPage : NavigablePage, IRefreshablePage
{ {
private EnvironmentVariablesViewModel ViewModel { get; } private EnvironmentVariablesViewModel ViewModel { get; }

View File

@@ -1,4 +1,4 @@
<local:NavigatablePage <local:NavigablePage
x:Class="Microsoft.PowerToys.Settings.UI.Views.FancyZonesPage" x:Class="Microsoft.PowerToys.Settings.UI.Views.FancyZonesPage"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
@@ -299,4 +299,4 @@
<controls:PageLink x:Uid="LearnMore_FancyZones" Link="https://aka.ms/PowerToysOverview_FancyZones" /> <controls:PageLink x:Uid="LearnMore_FancyZones" Link="https://aka.ms/PowerToysOverview_FancyZones" />
</controls:SettingsPageControl.PrimaryLinks> </controls:SettingsPageControl.PrimaryLinks>
</controls:SettingsPageControl> </controls:SettingsPageControl>
</local:NavigatablePage> </local:NavigablePage>

View File

@@ -9,7 +9,7 @@ using Microsoft.UI.Xaml.Controls;
namespace Microsoft.PowerToys.Settings.UI.Views namespace Microsoft.PowerToys.Settings.UI.Views
{ {
public sealed partial class FancyZonesPage : NavigatablePage, IRefreshablePage public sealed partial class FancyZonesPage : NavigablePage, IRefreshablePage
{ {
private FancyZonesViewModel ViewModel { get; set; } private FancyZonesViewModel ViewModel { get; set; }

View File

@@ -1,4 +1,4 @@
<local:NavigatablePage <local:NavigablePage
x:Class="Microsoft.PowerToys.Settings.UI.Views.FileLocksmithPage" x:Class="Microsoft.PowerToys.Settings.UI.Views.FileLocksmithPage"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
@@ -53,4 +53,4 @@
<controls:PageLink x:Uid="LearnMore_FileLocksmith" Link="https://aka.ms/PowerToysOverview_FileLocksmith" /> <controls:PageLink x:Uid="LearnMore_FileLocksmith" Link="https://aka.ms/PowerToysOverview_FileLocksmith" />
</controls:SettingsPageControl.PrimaryLinks> </controls:SettingsPageControl.PrimaryLinks>
</controls:SettingsPageControl> </controls:SettingsPageControl>
</local:NavigatablePage> </local:NavigablePage>

View File

@@ -9,7 +9,7 @@ using Microsoft.UI.Xaml.Controls;
namespace Microsoft.PowerToys.Settings.UI.Views namespace Microsoft.PowerToys.Settings.UI.Views
{ {
public sealed partial class FileLocksmithPage : NavigatablePage, IRefreshablePage public sealed partial class FileLocksmithPage : NavigablePage, IRefreshablePage
{ {
private FileLocksmithViewModel ViewModel { get; set; } private FileLocksmithViewModel ViewModel { get; set; }

View File

@@ -1,4 +1,4 @@
<local:NavigatablePage <local:NavigablePage
x:Class="Microsoft.PowerToys.Settings.UI.Views.GeneralPage" x:Class="Microsoft.PowerToys.Settings.UI.Views.GeneralPage"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
@@ -12,10 +12,10 @@
AutomationProperties.LandmarkType="Main" AutomationProperties.LandmarkType="Main"
mc:Ignorable="d"> mc:Ignorable="d">
<local:NavigatablePage.Resources> <local:NavigablePage.Resources>
<converters:UpdateStateToBoolConverter x:Key="UpdateStateToBoolConverter" /> <converters:UpdateStateToBoolConverter x:Key="UpdateStateToBoolConverter" />
<converters:StringToInfoBarSeverityConverter x:Key="StringToInfoBarSeverityConverter" /> <converters:StringToInfoBarSeverityConverter x:Key="StringToInfoBarSeverityConverter" />
</local:NavigatablePage.Resources> </local:NavigablePage.Resources>
<controls:SettingsPageControl x:Uid="General" ModuleImageSource="ms-appx:///Assets/Settings/Modules/PT.png"> <controls:SettingsPageControl x:Uid="General" ModuleImageSource="ms-appx:///Assets/Settings/Modules/PT.png">
<controls:SettingsPageControl.ModuleContent> <controls:SettingsPageControl.ModuleContent>
@@ -517,4 +517,4 @@
<controls:PageLink x:Uid="OpenSource_Notice" Link="https://github.com/microsoft/PowerToys/blob/main/NOTICE.md" /> <controls:PageLink x:Uid="OpenSource_Notice" Link="https://github.com/microsoft/PowerToys/blob/main/NOTICE.md" />
</controls:SettingsPageControl.SecondaryLinks> </controls:SettingsPageControl.SecondaryLinks>
</controls:SettingsPageControl> </controls:SettingsPageControl>
</local:NavigatablePage> </local:NavigablePage>

View File

@@ -19,7 +19,7 @@ namespace Microsoft.PowerToys.Settings.UI.Views
/// <summary> /// <summary>
/// General Settings Page. /// General Settings Page.
/// </summary> /// </summary>
public sealed partial class GeneralPage : NavigatablePage, IRefreshablePage public sealed partial class GeneralPage : NavigablePage, IRefreshablePage
{ {
private static DateTime OkToHideBackupAndRestoreMessageTime { get; set; } private static DateTime OkToHideBackupAndRestoreMessageTime { get; set; }

View File

@@ -1,4 +1,4 @@
<local:NavigatablePage <local:NavigablePage
x:Class="Microsoft.PowerToys.Settings.UI.Views.HostsPage" x:Class="Microsoft.PowerToys.Settings.UI.Views.HostsPage"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
@@ -86,4 +86,4 @@
<controls:PageLink x:Uid="LearnMore_Hosts" Link="https://aka.ms/PowerToysOverview_HostsFileEditor" /> <controls:PageLink x:Uid="LearnMore_Hosts" Link="https://aka.ms/PowerToysOverview_HostsFileEditor" />
</controls:SettingsPageControl.PrimaryLinks> </controls:SettingsPageControl.PrimaryLinks>
</controls:SettingsPageControl> </controls:SettingsPageControl>
</local:NavigatablePage> </local:NavigablePage>

View File

@@ -9,7 +9,7 @@ using Microsoft.UI.Xaml.Controls;
namespace Microsoft.PowerToys.Settings.UI.Views namespace Microsoft.PowerToys.Settings.UI.Views
{ {
public sealed partial class HostsPage : NavigatablePage, IRefreshablePage public sealed partial class HostsPage : NavigablePage, IRefreshablePage
{ {
private HostsViewModel ViewModel { get; } private HostsViewModel ViewModel { get; }

View File

@@ -1,4 +1,4 @@
<local:NavigatablePage <local:NavigablePage
x:Class="Microsoft.PowerToys.Settings.UI.Views.ImageResizerPage" x:Class="Microsoft.PowerToys.Settings.UI.Views.ImageResizerPage"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
@@ -14,7 +14,7 @@
x:Name="RootPage" x:Name="RootPage"
AutomationProperties.LandmarkType="Main" AutomationProperties.LandmarkType="Main"
mc:Ignorable="d"> mc:Ignorable="d">
<local:NavigatablePage.Resources> <local:NavigablePage.Resources>
<converters:ImageResizerFitToStringConverter x:Key="ImageResizerFitToStringConverter" /> <converters:ImageResizerFitToStringConverter x:Key="ImageResizerFitToStringConverter" />
<converters:ImageResizerFitToIntConverter x:Key="ImageResizerFitToIntConverter" /> <converters:ImageResizerFitToIntConverter x:Key="ImageResizerFitToIntConverter" />
<converters:ImageResizerUnitToStringConverter x:Key="ImageResizerUnitToStringConverter" /> <converters:ImageResizerUnitToStringConverter x:Key="ImageResizerUnitToStringConverter" />
@@ -27,7 +27,7 @@
x:Key="BoolToComboBoxIndexConverter" x:Key="BoolToComboBoxIndexConverter"
FalseValue="1" FalseValue="1"
TrueValue="0" /> TrueValue="0" />
</local:NavigatablePage.Resources> </local:NavigablePage.Resources>
<controls:SettingsPageControl x:Uid="ImageResizer" ModuleImageSource="ms-appx:///Assets/Settings/Modules/ImageResizer.png"> <controls:SettingsPageControl x:Uid="ImageResizer" ModuleImageSource="ms-appx:///Assets/Settings/Modules/ImageResizer.png">
<controls:SettingsPageControl.ModuleContent> <controls:SettingsPageControl.ModuleContent>
<StackPanel ChildrenTransitions="{StaticResource SettingsCardsAnimations}"> <StackPanel ChildrenTransitions="{StaticResource SettingsCardsAnimations}">
@@ -303,4 +303,4 @@
<controls:PageLink Link="https://github.com/bricelam/ImageResizer/" Text="Brice Lambson's ImageResizer" /> <controls:PageLink Link="https://github.com/bricelam/ImageResizer/" Text="Brice Lambson's ImageResizer" />
</controls:SettingsPageControl.SecondaryLinks> </controls:SettingsPageControl.SecondaryLinks>
</controls:SettingsPageControl> </controls:SettingsPageControl>
</local:NavigatablePage> </local:NavigablePage>

View File

@@ -14,7 +14,7 @@ using Microsoft.UI.Xaml.Controls;
namespace Microsoft.PowerToys.Settings.UI.Views namespace Microsoft.PowerToys.Settings.UI.Views
{ {
public sealed partial class ImageResizerPage : NavigatablePage, IRefreshablePage public sealed partial class ImageResizerPage : NavigablePage, IRefreshablePage
{ {
public ImageResizerViewModel ViewModel { get; set; } public ImageResizerViewModel ViewModel { get; set; }

View File

@@ -1,4 +1,4 @@
<local:NavigatablePage <local:NavigablePage
x:Class="Microsoft.PowerToys.Settings.UI.Views.KeyboardManagerPage" x:Class="Microsoft.PowerToys.Settings.UI.Views.KeyboardManagerPage"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
@@ -13,7 +13,7 @@
AutomationProperties.LandmarkType="Main" AutomationProperties.LandmarkType="Main"
mc:Ignorable="d"> mc:Ignorable="d">
<local:NavigatablePage.Resources> <local:NavigablePage.Resources>
<tkconverters:CollectionVisibilityConverter x:Key="CollectionVisibilityConverter" /> <tkconverters:CollectionVisibilityConverter x:Key="CollectionVisibilityConverter" />
<Style x:Name="KeysListViewContainerStyle" TargetType="ListViewItem"> <Style x:Name="KeysListViewContainerStyle" TargetType="ListViewItem">
<Setter Property="IsTabStop" Value="False" /> <Setter Property="IsTabStop" Value="False" />
@@ -51,7 +51,7 @@
Height="56"> Height="56">
</DataTemplate>--> </DataTemplate>-->
</local:NavigatablePage.Resources> </local:NavigablePage.Resources>
<controls:SettingsPageControl x:Uid="KeyboardManager" ModuleImageSource="ms-appx:///Assets/Settings/Modules/KBM.png"> <controls:SettingsPageControl x:Uid="KeyboardManager" ModuleImageSource="ms-appx:///Assets/Settings/Modules/KBM.png">
<controls:SettingsPageControl.ModuleContent> <controls:SettingsPageControl.ModuleContent>
@@ -235,4 +235,4 @@
<controls:PageLink x:Uid="LearnMore_KBM" Link="https://aka.ms/PowerToysOverview_KeyboardManager" /> <controls:PageLink x:Uid="LearnMore_KBM" Link="https://aka.ms/PowerToysOverview_KeyboardManager" />
</controls:SettingsPageControl.PrimaryLinks> </controls:SettingsPageControl.PrimaryLinks>
</controls:SettingsPageControl> </controls:SettingsPageControl>
</local:NavigatablePage> </local:NavigablePage>

View File

@@ -18,7 +18,7 @@ namespace Microsoft.PowerToys.Settings.UI.Views
/// <summary> /// <summary>
/// An empty page that can be used on its own or navigated to within a Frame. /// An empty page that can be used on its own or navigated to within a Frame.
/// </summary> /// </summary>
public sealed partial class KeyboardManagerPage : NavigatablePage, IRefreshablePage public sealed partial class KeyboardManagerPage : NavigablePage, IRefreshablePage
{ {
private const string PowerToyName = "Keyboard Manager"; private const string PowerToyName = "Keyboard Manager";

View File

@@ -1,4 +1,4 @@
<local:NavigatablePage <local:NavigablePage
x:Class="Microsoft.PowerToys.Settings.UI.Views.MeasureToolPage" x:Class="Microsoft.PowerToys.Settings.UI.Views.MeasureToolPage"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
@@ -108,4 +108,4 @@
<controls:PageLink x:Uid="Attribution_Rooler" Link="https://github.com/peteblois/rooler" /> <controls:PageLink x:Uid="Attribution_Rooler" Link="https://github.com/peteblois/rooler" />
</controls:SettingsPageControl.SecondaryLinks> </controls:SettingsPageControl.SecondaryLinks>
</controls:SettingsPageControl> </controls:SettingsPageControl>
</local:NavigatablePage> </local:NavigablePage>

View File

@@ -9,7 +9,7 @@ using Microsoft.UI.Xaml.Controls;
namespace Microsoft.PowerToys.Settings.UI.Views namespace Microsoft.PowerToys.Settings.UI.Views
{ {
public sealed partial class MeasureToolPage : NavigatablePage, IRefreshablePage public sealed partial class MeasureToolPage : NavigablePage, IRefreshablePage
{ {
private MeasureToolViewModel ViewModel { get; set; } private MeasureToolViewModel ViewModel { get; set; }

View File

@@ -1,4 +1,4 @@
<local:NavigatablePage <local:NavigablePage
x:Class="Microsoft.PowerToys.Settings.UI.Views.MouseUtilsPage" x:Class="Microsoft.PowerToys.Settings.UI.Views.MouseUtilsPage"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
@@ -13,13 +13,13 @@
xmlns:ui="using:CommunityToolkit.WinUI" xmlns:ui="using:CommunityToolkit.WinUI"
AutomationProperties.LandmarkType="Main" AutomationProperties.LandmarkType="Main"
mc:Ignorable="d"> mc:Ignorable="d">
<local:NavigatablePage.Resources> <local:NavigablePage.Resources>
<converters:IndexBitFieldToVisibilityConverter x:Key="IndexBitFieldToVisibilityConverter" /> <converters:IndexBitFieldToVisibilityConverter x:Key="IndexBitFieldToVisibilityConverter" />
<tkconverters:BoolToVisibilityConverter <tkconverters:BoolToVisibilityConverter
x:Key="BoolToInvertedVisibilityConverter" x:Key="BoolToInvertedVisibilityConverter"
FalseValue="Visible" FalseValue="Visible"
TrueValue="Collapsed" /> TrueValue="Collapsed" />
</local:NavigatablePage.Resources> </local:NavigablePage.Resources>
<controls:SettingsPageControl x:Uid="MouseUtils" ModuleImageSource="ms-appx:///Assets/Settings/Modules/MouseUtils.png"> <controls:SettingsPageControl x:Uid="MouseUtils" ModuleImageSource="ms-appx:///Assets/Settings/Modules/MouseUtils.png">
<controls:SettingsPageControl.ModuleContent> <controls:SettingsPageControl.ModuleContent>
<StackPanel ChildrenTransitions="{StaticResource SettingsCardsAnimations}" Orientation="Vertical"> <StackPanel ChildrenTransitions="{StaticResource SettingsCardsAnimations}" Orientation="Vertical">
@@ -423,4 +423,4 @@
<controls:PageLink Link="https://michael-clayton.com/projects/fancymouse" Text="Michael Clayton's Mouse Jump (FancyMouse)" /> <controls:PageLink Link="https://michael-clayton.com/projects/fancymouse" Text="Michael Clayton's Mouse Jump (FancyMouse)" />
</controls:SettingsPageControl.SecondaryLinks> </controls:SettingsPageControl.SecondaryLinks>
</controls:SettingsPageControl> </controls:SettingsPageControl>
</local:NavigatablePage> </local:NavigablePage>

View File

@@ -12,7 +12,7 @@ using Microsoft.UI.Xaml.Controls;
namespace Microsoft.PowerToys.Settings.UI.Views namespace Microsoft.PowerToys.Settings.UI.Views
{ {
public sealed partial class MouseUtilsPage : NavigatablePage, IRefreshablePage public sealed partial class MouseUtilsPage : NavigablePage, IRefreshablePage
{ {
private MouseUtilsViewModel ViewModel { get; set; } private MouseUtilsViewModel ViewModel { get; set; }

View File

@@ -1,4 +1,4 @@
<local:NavigatablePage <local:NavigablePage
x:Class="Microsoft.PowerToys.Settings.UI.Views.MouseWithoutBordersPage" x:Class="Microsoft.PowerToys.Settings.UI.Views.MouseWithoutBordersPage"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
@@ -11,13 +11,13 @@
xmlns:ui="using:CommunityToolkit.WinUI" xmlns:ui="using:CommunityToolkit.WinUI"
AutomationProperties.LandmarkType="Main" AutomationProperties.LandmarkType="Main"
mc:Ignorable="d"> mc:Ignorable="d">
<local:NavigatablePage.Resources> <local:NavigablePage.Resources>
<converters:BoolToVisibilityConverter x:Key="negativeBoolToVisibilityConverter" /> <converters:BoolToVisibilityConverter x:Key="negativeBoolToVisibilityConverter" />
<converters:BoolToObjectConverter <converters:BoolToObjectConverter
x:Key="OneRowMatrixBoolToNumberOfRowsConverter" x:Key="OneRowMatrixBoolToNumberOfRowsConverter"
FalseValue="2" FalseValue="2"
TrueValue="4" /> TrueValue="4" />
</local:NavigatablePage.Resources> </local:NavigablePage.Resources>
<controls:SettingsPageControl x:Uid="MouseWithoutBorders" ModuleImageSource="ms-appx:///Assets/Settings/Modules/MouseWithoutBorders.png"> <controls:SettingsPageControl x:Uid="MouseWithoutBorders" ModuleImageSource="ms-appx:///Assets/Settings/Modules/MouseWithoutBorders.png">
<controls:SettingsPageControl.ModuleContent> <controls:SettingsPageControl.ModuleContent>
<StackPanel Orientation="Vertical"> <StackPanel Orientation="Vertical">
@@ -524,4 +524,4 @@
<controls:PageLink Link="https://github.com/microsoft/PowerToys/blob/main/COMMUNITY.md#mouse-without-borders-original-contributors" Text="Truong Do (Đỗ Đức Trường) and other original contributors" /> <controls:PageLink Link="https://github.com/microsoft/PowerToys/blob/main/COMMUNITY.md#mouse-without-borders-original-contributors" Text="Truong Do (Đỗ Đức Trường) and other original contributors" />
</controls:SettingsPageControl.SecondaryLinks> </controls:SettingsPageControl.SecondaryLinks>
</controls:SettingsPageControl> </controls:SettingsPageControl>
</local:NavigatablePage> </local:NavigablePage>

View File

@@ -21,7 +21,7 @@ using static Microsoft.PowerToys.Settings.UI.ViewModels.MouseWithoutBordersViewM
namespace Microsoft.PowerToys.Settings.UI.Views namespace Microsoft.PowerToys.Settings.UI.Views
{ {
public sealed partial class MouseWithoutBordersPage : NavigatablePage, IRefreshablePage public sealed partial class MouseWithoutBordersPage : NavigablePage, IRefreshablePage
{ {
private const string MouseWithoutBordersDragDropCheckString = "MWB Device Drag Drop"; private const string MouseWithoutBordersDragDropCheckString = "MWB Device Drag Drop";

View File

@@ -1,4 +1,4 @@
<helper:NavigatablePage <helper:NavigablePage
x:Class="Microsoft.PowerToys.Settings.UI.Views.NewPlusPage" x:Class="Microsoft.PowerToys.Settings.UI.Views.NewPlusPage"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
@@ -215,4 +215,4 @@
</controls:SettingsPageControl.SecondaryLinks> </controls:SettingsPageControl.SecondaryLinks>
</controls:SettingsPageControl> </controls:SettingsPageControl>
</helper:NavigatablePage> </helper:NavigablePage>

View File

@@ -9,7 +9,7 @@ using Microsoft.UI.Xaml.Controls;
namespace Microsoft.PowerToys.Settings.UI.Views namespace Microsoft.PowerToys.Settings.UI.Views
{ {
public sealed partial class NewPlusPage : NavigatablePage, IRefreshablePage public sealed partial class NewPlusPage : NavigablePage, IRefreshablePage
{ {
private NewPlusViewModel ViewModel { get; set; } private NewPlusViewModel ViewModel { get; set; }

View File

@@ -1,4 +1,4 @@
<local:NavigatablePage <local:NavigablePage
x:Class="Microsoft.PowerToys.Settings.UI.Views.PeekPage" x:Class="Microsoft.PowerToys.Settings.UI.Views.PeekPage"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
@@ -104,4 +104,4 @@
<controls:PageLink x:Uid="LearnMore_Peek" Link="https://aka.ms/PowerToysOverview_Peek" /> <controls:PageLink x:Uid="LearnMore_Peek" Link="https://aka.ms/PowerToysOverview_Peek" />
</controls:SettingsPageControl.PrimaryLinks> </controls:SettingsPageControl.PrimaryLinks>
</controls:SettingsPageControl> </controls:SettingsPageControl>
</local:NavigatablePage> </local:NavigablePage>

View File

@@ -9,7 +9,7 @@ using Microsoft.UI.Xaml.Controls;
namespace Microsoft.PowerToys.Settings.UI.Views namespace Microsoft.PowerToys.Settings.UI.Views
{ {
public sealed partial class PeekPage : NavigatablePage, IRefreshablePage public sealed partial class PeekPage : NavigablePage, IRefreshablePage
{ {
private PeekViewModel ViewModel { get; set; } private PeekViewModel ViewModel { get; set; }

View File

@@ -1,4 +1,4 @@
<local:NavigatablePage <local:NavigablePage
x:Class="Microsoft.PowerToys.Settings.UI.Views.PowerAccentPage" x:Class="Microsoft.PowerToys.Settings.UI.Views.PowerAccentPage"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
@@ -11,7 +11,7 @@
xmlns:ui="using:CommunityToolkit.WinUI" xmlns:ui="using:CommunityToolkit.WinUI"
AutomationProperties.LandmarkType="Main" AutomationProperties.LandmarkType="Main"
mc:Ignorable="d"> mc:Ignorable="d">
<local:NavigatablePage.Resources> <local:NavigablePage.Resources>
<CollectionViewSource <CollectionViewSource
x:Name="LanguagesCustomViewSource" x:Name="LanguagesCustomViewSource"
IsSourceGrouped="True" IsSourceGrouped="True"
@@ -19,7 +19,7 @@
<DataTemplate x:Key="LanguageViewTemplate" x:DataType="Lib:PowerAccentLanguageModel"> <DataTemplate x:Key="LanguageViewTemplate" x:DataType="Lib:PowerAccentLanguageModel">
<TextBlock Text="{x:Bind Language}" /> <TextBlock Text="{x:Bind Language}" />
</DataTemplate> </DataTemplate>
</local:NavigatablePage.Resources> </local:NavigablePage.Resources>
<controls:SettingsPageControl <controls:SettingsPageControl
x:Uid="QuickAccent" x:Uid="QuickAccent"
@@ -241,4 +241,4 @@
<controls:PageLink Link="https://github.com/damienleroy/PowerAccent" Text="Damien Leroy's PowerAccent" /> <controls:PageLink Link="https://github.com/damienleroy/PowerAccent" Text="Damien Leroy's PowerAccent" />
</controls:SettingsPageControl.SecondaryLinks> </controls:SettingsPageControl.SecondaryLinks>
</controls:SettingsPageControl> </controls:SettingsPageControl>
</local:NavigatablePage> </local:NavigablePage>

View File

@@ -11,7 +11,7 @@ using Microsoft.UI.Xaml.Controls;
namespace Microsoft.PowerToys.Settings.UI.Views namespace Microsoft.PowerToys.Settings.UI.Views
{ {
public sealed partial class PowerAccentPage : NavigatablePage, IRefreshablePage public sealed partial class PowerAccentPage : NavigablePage, IRefreshablePage
{ {
private PowerAccentViewModel ViewModel { get; set; } private PowerAccentViewModel ViewModel { get; set; }

View File

@@ -1,4 +1,4 @@
<local:NavigatablePage <local:NavigablePage
x:Class="Microsoft.PowerToys.Settings.UI.Views.PowerLauncherPage" x:Class="Microsoft.PowerToys.Settings.UI.Views.PowerLauncherPage"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
@@ -15,7 +15,7 @@
AutomationProperties.LandmarkType="Main" AutomationProperties.LandmarkType="Main"
mc:Ignorable="d"> mc:Ignorable="d">
<local:NavigatablePage.Resources> <local:NavigablePage.Resources>
<Style x:Key="OptionSeparator" TargetType="Rectangle"> <Style x:Key="OptionSeparator" TargetType="Rectangle">
<Setter Property="Height" Value="1" /> <Setter Property="Height" Value="1" />
<Setter Property="HorizontalAlignment" Value="Stretch" /> <Setter Property="HorizontalAlignment" Value="Stretch" />
@@ -304,7 +304,7 @@
<DataTemplate x:Key="EmptyTemplate" x:DataType="viewModels:PluginAdditionalOptionViewModel"> <DataTemplate x:Key="EmptyTemplate" x:DataType="viewModels:PluginAdditionalOptionViewModel">
<StackPanel HorizontalAlignment="Stretch" Orientation="Vertical" /> <StackPanel HorizontalAlignment="Stretch" Orientation="Vertical" />
</DataTemplate> </DataTemplate>
</local:NavigatablePage.Resources> </local:NavigablePage.Resources>
<controls:SettingsPageControl x:Uid="PowerLauncher" ModuleImageSource="ms-appx:///Assets/Settings/Modules/Run.png"> <controls:SettingsPageControl x:Uid="PowerLauncher" ModuleImageSource="ms-appx:///Assets/Settings/Modules/Run.png">
<controls:SettingsPageControl.ModuleContent> <controls:SettingsPageControl.ModuleContent>
@@ -816,4 +816,4 @@
<controls:PageLink Link="https://github.com/betsegaw/windowwalker/" Text="Beta Tadele's Window Walker" /> <controls:PageLink Link="https://github.com/betsegaw/windowwalker/" Text="Beta Tadele's Window Walker" />
</controls:SettingsPageControl.SecondaryLinks> </controls:SettingsPageControl.SecondaryLinks>
</controls:SettingsPageControl> </controls:SettingsPageControl>
</local:NavigatablePage> </local:NavigablePage>

View File

@@ -15,7 +15,7 @@ using Microsoft.UI.Xaml.Controls;
namespace Microsoft.PowerToys.Settings.UI.Views namespace Microsoft.PowerToys.Settings.UI.Views
{ {
public sealed partial class PowerLauncherPage : NavigatablePage, IRefreshablePage public sealed partial class PowerLauncherPage : NavigablePage, IRefreshablePage
{ {
public PowerLauncherViewModel ViewModel { get; set; } public PowerLauncherViewModel ViewModel { get; set; }

View File

@@ -1,4 +1,4 @@
<local:NavigatablePage <local:NavigablePage
x:Class="Microsoft.PowerToys.Settings.UI.Views.PowerOcrPage" x:Class="Microsoft.PowerToys.Settings.UI.Views.PowerOcrPage"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
@@ -79,4 +79,4 @@
<controls:PageLink Link="https://github.com/TheJoeFin/Text-Grab" Text="Based upon Joseph Finney's Text Grab" /> <controls:PageLink Link="https://github.com/TheJoeFin/Text-Grab" Text="Based upon Joseph Finney's Text Grab" />
</controls:SettingsPageControl.SecondaryLinks> </controls:SettingsPageControl.SecondaryLinks>
</controls:SettingsPageControl> </controls:SettingsPageControl>
</local:NavigatablePage> </local:NavigablePage>

View File

@@ -9,7 +9,7 @@ using Microsoft.UI.Xaml.Controls;
namespace Microsoft.PowerToys.Settings.UI.Views namespace Microsoft.PowerToys.Settings.UI.Views
{ {
public sealed partial class PowerOcrPage : NavigatablePage, IRefreshablePage public sealed partial class PowerOcrPage : NavigablePage, IRefreshablePage
{ {
private PowerOcrViewModel ViewModel { get; set; } private PowerOcrViewModel ViewModel { get; set; }

View File

@@ -1,4 +1,4 @@
<local:NavigatablePage <local:NavigablePage
x:Class="Microsoft.PowerToys.Settings.UI.Views.PowerPreviewPage" x:Class="Microsoft.PowerToys.Settings.UI.Views.PowerPreviewPage"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
@@ -289,4 +289,4 @@
<controls:PageLink Link="https://www.pedrolamas.com" Text="Pedro Lamas's work on G-Code, Binary G-Code, STL, and QOI" /> <controls:PageLink Link="https://www.pedrolamas.com" Text="Pedro Lamas's work on G-Code, Binary G-Code, STL, and QOI" />
</controls:SettingsPageControl.SecondaryLinks> </controls:SettingsPageControl.SecondaryLinks>
</controls:SettingsPageControl> </controls:SettingsPageControl>
</local:NavigatablePage> </local:NavigablePage>

View File

@@ -12,7 +12,7 @@ namespace Microsoft.PowerToys.Settings.UI.Views
/// <summary> /// <summary>
/// An empty page that can be used on its own or navigated to within a Frame. /// An empty page that can be used on its own or navigated to within a Frame.
/// </summary> /// </summary>
public sealed partial class PowerPreviewPage : NavigatablePage public sealed partial class PowerPreviewPage : NavigablePage
{ {
public PowerPreviewViewModel ViewModel { get; set; } public PowerPreviewViewModel ViewModel { get; set; }

View File

@@ -1,4 +1,4 @@
<local:NavigatablePage <local:NavigablePage
x:Class="Microsoft.PowerToys.Settings.UI.Views.PowerRenamePage" x:Class="Microsoft.PowerToys.Settings.UI.Views.PowerRenamePage"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
@@ -100,4 +100,4 @@
<controls:PageLink Link="https://github.com/chrdavis/SmartRename" Text="Chris Davis's SmartRenamer" /> <controls:PageLink Link="https://github.com/chrdavis/SmartRename" Text="Chris Davis's SmartRenamer" />
</controls:SettingsPageControl.SecondaryLinks> </controls:SettingsPageControl.SecondaryLinks>
</controls:SettingsPageControl> </controls:SettingsPageControl>
</local:NavigatablePage> </local:NavigablePage>

View File

@@ -9,7 +9,7 @@ using Microsoft.UI.Xaml.Controls;
namespace Microsoft.PowerToys.Settings.UI.Views namespace Microsoft.PowerToys.Settings.UI.Views
{ {
public sealed partial class PowerRenamePage : NavigatablePage, IRefreshablePage public sealed partial class PowerRenamePage : NavigablePage, IRefreshablePage
{ {
private PowerRenameViewModel ViewModel { get; set; } private PowerRenameViewModel ViewModel { get; set; }

View File

@@ -1,4 +1,4 @@
<local:NavigatablePage <local:NavigablePage
x:Class="Microsoft.PowerToys.Settings.UI.Views.RegistryPreviewPage" x:Class="Microsoft.PowerToys.Settings.UI.Views.RegistryPreviewPage"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
@@ -57,4 +57,4 @@
<controls:PageLink x:Uid="LearnMore_RegistryPreview" Link="https://aka.ms/PowerToysOverview_RegistryPreview" /> <controls:PageLink x:Uid="LearnMore_RegistryPreview" Link="https://aka.ms/PowerToysOverview_RegistryPreview" />
</controls:SettingsPageControl.PrimaryLinks> </controls:SettingsPageControl.PrimaryLinks>
</controls:SettingsPageControl> </controls:SettingsPageControl>
</local:NavigatablePage> </local:NavigablePage>

View File

@@ -8,7 +8,7 @@ using Microsoft.PowerToys.Settings.UI.ViewModels;
namespace Microsoft.PowerToys.Settings.UI.Views namespace Microsoft.PowerToys.Settings.UI.Views
{ {
public sealed partial class RegistryPreviewPage : NavigatablePage, IRefreshablePage public sealed partial class RegistryPreviewPage : NavigablePage, IRefreshablePage
{ {
private RegistryPreviewViewModel ViewModel { get; set; } private RegistryPreviewViewModel ViewModel { get; set; }

View File

@@ -1,4 +1,4 @@
<local:NavigatablePage <local:NavigablePage
x:Class="Microsoft.PowerToys.Settings.UI.Views.ShortcutGuidePage" x:Class="Microsoft.PowerToys.Settings.UI.Views.ShortcutGuidePage"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
@@ -136,4 +136,4 @@
<controls:PageLink x:Uid="LearnMore_ShortcutGuide" Link="https://aka.ms/PowerToysOverview_ShortcutGuide" /> <controls:PageLink x:Uid="LearnMore_ShortcutGuide" Link="https://aka.ms/PowerToysOverview_ShortcutGuide" />
</controls:SettingsPageControl.PrimaryLinks> </controls:SettingsPageControl.PrimaryLinks>
</controls:SettingsPageControl> </controls:SettingsPageControl>
</local:NavigatablePage> </local:NavigablePage>

View File

@@ -9,7 +9,7 @@ using Microsoft.UI.Xaml.Controls;
namespace Microsoft.PowerToys.Settings.UI.Views namespace Microsoft.PowerToys.Settings.UI.Views
{ {
public sealed partial class ShortcutGuidePage : NavigatablePage, IRefreshablePage public sealed partial class ShortcutGuidePage : NavigablePage, IRefreshablePage
{ {
private ShortcutGuideViewModel ViewModel { get; set; } private ShortcutGuideViewModel ViewModel { get; set; }

View File

@@ -1,4 +1,4 @@
<local:NavigatablePage <local:NavigablePage
x:Class="Microsoft.PowerToys.Settings.UI.Views.WorkspacesPage" x:Class="Microsoft.PowerToys.Settings.UI.Views.WorkspacesPage"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
@@ -57,4 +57,4 @@
<controls:PageLink x:Uid="LearnMore_Workspaces" Link="https://aka.ms/PowerToysOverview_Workspaces" /> <controls:PageLink x:Uid="LearnMore_Workspaces" Link="https://aka.ms/PowerToysOverview_Workspaces" />
</controls:SettingsPageControl.PrimaryLinks> </controls:SettingsPageControl.PrimaryLinks>
</controls:SettingsPageControl> </controls:SettingsPageControl>
</local:NavigatablePage> </local:NavigablePage>

View File

@@ -9,7 +9,7 @@ using Microsoft.UI.Xaml.Controls;
namespace Microsoft.PowerToys.Settings.UI.Views namespace Microsoft.PowerToys.Settings.UI.Views
{ {
public sealed partial class WorkspacesPage : NavigatablePage, IRefreshablePage public sealed partial class WorkspacesPage : NavigablePage, IRefreshablePage
{ {
private WorkspacesViewModel ViewModel { get; set; } private WorkspacesViewModel ViewModel { get; set; }

View File

@@ -1,4 +1,4 @@
<local:NavigatablePage <local:NavigablePage
x:Class="Microsoft.PowerToys.Settings.UI.Views.ZoomItPage" x:Class="Microsoft.PowerToys.Settings.UI.Views.ZoomItPage"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
@@ -12,10 +12,10 @@
AutomationProperties.LandmarkType="Main" AutomationProperties.LandmarkType="Main"
mc:Ignorable="d"> mc:Ignorable="d">
<local:NavigatablePage.Resources> <local:NavigablePage.Resources>
<converters:ZoomItInitialZoomConverter x:Key="ZoomItInitialZoomConverter" /> <converters:ZoomItInitialZoomConverter x:Key="ZoomItInitialZoomConverter" />
<converters:ZoomItTypeSpeedSliderConverter x:Key="ZoomItTypeSpeedSliderConverter" /> <converters:ZoomItTypeSpeedSliderConverter x:Key="ZoomItTypeSpeedSliderConverter" />
</local:NavigatablePage.Resources> </local:NavigablePage.Resources>
<controls:SettingsPageControl <controls:SettingsPageControl
x:Uid="ZoomIt" x:Uid="ZoomIt"
@@ -275,4 +275,4 @@
<controls:PageLink Link="https://learn.microsoft.com/en-us/sysinternals/downloads/zoomit" Text="Sysinternals Zoomit by Mark Russinovich, Alex Mihaiuc, John Stephens" /> <controls:PageLink Link="https://learn.microsoft.com/en-us/sysinternals/downloads/zoomit" Text="Sysinternals Zoomit by Mark Russinovich, Alex Mihaiuc, John Stephens" />
</controls:SettingsPageControl.SecondaryLinks> </controls:SettingsPageControl.SecondaryLinks>
</controls:SettingsPageControl> </controls:SettingsPageControl>
</local:NavigatablePage> </local:NavigablePage>

View File

@@ -12,7 +12,7 @@ using Microsoft.UI.Xaml.Controls;
namespace Microsoft.PowerToys.Settings.UI.Views namespace Microsoft.PowerToys.Settings.UI.Views
{ {
public sealed partial class ZoomItPage : NavigatablePage, IRefreshablePage public sealed partial class ZoomItPage : NavigablePage, IRefreshablePage
{ {
private ZoomItViewModel ViewModel { get; set; } private ZoomItViewModel ViewModel { get; set; }