2020-03-27 23:58:53 +08:00
|
|
|
<Page
|
|
|
|
x:Class="Microsoft.PowerToys.Settings.UI.Views.ShortcutGuidePage"
|
|
|
|
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
|
|
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
|
|
|
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
|
|
|
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
2021-07-05 22:25:23 +08:00
|
|
|
xmlns:controls="using:Microsoft.PowerToys.Settings.UI.Controls"
|
2021-08-24 01:48:52 +08:00
|
|
|
xmlns:muxc="using:Microsoft.UI.Xaml.Controls"
|
2021-05-20 20:07:34 +08:00
|
|
|
xmlns:converters="using:Microsoft.Toolkit.Uwp.UI.Converters"
|
2020-03-27 23:58:53 +08:00
|
|
|
mc:Ignorable="d"
|
2020-10-29 02:10:08 +08:00
|
|
|
AutomationProperties.LandmarkType="Main">
|
2020-03-27 23:58:53 +08:00
|
|
|
|
2020-05-29 21:11:52 +08:00
|
|
|
<Page.Resources>
|
|
|
|
<converters:StringFormatConverter x:Key="StringFormatConverter"/>
|
|
|
|
</Page.Resources>
|
2020-08-08 03:00:48 +08:00
|
|
|
|
2021-08-24 01:48:52 +08:00
|
|
|
<controls:SettingsPageControl x:Uid="ShortcutGuide"
|
2021-08-25 15:22:12 +08:00
|
|
|
ModuleImageSource="ms-appx:///Assets/Modules/ShortcutGuide.png">
|
2021-07-05 22:25:23 +08:00
|
|
|
<controls:SettingsPageControl.ModuleContent>
|
2021-08-24 01:48:52 +08:00
|
|
|
<StackPanel Orientation="Vertical">
|
|
|
|
<controls:Setting x:Uid="ShortcutGuide_Enable">
|
|
|
|
<controls:Setting.Icon>
|
|
|
|
<BitmapIcon UriSource="ms-appx:///Assets/FluentIcons/FluentIconsShortcutGuide.png" ShowAsMonochrome="False" />
|
|
|
|
</controls:Setting.Icon>
|
|
|
|
<controls:Setting.ActionContent>
|
|
|
|
<ToggleSwitch IsOn="{x:Bind Mode=TwoWay, Path=ViewModel.IsEnabled}"/>
|
|
|
|
</controls:Setting.ActionContent>
|
|
|
|
</controls:Setting>
|
2021-07-05 22:25:23 +08:00
|
|
|
|
2021-08-24 01:48:52 +08:00
|
|
|
<controls:SettingsGroup x:Uid="Shortcut" IsEnabled="{x:Bind Mode=OneWay, Path=ViewModel.IsEnabled}">
|
2021-07-05 22:25:23 +08:00
|
|
|
|
2021-08-24 01:48:52 +08:00
|
|
|
<controls:Setting x:Uid="Activation_Shortcut" Icon="" IsEnabled="{x:Bind Mode=OneWay, Path=ViewModel.IsEnabled}">
|
|
|
|
<controls:Setting.ActionContent>
|
2021-09-07 02:21:18 +08:00
|
|
|
<controls:ShortcutControl HotkeySettings="{x:Bind Path=ViewModel.OpenShortcutGuide, Mode=TwoWay}"
|
2021-08-24 01:48:52 +08:00
|
|
|
MinWidth="{StaticResource SettingActionControlMinWidth}"/>
|
|
|
|
</controls:Setting.ActionContent>
|
|
|
|
</controls:Setting>
|
|
|
|
</controls:SettingsGroup>
|
2020-07-25 03:02:56 +08:00
|
|
|
|
2021-08-24 01:48:52 +08:00
|
|
|
<controls:SettingsGroup x:Uid="ShortcutGuide_Appearance_Behavior" IsEnabled="{x:Bind Mode=OneWay, Path=ViewModel.IsEnabled}">
|
2021-07-05 22:25:23 +08:00
|
|
|
|
2021-09-19 22:22:39 +08:00
|
|
|
<controls:Setting x:Uid="ColorModeHeader" Icon="">
|
2021-08-24 01:48:52 +08:00
|
|
|
<controls:Setting.Description>
|
|
|
|
<HyperlinkButton Click="OpenColorsSettings_Click"
|
|
|
|
x:Uid="Windows_Color_Settings"/>
|
|
|
|
</controls:Setting.Description>
|
|
|
|
<controls:Setting.ActionContent>
|
|
|
|
<ComboBox SelectedIndex="{x:Bind Mode=TwoWay, Path=ViewModel.ThemeIndex}" MinWidth="{StaticResource SettingActionControlMinWidth}">
|
|
|
|
<ComboBoxItem x:Uid="Radio_Theme_Dark"/>
|
|
|
|
<ComboBoxItem x:Uid="Radio_Theme_Light"/>
|
|
|
|
<ComboBoxItem x:Uid="Radio_Theme_Default"/>
|
|
|
|
</ComboBox>
|
|
|
|
</controls:Setting.ActionContent>
|
|
|
|
</controls:Setting>
|
2020-03-27 23:58:53 +08:00
|
|
|
|
|
|
|
|
2021-08-24 01:48:52 +08:00
|
|
|
<controls:Setting x:Uid="ShortcutGuide_OverlayOpacity">
|
|
|
|
<controls:Setting.ActionContent>
|
|
|
|
<Slider Minimum="0"
|
|
|
|
Maximum="100"
|
|
|
|
MinWidth="{StaticResource SettingActionControlMinWidth}"
|
|
|
|
Value="{x:Bind Mode=TwoWay, Path=ViewModel.OverlayOpacity}"/>
|
|
|
|
</controls:Setting.ActionContent>
|
|
|
|
</controls:Setting>
|
|
|
|
</controls:SettingsGroup>
|
2020-07-25 03:02:56 +08:00
|
|
|
|
2021-08-24 01:48:52 +08:00
|
|
|
<controls:SettingsGroup x:Uid="ExcludedApps" IsEnabled="{x:Bind Mode=OneWay, Path=ViewModel.IsEnabled}">
|
|
|
|
<controls:SettingExpander IsExpanded="True">
|
|
|
|
<controls:SettingExpander.Header>
|
2021-09-19 22:22:39 +08:00
|
|
|
<controls:Setting x:Uid="ShortcutGuide_DisabledApps" Icon="" Style="{StaticResource ExpanderHeaderSettingStyle}"/>
|
2021-08-24 01:48:52 +08:00
|
|
|
</controls:SettingExpander.Header>
|
|
|
|
<controls:SettingExpander.Content>
|
|
|
|
<TextBox x:Uid="ShortcutGuide_DisabledApps_TextBoxControl"
|
|
|
|
Margin="{StaticResource ExpanderSettingMargin}"
|
|
|
|
Text="{x:Bind Mode=TwoWay, Path=ViewModel.DisabledApps, UpdateSourceTrigger=PropertyChanged}"
|
|
|
|
ScrollViewer.VerticalScrollBarVisibility ="Visible"
|
|
|
|
ScrollViewer.VerticalScrollMode="Enabled"
|
|
|
|
ScrollViewer.IsVerticalRailEnabled="True"
|
|
|
|
TextWrapping="Wrap"
|
|
|
|
AcceptsReturn="True"
|
|
|
|
MinWidth="240"
|
|
|
|
MinHeight="160" />
|
|
|
|
</controls:SettingExpander.Content>
|
|
|
|
</controls:SettingExpander>
|
|
|
|
</controls:SettingsGroup>
|
2020-07-25 03:02:56 +08:00
|
|
|
</StackPanel>
|
2021-07-05 22:25:23 +08:00
|
|
|
</controls:SettingsPageControl.ModuleContent>
|
2021-08-24 01:48:52 +08:00
|
|
|
<controls:SettingsPageControl.PrimaryLinks>
|
|
|
|
<controls:PageLink x:Uid="LearnMore_ShortcutGuide" Link="https://aka.ms/PowerToysOverview_ShortcutGuide"/>
|
|
|
|
</controls:SettingsPageControl.PrimaryLinks>
|
2021-07-05 22:25:23 +08:00
|
|
|
</controls:SettingsPageControl>
|
2020-03-27 23:58:53 +08:00
|
|
|
</Page>
|