2020-12-15 20:16:09 +08:00
<Page
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
2021-02-26 19:21:58 +08:00
xmlns:ViewModels="using:Microsoft.PowerToys.Settings.UI.Library.ViewModels"
2020-12-15 20:16:09 +08:00
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
2021-08-12 20:53:12 +08:00
xmlns:ic="using:Microsoft.Xaml.Interactions.Core"
xmlns:i="using:Microsoft.Xaml.Interactivity"
2020-12-15 20:16:09 +08:00
x:Class="Microsoft.PowerToys.Settings.UI.Views.PowerLauncherPage"
2021-07-05 22:25:23 +08:00
xmlns:controls="using:Microsoft.PowerToys.Settings.UI.Controls"
2022-04-20 04:00:28 +08:00
xmlns:converters="using:CommunityToolkit.WinUI.UI.Converters"
2020-12-15 20:16:09 +08:00
mc:Ignorable="d"
AutomationProperties.LandmarkType="Main">
2022-07-04 22:12:56 +08:00
2021-02-26 19:21:58 +08:00
<Page.Resources>
<converters:BoolToObjectConverter x:Key="BoolToVisibilityConverter" TrueValue="Visible" FalseValue="Collapsed"/>
<converters:BoolNegationConverter x:Key="BoolNegationConverter"/>
</Page.Resources>
2020-12-15 20:16:09 +08:00
2021-08-24 01:48:52 +08:00
<controls:SettingsPageControl x:Uid="PowerLauncher"
2021-08-25 15:22:12 +08:00
ModuleImageSource="ms-appx:///Assets/Modules/PowerLauncher.png">
2021-07-05 22:25:23 +08:00
<controls:SettingsPageControl.ModuleContent>
<StackPanel Orientation="Vertical">
2021-08-24 01:48:52 +08:00
<controls:Setting x:Uid="PowerLauncher_EnablePowerLauncher">
<controls:Setting.Icon>
<BitmapIcon UriSource="ms-appx:///Assets/FluentIcons/FluentIconsPowerToysRun.png" ShowAsMonochrome="False" />
</controls:Setting.Icon>
<controls:Setting.ActionContent>
2021-12-20 20:15:08 +08:00
<ToggleSwitch IsOn="{x:Bind ViewModel.EnablePowerLauncher, Mode=TwoWay}" x:Uid="ToggleSwitch"/>
2021-08-24 01:48:52 +08:00
</controls:Setting.ActionContent>
</controls:Setting>
<controls:SettingsGroup x:Uid="Shortcut" IsEnabled="{x:Bind Mode=OneWay, Path=ViewModel.EnablePowerLauncher}">
<controls:SettingExpander IsExpanded="True">
<controls:SettingExpander.Header>
<controls:Setting x:Uid="Activation_Shortcut" Icon="" Style="{StaticResource ExpanderHeaderSettingStyle}">
<controls:Setting.ActionContent>
2021-09-07 02:21:18 +08:00
<controls:ShortcutControl HotkeySettings="{x:Bind Path=ViewModel.OpenPowerLauncher, Mode=TwoWay}"
2021-10-19 21:54:44 +08:00
MinWidth="{StaticResource SettingActionControlMinWidth}"/>
2021-08-24 01:48:52 +08:00
</controls:Setting.ActionContent>
</controls:Setting>
</controls:SettingExpander.Header>
<controls:SettingExpander.Content>
<StackPanel>
2021-10-19 19:44:13 +08:00
<controls:CheckBoxWithDescriptionControl x:Uid="PowerLauncher_UseCentralizedKeyboardHook"
2022-09-21 21:28:38 +08:00
IsChecked="{x:Bind Mode=TwoWay, Path=ViewModel.UseCentralizedKeyboardHook}"
Margin="{StaticResource ExpanderSettingMargin}"/>
2021-10-01 21:59:52 +08:00
<Rectangle Style="{StaticResource ExpanderSeparatorStyle}" />
2021-10-19 19:44:13 +08:00
<CheckBox x:Uid="PowerLauncher_IgnoreHotkeysInFullScreen"
IsChecked="{x:Bind Mode=TwoWay, Path=ViewModel.IgnoreHotkeysInFullScreen}"
Margin="{StaticResource ExpanderSettingMargin}" />
2021-08-24 01:48:52 +08:00
</StackPanel>
</controls:SettingExpander.Content>
</controls:SettingExpander>
</controls:SettingsGroup>
2020-12-15 20:16:09 +08:00
2021-08-24 01:48:52 +08:00
<!--<Custom:HotkeySettingsControl x:Uid="PowerLauncher_OpenFileLocation"
2020-12-15 20:16:09 +08:00
HorizontalAlignment="Left"
Margin="{StaticResource SmallTopMargin}"
HotkeySettings="{Binding Path=ViewModel.OpenFileLocation, Mode=TwoWay}"
IsEnabled="False"
/>
<Custom:HotkeySettingsControl x:Uid="PowerLauncher_CopyPathLocation"
HorizontalAlignment="Left"
Margin="{StaticResource SmallTopMargin}"
HotkeySettings="{Binding Path=ViewModel.CopyPathLocation, Mode=TwoWay}"
Keys="Win, Ctrl, Alt, Shift"
IsEnabled="False"
/>
<Custom:HotkeySettingsControl x:Uid="PowerLauncher_OpenConsole"
HorizontalAlignment="Left"
Margin="{StaticResource SmallTopMargin}"
HotkeySettings="{Binding Path=ViewModel.OpenConsole, Mode=TwoWay}"
Keys="Win, Ctrl, Alt, Shift"
IsEnabled="False"
/>-->
2021-08-24 01:48:52 +08:00
<!--<CheckBox x:Uid="PowerLauncher_OverrideWinRKey"
2020-12-15 20:16:09 +08:00
Margin="{StaticResource SmallTopMargin}"
IsChecked="False"
IsEnabled="False"
/>-->
2021-08-24 01:48:52 +08:00
<!--<CheckBox x:Uid="PowerLauncher_OverrideWinSKey"
2020-12-15 20:16:09 +08:00
Margin="{StaticResource SmallTopMargin}"
IsChecked="{Binding Mode=TwoWay, Path=ViewModel.OverrideWinSKey}"
IsEnabled="False"
/>-->
2021-08-24 01:48:52 +08:00
<controls:SettingsGroup x:Uid="PowerLauncher_SearchResults" IsEnabled="{x:Bind Mode=OneWay, Path=ViewModel.EnablePowerLauncher}">
2022-06-12 21:12:10 +08:00
<controls:SettingExpander IsExpanded="True">
<controls:SettingExpander.Header>
2022-07-15 17:17:18 +08:00
<controls:Setting x:Uid="PowerLauncher_SearchQueryResultsWithDelay" Icon="" Style="{StaticResource ExpanderHeaderSettingStyle}" >
2022-06-12 21:12:10 +08:00
<controls:Setting.ActionContent>
<ToggleSwitch IsOn="{x:Bind Mode=TwoWay, Path=ViewModel.SearchQueryResultsWithDelay}"/>
</controls:Setting.ActionContent>
</controls:Setting>
</controls:SettingExpander.Header>
<controls:SettingExpander.Content>
2022-08-10 18:07:53 +08:00
<StackPanel>
<controls:Setting x:Uid="PowerLauncher_FastSearchInputDelayMs" IsEnabled="{x:Bind Mode=OneWay, Path=ViewModel.SearchQueryResultsWithDelay}" Style="{StaticResource ExpanderContentSettingStyle}">
<controls:Setting.ActionContent>
2022-09-21 00:59:18 +08:00
<NumberBox Minimum="0"
2022-09-21 21:28:38 +08:00
Maximum="500"
Value="{x:Bind Mode=TwoWay, Path=ViewModel.SearchInputDelayFast}"
MinWidth="{StaticResource SettingActionControlMinWidth}"
SpinButtonPlacementMode="Compact"
HorizontalAlignment="Left"
SmallChange="10"
LargeChange="50"/>
2022-08-10 18:07:53 +08:00
</controls:Setting.ActionContent>
</controls:Setting>
<controls:Setting x:Uid="PowerLauncher_SlowSearchInputDelayMs" IsEnabled="{x:Bind Mode=OneWay, Path=ViewModel.SearchQueryResultsWithDelay}" Style="{StaticResource ExpanderContentSettingStyle}">
<controls:Setting.ActionContent>
2022-09-21 00:59:18 +08:00
<NumberBox Minimum="0"
2022-09-21 21:28:38 +08:00
Maximum="1000"
Value="{x:Bind Mode=TwoWay, Path=ViewModel.SearchInputDelay}"
MinWidth="{StaticResource SettingActionControlMinWidth}"
SpinButtonPlacementMode="Compact"
HorizontalAlignment="Left"
SmallChange="10"
LargeChange="50"/>
2022-08-10 18:07:53 +08:00
</controls:Setting.ActionContent>
</controls:Setting>
</StackPanel>
2022-06-12 21:12:10 +08:00
</controls:SettingExpander.Content>
</controls:SettingExpander>
2021-08-24 01:48:52 +08:00
<controls:SettingExpander IsExpanded="True">
<controls:SettingExpander.Header>
2022-09-20 22:21:05 +08:00
<controls:Setting x:Uid="PowerLauncher_MaximumNumberOfResults" Icon="" Style="{StaticResource ExpanderHeaderSettingStyle}">
2021-08-24 01:48:52 +08:00
<controls:Setting.ActionContent>
2022-09-21 00:59:18 +08:00
<NumberBox Value="{Binding Mode=TwoWay, Path=MaximumNumberOfResults}"
2022-09-21 21:28:38 +08:00
MinWidth="{StaticResource SettingActionControlMinWidth}"
SpinButtonPlacementMode="Compact"
Minimum="1"/>
2021-08-24 01:48:52 +08:00
</controls:Setting.ActionContent>
</controls:Setting>
</controls:SettingExpander.Header>
<controls:SettingExpander.Content>
<CheckBox x:Uid="PowerLauncher_ClearInputOnLaunch" IsChecked="{x:Bind Mode=TwoWay, Path=ViewModel.ClearInputOnLaunch}" Margin="{StaticResource ExpanderSettingMargin}" />
</controls:SettingExpander.Content>
</controls:SettingExpander>
2022-07-04 22:12:56 +08:00
<controls:SettingExpander IsExpanded="True">
<controls:SettingExpander.Header>
2022-09-20 22:21:05 +08:00
<controls:Setting x:Uid="PowerLauncher_SearchQueryTuningEnabled" Icon="" Style="{StaticResource ExpanderHeaderSettingStyle}" >
2022-07-04 22:12:56 +08:00
<controls:Setting.ActionContent>
<ToggleSwitch IsOn="{x:Bind Mode=TwoWay, Path=ViewModel.SearchQueryTuningEnabled}"/>
</controls:Setting.ActionContent>
</controls:Setting>
</controls:SettingExpander.Header>
<controls:SettingExpander.Content>
<StackPanel>
<controls:Setting x:Uid="PowerLauncher_SearchClickedItemWeight" Style="{StaticResource ExpanderContentSettingStyle}" IsEnabled="{x:Bind Mode=OneWay, Path=ViewModel.SearchQueryTuningEnabled}">
<controls:Setting.ActionContent>
2022-09-21 00:59:18 +08:00
<NumberBox Minimum="0"
2022-09-21 21:28:38 +08:00
Maximum="1000"
Value="{x:Bind Mode=TwoWay, Path=ViewModel.SearchClickedItemWeight}"
MinWidth="{StaticResource SettingActionControlMinWidth}"
SpinButtonPlacementMode="Compact"
HorizontalAlignment="Left"
SmallChange="5"
LargeChange="50"/>
2022-07-04 22:12:56 +08:00
</controls:Setting.ActionContent>
</controls:Setting>
<!--<controls:Setting x:Uid="PowerLauncher_WaitForSlowResults" Style="{StaticResource ExpanderContentSettingStyle}">
<controls:Setting.ActionContent>
<CheckBox
IsChecked="{x:Bind Mode=TwoWay, Path=ViewModel.SearchWaitForSlowResults}"
Margin="{StaticResource ExpanderSettingMargin}" />
</controls:Setting.ActionContent>
</controls:Setting>-->
<Rectangle Style="{StaticResource ExpanderSeparatorStyle}" />
2022-09-21 21:28:38 +08:00
<controls:CheckBoxWithDescriptionControl x:Uid="PowerLauncher_WaitForSlowResults"
2022-07-04 22:12:56 +08:00
IsEnabled="{x:Bind Mode=OneWay, Path=ViewModel.SearchQueryTuningEnabled}"
IsChecked="{x:Bind Mode=TwoWay, Path=ViewModel.SearchWaitForSlowResults}"
2022-09-21 21:28:38 +08:00
Margin="{StaticResource ExpanderSettingMargin}" />
2022-07-04 22:12:56 +08:00
</StackPanel>
</controls:SettingExpander.Content>
</controls:SettingExpander>
2021-08-24 01:48:52 +08:00
</controls:SettingsGroup>
<!--<ComboBox x:Uid="PowerLauncher_SearchResultPreference"
2020-12-15 20:16:09 +08:00
MinWidth="320"
Margin="{StaticResource SmallTopMargin}"
ItemsSource="{Binding searchResultPreferencesOptions}"
SelectedItem="{Binding Mode=TwoWay, Path=SelectedSearchResultPreference}"
SelectedValuePath="Item2"
DisplayMemberPath="Item1"
IsEnabled="False"
/>
<ComboBox x:Uid="PowerLauncher_SearchTypePreference"
MinWidth="320"
Margin="{StaticResource SmallTopMargin}"
ItemsSource="{Binding searchTypePreferencesOptions}"
SelectedItem="{Binding Mode=TwoWay, Path=SelectedSearchTypePreference}"
SelectedValuePath="Item2"
DisplayMemberPath="Item1"
IsEnabled="False"
/>-->
2021-08-24 01:48:52 +08:00
<controls:SettingsGroup x:Uid="Run_PositionAppearance_GroupSettings" IsEnabled="{x:Bind Mode=OneWay, Path=ViewModel.EnablePowerLauncher}">
2022-07-15 17:17:18 +08:00
<controls:Setting x:Uid="Run_PositionHeader" Icon="">
2021-08-24 01:48:52 +08:00
<controls:Setting.ActionContent>
<ComboBox SelectedIndex="{x:Bind Mode=TwoWay, Path=ViewModel.MonitorPositionIndex}" MinWidth="{StaticResource SettingActionControlMinWidth}">
<ComboBoxItem x:Uid="Run_Radio_Position_Cursor"/>
<ComboBoxItem x:Uid="Run_Radio_Position_Primary_Monitor"/>
<ComboBoxItem x:Uid="Run_Radio_Position_Focus"/>
</ComboBox>
</controls:Setting.ActionContent>
</controls:Setting>
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>
</controls:SettingsGroup>
<controls:SettingsGroup x:Uid="PowerLauncher_Plugins" IsEnabled="{x:Bind Mode=OneWay, Path=ViewModel.EnablePowerLauncher}">
2022-08-24 04:28:41 +08:00
2022-09-21 00:59:18 +08:00
<InfoBar x:Uid="Run_ConflictingKeywordInfo"
2022-09-21 21:28:38 +08:00
Severity="Informational"
IsClosable="False"
IsOpen="{x:Bind Mode=OneWay, Path=ViewModel.EnablePowerLauncher}"
IsTabStop="{x:Bind Mode=OneWay, Path=ViewModel.EnablePowerLauncher}">
2022-09-21 00:59:18 +08:00
<InfoBar.ActionButton>
2022-08-24 04:28:41 +08:00
<HyperlinkButton NavigateUri="https://aka.ms/PowerToysOverview_PowerToysRun#direct-activation-commands"
2022-09-21 21:28:38 +08:00
x:Uid="Run_ConflictingKeywordInfo_Link"/>
2022-09-21 00:59:18 +08:00
</InfoBar.ActionButton>
</InfoBar>
2022-08-24 04:28:41 +08:00
2021-08-24 01:48:52 +08:00
<controls:Setting x:Uid="Run_PluginUseDescription" Icon="">
<controls:Setting.ActionContent>
<AutoSuggestBox x:Uid="PowerLauncher_SearchList"
QueryIcon="Find"
MinWidth="{StaticResource SettingActionControlMinWidth}"
Text="{x:Bind ViewModel.SearchText, Mode=TwoWay}">
<i:Interaction.Behaviors>
<ic:EventTriggerBehavior EventName="TextChanged">
<ic:InvokeCommandAction Command="{x:Bind ViewModel.SearchPluginsCommand}" />
</ic:EventTriggerBehavior>
</i:Interaction.Behaviors>
</AutoSuggestBox>
</controls:Setting.ActionContent>
</controls:Setting>
2022-09-21 00:59:18 +08:00
<InfoBar x:Uid="Run_AllPluginsDisabled"
2021-10-01 21:11:09 +08:00
Severity="Error"
2021-10-19 21:09:34 +08:00
IsTabStop="{x:Bind ViewModel.ShowAllPluginsDisabledWarning, Mode=OneWay}"
2021-10-01 21:11:09 +08:00
IsOpen="{x:Bind ViewModel.ShowAllPluginsDisabledWarning, Mode=OneWay}"
IsClosable="False" />
2021-08-24 01:48:52 +08:00
<StackPanel Orientation="Horizontal" Visibility="{x:Bind ViewModel.ShowPluginsLoadingMessage, Mode=OneWay, Converter={StaticResource BoolToVisibilityConverter}}">
2022-09-21 00:59:18 +08:00
<ProgressRing IsActive="True" Width="20" Height="20" Margin="18,18" />
2021-08-24 01:48:52 +08:00
<TextBlock x:Uid="Run_PluginsLoading" Style="{ThemeResource SecondaryTextStyle}" VerticalAlignment="Center" />
</StackPanel>
<ListView ItemsSource="{x:Bind Path=ViewModel.Plugins, Mode=OneWay}"
IsItemClickEnabled="False"
SelectionMode="None"
x:Name="PluginsListView">
<ListView.ItemTemplate>
2021-12-20 20:15:08 +08:00
<DataTemplate x:DataType="ViewModels:PowerLauncherPluginViewModel" x:DefaultBindMode="OneWay">
2021-08-24 01:48:52 +08:00
<Grid>
<controls:SettingExpander>
<controls:SettingExpander.Header>
<controls:Setting Header="{x:Bind Path=Name}" Description="{x:Bind Description}" Style="{StaticResource ExpanderHeaderSettingStyle}">
<controls:Setting.Icon>
<Image Source="{x:Bind IconPath}"
2022-09-21 21:28:38 +08:00
Width="20"
Height="20" />
2021-08-24 01:48:52 +08:00
</controls:Setting.Icon>
<controls:Setting.ActionContent>
2022-08-24 04:28:41 +08:00
<StackPanel Orientation="Horizontal" Spacing="16" >
2021-08-27 01:53:25 +08:00
2022-04-20 04:00:28 +08:00
<!-- todo(Stefan): InfoBadge not available
2022-09-21 00:59:18 +08:00
<InfoBadge AutomationProperties.AccessibilityView="Raw"
2022-08-24 04:28:41 +08:00
Visibility="{x:Bind ShowBadgeOnPluginSettingError}"
2021-09-19 22:22:39 +08:00
Style="{StaticResource CriticalIconInfoBadgeStyle}" />
2022-04-20 04:00:28 +08:00
-->
2021-12-20 20:15:08 +08:00
2022-08-24 04:28:41 +08:00
<!-- Temporary badge replacement for InfoBadge control (htcfreek). (Normally you need one grid per icon group. But if you want to show two badges at the same place in a StackPanel you have to put all FontIcons into the same Grid.)-->
<Grid>
<!-- Error badge -->
<FontIcon FontFamily="{StaticResource SymbolThemeFontFamily}" Glyph="{StaticResource InfoBarIconBackgroundGlyph}" Foreground="{ThemeResource InfoBarErrorSeverityIconBackground}" Visibility="{x:Bind ShowBadgeOnPluginSettingError}"/>
<FontIcon FontFamily="{StaticResource SymbolThemeFontFamily}" Glyph="{StaticResource InfoBarErrorIconGlyph}" Foreground="{ThemeResource InfoBarErrorSeverityIconForeground}" Visibility="{x:Bind ShowBadgeOnPluginSettingError}"/>
</Grid>
2021-08-27 01:53:25 +08:00
<ToggleSwitch x:Uid="PowerLauncher_EnablePluginToggle"
IsOn="{x:Bind Path=Disabled, Converter={StaticResource BoolNegationConverter}, Mode=TwoWay}"/>
</StackPanel>
2021-12-20 20:15:08 +08:00
2021-08-24 01:48:52 +08:00
</controls:Setting.ActionContent>
</controls:Setting>
</controls:SettingExpander.Header>
<controls:SettingExpander.Content>
<StackPanel>
<controls:Setting x:Uid="PowerLauncher_ActionKeyword" Style="{StaticResource ExpanderContentSettingStyle}" IsEnabled="{x:Bind Enabled, Mode=OneWay}">
<controls:Setting.ActionContent>
2021-08-27 01:53:25 +08:00
<TextBox Text="{x:Bind Path=ActionKeyword, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}"
2021-08-24 01:48:52 +08:00
MinWidth="{StaticResource SettingActionControlMinWidth}" />
</controls:Setting.ActionContent>
</controls:Setting>
2022-07-04 22:12:56 +08:00
2022-09-21 00:59:18 +08:00
<InfoBar Severity="Error" x:Uid="Run_NotAccessibleWarning"
2021-11-30 21:43:04 +08:00
IsTabStop="{x:Bind ShowNotAccessibleWarning}"
2021-08-27 01:53:25 +08:00
IsOpen="{x:Bind ShowNotAccessibleWarning}"
IsClosable="False" />
2021-08-24 01:48:52 +08:00
<Rectangle Style="{StaticResource ExpanderSeparatorStyle}" />
2022-07-04 22:12:56 +08:00
<StackPanel Orientation="Vertical">
<CheckBox AutomationProperties.Name="{Binding ElementName=IncludeInGlobalResultTitle, Path=Text}"
2021-08-24 01:48:52 +08:00
IsChecked="{x:Bind Path=IsGlobal, Mode=TwoWay}"
IsEnabled="{x:Bind Enabled, Mode=OneWay}"
2022-09-21 21:28:38 +08:00
Margin="{StaticResource ExpanderSettingMargin}">
2022-07-04 22:12:56 +08:00
<StackPanel Orientation="Vertical">
<TextBlock x:Name="IncludeInGlobalResultTitle"
2022-09-21 21:28:38 +08:00
x:Uid="PowerLauncher_IncludeInGlobalResultTitle" />
2022-07-04 22:12:56 +08:00
<controls:IsEnabledTextBlock x:Uid="PowerLauncher_IncludeInGlobalResultDescription"
2022-09-21 21:28:38 +08:00
FontSize="{StaticResource SecondaryTextFontSize}"
Foreground="{ThemeResource TextFillColorSecondaryBrush}"/>
2022-07-04 22:12:56 +08:00
</StackPanel>
</CheckBox>
<controls:Setting x:Uid="PowerLauncher_PluginWeightBoost"
2022-09-21 21:28:38 +08:00
Style="{StaticResource ExpanderContentSettingStyleTight}"
IsEnabled="{x:Bind IsGlobalAndEnabled, Mode=OneWay}">
2022-07-04 22:12:56 +08:00
<controls:Setting.ActionContent>
2022-09-21 00:59:18 +08:00
<NumberBox Minimum="-1000"
2022-07-22 18:55:58 +08:00
Maximum="1000"
Value="{x:Bind Mode=TwoWay, Path=WeightBoost}"
MinWidth="{StaticResource SettingActionControlMinWidth}"
SpinButtonPlacementMode="Compact"
HorizontalAlignment="Left"
SmallChange="10"
LargeChange="50"/>
2022-07-04 22:12:56 +08:00
</controls:Setting.ActionContent>
</controls:Setting>
</StackPanel>
2021-12-20 20:15:08 +08:00
2021-08-24 01:48:52 +08:00
<ListView ItemsSource="{x:Bind Path=AdditionalOptions}"
SelectionMode="None"
IsEnabled="{x:Bind Enabled, Mode=OneWay}">
<ListView.ItemTemplate>
<DataTemplate x:DataType="ViewModels:PluginAdditionalOptionViewModel">
<StackPanel Orientation="Vertical">
<Rectangle Style="{StaticResource ExpanderSeparatorStyle}" />
2022-03-21 20:47:09 +08:00
<controls:CheckBoxWithDescriptionControl Header="{x:Bind Path=DisplayLabel}" Description="{x:Bind Path=DisplayDescription}"
2022-09-21 21:28:38 +08:00
IsChecked="{x:Bind Path=Value, Mode=TwoWay}" Margin="{StaticResource ExpanderSettingMargin}"/>
2021-08-24 01:48:52 +08:00
</StackPanel>
</DataTemplate>
</ListView.ItemTemplate>
</ListView>
<Rectangle Style="{StaticResource ExpanderSeparatorStyle}" />
<TextBlock Opacity="{x:Bind DisabledOpacity}"
HorizontalAlignment="Right"
Style="{ThemeResource SecondaryTextStyle}"
Margin="{StaticResource ExpanderSettingMargin}">
<Run x:Uid="PowerLauncher_AuthoredBy" />
<Run FontWeight="SemiBold" Text="{x:Bind Author}" />
</TextBlock>
</StackPanel>
</controls:SettingExpander.Content>
</controls:SettingExpander>
</Grid>
</DataTemplate>
2021-12-20 20:15:08 +08:00
</ListView.ItemTemplate>
</ListView>
2021-08-24 01:48:52 +08:00
</controls:SettingsGroup>
</StackPanel>
2020-12-15 20:16:09 +08:00
2021-12-20 20:15:08 +08:00
</controls:SettingsPageControl.ModuleContent>
2021-08-24 01:48:52 +08:00
<controls:SettingsPageControl.PrimaryLinks>
<controls:PageLink x:Uid="LearnMore_Run" Link="https://aka.ms/PowerToysOverview_PowerToysRun"/>
</controls:SettingsPageControl.PrimaryLinks>
<controls:SettingsPageControl.SecondaryLinks>
<controls:PageLink Text="Wox" Link="https://github.com/Wox-launcher/Wox/"/>
<controls:PageLink Text="Beta Tadele's Window Walker" Link="https://github.com/betsegaw/windowwalker/"/>
</controls:SettingsPageControl.SecondaryLinks>
2021-07-05 22:25:23 +08:00
</controls:SettingsPageControl>
</Page>