mirror of
https://github.com/microsoft/PowerToys.git
synced 2026-04-08 04:07:40 +02:00
added a main landmark to all settings pages (#7568)
This commit is contained in:
@@ -9,7 +9,8 @@
|
|||||||
mc:Ignorable="d"
|
mc:Ignorable="d"
|
||||||
d:DesignHeight="300"
|
d:DesignHeight="300"
|
||||||
d:DesignWidth="400"
|
d:DesignWidth="400"
|
||||||
Background="{ThemeResource ApplicationPageBackgroundThemeBrush}">
|
Background="{ThemeResource ApplicationPageBackgroundThemeBrush}"
|
||||||
|
AutomationProperties.LandmarkType="Main">
|
||||||
|
|
||||||
<Grid RowSpacing="{StaticResource DefaultRowSpacing}">
|
<Grid RowSpacing="{StaticResource DefaultRowSpacing}">
|
||||||
<VisualStateManager.VisualStateGroups>
|
<VisualStateManager.VisualStateGroups>
|
||||||
|
|||||||
@@ -12,7 +12,8 @@
|
|||||||
xmlns:Interactivity="using:Microsoft.Xaml.Interactivity"
|
xmlns:Interactivity="using:Microsoft.Xaml.Interactivity"
|
||||||
xmlns:Core="using:Microsoft.Xaml.Interactions.Core"
|
xmlns:Core="using:Microsoft.Xaml.Interactions.Core"
|
||||||
mc:Ignorable="d"
|
mc:Ignorable="d"
|
||||||
Background="{ThemeResource ApplicationPageBackgroundThemeBrush}">
|
Background="{ThemeResource ApplicationPageBackgroundThemeBrush}"
|
||||||
|
AutomationProperties.LandmarkType="Main">
|
||||||
|
|
||||||
<Page.Resources>
|
<Page.Resources>
|
||||||
<converters:StringFormatConverter x:Key="StringFormatConverter"/>
|
<converters:StringFormatConverter x:Key="StringFormatConverter"/>
|
||||||
|
|||||||
@@ -8,7 +8,8 @@
|
|||||||
xmlns:converters="using:Microsoft.Toolkit.Uwp.UI.Converters"
|
xmlns:converters="using:Microsoft.Toolkit.Uwp.UI.Converters"
|
||||||
xmlns:muxc="using:Microsoft.UI.Xaml.Controls"
|
xmlns:muxc="using:Microsoft.UI.Xaml.Controls"
|
||||||
mc:Ignorable="d"
|
mc:Ignorable="d"
|
||||||
Background="{ThemeResource ApplicationPageBackgroundThemeBrush}">
|
Background="{ThemeResource ApplicationPageBackgroundThemeBrush}"
|
||||||
|
AutomationProperties.LandmarkType="Main">
|
||||||
|
|
||||||
<Page.Resources>
|
<Page.Resources>
|
||||||
<converters:BoolToObjectConverter x:Key="BoolToVisibilityConverter" TrueValue="Collapsed" FalseValue="Visible"/>
|
<converters:BoolToObjectConverter x:Key="BoolToVisibilityConverter" TrueValue="Collapsed" FalseValue="Visible"/>
|
||||||
|
|||||||
@@ -9,7 +9,8 @@
|
|||||||
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
||||||
xmlns:muxc="using:Microsoft.UI.Xaml.Controls"
|
xmlns:muxc="using:Microsoft.UI.Xaml.Controls"
|
||||||
mc:Ignorable="d"
|
mc:Ignorable="d"
|
||||||
Background="{ThemeResource ApplicationPageBackgroundThemeBrush}">
|
Background="{ThemeResource ApplicationPageBackgroundThemeBrush}"
|
||||||
|
AutomationProperties.LandmarkType="Main">
|
||||||
|
|
||||||
<Page.Resources>
|
<Page.Resources>
|
||||||
<!--<viewModel:ImageResizerViewModel x:Key="ViewModel"/>-->
|
<!--<viewModel:ImageResizerViewModel x:Key="ViewModel"/>-->
|
||||||
|
|||||||
@@ -10,7 +10,8 @@
|
|||||||
xmlns:CustomControls="using:Microsoft.PowerToys.Settings.UI.Controls"
|
xmlns:CustomControls="using:Microsoft.PowerToys.Settings.UI.Controls"
|
||||||
xmlns:Lib="using:Microsoft.PowerToys.Settings.UI.Library"
|
xmlns:Lib="using:Microsoft.PowerToys.Settings.UI.Library"
|
||||||
mc:Ignorable="d"
|
mc:Ignorable="d"
|
||||||
Background="{ThemeResource ApplicationPageBackgroundThemeBrush}">
|
Background="{ThemeResource ApplicationPageBackgroundThemeBrush}"
|
||||||
|
AutomationProperties.LandmarkType="Main">
|
||||||
|
|
||||||
<Page.Resources>
|
<Page.Resources>
|
||||||
<local:VisibleIfNotEmpty x:Key="visibleIfNotEmptyConverter" />
|
<local:VisibleIfNotEmpty x:Key="visibleIfNotEmptyConverter" />
|
||||||
|
|||||||
@@ -9,7 +9,8 @@
|
|||||||
xmlns:viewModel="using:Microsoft.PowerToys.Settings.UI.ViewModels"
|
xmlns:viewModel="using:Microsoft.PowerToys.Settings.UI.ViewModels"
|
||||||
xmlns:CustomControls="using:Microsoft.PowerToys.Settings.UI.Controls"
|
xmlns:CustomControls="using:Microsoft.PowerToys.Settings.UI.Controls"
|
||||||
mc:Ignorable="d"
|
mc:Ignorable="d"
|
||||||
Background="{ThemeResource ApplicationPageBackgroundThemeBrush}">
|
Background="{ThemeResource ApplicationPageBackgroundThemeBrush}"
|
||||||
|
AutomationProperties.LandmarkType="Main">
|
||||||
|
|
||||||
<Grid RowSpacing="{StaticResource DefaultRowSpacing}">
|
<Grid RowSpacing="{StaticResource DefaultRowSpacing}">
|
||||||
<VisualStateManager.VisualStateGroups>
|
<VisualStateManager.VisualStateGroups>
|
||||||
|
|||||||
@@ -6,7 +6,8 @@
|
|||||||
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
||||||
xmlns:converters="using:Microsoft.Toolkit.Uwp.UI.Converters"
|
xmlns:converters="using:Microsoft.Toolkit.Uwp.UI.Converters"
|
||||||
mc:Ignorable="d"
|
mc:Ignorable="d"
|
||||||
Background="{ThemeResource ApplicationPageBackgroundThemeBrush}">
|
Background="{ThemeResource ApplicationPageBackgroundThemeBrush}"
|
||||||
|
AutomationProperties.LandmarkType="Main">
|
||||||
|
|
||||||
<Page.Resources>
|
<Page.Resources>
|
||||||
<converters:BoolToObjectConverter x:Key="BoolToVisibilityConverter" TrueValue="Collapsed" FalseValue="Visible"/>
|
<converters:BoolToObjectConverter x:Key="BoolToVisibilityConverter" TrueValue="Collapsed" FalseValue="Visible"/>
|
||||||
|
|||||||
@@ -7,7 +7,8 @@
|
|||||||
xmlns:CustomControls="using:Microsoft.PowerToys.Settings.UI.Controls"
|
xmlns:CustomControls="using:Microsoft.PowerToys.Settings.UI.Controls"
|
||||||
xmlns:muxc="using:Microsoft.UI.Xaml.Controls"
|
xmlns:muxc="using:Microsoft.UI.Xaml.Controls"
|
||||||
mc:Ignorable="d"
|
mc:Ignorable="d"
|
||||||
Background="{ThemeResource ApplicationPageBackgroundThemeBrush}">
|
Background="{ThemeResource ApplicationPageBackgroundThemeBrush}"
|
||||||
|
AutomationProperties.LandmarkType="Main">
|
||||||
|
|
||||||
<Grid RowSpacing="{StaticResource DefaultRowSpacing}">
|
<Grid RowSpacing="{StaticResource DefaultRowSpacing}">
|
||||||
<VisualStateManager.VisualStateGroups>
|
<VisualStateManager.VisualStateGroups>
|
||||||
|
|||||||
@@ -9,7 +9,8 @@
|
|||||||
xmlns:CustomControls="using:Microsoft.PowerToys.Settings.UI.Controls"
|
xmlns:CustomControls="using:Microsoft.PowerToys.Settings.UI.Controls"
|
||||||
xmlns:muxc="using:Microsoft.UI.Xaml.Controls" xmlns:converters="using:Microsoft.Toolkit.Uwp.UI.Converters"
|
xmlns:muxc="using:Microsoft.UI.Xaml.Controls" xmlns:converters="using:Microsoft.Toolkit.Uwp.UI.Converters"
|
||||||
mc:Ignorable="d"
|
mc:Ignorable="d"
|
||||||
Background="{ThemeResource ApplicationPageBackgroundThemeBrush}">
|
Background="{ThemeResource ApplicationPageBackgroundThemeBrush}"
|
||||||
|
AutomationProperties.LandmarkType="Main">
|
||||||
|
|
||||||
<Page.Resources>
|
<Page.Resources>
|
||||||
<converters:StringFormatConverter x:Key="StringFormatConverter"/>
|
<converters:StringFormatConverter x:Key="StringFormatConverter"/>
|
||||||
|
|||||||
Reference in New Issue
Block a user