mirror of
https://github.com/microsoft/PowerToys.git
synced 2026-04-09 04:37:30 +02:00
[Settings] Add GPO control (#40256)
<!-- Enter a brief description/summary of your PR here. What does it fix/what does it change/how was it tested (even manually, if necessary)? --> ## Summary of the Pull Request Quality of (dev)life improvement: a dedicated control for showing the GPO-warning InfoBar. As a result, we no longer need to copy-and-paste the same InfoBar XAML all over the place, ensuring that things are consistent and easier to maintain. <!-- Please review the items on the PR checklist before submitting--> ## PR Checklist - [x] **Closes:** #40252 - [ ] **Communication:** I've discussed this with core contributors already. If the work hasn't been agreed, this work might be rejected - [ ] **Tests:** Added/updated and all pass - [ ] **Localization:** All end-user-facing strings can be localized - [ ] **Dev docs:** Added/updated - [ ] **New binaries:** Added on the required places - [ ] [JSON for signing](https://github.com/microsoft/PowerToys/blob/main/.pipelines/ESRPSigning_core.json) for new binaries - [ ] [WXS for installer](https://github.com/microsoft/PowerToys/blob/main/installer/PowerToysSetup/Product.wxs) for new binaries and localization folder - [ ] [YML for CI pipeline](https://github.com/microsoft/PowerToys/blob/main/.pipelines/ci/templates/build-powertoys-steps.yml) for new test projects - [ ] [YML for signed pipeline](https://github.com/microsoft/PowerToys/blob/main/.pipelines/release.yml) - [ ] **Documentation updated:** If checked, please file a pull request on [our docs repo](https://github.com/MicrosoftDocs/windows-uwp/tree/docs/hub/powertoys) and link it here: #xxx <!-- Provide a more detailed description of the PR, other things fixed, or any additional comments/features here --> ## Detailed Description of the Pull Request / Additional comments <!-- Describe how you validated the behavior. Add automated tests wherever possible, but list manual validation steps taken as well --> ## Validation Steps Performed --------- Co-authored-by: Gordon Lam (SH) <yeelam@microsoft.com> Co-authored-by: Gordon Lam <73506701+yeelam-gordon@users.noreply.github.com>
This commit is contained in:
@@ -31,11 +31,11 @@
|
|||||||
<!-- The following sections assume that the machine we're building on is always x64. That means we won't be able to run/inspect arm64 executables, therefore we must always execute x64 generator. -->
|
<!-- The following sections assume that the machine we're building on is always x64. That means we won't be able to run/inspect arm64 executables, therefore we must always execute x64 generator. -->
|
||||||
|
|
||||||
<Target Name="PostBuildAction" AfterTargets="Build" Outputs="$(GeneratedDSCModule)" Condition="'$(Platform)'!='ARM64'">
|
<Target Name="PostBuildAction" AfterTargets="Build" Outputs="$(GeneratedDSCModule)" Condition="'$(Platform)'!='ARM64'">
|
||||||
<Exec Command=""$(OutDir)$(AssemblyName).exe" "$(SolutionDir)x64\$(Configuration)\WinUI3Apps\PowerToys.Settings.UI.Lib.dll" $(GeneratedDSCModule) $(GeneratedDSCManifest)" />
|
<Exec Command=""$(OutDir)$(AssemblyName).exe" "..\..\..\x64\$(Configuration)\WinUI3Apps\PowerToys.Settings.UI.Lib.dll" $(GeneratedDSCModule) $(GeneratedDSCManifest)" />
|
||||||
</Target>
|
</Target>
|
||||||
|
|
||||||
<Target Name="PreBuild" BeforeTargets="PreBuildEvent" Condition="'$(Platform)'=='ARM64'">
|
<Target Name="PreBuild" BeforeTargets="PreBuildEvent" Condition="'$(Platform)'=='ARM64'">
|
||||||
<Exec Command=""$(MSBuildToolsPath)\msbuild.exe" PowerToys.sln -p:Configuration="$(Configuration)" -p:Platform="x64" -verbosity:m -t:DSC\PowerToys_Settings_DSC_Schema_Generator" WorkingDirectory="$(SolutionDir)" />
|
<Exec Command=""$(MSBuildToolsPath)\msbuild.exe" PowerToys.sln -p:Configuration="$(Configuration)" -p:Platform="x64" -verbosity:m -t:DSC\PowerToys_Settings_DSC_Schema_Generator" WorkingDirectory="..\..\..\" />
|
||||||
</Target>
|
</Target>
|
||||||
|
|
||||||
</Project>
|
</Project>
|
||||||
|
|||||||
@@ -161,6 +161,9 @@
|
|||||||
<Page Update="SettingsXAML\Controls\KeyVisual\KeyCharPresenter.xaml">
|
<Page Update="SettingsXAML\Controls\KeyVisual\KeyCharPresenter.xaml">
|
||||||
<Generator>MSBuild:Compile</Generator>
|
<Generator>MSBuild:Compile</Generator>
|
||||||
</Page>
|
</Page>
|
||||||
|
<Page Update="SettingsXAML\Controls\GPOInfoControl.xaml">
|
||||||
|
<Generator>MSBuild:Compile</Generator>
|
||||||
|
</Page>
|
||||||
<Page Update="SettingsXAML\Controls\Dashboard\ShortcutConflictControl.xaml">
|
<Page Update="SettingsXAML\Controls\Dashboard\ShortcutConflictControl.xaml">
|
||||||
<Generator>MSBuild:Compile</Generator>
|
<Generator>MSBuild:Compile</Generator>
|
||||||
</Page>
|
</Page>
|
||||||
|
|||||||
@@ -0,0 +1,28 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8" ?>
|
||||||
|
<ResourceDictionary
|
||||||
|
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
||||||
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
||||||
|
xmlns:local="using:Microsoft.PowerToys.Settings.UI.Controls">
|
||||||
|
<Style TargetType="local:GPOInfoControl">
|
||||||
|
<Setter Property="Template">
|
||||||
|
<Setter.Value>
|
||||||
|
<ControlTemplate TargetType="local:GPOInfoControl">
|
||||||
|
<StackPanel Orientation="Vertical">
|
||||||
|
<ContentPresenter Content="{TemplateBinding Content}" ContentTemplate="{TemplateBinding ContentTemplate}" />
|
||||||
|
<InfoBar
|
||||||
|
x:Uid="GPO_SettingIsManaged"
|
||||||
|
Margin="0,4,0,0"
|
||||||
|
IsClosable="False"
|
||||||
|
IsOpen="{TemplateBinding ShowWarning}"
|
||||||
|
IsTabStop="{TemplateBinding ShowWarning}"
|
||||||
|
Severity="Informational">
|
||||||
|
<InfoBar.IconSource>
|
||||||
|
<FontIconSource FontFamily="{StaticResource SymbolThemeFontFamily}" Glyph="" />
|
||||||
|
</InfoBar.IconSource>
|
||||||
|
</InfoBar>
|
||||||
|
</StackPanel>
|
||||||
|
</ControlTemplate>
|
||||||
|
</Setter.Value>
|
||||||
|
</Setter>
|
||||||
|
</Style>
|
||||||
|
</ResourceDictionary>
|
||||||
@@ -0,0 +1,49 @@
|
|||||||
|
// Copyright (c) Microsoft Corporation
|
||||||
|
// The Microsoft Corporation licenses this file to you under the MIT license.
|
||||||
|
// See the LICENSE file in the project root for more information.
|
||||||
|
|
||||||
|
using System;
|
||||||
|
using System.Collections.Generic;
|
||||||
|
using System.Linq;
|
||||||
|
using System.Runtime.CompilerServices;
|
||||||
|
using System.Runtime.InteropServices.WindowsRuntime;
|
||||||
|
using Microsoft.UI.Xaml;
|
||||||
|
using Microsoft.UI.Xaml.Controls;
|
||||||
|
using Microsoft.UI.Xaml.Data;
|
||||||
|
using Microsoft.UI.Xaml.Documents;
|
||||||
|
using Microsoft.UI.Xaml.Input;
|
||||||
|
using Microsoft.UI.Xaml.Media;
|
||||||
|
|
||||||
|
namespace Microsoft.PowerToys.Settings.UI.Controls;
|
||||||
|
|
||||||
|
public sealed partial class GPOInfoControl : ContentControl
|
||||||
|
{
|
||||||
|
public static readonly DependencyProperty ShowWarningProperty =
|
||||||
|
DependencyProperty.Register(
|
||||||
|
nameof(ShowWarning),
|
||||||
|
typeof(bool),
|
||||||
|
typeof(GPOInfoControl),
|
||||||
|
new PropertyMetadata(false, OnShowWarningPropertyChanged));
|
||||||
|
|
||||||
|
public bool ShowWarning
|
||||||
|
{
|
||||||
|
get => (bool)GetValue(ShowWarningProperty);
|
||||||
|
set => SetValue(ShowWarningProperty, value);
|
||||||
|
}
|
||||||
|
|
||||||
|
private static void OnShowWarningPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
|
||||||
|
{
|
||||||
|
if (d is GPOInfoControl gpoInfoControl)
|
||||||
|
{
|
||||||
|
if (gpoInfoControl.ShowWarning)
|
||||||
|
{
|
||||||
|
gpoInfoControl.IsEnabled = false;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
public GPOInfoControl()
|
||||||
|
{
|
||||||
|
DefaultStyleKey = typeof(GPOInfoControl);
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -22,25 +22,14 @@
|
|||||||
</UserControl.Resources>
|
</UserControl.Resources>
|
||||||
|
|
||||||
<controls:SettingsGroup x:Uid="MouseUtils_MouseJump">
|
<controls:SettingsGroup x:Uid="MouseUtils_MouseJump">
|
||||||
|
<controls:GPOInfoControl ShowWarning="{x:Bind ViewModel.IsJumpEnabledGpoConfigured, Mode=OneWay}">
|
||||||
<tkcontrols:SettingsCard
|
<tkcontrols:SettingsCard
|
||||||
x:Name="MouseUtilsEnableMouseJump"
|
x:Name="MouseUtilsEnableMouseJump"
|
||||||
x:Uid="MouseUtils_Enable_MouseJump"
|
x:Uid="MouseUtils_Enable_MouseJump"
|
||||||
HeaderIcon="{ui:BitmapIcon Source=/Assets/Settings/Icons/MouseJump.png}"
|
HeaderIcon="{ui:BitmapIcon Source=/Assets/Settings/Icons/MouseJump.png}">
|
||||||
IsEnabled="{x:Bind ViewModel.IsJumpEnabledGpoConfigured, Mode=OneWay, Converter={StaticResource BoolNegationConverter}}">
|
<ToggleSwitch x:Uid="ToggleSwitch" IsOn="{x:Bind ViewModel.IsMouseJumpEnabled, Mode=TwoWay}" />
|
||||||
<ToggleSwitch x:Uid="ToggleSwitch" IsOn="{x:Bind ViewModel.IsMouseJumpEnabled, Mode=TwoWay}" />
|
</tkcontrols:SettingsCard>
|
||||||
</tkcontrols:SettingsCard>
|
</controls:GPOInfoControl>
|
||||||
|
|
||||||
<InfoBar
|
|
||||||
x:Uid="GPO_SettingIsManaged"
|
|
||||||
IsClosable="False"
|
|
||||||
IsOpen="{x:Bind ViewModel.IsJumpEnabledGpoConfigured, Mode=OneWay}"
|
|
||||||
IsTabStop="{x:Bind ViewModel.IsJumpEnabledGpoConfigured, Mode=OneWay}"
|
|
||||||
Severity="Informational">
|
|
||||||
<InfoBar.IconSource>
|
|
||||||
<FontIconSource FontFamily="{StaticResource SymbolThemeFontFamily}" Glyph="" />
|
|
||||||
</InfoBar.IconSource>
|
|
||||||
</InfoBar>
|
|
||||||
|
|
||||||
<tkcontrols:SettingsCard
|
<tkcontrols:SettingsCard
|
||||||
x:Name="MouseUtilsMouseJumpActivationShortcut"
|
x:Name="MouseUtilsMouseJumpActivationShortcut"
|
||||||
|
|||||||
@@ -2,6 +2,7 @@
|
|||||||
|
|
||||||
<ResourceDictionary.MergedDictionaries>
|
<ResourceDictionary.MergedDictionaries>
|
||||||
<ResourceDictionary Source="ms-appx:///SettingsXAML/Controls/SettingsGroup/SettingsGroup.xaml" />
|
<ResourceDictionary Source="ms-appx:///SettingsXAML/Controls/SettingsGroup/SettingsGroup.xaml" />
|
||||||
|
<ResourceDictionary Source="ms-appx:///SettingsXAML/Controls/GPOInfoControl.xaml" />
|
||||||
<ResourceDictionary Source="ms-appx:///SettingsXAML/Controls/IsEnabledTextBlock.xaml" />
|
<ResourceDictionary Source="ms-appx:///SettingsXAML/Controls/IsEnabledTextBlock.xaml" />
|
||||||
<ResourceDictionary Source="ms-appx:///SettingsXAML/Controls/FlyoutMenuButton.xaml" />
|
<ResourceDictionary Source="ms-appx:///SettingsXAML/Controls/FlyoutMenuButton.xaml" />
|
||||||
</ResourceDictionary.MergedDictionaries>
|
</ResourceDictionary.MergedDictionaries>
|
||||||
|
|||||||
@@ -46,23 +46,14 @@
|
|||||||
ChildrenTransitions="{StaticResource SettingsCardsAnimations}"
|
ChildrenTransitions="{StaticResource SettingsCardsAnimations}"
|
||||||
Orientation="Vertical"
|
Orientation="Vertical"
|
||||||
Spacing="2">
|
Spacing="2">
|
||||||
<tkcontrols:SettingsCard
|
<controls:GPOInfoControl ShowWarning="{x:Bind ViewModel.IsEnabledGpoConfigured, Mode=OneWay}">
|
||||||
Name="AdvancedPasteEnableToggleControlHeaderText"
|
<tkcontrols:SettingsCard
|
||||||
x:Uid="AdvancedPaste_EnableToggleControl_HeaderText"
|
Name="AdvancedPasteEnableToggleControlHeaderText"
|
||||||
HeaderIcon="{ui:BitmapIcon Source=/Assets/Settings/Icons/AdvancedPaste.png}"
|
x:Uid="AdvancedPaste_EnableToggleControl_HeaderText"
|
||||||
IsEnabled="{x:Bind ViewModel.IsEnabledGpoConfigured, Mode=OneWay, Converter={StaticResource BoolNegationConverter}}">
|
HeaderIcon="{ui:BitmapIcon Source=/Assets/Settings/Icons/AdvancedPaste.png}">
|
||||||
<ToggleSwitch x:Uid="ToggleSwitch" IsOn="{x:Bind ViewModel.IsEnabled, Mode=TwoWay}" />
|
<ToggleSwitch x:Uid="ToggleSwitch" IsOn="{x:Bind ViewModel.IsEnabled, Mode=TwoWay}" />
|
||||||
</tkcontrols:SettingsCard>
|
</tkcontrols:SettingsCard>
|
||||||
<InfoBar
|
</controls:GPOInfoControl>
|
||||||
x:Uid="GPO_SettingIsManaged"
|
|
||||||
IsClosable="False"
|
|
||||||
IsOpen="{x:Bind ViewModel.IsEnabledGpoConfigured, Mode=OneWay}"
|
|
||||||
IsTabStop="{x:Bind ViewModel.IsEnabledGpoConfigured, Mode=OneWay}"
|
|
||||||
Severity="Informational">
|
|
||||||
<InfoBar.IconSource>
|
|
||||||
<FontIconSource FontFamily="{StaticResource SymbolThemeFontFamily}" Glyph="" />
|
|
||||||
</InfoBar.IconSource>
|
|
||||||
</InfoBar>
|
|
||||||
<controls:SettingsGroup x:Uid="AdvancedPaste_EnableAISettingsGroup" IsEnabled="{x:Bind ViewModel.IsEnabled, Mode=OneWay}">
|
<controls:SettingsGroup x:Uid="AdvancedPaste_EnableAISettingsGroup" IsEnabled="{x:Bind ViewModel.IsEnabled, Mode=OneWay}">
|
||||||
<InfoBar
|
<InfoBar
|
||||||
x:Uid="GPO_AdvancedPasteAi_SettingIsManaged"
|
x:Uid="GPO_AdvancedPasteAi_SettingIsManaged"
|
||||||
@@ -108,23 +99,14 @@
|
|||||||
</tkcontrols:SettingsCard>
|
</tkcontrols:SettingsCard>
|
||||||
</controls:SettingsGroup>
|
</controls:SettingsGroup>
|
||||||
<controls:SettingsGroup x:Uid="AdvancedPaste_BehaviorSettingsGroup" IsEnabled="{x:Bind ViewModel.IsEnabled, Mode=OneWay}">
|
<controls:SettingsGroup x:Uid="AdvancedPaste_BehaviorSettingsGroup" IsEnabled="{x:Bind ViewModel.IsEnabled, Mode=OneWay}">
|
||||||
<tkcontrols:SettingsCard
|
<controls:GPOInfoControl ShowWarning="{x:Bind ViewModel.ShowClipboardHistoryIsGpoConfiguredInfoBar, Mode=OneWay}">
|
||||||
Name="AdvancedPasteClipboardHistoryEnabledSettingsCard"
|
<tkcontrols:SettingsCard
|
||||||
x:Uid="AdvancedPaste_Clipboard_History_Enabled_SettingsCard"
|
Name="AdvancedPasteClipboardHistoryEnabledSettingsCard"
|
||||||
HeaderIcon="{ui:FontIcon Glyph=}"
|
x:Uid="AdvancedPaste_Clipboard_History_Enabled_SettingsCard"
|
||||||
IsEnabled="{x:Bind ViewModel.ClipboardHistoryDisabledByGPO, Mode=OneWay, Converter={StaticResource BoolNegationConverter}}">
|
HeaderIcon="{ui:FontIcon Glyph=}">
|
||||||
<ToggleSwitch IsOn="{x:Bind ViewModel.ClipboardHistoryEnabled, Mode=TwoWay}" />
|
<ToggleSwitch IsOn="{x:Bind ViewModel.ClipboardHistoryEnabled, Mode=TwoWay}" />
|
||||||
</tkcontrols:SettingsCard>
|
</tkcontrols:SettingsCard>
|
||||||
<InfoBar
|
</controls:GPOInfoControl>
|
||||||
x:Uid="GPO_SettingIsManaged"
|
|
||||||
IsClosable="False"
|
|
||||||
IsOpen="{x:Bind ViewModel.ShowClipboardHistoryIsGpoConfiguredInfoBar, Mode=OneWay}"
|
|
||||||
IsTabStop="{x:Bind ViewModel.ShowClipboardHistoryIsGpoConfiguredInfoBar, Mode=OneWay}"
|
|
||||||
Severity="Informational">
|
|
||||||
<InfoBar.IconSource>
|
|
||||||
<FontIconSource FontFamily="{StaticResource SymbolThemeFontFamily}" Glyph="" />
|
|
||||||
</InfoBar.IconSource>
|
|
||||||
</InfoBar>
|
|
||||||
<tkcontrols:SettingsCard Name="AdvancedPasteCloseAfterLosingFocus" x:Uid="AdvancedPaste_CloseAfterLosingFocus">
|
<tkcontrols:SettingsCard Name="AdvancedPasteCloseAfterLosingFocus" x:Uid="AdvancedPaste_CloseAfterLosingFocus">
|
||||||
<tkcontrols:SettingsCard.HeaderIcon>
|
<tkcontrols:SettingsCard.HeaderIcon>
|
||||||
<PathIcon Data="M 4 16.284 C 1 22.284 29 59.284 71 101.284 L 143 174.284 L 101 220.284 C 54 271.284 5 367.284 14 390.284 C 23 416.284 40 406.284 56 367.284 C 64 347.284 76 320.284 82 307.284 C 97 278.284 160 215.284 175 215.284 C 181 215.284 199 228.284 214 243.284 C 239 270.284 240 273.284 224 286.284 C 202 304.284 180 357.284 180 392.284 C 180 430.284 213 481.284 252 505.284 C 297 532.284 349 531.284 394 500.284 C 414 486.284 434 475.284 438 475.284 C 442 475.284 484 514.284 532 562.284 C 602 631.284 622 647.284 632 637.284 C 642 627.284 581 561.284 335 315.284 C 164 144.284 22 5.284 18 5.284 C 14 5.284 8 10.284 4 16.284 Z M 337 367.284 C 372 401.284 400 435.284 400 442.284 C 400 457.284 349 485.284 321 485.284 C 269 485.284 220 437.284 220 385.284 C 220 357.284 248 305.284 262 305.284 C 269 305.284 303 333.284 337 367.284 Z M 248 132.284 C 228 137.284 225 151.284 241 161.284 C 247 164.284 284 168.284 324 169.284 C 393 171.284 442 188.284 491 227.284 C 522 252.284 578 335.284 585 364.284 C 592 399.284 607 412.284 622 397.284 C 629 390.284 627 370.284 615 333.284 C 590 260.284 506 176.284 427 147.284 C 373 127.284 293 120.284 248 132.284 Z" />
|
<PathIcon Data="M 4 16.284 C 1 22.284 29 59.284 71 101.284 L 143 174.284 L 101 220.284 C 54 271.284 5 367.284 14 390.284 C 23 416.284 40 406.284 56 367.284 C 64 347.284 76 320.284 82 307.284 C 97 278.284 160 215.284 175 215.284 C 181 215.284 199 228.284 214 243.284 C 239 270.284 240 273.284 224 286.284 C 202 304.284 180 357.284 180 392.284 C 180 430.284 213 481.284 252 505.284 C 297 532.284 349 531.284 394 500.284 C 414 486.284 434 475.284 438 475.284 C 442 475.284 484 514.284 532 562.284 C 602 631.284 622 647.284 632 637.284 C 642 627.284 581 561.284 335 315.284 C 164 144.284 22 5.284 18 5.284 C 14 5.284 8 10.284 4 16.284 Z M 337 367.284 C 372 401.284 400 435.284 400 442.284 C 400 457.284 349 485.284 321 485.284 C 269 485.284 220 437.284 220 385.284 C 220 357.284 248 305.284 262 305.284 C 269 305.284 303 333.284 337 367.284 Z M 248 132.284 C 228 137.284 225 151.284 241 161.284 C 247 164.284 284 168.284 324 169.284 C 393 171.284 442 188.284 491 227.284 C 522 252.284 578 335.284 585 364.284 C 592 399.284 607 412.284 622 397.284 C 629 390.284 627 370.284 615 333.284 C 590 260.284 506 176.284 427 147.284 C 373 127.284 293 120.284 248 132.284 Z" />
|
||||||
|
|||||||
@@ -17,25 +17,15 @@
|
|||||||
ModuleImageSource="ms-appx:///Assets/Settings/Modules/AlwaysOnTop.png">
|
ModuleImageSource="ms-appx:///Assets/Settings/Modules/AlwaysOnTop.png">
|
||||||
<controls:SettingsPageControl.ModuleContent>
|
<controls:SettingsPageControl.ModuleContent>
|
||||||
<StackPanel ChildrenTransitions="{StaticResource SettingsCardsAnimations}" Orientation="Vertical">
|
<StackPanel ChildrenTransitions="{StaticResource SettingsCardsAnimations}" Orientation="Vertical">
|
||||||
<tkcontrols:SettingsCard
|
<controls:GPOInfoControl ShowWarning="{x:Bind ViewModel.IsEnabledGpoConfigured, Mode=OneWay}">
|
||||||
Name="AlwaysOnTopEnableToggleControlHeaderText"
|
<tkcontrols:SettingsCard
|
||||||
x:Uid="AlwaysOnTop_EnableToggleControl_HeaderText"
|
Name="AlwaysOnTopEnableToggleControlHeaderText"
|
||||||
HeaderIcon="{ui:BitmapIcon Source=/Assets/Settings/Icons/AlwaysOnTop.png}"
|
x:Uid="AlwaysOnTop_EnableToggleControl_HeaderText"
|
||||||
IsEnabled="{x:Bind ViewModel.IsEnabledGpoConfigured, Mode=OneWay, Converter={StaticResource BoolNegationConverter}}">
|
HeaderIcon="{ui:BitmapIcon Source=/Assets/Settings/Icons/AlwaysOnTop.png}">
|
||||||
<ToggleSwitch x:Uid="ToggleSwitch" IsOn="{x:Bind ViewModel.IsEnabled, Mode=TwoWay}" />
|
<ToggleSwitch x:Uid="ToggleSwitch" IsOn="{x:Bind ViewModel.IsEnabled, Mode=TwoWay}" />
|
||||||
</tkcontrols:SettingsCard>
|
</tkcontrols:SettingsCard>
|
||||||
<InfoBar
|
</controls:GPOInfoControl>
|
||||||
x:Uid="GPO_SettingIsManaged"
|
|
||||||
IsClosable="False"
|
|
||||||
IsOpen="{x:Bind ViewModel.IsEnabledGpoConfigured, Mode=OneWay}"
|
|
||||||
IsTabStop="{x:Bind ViewModel.IsEnabledGpoConfigured, Mode=OneWay}"
|
|
||||||
Severity="Informational">
|
|
||||||
<InfoBar.IconSource>
|
|
||||||
<FontIconSource FontFamily="{StaticResource SymbolThemeFontFamily}" Glyph="" />
|
|
||||||
</InfoBar.IconSource>
|
|
||||||
</InfoBar>
|
|
||||||
<controls:SettingsGroup x:Uid="AlwaysOnTop_Activation_GroupSettings" IsEnabled="{x:Bind ViewModel.IsEnabled, Mode=OneWay}">
|
<controls:SettingsGroup x:Uid="AlwaysOnTop_Activation_GroupSettings" IsEnabled="{x:Bind ViewModel.IsEnabled, Mode=OneWay}">
|
||||||
|
|
||||||
<tkcontrols:SettingsExpander
|
<tkcontrols:SettingsExpander
|
||||||
Name="AlwaysOnTopActivationShortcut"
|
Name="AlwaysOnTopActivationShortcut"
|
||||||
x:Uid="AlwaysOnTop_ActivationShortcut"
|
x:Uid="AlwaysOnTop_ActivationShortcut"
|
||||||
|
|||||||
@@ -24,26 +24,17 @@
|
|||||||
ModuleImageSource="ms-appx:///Assets/Settings/Modules/Awake.png">
|
ModuleImageSource="ms-appx:///Assets/Settings/Modules/Awake.png">
|
||||||
<controls:SettingsPageControl.ModuleContent>
|
<controls:SettingsPageControl.ModuleContent>
|
||||||
<StackPanel ChildrenTransitions="{StaticResource SettingsCardsAnimations}" Orientation="Vertical">
|
<StackPanel ChildrenTransitions="{StaticResource SettingsCardsAnimations}" Orientation="Vertical">
|
||||||
<tkcontrols:SettingsCard
|
<controls:GPOInfoControl ShowWarning="{x:Bind ViewModel.IsEnabledGpoConfigured, Mode=OneWay}">
|
||||||
Name="AwakeEnableSettingsCard"
|
<tkcontrols:SettingsCard
|
||||||
x:Uid="Awake_EnableSettingsCard"
|
Name="AwakeEnableSettingsCard"
|
||||||
HeaderIcon="{ui:BitmapIcon Source=/Assets/Settings/Icons/Awake.png}"
|
x:Uid="Awake_EnableSettingsCard"
|
||||||
IsEnabled="{x:Bind ViewModel.IsEnabledGpoConfigured, Mode=OneWay, Converter={StaticResource BoolNegationConverter}}">
|
HeaderIcon="{ui:BitmapIcon Source=/Assets/Settings/Icons/Awake.png}"
|
||||||
<ToggleSwitch IsOn="{x:Bind ViewModel.IsEnabled, Mode=TwoWay}" />
|
IsEnabled="{x:Bind ViewModel.IsEnabledGpoConfigured, Mode=OneWay, Converter={StaticResource BoolNegationConverter}}">
|
||||||
</tkcontrols:SettingsCard>
|
<ToggleSwitch IsOn="{x:Bind ViewModel.IsEnabled, Mode=TwoWay}" />
|
||||||
<InfoBar
|
</tkcontrols:SettingsCard>
|
||||||
x:Uid="GPO_SettingIsManaged"
|
</controls:GPOInfoControl>
|
||||||
IsClosable="False"
|
|
||||||
IsOpen="{x:Bind ViewModel.IsEnabledGpoConfigured, Mode=OneWay}"
|
|
||||||
IsTabStop="{x:Bind ViewModel.IsEnabledGpoConfigured, Mode=OneWay}"
|
|
||||||
Severity="Informational">
|
|
||||||
<InfoBar.IconSource>
|
|
||||||
<FontIconSource FontFamily="{StaticResource SymbolThemeFontFamily}" Glyph="" />
|
|
||||||
</InfoBar.IconSource>
|
|
||||||
</InfoBar>
|
|
||||||
|
|
||||||
<controls:SettingsGroup x:Uid="Awake_BehaviorSettingsGroup" IsEnabled="{x:Bind ViewModel.IsEnabled, Mode=OneWay}">
|
<controls:SettingsGroup x:Uid="Awake_BehaviorSettingsGroup" IsEnabled="{x:Bind ViewModel.IsEnabled, Mode=OneWay}">
|
||||||
|
|
||||||
<tkcontrols:SettingsCard
|
<tkcontrols:SettingsCard
|
||||||
Name="AwakeModeSettingsCard"
|
Name="AwakeModeSettingsCard"
|
||||||
x:Uid="Awake_ModeSettingsCard"
|
x:Uid="Awake_ModeSettingsCard"
|
||||||
|
|||||||
@@ -14,20 +14,14 @@
|
|||||||
<controls:SettingsPageControl x:Uid="CmdPal" ModuleImageSource="ms-appx:///Assets/Settings/Modules/CmdPal.png">
|
<controls:SettingsPageControl x:Uid="CmdPal" ModuleImageSource="ms-appx:///Assets/Settings/Modules/CmdPal.png">
|
||||||
<controls:SettingsPageControl.ModuleContent>
|
<controls:SettingsPageControl.ModuleContent>
|
||||||
<StackPanel ChildrenTransitions="{StaticResource SettingsCardsAnimations}" Orientation="Vertical">
|
<StackPanel ChildrenTransitions="{StaticResource SettingsCardsAnimations}" Orientation="Vertical">
|
||||||
<tkcontrols:SettingsCard
|
<controls:GPOInfoControl ShowWarning="{x:Bind ViewModel.IsEnabledGpoConfigured, Mode=OneWay}">
|
||||||
Name="CmdPalEnableCmdPal"
|
<tkcontrols:SettingsCard
|
||||||
x:Uid="CmdPal_Enable_CmdPal"
|
Name="CmdPalEnableCmdPal"
|
||||||
HeaderIcon="{ui:BitmapIcon Source=/Assets/Settings/Icons/CmdPal.png}"
|
x:Uid="CmdPal_Enable_CmdPal"
|
||||||
IsEnabled="{x:Bind ViewModel.IsEnabledGpoConfigured, Mode=OneWay, Converter={StaticResource BoolNegationConverter}}">
|
HeaderIcon="{ui:BitmapIcon Source=/Assets/Settings/Icons/CmdPal.png}">
|
||||||
<ToggleSwitch IsOn="{x:Bind ViewModel.IsEnabled, Mode=TwoWay}" />
|
<ToggleSwitch IsOn="{x:Bind ViewModel.IsEnabled, Mode=TwoWay}" />
|
||||||
</tkcontrols:SettingsCard>
|
</tkcontrols:SettingsCard>
|
||||||
<InfoBar
|
</controls:GPOInfoControl>
|
||||||
x:Uid="GPO_SettingIsManaged"
|
|
||||||
IsClosable="False"
|
|
||||||
IsOpen="{x:Bind ViewModel.IsEnabledGpoConfigured, Mode=OneWay}"
|
|
||||||
IsTabStop="{x:Bind ViewModel.IsEnabledGpoConfigured, Mode=OneWay}"
|
|
||||||
Severity="Informational" />
|
|
||||||
|
|
||||||
<controls:SettingsGroup x:Uid="CmdPal_Activation_GroupSettings" IsEnabled="{x:Bind ViewModel.IsEnabled, Mode=OneWay}">
|
<controls:SettingsGroup x:Uid="CmdPal_Activation_GroupSettings" IsEnabled="{x:Bind ViewModel.IsEnabled, Mode=OneWay}">
|
||||||
<tkcontrols:SettingsCard
|
<tkcontrols:SettingsCard
|
||||||
Name="CmdPalActivationShortcut"
|
Name="CmdPalActivationShortcut"
|
||||||
|
|||||||
@@ -21,23 +21,11 @@
|
|||||||
x:Name="ColorPickerView"
|
x:Name="ColorPickerView"
|
||||||
ChildrenTransitions="{StaticResource SettingsCardsAnimations}"
|
ChildrenTransitions="{StaticResource SettingsCardsAnimations}"
|
||||||
Orientation="Vertical">
|
Orientation="Vertical">
|
||||||
<tkcontrols:SettingsCard
|
<controls:GPOInfoControl ShowWarning="{x:Bind ViewModel.IsEnabledGpoConfigured, Mode=OneWay}">
|
||||||
Name="ColorPickerEnableColorPicker"
|
<tkcontrols:SettingsCard x:Uid="ColorPicker_EnableColorPicker" HeaderIcon="{ui:BitmapIcon Source=/Assets/Settings/Icons/ColorPicker.png}">
|
||||||
x:Uid="ColorPicker_EnableColorPicker"
|
<ToggleSwitch x:Uid="ToggleSwitch" IsOn="{x:Bind ViewModel.IsEnabled, Mode=TwoWay}" />
|
||||||
HeaderIcon="{ui:BitmapIcon Source=/Assets/Settings/Icons/ColorPicker.png}"
|
</tkcontrols:SettingsCard>
|
||||||
IsEnabled="{x:Bind ViewModel.IsEnabledGpoConfigured, Mode=OneWay, Converter={StaticResource BoolNegationConverter}}">
|
</controls:GPOInfoControl>
|
||||||
<ToggleSwitch x:Uid="ToggleSwitch" IsOn="{x:Bind ViewModel.IsEnabled, Mode=TwoWay}" />
|
|
||||||
</tkcontrols:SettingsCard>
|
|
||||||
<InfoBar
|
|
||||||
x:Uid="GPO_SettingIsManaged"
|
|
||||||
IsClosable="False"
|
|
||||||
IsOpen="{x:Bind ViewModel.IsEnabledGpoConfigured, Mode=OneWay}"
|
|
||||||
IsTabStop="{x:Bind ViewModel.IsEnabledGpoConfigured, Mode=OneWay}"
|
|
||||||
Severity="Informational">
|
|
||||||
<InfoBar.IconSource>
|
|
||||||
<FontIconSource FontFamily="{StaticResource SymbolThemeFontFamily}" Glyph="" />
|
|
||||||
</InfoBar.IconSource>
|
|
||||||
</InfoBar>
|
|
||||||
|
|
||||||
<controls:SettingsGroup x:Uid="Shortcut" IsEnabled="{x:Bind ViewModel.IsEnabled, Mode=OneWay}">
|
<controls:SettingsGroup x:Uid="Shortcut" IsEnabled="{x:Bind ViewModel.IsEnabled, Mode=OneWay}">
|
||||||
<tkcontrols:SettingsCard
|
<tkcontrols:SettingsCard
|
||||||
|
|||||||
@@ -17,25 +17,15 @@
|
|||||||
ModuleImageSource="ms-appx:///Assets/Settings/Modules/CropAndLock.png">
|
ModuleImageSource="ms-appx:///Assets/Settings/Modules/CropAndLock.png">
|
||||||
<controls:SettingsPageControl.ModuleContent>
|
<controls:SettingsPageControl.ModuleContent>
|
||||||
<StackPanel ChildrenTransitions="{StaticResource SettingsCardsAnimations}" Orientation="Vertical">
|
<StackPanel ChildrenTransitions="{StaticResource SettingsCardsAnimations}" Orientation="Vertical">
|
||||||
<tkcontrols:SettingsCard
|
<controls:GPOInfoControl ShowWarning="{x:Bind ViewModel.IsEnabledGpoConfigured, Mode=OneWay}">
|
||||||
Name="CropAndLockEnableToggleControlHeaderText"
|
<tkcontrols:SettingsCard
|
||||||
x:Uid="CropAndLock_EnableToggleControl_HeaderText"
|
Name="CropAndLockEnableToggleControlHeaderText"
|
||||||
HeaderIcon="{ui:BitmapIcon Source=/Assets/Settings/Icons/CropAndLock.png}"
|
x:Uid="CropAndLock_EnableToggleControl_HeaderText"
|
||||||
IsEnabled="{x:Bind ViewModel.IsEnabledGpoConfigured, Mode=OneWay, Converter={StaticResource BoolNegationConverter}}">
|
HeaderIcon="{ui:BitmapIcon Source=/Assets/Settings/Icons/CropAndLock.png}">
|
||||||
<ToggleSwitch x:Uid="ToggleSwitch" IsOn="{x:Bind ViewModel.IsEnabled, Mode=TwoWay}" />
|
<ToggleSwitch x:Uid="ToggleSwitch" IsOn="{x:Bind ViewModel.IsEnabled, Mode=TwoWay}" />
|
||||||
</tkcontrols:SettingsCard>
|
</tkcontrols:SettingsCard>
|
||||||
<InfoBar
|
</controls:GPOInfoControl>
|
||||||
x:Uid="GPO_SettingIsManaged"
|
|
||||||
IsClosable="False"
|
|
||||||
IsOpen="{x:Bind ViewModel.IsEnabledGpoConfigured, Mode=OneWay}"
|
|
||||||
IsTabStop="{x:Bind ViewModel.IsEnabledGpoConfigured, Mode=OneWay}"
|
|
||||||
Severity="Informational">
|
|
||||||
<InfoBar.IconSource>
|
|
||||||
<FontIconSource FontFamily="{StaticResource SymbolThemeFontFamily}" Glyph="" />
|
|
||||||
</InfoBar.IconSource>
|
|
||||||
</InfoBar>
|
|
||||||
<controls:SettingsGroup x:Uid="CropAndLock_Activation_GroupSettings" IsEnabled="{x:Bind ViewModel.IsEnabled, Mode=OneWay}">
|
<controls:SettingsGroup x:Uid="CropAndLock_Activation_GroupSettings" IsEnabled="{x:Bind ViewModel.IsEnabled, Mode=OneWay}">
|
||||||
|
|
||||||
<tkcontrols:SettingsCard
|
<tkcontrols:SettingsCard
|
||||||
Name="CropAndLockThumbnailActivationShortcut"
|
Name="CropAndLockThumbnailActivationShortcut"
|
||||||
x:Uid="CropAndLock_ThumbnailActivation_Shortcut"
|
x:Uid="CropAndLock_ThumbnailActivation_Shortcut"
|
||||||
|
|||||||
@@ -13,23 +13,14 @@
|
|||||||
<controls:SettingsPageControl x:Uid="EnvironmentVariables" ModuleImageSource="ms-appx:///Assets/Settings/Modules/EnvironmentVariables.png">
|
<controls:SettingsPageControl x:Uid="EnvironmentVariables" ModuleImageSource="ms-appx:///Assets/Settings/Modules/EnvironmentVariables.png">
|
||||||
<controls:SettingsPageControl.ModuleContent>
|
<controls:SettingsPageControl.ModuleContent>
|
||||||
<StackPanel ChildrenTransitions="{StaticResource SettingsCardsAnimations}" Orientation="Vertical">
|
<StackPanel ChildrenTransitions="{StaticResource SettingsCardsAnimations}" Orientation="Vertical">
|
||||||
<tkcontrols:SettingsCard
|
<controls:GPOInfoControl ShowWarning="{x:Bind ViewModel.IsEnabledGpoConfigured, Mode=OneWay}">
|
||||||
Name="EnvironmentVariablesEnableToggleControlHeaderText"
|
<tkcontrols:SettingsCard
|
||||||
x:Uid="EnvironmentVariables_EnableToggleControl_HeaderText"
|
Name="EnvironmentVariablesEnableToggleControlHeaderText"
|
||||||
HeaderIcon="{ui:BitmapIcon Source=/Assets/Settings/Icons/EnvironmentVariables.png}"
|
x:Uid="EnvironmentVariables_EnableToggleControl_HeaderText"
|
||||||
IsEnabled="{x:Bind ViewModel.IsEnabledGpoConfigured, Mode=OneWay, Converter={StaticResource BoolNegationConverter}}">
|
HeaderIcon="{ui:BitmapIcon Source=/Assets/Settings/Icons/EnvironmentVariables.png}">
|
||||||
<ToggleSwitch x:Uid="ToggleSwitch" IsOn="{x:Bind ViewModel.IsEnabled, Mode=TwoWay}" />
|
<ToggleSwitch x:Uid="ToggleSwitch" IsOn="{x:Bind ViewModel.IsEnabled, Mode=TwoWay}" />
|
||||||
</tkcontrols:SettingsCard>
|
</tkcontrols:SettingsCard>
|
||||||
<InfoBar
|
</controls:GPOInfoControl>
|
||||||
x:Uid="GPO_SettingIsManaged"
|
|
||||||
IsClosable="False"
|
|
||||||
IsOpen="{x:Bind ViewModel.IsEnabledGpoConfigured, Mode=OneWay}"
|
|
||||||
IsTabStop="{x:Bind ViewModel.IsEnabledGpoConfigured, Mode=OneWay}"
|
|
||||||
Severity="Informational">
|
|
||||||
<InfoBar.IconSource>
|
|
||||||
<FontIconSource FontFamily="{StaticResource SymbolThemeFontFamily}" Glyph="" />
|
|
||||||
</InfoBar.IconSource>
|
|
||||||
</InfoBar>
|
|
||||||
<controls:SettingsGroup x:Uid="EnvironmentVariables_Activation_GroupSettings" IsEnabled="{x:Bind ViewModel.IsEnabled, Mode=OneWay}">
|
<controls:SettingsGroup x:Uid="EnvironmentVariables_Activation_GroupSettings" IsEnabled="{x:Bind ViewModel.IsEnabled, Mode=OneWay}">
|
||||||
<tkcontrols:SettingsCard
|
<tkcontrols:SettingsCard
|
||||||
Name="EnvironmentVariablesLaunchButtonControl"
|
Name="EnvironmentVariablesLaunchButtonControl"
|
||||||
|
|||||||
@@ -14,28 +14,14 @@
|
|||||||
<controls:SettingsPageControl x:Uid="FancyZones" ModuleImageSource="ms-appx:///Assets/Settings/Modules/FancyZones.png">
|
<controls:SettingsPageControl x:Uid="FancyZones" ModuleImageSource="ms-appx:///Assets/Settings/Modules/FancyZones.png">
|
||||||
<controls:SettingsPageControl.ModuleContent>
|
<controls:SettingsPageControl.ModuleContent>
|
||||||
<StackPanel ChildrenTransitions="{StaticResource SettingsCardsAnimations}" Orientation="Vertical">
|
<StackPanel ChildrenTransitions="{StaticResource SettingsCardsAnimations}" Orientation="Vertical">
|
||||||
<tkcontrols:SettingsCard
|
<controls:GPOInfoControl ShowWarning="{x:Bind ViewModel.IsEnabledGpoConfigured, Mode=OneWay}">
|
||||||
Name="FancyZonesEnableToggleControlHeaderText"
|
<tkcontrols:SettingsCard
|
||||||
x:Uid="FancyZones_EnableToggleControl_HeaderText"
|
Name="FancyZonesEnableToggleControlHeaderText"
|
||||||
HeaderIcon="{ui:BitmapIcon Source=/Assets/Settings/Icons/FancyZones.png}"
|
x:Uid="FancyZones_EnableToggleControl_HeaderText"
|
||||||
IsEnabled="{x:Bind ViewModel.IsEnabledGpoConfigured, Mode=OneWay, Converter={StaticResource BoolNegationConverter}}">
|
HeaderIcon="{ui:BitmapIcon Source=/Assets/Settings/Icons/FancyZones.png}">
|
||||||
<ToggleSwitch
|
<ToggleSwitch x:Uid="ToggleSwitch" IsOn="{x:Bind ViewModel.IsEnabled, Mode=TwoWay}" />
|
||||||
x:Name="EnableFancyZonesToggleSwitch"
|
</tkcontrols:SettingsCard>
|
||||||
x:Uid="ToggleSwitch"
|
</controls:GPOInfoControl>
|
||||||
AutomationProperties.AutomationId="EnableFancyZonesToggleSwitch"
|
|
||||||
IsOn="{x:Bind ViewModel.IsEnabled, Mode=TwoWay}" />
|
|
||||||
</tkcontrols:SettingsCard>
|
|
||||||
<InfoBar
|
|
||||||
x:Uid="GPO_SettingIsManaged"
|
|
||||||
IsClosable="False"
|
|
||||||
IsOpen="{x:Bind ViewModel.IsEnabledGpoConfigured, Mode=OneWay}"
|
|
||||||
IsTabStop="{x:Bind ViewModel.IsEnabledGpoConfigured, Mode=OneWay}"
|
|
||||||
Severity="Informational">
|
|
||||||
<InfoBar.IconSource>
|
|
||||||
<FontIconSource FontFamily="{StaticResource SymbolThemeFontFamily}" Glyph="" />
|
|
||||||
</InfoBar.IconSource>
|
|
||||||
</InfoBar>
|
|
||||||
|
|
||||||
<controls:SettingsGroup x:Uid="FancyZones_Editor_GroupSettings" IsEnabled="{x:Bind ViewModel.IsEnabled, Mode=OneWay}">
|
<controls:SettingsGroup x:Uid="FancyZones_Editor_GroupSettings" IsEnabled="{x:Bind ViewModel.IsEnabled, Mode=OneWay}">
|
||||||
<tkcontrols:SettingsCard
|
<tkcontrols:SettingsCard
|
||||||
Name="FancyZonesLaunchEditorButtonControl"
|
Name="FancyZonesLaunchEditorButtonControl"
|
||||||
|
|||||||
@@ -14,24 +14,14 @@
|
|||||||
<controls:SettingsPageControl x:Uid="FileLocksmith" ModuleImageSource="ms-appx:///Assets/Settings/Modules/FileLocksmith.png">
|
<controls:SettingsPageControl x:Uid="FileLocksmith" ModuleImageSource="ms-appx:///Assets/Settings/Modules/FileLocksmith.png">
|
||||||
<controls:SettingsPageControl.ModuleContent>
|
<controls:SettingsPageControl.ModuleContent>
|
||||||
<StackPanel ChildrenTransitions="{StaticResource SettingsCardsAnimations}" Orientation="Vertical">
|
<StackPanel ChildrenTransitions="{StaticResource SettingsCardsAnimations}" Orientation="Vertical">
|
||||||
<tkcontrols:SettingsCard
|
<controls:GPOInfoControl ShowWarning="{x:Bind ViewModel.IsEnabledGpoConfigured, Mode=OneWay}">
|
||||||
Name="FileLocksmithEnableFileLocksmith"
|
<tkcontrols:SettingsCard
|
||||||
x:Uid="FileLocksmith_Enable_FileLocksmith"
|
Name="FileLocksmithEnableFileLocksmith"
|
||||||
HeaderIcon="{ui:BitmapIcon Source=/Assets/Settings/Icons/FileLocksmith.png}"
|
x:Uid="FileLocksmith_Enable_FileLocksmith"
|
||||||
IsEnabled="{x:Bind ViewModel.IsEnabledGpoConfigured, Mode=OneWay, Converter={StaticResource BoolNegationConverter}}">
|
HeaderIcon="{ui:BitmapIcon Source=/Assets/Settings/Icons/FileLocksmith.png}">
|
||||||
<ToggleSwitch IsOn="{x:Bind ViewModel.IsFileLocksmithEnabled, Mode=TwoWay}" />
|
<ToggleSwitch IsOn="{x:Bind ViewModel.IsFileLocksmithEnabled, Mode=TwoWay}" />
|
||||||
</tkcontrols:SettingsCard>
|
</tkcontrols:SettingsCard>
|
||||||
|
</controls:GPOInfoControl>
|
||||||
<InfoBar
|
|
||||||
x:Uid="GPO_SettingIsManaged"
|
|
||||||
IsClosable="False"
|
|
||||||
IsOpen="{x:Bind ViewModel.IsEnabledGpoConfigured, Mode=OneWay}"
|
|
||||||
IsTabStop="{x:Bind ViewModel.IsEnabledGpoConfigured, Mode=OneWay}"
|
|
||||||
Severity="Informational">
|
|
||||||
<InfoBar.IconSource>
|
|
||||||
<FontIconSource FontFamily="{StaticResource SymbolThemeFontFamily}" Glyph="" />
|
|
||||||
</InfoBar.IconSource>
|
|
||||||
</InfoBar>
|
|
||||||
|
|
||||||
<controls:SettingsGroup x:Uid="FileLocksmith_ShellIntegration" IsEnabled="{x:Bind ViewModel.IsFileLocksmithEnabled, Mode=OneWay}">
|
<controls:SettingsGroup x:Uid="FileLocksmith_ShellIntegration" IsEnabled="{x:Bind ViewModel.IsFileLocksmithEnabled, Mode=OneWay}">
|
||||||
<tkcontrols:SettingsCard Name="FileLocksmithToggleContextMenu" x:Uid="FileLocksmith_Toggle_ContextMenu">
|
<tkcontrols:SettingsCard Name="FileLocksmithToggleContextMenu" x:Uid="FileLocksmith_Toggle_ContextMenu">
|
||||||
|
|||||||
@@ -48,7 +48,6 @@
|
|||||||
FontWeight="SemiBold"
|
FontWeight="SemiBold"
|
||||||
Foreground="{ThemeResource TextFillColorSecondaryBrush}" />
|
Foreground="{ThemeResource TextFillColorSecondaryBrush}" />
|
||||||
</StackPanel>
|
</StackPanel>
|
||||||
|
|
||||||
<Button
|
<Button
|
||||||
x:Uid="GeneralPage_CheckForUpdates"
|
x:Uid="GeneralPage_CheckForUpdates"
|
||||||
HorizontalAlignment="Right"
|
HorizontalAlignment="Right"
|
||||||
@@ -143,7 +142,6 @@
|
|||||||
</InfoBar.ActionButton>
|
</InfoBar.ActionButton>
|
||||||
</InfoBar>
|
</InfoBar>
|
||||||
|
|
||||||
|
|
||||||
<!-- Ready to install -->
|
<!-- Ready to install -->
|
||||||
<InfoBar
|
<InfoBar
|
||||||
x:Uid="General_NewVersionReadyToInstall"
|
x:Uid="General_NewVersionReadyToInstall"
|
||||||
@@ -277,24 +275,14 @@
|
|||||||
IsEnabled="{x:Bind ViewModel.IsRunAtStartupGPOManaged, Mode=OneWay, Converter={StaticResource BoolNegationConverter}}">
|
IsEnabled="{x:Bind ViewModel.IsRunAtStartupGPOManaged, Mode=OneWay, Converter={StaticResource BoolNegationConverter}}">
|
||||||
<ToggleSwitch x:Uid="ToggleSwitch" IsOn="{x:Bind ViewModel.Startup, Mode=TwoWay}" />
|
<ToggleSwitch x:Uid="ToggleSwitch" IsOn="{x:Bind ViewModel.Startup, Mode=TwoWay}" />
|
||||||
</tkcontrols:SettingsCard>
|
</tkcontrols:SettingsCard>
|
||||||
<tkcontrols:SettingsCard x:Uid="ShowSystemTrayIcon">
|
<controls:GPOInfoControl ShowWarning="{x:Bind ViewModel.IsRunAtStartupGPOManaged, Mode=OneWay}">
|
||||||
<ToggleSwitch
|
<tkcontrols:SettingsCard x:Uid="ShowSystemTrayIcon">
|
||||||
x:Uid="ShowSystemTrayIcon_ToggleSwitch"
|
<ToggleSwitch
|
||||||
IsOn="{x:Bind ViewModel.ShowSysTrayIcon, Mode=TwoWay}"
|
x:Uid="ShowSystemTrayIcon_ToggleSwitch"
|
||||||
Toggled="ShowSystemTrayIcon_Toggled" />
|
IsOn="{x:Bind ViewModel.ShowSysTrayIcon, Mode=TwoWay}"
|
||||||
</tkcontrols:SettingsCard>
|
Toggled="ShowSystemTrayIcon_Toggled" />
|
||||||
<InfoBar
|
</tkcontrols:SettingsCard>
|
||||||
x:Uid="GPO_SettingIsManaged"
|
</controls:GPOInfoControl>
|
||||||
BorderThickness="0"
|
|
||||||
CornerRadius="0"
|
|
||||||
IsClosable="False"
|
|
||||||
IsOpen="{x:Bind ViewModel.IsRunAtStartupGPOManaged, Mode=OneWay}"
|
|
||||||
IsTabStop="{x:Bind ViewModel.IsRunAtStartupGPOManaged, Mode=OneWay}"
|
|
||||||
Severity="Informational">
|
|
||||||
<InfoBar.IconSource>
|
|
||||||
<FontIconSource FontFamily="{StaticResource SymbolThemeFontFamily}" Glyph="" />
|
|
||||||
</InfoBar.IconSource>
|
|
||||||
</InfoBar>
|
|
||||||
</controls:SettingsGroup>
|
</controls:SettingsGroup>
|
||||||
|
|
||||||
<controls:SettingsGroup x:Uid="General_SettingsBackupAndRestoreTitle" Visibility="Visible">
|
<controls:SettingsGroup x:Uid="General_SettingsBackupAndRestoreTitle" Visibility="Visible">
|
||||||
@@ -405,25 +393,14 @@
|
|||||||
IsTabStop="{x:Bind ViewModel.SettingsBackupRestoreMessageVisible, Mode=OneWay}"
|
IsTabStop="{x:Bind ViewModel.SettingsBackupRestoreMessageVisible, Mode=OneWay}"
|
||||||
Severity="{x:Bind ViewModel.BackupRestoreMessageSeverity, Converter={StaticResource StringToInfoBarSeverityConverter}}" />
|
Severity="{x:Bind ViewModel.BackupRestoreMessageSeverity, Converter={StaticResource StringToInfoBarSeverityConverter}}" />
|
||||||
<controls:SettingsGroup x:Uid="General_Experimentation" Visibility="Visible">
|
<controls:SettingsGroup x:Uid="General_Experimentation" Visibility="Visible">
|
||||||
<tkcontrols:SettingsCard
|
<controls:GPOInfoControl ShowWarning="{x:Bind ViewModel.IsExperimentationGpoDisallowed, Mode=OneWay}">
|
||||||
Name="GeneralPageEnableExperimentation"
|
<tkcontrols:SettingsCard Name="GeneralPageEnableExperimentation" x:Uid="GeneralPage_EnableExperimentation">
|
||||||
x:Uid="GeneralPage_EnableExperimentation"
|
<tkcontrols:SettingsCard.HeaderIcon>
|
||||||
IsEnabled="{x:Bind ViewModel.IsExperimentationGpoDisallowed, Mode=OneWay, Converter={StaticResource BoolNegationConverter}}">
|
<PathIcon Data="M1859 1758q14 23 21 47t7 51q0 40-15 75t-41 61-61 41-75 15H354q-40 0-75-15t-61-41-41-61-15-75q0-27 6-51t21-47l569-992q10-14 10-34V128H640V0h768v128h-128v604q0 19 10 35l569 991zM896 732q0 53-27 99l-331 577h972l-331-577q-27-46-27-99V128H896v604zm799 1188q26 0 44-19t19-45q0-10-2-17t-8-16l-164-287H464l-165 287q-9 15-9 33 0 26 18 45t46 19h1341z" />
|
||||||
<tkcontrols:SettingsCard.HeaderIcon>
|
</tkcontrols:SettingsCard.HeaderIcon>
|
||||||
<PathIcon Data="M1859 1758q14 23 21 47t7 51q0 40-15 75t-41 61-61 41-75 15H354q-40 0-75-15t-61-41-41-61-15-75q0-27 6-51t21-47l569-992q10-14 10-34V128H640V0h768v128h-128v604q0 19 10 35l569 991zM896 732q0 53-27 99l-331 577h972l-331-577q-27-46-27-99V128H896v604zm799 1188q26 0 44-19t19-45q0-10-2-17t-8-16l-164-287H464l-165 287q-9 15-9 33 0 26 18 45t46 19h1341z" />
|
<ToggleSwitch x:Uid="ToggleSwitch" IsOn="{x:Bind ViewModel.EnableExperimentation, Mode=TwoWay}" />
|
||||||
</tkcontrols:SettingsCard.HeaderIcon>
|
</tkcontrols:SettingsCard>
|
||||||
<ToggleSwitch x:Uid="ToggleSwitch" IsOn="{x:Bind ViewModel.EnableExperimentation, Mode=TwoWay}" />
|
</controls:GPOInfoControl>
|
||||||
</tkcontrols:SettingsCard>
|
|
||||||
<InfoBar
|
|
||||||
x:Uid="GPO_SettingIsManaged"
|
|
||||||
IsClosable="False"
|
|
||||||
IsOpen="{x:Bind ViewModel.IsExperimentationGpoDisallowed, Mode=OneWay}"
|
|
||||||
IsTabStop="{x:Bind ViewModel.IsExperimentationGpoDisallowed, Mode=OneWay}"
|
|
||||||
Severity="Informational">
|
|
||||||
<InfoBar.IconSource>
|
|
||||||
<FontIconSource FontFamily="{StaticResource SymbolThemeFontFamily}" Glyph="" />
|
|
||||||
</InfoBar.IconSource>
|
|
||||||
</InfoBar>
|
|
||||||
</controls:SettingsGroup>
|
</controls:SettingsGroup>
|
||||||
<controls:SettingsGroup x:Uid="General_DiagnosticsAndFeedback">
|
<controls:SettingsGroup x:Uid="General_DiagnosticsAndFeedback">
|
||||||
<tkcontrols:SettingsExpander
|
<tkcontrols:SettingsExpander
|
||||||
@@ -478,30 +455,22 @@
|
|||||||
</InfoBar>
|
</InfoBar>
|
||||||
</tkcontrols:SettingsExpander.ItemsFooter>
|
</tkcontrols:SettingsExpander.ItemsFooter>
|
||||||
</tkcontrols:SettingsExpander>
|
</tkcontrols:SettingsExpander>
|
||||||
<InfoBar
|
<controls:GPOInfoControl ShowWarning="{x:Bind ViewModel.IsDataDiagnosticsGPOManaged, Mode=OneWay}">
|
||||||
x:Uid="GPO_SettingIsManaged"
|
<tkcontrols:SettingsCard x:Uid="GeneralPage_ReportBugPackage" HeaderIcon="{ui:FontIcon Glyph=}">
|
||||||
IsClosable="False"
|
<StackPanel Orientation="Horizontal">
|
||||||
IsOpen="{x:Bind ViewModel.IsDataDiagnosticsGPOManaged, Mode=OneWay}"
|
<Button
|
||||||
IsTabStop="{x:Bind ViewModel.IsDataDiagnosticsGPOManaged, Mode=OneWay}"
|
x:Uid="GeneralPageReportBugPackage"
|
||||||
Severity="Informational">
|
Click="BugReportToolClicked"
|
||||||
<InfoBar.IconSource>
|
Visibility="{x:Bind ViewModel.IsBugReportRunning, Converter={StaticResource ReverseBoolToVisibilityConverter}, Mode=OneWay}" />
|
||||||
<FontIconSource FontFamily="{StaticResource SymbolThemeFontFamily}" Glyph="" />
|
<ProgressRing
|
||||||
</InfoBar.IconSource>
|
Width="24"
|
||||||
</InfoBar>
|
Height="24"
|
||||||
<tkcontrols:SettingsCard x:Uid="GeneralPage_ReportBugPackage" HeaderIcon="{ui:FontIcon Glyph=}">
|
HorizontalAlignment="Right"
|
||||||
<StackPanel Orientation="Horizontal">
|
VerticalAlignment="Center"
|
||||||
<Button
|
Visibility="{x:Bind ViewModel.IsBugReportRunning, Mode=OneWay}" />
|
||||||
x:Uid="GeneralPageReportBugPackage"
|
</StackPanel>
|
||||||
Click="BugReportToolClicked"
|
</tkcontrols:SettingsCard>
|
||||||
Visibility="{x:Bind ViewModel.IsBugReportRunning, Converter={StaticResource ReverseBoolToVisibilityConverter}, Mode=OneWay}" />
|
</controls:GPOInfoControl>
|
||||||
<ProgressRing
|
|
||||||
Width="24"
|
|
||||||
Height="24"
|
|
||||||
HorizontalAlignment="Right"
|
|
||||||
VerticalAlignment="Center"
|
|
||||||
Visibility="{x:Bind ViewModel.IsBugReportRunning, Mode=OneWay}" />
|
|
||||||
</StackPanel>
|
|
||||||
</tkcontrols:SettingsCard>
|
|
||||||
</controls:SettingsGroup>
|
</controls:SettingsGroup>
|
||||||
</StackPanel>
|
</StackPanel>
|
||||||
|
|
||||||
|
|||||||
@@ -13,23 +13,14 @@
|
|||||||
<controls:SettingsPageControl x:Uid="Hosts" ModuleImageSource="ms-appx:///Assets/Settings/Modules/HostsFileEditor.png">
|
<controls:SettingsPageControl x:Uid="Hosts" ModuleImageSource="ms-appx:///Assets/Settings/Modules/HostsFileEditor.png">
|
||||||
<controls:SettingsPageControl.ModuleContent>
|
<controls:SettingsPageControl.ModuleContent>
|
||||||
<StackPanel ChildrenTransitions="{StaticResource SettingsCardsAnimations}" Orientation="Vertical">
|
<StackPanel ChildrenTransitions="{StaticResource SettingsCardsAnimations}" Orientation="Vertical">
|
||||||
<tkcontrols:SettingsCard
|
<controls:GPOInfoControl ShowWarning="{x:Bind ViewModel.IsEnabledGpoConfigured, Mode=OneWay}">
|
||||||
Name="HostsEnableToggleControlHeaderText"
|
<tkcontrols:SettingsCard
|
||||||
x:Uid="Hosts_EnableToggleControl_HeaderText"
|
Name="HostsEnableToggleControlHeaderText"
|
||||||
HeaderIcon="{ui:BitmapIcon Source=/Assets/Settings/Icons/Hosts.png}"
|
x:Uid="Hosts_EnableToggleControl_HeaderText"
|
||||||
IsEnabled="{x:Bind ViewModel.IsEnabledGpoConfigured, Mode=OneWay, Converter={StaticResource BoolNegationConverter}}">
|
HeaderIcon="{ui:BitmapIcon Source=/Assets/Settings/Icons/Hosts.png}">
|
||||||
<ToggleSwitch x:Uid="ToggleSwitch" IsOn="{x:Bind ViewModel.IsEnabled, Mode=TwoWay}" />
|
<ToggleSwitch x:Uid="ToggleSwitch" IsOn="{x:Bind ViewModel.IsEnabled, Mode=TwoWay}" />
|
||||||
</tkcontrols:SettingsCard>
|
</tkcontrols:SettingsCard>
|
||||||
<InfoBar
|
</controls:GPOInfoControl>
|
||||||
x:Uid="GPO_SettingIsManaged"
|
|
||||||
IsClosable="False"
|
|
||||||
IsOpen="{x:Bind ViewModel.IsEnabledGpoConfigured, Mode=OneWay}"
|
|
||||||
IsTabStop="{x:Bind ViewModel.IsEnabledGpoConfigured, Mode=OneWay}"
|
|
||||||
Severity="Informational">
|
|
||||||
<InfoBar.IconSource>
|
|
||||||
<FontIconSource FontFamily="{StaticResource SymbolThemeFontFamily}" Glyph="" />
|
|
||||||
</InfoBar.IconSource>
|
|
||||||
</InfoBar>
|
|
||||||
<controls:SettingsGroup x:Uid="Hosts_Activation_GroupSettings" IsEnabled="{x:Bind ViewModel.IsEnabled, Mode=OneWay}">
|
<controls:SettingsGroup x:Uid="Hosts_Activation_GroupSettings" IsEnabled="{x:Bind ViewModel.IsEnabled, Mode=OneWay}">
|
||||||
<tkcontrols:SettingsCard
|
<tkcontrols:SettingsCard
|
||||||
Name="HostsLaunchButtonControl"
|
Name="HostsLaunchButtonControl"
|
||||||
|
|||||||
@@ -31,25 +31,14 @@
|
|||||||
<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}">
|
||||||
<tkcontrols:SettingsCard
|
<controls:GPOInfoControl ShowWarning="{x:Bind ViewModel.IsEnabledGpoConfigured, Mode=OneWay}">
|
||||||
Name="ImageResizerEnableToggle"
|
<tkcontrols:SettingsCard
|
||||||
x:Uid="ImageResizer_EnableToggle"
|
Name="ImageResizerEnableToggle"
|
||||||
HeaderIcon="{ui:BitmapIcon Source=/Assets/Settings/Icons/ImageResizer.png}"
|
x:Uid="ImageResizer_EnableToggle"
|
||||||
IsEnabled="{x:Bind ViewModel.IsEnabledGpoConfigured, Mode=OneWay, Converter={StaticResource BoolNegationConverter}}">
|
HeaderIcon="{ui:BitmapIcon Source=/Assets/Settings/Icons/ImageResizer.png}">
|
||||||
<ToggleSwitch x:Uid="ToggleSwitch" IsOn="{x:Bind ViewModel.IsEnabled, Mode=TwoWay}" />
|
<ToggleSwitch x:Uid="ToggleSwitch" IsOn="{x:Bind ViewModel.IsEnabled, Mode=TwoWay}" />
|
||||||
</tkcontrols:SettingsCard>
|
</tkcontrols:SettingsCard>
|
||||||
|
</controls:GPOInfoControl>
|
||||||
<InfoBar
|
|
||||||
x:Uid="GPO_SettingIsManaged"
|
|
||||||
IsClosable="False"
|
|
||||||
IsOpen="{x:Bind ViewModel.IsEnabledGpoConfigured, Mode=OneWay}"
|
|
||||||
IsTabStop="{x:Bind ViewModel.IsEnabledGpoConfigured, Mode=OneWay}"
|
|
||||||
Severity="Informational">
|
|
||||||
<InfoBar.IconSource>
|
|
||||||
<FontIconSource FontFamily="{StaticResource SymbolThemeFontFamily}" Glyph="" />
|
|
||||||
</InfoBar.IconSource>
|
|
||||||
</InfoBar>
|
|
||||||
|
|
||||||
<controls:SettingsGroup x:Uid="ImageResizer_CustomSizes" IsEnabled="{x:Bind ViewModel.IsEnabled, Mode=OneWay}">
|
<controls:SettingsGroup x:Uid="ImageResizer_CustomSizes" IsEnabled="{x:Bind ViewModel.IsEnabled, Mode=OneWay}">
|
||||||
<tkcontrols:SettingsCard
|
<tkcontrols:SettingsCard
|
||||||
Name="ImageResizerPresets"
|
Name="ImageResizerPresets"
|
||||||
|
|||||||
@@ -56,28 +56,19 @@
|
|||||||
<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>
|
||||||
<StackPanel ChildrenTransitions="{StaticResource SettingsCardsAnimations}" Orientation="Vertical">
|
<StackPanel ChildrenTransitions="{StaticResource SettingsCardsAnimations}" Orientation="Vertical">
|
||||||
<tkcontrols:SettingsCard
|
<controls:GPOInfoControl ShowWarning="{x:Bind ViewModel.IsEnabledGpoConfigured, Mode=OneWay}">
|
||||||
Name="KeyboardManagerEnableToggle"
|
<tkcontrols:SettingsCard
|
||||||
x:Uid="KeyboardManager_EnableToggle"
|
Name="KeyboardManagerEnableToggle"
|
||||||
HeaderIcon="{ui:BitmapIcon Source=/Assets/Settings/Icons/KeyboardManager.png}"
|
x:Uid="KeyboardManager_EnableToggle"
|
||||||
IsEnabled="{x:Bind ViewModel.IsEnabledGpoConfigured, Mode=OneWay, Converter={StaticResource BoolNegationConverter}}">
|
HeaderIcon="{ui:BitmapIcon Source=/Assets/Settings/Icons/KeyboardManager.png}">
|
||||||
<ToggleSwitch x:Uid="ToggleSwitch" IsOn="{x:Bind ViewModel.Enabled, Mode=TwoWay}" />
|
<ToggleSwitch x:Uid="ToggleSwitch" IsOn="{x:Bind ViewModel.Enabled, Mode=TwoWay}" />
|
||||||
<tkcontrols:SettingsCard.Description>
|
<tkcontrols:SettingsCard.Description>
|
||||||
<HyperlinkButton NavigateUri="https://aka.ms/powerToysCannotRemapKeys">
|
<HyperlinkButton NavigateUri="https://aka.ms/powerToysCannotRemapKeys">
|
||||||
<TextBlock x:Uid="KBM_KeysCannotBeRemapped" FontWeight="SemiBold" />
|
<TextBlock x:Uid="KBM_KeysCannotBeRemapped" FontWeight="SemiBold" />
|
||||||
</HyperlinkButton>
|
</HyperlinkButton>
|
||||||
</tkcontrols:SettingsCard.Description>
|
</tkcontrols:SettingsCard.Description>
|
||||||
</tkcontrols:SettingsCard>
|
</tkcontrols:SettingsCard>
|
||||||
<InfoBar
|
</controls:GPOInfoControl>
|
||||||
x:Uid="GPO_SettingIsManaged"
|
|
||||||
IsClosable="False"
|
|
||||||
IsOpen="{x:Bind ViewModel.IsEnabledGpoConfigured, Mode=OneWay}"
|
|
||||||
IsTabStop="{x:Bind ViewModel.IsEnabledGpoConfigured, Mode=OneWay}"
|
|
||||||
Severity="Informational">
|
|
||||||
<InfoBar.IconSource>
|
|
||||||
<FontIconSource FontFamily="{StaticResource SymbolThemeFontFamily}" Glyph="" />
|
|
||||||
</InfoBar.IconSource>
|
|
||||||
</InfoBar>
|
|
||||||
|
|
||||||
<controls:SettingsGroup x:Uid="KeyboardManager_Keys" IsEnabled="{x:Bind ViewModel.Enabled, Mode=OneWay}">
|
<controls:SettingsGroup x:Uid="KeyboardManager_Keys" IsEnabled="{x:Bind ViewModel.Enabled, Mode=OneWay}">
|
||||||
<tkcontrols:SettingsCard
|
<tkcontrols:SettingsCard
|
||||||
|
|||||||
@@ -14,26 +14,18 @@
|
|||||||
<controls:SettingsPageControl x:Uid="MeasureTool" ModuleImageSource="ms-appx:///Assets/Settings/Modules/ScreenRuler.png">
|
<controls:SettingsPageControl x:Uid="MeasureTool" ModuleImageSource="ms-appx:///Assets/Settings/Modules/ScreenRuler.png">
|
||||||
<controls:SettingsPageControl.ModuleContent>
|
<controls:SettingsPageControl.ModuleContent>
|
||||||
<StackPanel ChildrenTransitions="{StaticResource SettingsCardsAnimations}" Orientation="Vertical">
|
<StackPanel ChildrenTransitions="{StaticResource SettingsCardsAnimations}" Orientation="Vertical">
|
||||||
<tkcontrols:SettingsCard
|
<controls:GPOInfoControl ShowWarning="{x:Bind ViewModel.IsEnabledGpoConfigured, Mode=OneWay}">
|
||||||
Name="MeasureToolEnableMeasureTool"
|
<tkcontrols:SettingsCard
|
||||||
x:Uid="MeasureTool_EnableMeasureTool"
|
Name="MeasureToolEnableMeasureTool"
|
||||||
HeaderIcon="{ui:BitmapIcon Source=/Assets/Settings/Icons/ScreenRuler.png}"
|
x:Uid="MeasureTool_EnableMeasureTool"
|
||||||
IsEnabled="{x:Bind ViewModel.IsEnabledGpoConfigured, Mode=OneWay, Converter={StaticResource BoolNegationConverter}}">
|
HeaderIcon="{ui:BitmapIcon Source=/Assets/Settings/Icons/ScreenRuler.png}">
|
||||||
<ToggleSwitch
|
<ToggleSwitch
|
||||||
x:Uid="ToggleSwitch"
|
x:Uid="ToggleSwitch"
|
||||||
AutomationProperties.AutomationId="Toggle_ScreenRuler"
|
AutomationProperties.AutomationId="Toggle_ScreenRuler"
|
||||||
IsOn="{x:Bind ViewModel.IsEnabled, Mode=TwoWay}" />
|
IsOn="{x:Bind ViewModel.IsEnabled, Mode=TwoWay}" />
|
||||||
</tkcontrols:SettingsCard>
|
</tkcontrols:SettingsCard>
|
||||||
<InfoBar
|
</controls:GPOInfoControl>
|
||||||
x:Uid="GPO_SettingIsManaged"
|
|
||||||
IsClosable="False"
|
|
||||||
IsOpen="{x:Bind ViewModel.IsEnabledGpoConfigured, Mode=OneWay}"
|
|
||||||
IsTabStop="{x:Bind ViewModel.IsEnabledGpoConfigured, Mode=OneWay}"
|
|
||||||
Severity="Informational">
|
|
||||||
<InfoBar.IconSource>
|
|
||||||
<FontIconSource FontFamily="{StaticResource SymbolThemeFontFamily}" Glyph="" />
|
|
||||||
</InfoBar.IconSource>
|
|
||||||
</InfoBar>
|
|
||||||
<controls:SettingsGroup x:Uid="MeasureTool_ActivationSettings" IsEnabled="{x:Bind ViewModel.IsEnabled, Mode=OneWay}">
|
<controls:SettingsGroup x:Uid="MeasureTool_ActivationSettings" IsEnabled="{x:Bind ViewModel.IsEnabled, Mode=OneWay}">
|
||||||
<tkcontrols:SettingsCard
|
<tkcontrols:SettingsCard
|
||||||
Name="MeasureToolActivationShortcut"
|
Name="MeasureToolActivationShortcut"
|
||||||
|
|||||||
@@ -24,23 +24,14 @@
|
|||||||
<controls:SettingsPageControl.ModuleContent>
|
<controls:SettingsPageControl.ModuleContent>
|
||||||
<StackPanel ChildrenTransitions="{StaticResource SettingsCardsAnimations}" Orientation="Vertical">
|
<StackPanel ChildrenTransitions="{StaticResource SettingsCardsAnimations}" Orientation="Vertical">
|
||||||
<controls:SettingsGroup x:Uid="MouseUtils_FindMyMouse">
|
<controls:SettingsGroup x:Uid="MouseUtils_FindMyMouse">
|
||||||
<tkcontrols:SettingsCard
|
<controls:GPOInfoControl ShowWarning="{x:Bind ViewModel.IsFindMyMouseEnabledGpoConfigured, Mode=OneWay}">
|
||||||
Name="MouseUtilsEnableFindMyMouse"
|
<tkcontrols:SettingsCard
|
||||||
x:Uid="MouseUtils_Enable_FindMyMouse"
|
Name="MouseUtilsEnableFindMyMouse"
|
||||||
HeaderIcon="{ui:BitmapIcon Source=/Assets/Settings/Icons/FindMyMouse.png}"
|
x:Uid="MouseUtils_Enable_FindMyMouse"
|
||||||
IsEnabled="{x:Bind ViewModel.IsFindMyMouseEnabledGpoConfigured, Mode=OneWay, Converter={StaticResource BoolNegationConverter}}">
|
HeaderIcon="{ui:BitmapIcon Source=/Assets/Settings/Icons/FindMyMouse.png}">
|
||||||
<ToggleSwitch x:Uid="ToggleSwitch" IsOn="{x:Bind ViewModel.IsFindMyMouseEnabled, Mode=TwoWay}" />
|
<ToggleSwitch x:Uid="ToggleSwitch" IsOn="{x:Bind ViewModel.IsFindMyMouseEnabled, Mode=TwoWay}" />
|
||||||
</tkcontrols:SettingsCard>
|
</tkcontrols:SettingsCard>
|
||||||
<InfoBar
|
</controls:GPOInfoControl>
|
||||||
x:Uid="GPO_SettingIsManaged"
|
|
||||||
IsClosable="False"
|
|
||||||
IsOpen="{x:Bind ViewModel.IsFindMyMouseEnabledGpoConfigured, Mode=OneWay}"
|
|
||||||
IsTabStop="{x:Bind ViewModel.IsFindMyMouseEnabledGpoConfigured, Mode=OneWay}"
|
|
||||||
Severity="Informational">
|
|
||||||
<InfoBar.IconSource>
|
|
||||||
<FontIconSource FontFamily="{StaticResource SymbolThemeFontFamily}" Glyph="" />
|
|
||||||
</InfoBar.IconSource>
|
|
||||||
</InfoBar>
|
|
||||||
<tkcontrols:SettingsExpander
|
<tkcontrols:SettingsExpander
|
||||||
Name="MouseUtilsFindMyMouseActivationMethod"
|
Name="MouseUtilsFindMyMouseActivationMethod"
|
||||||
x:Uid="MouseUtils_FindMyMouse_ActivationMethod"
|
x:Uid="MouseUtils_FindMyMouse_ActivationMethod"
|
||||||
@@ -196,23 +187,14 @@
|
|||||||
</controls:SettingsGroup>
|
</controls:SettingsGroup>
|
||||||
|
|
||||||
<controls:SettingsGroup x:Uid="MouseUtils_MouseHighlighter">
|
<controls:SettingsGroup x:Uid="MouseUtils_MouseHighlighter">
|
||||||
<tkcontrols:SettingsCard
|
<controls:GPOInfoControl ShowWarning="{x:Bind ViewModel.IsHighlighterEnabledGpoConfigured, Mode=OneWay}">
|
||||||
Name="MouseUtilsEnableMouseHighlighter"
|
<tkcontrols:SettingsCard
|
||||||
x:Uid="MouseUtils_Enable_MouseHighlighter"
|
Name="MouseUtilsEnableMouseHighlighter"
|
||||||
HeaderIcon="{ui:BitmapIcon Source=/Assets/Settings/Icons/MouseHighlighter.png}"
|
x:Uid="MouseUtils_Enable_MouseHighlighter"
|
||||||
IsEnabled="{x:Bind ViewModel.IsHighlighterEnabledGpoConfigured, Mode=OneWay, Converter={StaticResource BoolNegationConverter}}">
|
HeaderIcon="{ui:BitmapIcon Source=/Assets/Settings/Icons/MouseHighlighter.png}">
|
||||||
<ToggleSwitch x:Uid="ToggleSwitch" IsOn="{x:Bind ViewModel.IsMouseHighlighterEnabled, Mode=TwoWay}" />
|
<ToggleSwitch x:Uid="ToggleSwitch" IsOn="{x:Bind ViewModel.IsMouseHighlighterEnabled, Mode=TwoWay}" />
|
||||||
</tkcontrols:SettingsCard>
|
</tkcontrols:SettingsCard>
|
||||||
<InfoBar
|
</controls:GPOInfoControl>
|
||||||
x:Uid="GPO_SettingIsManaged"
|
|
||||||
IsClosable="False"
|
|
||||||
IsOpen="{x:Bind ViewModel.IsHighlighterEnabledGpoConfigured, Mode=OneWay}"
|
|
||||||
IsTabStop="{x:Bind ViewModel.IsHighlighterEnabledGpoConfigured, Mode=OneWay}"
|
|
||||||
Severity="Informational">
|
|
||||||
<InfoBar.IconSource>
|
|
||||||
<FontIconSource FontFamily="{StaticResource SymbolThemeFontFamily}" Glyph="" />
|
|
||||||
</InfoBar.IconSource>
|
|
||||||
</InfoBar>
|
|
||||||
<tkcontrols:SettingsExpander
|
<tkcontrols:SettingsExpander
|
||||||
Name="MouseUtilsMouseHighlighterActivationShortcut"
|
Name="MouseUtilsMouseHighlighterActivationShortcut"
|
||||||
x:Uid="MouseUtils_MouseHighlighter_ActivationShortcut"
|
x:Uid="MouseUtils_MouseHighlighter_ActivationShortcut"
|
||||||
@@ -284,23 +266,15 @@
|
|||||||
<panels:MouseJumpPanel x:Name="MouseUtils_MouseJump_Panel" x:Uid="MouseUtils_MouseJump_Panel" />
|
<panels:MouseJumpPanel x:Name="MouseUtils_MouseJump_Panel" x:Uid="MouseUtils_MouseJump_Panel" />
|
||||||
|
|
||||||
<controls:SettingsGroup x:Uid="MouseUtils_MousePointerCrosshairs">
|
<controls:SettingsGroup x:Uid="MouseUtils_MousePointerCrosshairs">
|
||||||
<tkcontrols:SettingsCard
|
<controls:GPOInfoControl ShowWarning="{x:Bind ViewModel.IsMousePointerCrosshairsEnabledGpoConfigured, Mode=OneWay}">
|
||||||
Name="MouseUtilsEnableMousePointerCrosshairs"
|
<tkcontrols:SettingsCard
|
||||||
x:Uid="MouseUtils_Enable_MousePointerCrosshairs"
|
Name="MouseUtilsEnableMousePointerCrosshairs"
|
||||||
HeaderIcon="{ui:BitmapIcon Source=/Assets/Settings/Icons/MouseCrosshairs.png}"
|
x:Uid="MouseUtils_Enable_MousePointerCrosshairs"
|
||||||
IsEnabled="{x:Bind ViewModel.IsMousePointerCrosshairsEnabledGpoConfigured, Mode=OneWay, Converter={StaticResource BoolNegationConverter}}">
|
HeaderIcon="{ui:BitmapIcon Source=/Assets/Settings/Icons/MouseCrosshairs.png}">
|
||||||
<ToggleSwitch x:Uid="ToggleSwitch" IsOn="{x:Bind ViewModel.IsMousePointerCrosshairsEnabled, Mode=TwoWay}" />
|
<ToggleSwitch x:Uid="ToggleSwitch" IsOn="{x:Bind ViewModel.IsMousePointerCrosshairsEnabled, Mode=TwoWay}" />
|
||||||
</tkcontrols:SettingsCard>
|
</tkcontrols:SettingsCard>
|
||||||
<InfoBar
|
</controls:GPOInfoControl>
|
||||||
x:Uid="GPO_SettingIsManaged"
|
|
||||||
IsClosable="False"
|
|
||||||
IsOpen="{x:Bind ViewModel.IsMousePointerCrosshairsEnabledGpoConfigured, Mode=OneWay}"
|
|
||||||
IsTabStop="{x:Bind ViewModel.IsMousePointerCrosshairsEnabledGpoConfigured, Mode=OneWay}"
|
|
||||||
Severity="Informational">
|
|
||||||
<InfoBar.IconSource>
|
|
||||||
<FontIconSource FontFamily="{StaticResource SymbolThemeFontFamily}" Glyph="" />
|
|
||||||
</InfoBar.IconSource>
|
|
||||||
</InfoBar>
|
|
||||||
<tkcontrols:SettingsExpander
|
<tkcontrols:SettingsExpander
|
||||||
Name="MouseUtilsMousePointerCrosshairsActivationShortcut"
|
Name="MouseUtilsMousePointerCrosshairsActivationShortcut"
|
||||||
x:Uid="MouseUtils_MousePointerCrosshairs_ActivationShortcut"
|
x:Uid="MouseUtils_MousePointerCrosshairs_ActivationShortcut"
|
||||||
|
|||||||
@@ -21,27 +21,18 @@
|
|||||||
<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">
|
||||||
<controls:SettingsGroup x:Name="ActivationSettingsGroup" x:Uid="MouseWithoutBorders_ActivationSettings">
|
<controls:SettingsGroup x:Uid="MouseWithoutBorders_ActivationSettings">
|
||||||
<tkcontrols:SettingsCard
|
<controls:GPOInfoControl ShowWarning="{x:Bind ViewModel.IsEnabledGpoConfigured, Mode=OneWay}">
|
||||||
Name="MouseWithoutBordersToggleEnable"
|
<tkcontrols:SettingsCard
|
||||||
x:Uid="MouseWithoutBorders_Toggle_Enable"
|
Name="MouseWithoutBordersToggleEnable"
|
||||||
HeaderIcon="{ui:BitmapIcon Source=/Assets/Settings/Icons/MouseWithoutBorders.png}"
|
x:Uid="MouseWithoutBorders_Toggle_Enable"
|
||||||
IsEnabled="{x:Bind ViewModel.IsEnabledGpoConfigured, Mode=OneWay, Converter={StaticResource BoolNegationConverter}}">
|
HeaderIcon="{ui:BitmapIcon Source=/Assets/Settings/Icons/MouseWithoutBorders.png}">
|
||||||
<ToggleSwitch
|
<ToggleSwitch
|
||||||
x:Uid="ToggleSwitch"
|
x:Uid="ToggleSwitch"
|
||||||
IsEnabled="{x:Bind ViewModel.CanBeEnabled, Mode=OneWay}"
|
IsEnabled="{x:Bind ViewModel.CanBeEnabled, Mode=OneWay}"
|
||||||
IsOn="{x:Bind ViewModel.IsEnabled, Mode=TwoWay}" />
|
IsOn="{x:Bind ViewModel.IsEnabled, Mode=TwoWay}" />
|
||||||
</tkcontrols:SettingsCard>
|
</tkcontrols:SettingsCard>
|
||||||
<InfoBar
|
</controls:GPOInfoControl>
|
||||||
x:Uid="GPO_SettingIsManaged"
|
|
||||||
IsClosable="False"
|
|
||||||
IsOpen="{x:Bind ViewModel.IsEnabledGpoConfigured, Mode=OneWay}"
|
|
||||||
IsTabStop="{x:Bind ViewModel.IsEnabledGpoConfigured, Mode=OneWay}"
|
|
||||||
Severity="Informational">
|
|
||||||
<InfoBar.IconSource>
|
|
||||||
<FontIconSource FontFamily="{StaticResource SymbolThemeFontFamily}" Glyph="" />
|
|
||||||
</InfoBar.IconSource>
|
|
||||||
</InfoBar>
|
|
||||||
</controls:SettingsGroup>
|
</controls:SettingsGroup>
|
||||||
<controls:SettingsGroup
|
<controls:SettingsGroup
|
||||||
x:Name="KeySettingsGroup"
|
x:Name="KeySettingsGroup"
|
||||||
@@ -179,16 +170,12 @@
|
|||||||
|
|
||||||
</StackPanel>
|
</StackPanel>
|
||||||
</tkcontrols:SettingsCard>
|
</tkcontrols:SettingsCard>
|
||||||
|
|
||||||
<InfoBar
|
<InfoBar
|
||||||
x:Uid="MouseWithoutBorders_CannotDragDropAsAdmin"
|
x:Uid="MouseWithoutBorders_CannotDragDropAsAdmin"
|
||||||
IsClosable="False"
|
IsClosable="False"
|
||||||
IsOpen="{x:Bind ViewModel.ShowInfobarCannotDragDropAsAdmin, Mode=OneWay}"
|
IsOpen="{x:Bind ViewModel.ShowInfobarCannotDragDropAsAdmin, Mode=OneWay}"
|
||||||
IsTabStop="{x:Bind ViewModel.ShowInfobarCannotDragDropAsAdmin, Mode=OneWay}"
|
IsTabStop="{x:Bind ViewModel.ShowInfobarCannotDragDropAsAdmin, Mode=OneWay}"
|
||||||
Severity="Informational" />
|
Severity="Informational" />
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<tkcontrols:SettingsCard Name="MouseWithoutBordersMatrixOneRow" x:Uid="MouseWithoutBorders_MatrixOneRow">
|
<tkcontrols:SettingsCard Name="MouseWithoutBordersMatrixOneRow" x:Uid="MouseWithoutBorders_MatrixOneRow">
|
||||||
<ToggleSwitch x:Uid="MouseWithoutBorders_MatrixOneRow_ToggleSwitch" IsOn="{x:Bind ViewModel.MatrixOneRow, Mode=TwoWay}" />
|
<ToggleSwitch x:Uid="MouseWithoutBorders_MatrixOneRow_ToggleSwitch" IsOn="{x:Bind ViewModel.MatrixOneRow, Mode=TwoWay}" />
|
||||||
</tkcontrols:SettingsCard>
|
</tkcontrols:SettingsCard>
|
||||||
@@ -197,34 +184,28 @@
|
|||||||
x:Name="ServiceSettingsGroup"
|
x:Name="ServiceSettingsGroup"
|
||||||
x:Uid="MouseWithoutBorders_ServiceSettings"
|
x:Uid="MouseWithoutBorders_ServiceSettings"
|
||||||
IsEnabled="{x:Bind ViewModel.CanToggleUseService, Mode=OneWay}">
|
IsEnabled="{x:Bind ViewModel.CanToggleUseService, Mode=OneWay}">
|
||||||
<tkcontrols:SettingsCard
|
<controls:GPOInfoControl ShowWarning="{x:Bind ViewModel.ShowPolicyConfiguredInfoForServiceSettings, Mode=OneWay}">
|
||||||
Name="MouseWithoutBordersUseService"
|
<tkcontrols:SettingsCard
|
||||||
x:Uid="MouseWithoutBorders_UseService"
|
Name="MouseWithoutBordersUseService"
|
||||||
IsEnabled="{x:Bind ViewModel.UseServiceSettingIsEnabled, Mode=OneWay}">
|
x:Uid="MouseWithoutBorders_UseService"
|
||||||
<ToggleSwitch x:Uid="MouseWithoutBorders_UseService_ToggleSwitch" IsOn="{x:Bind ViewModel.UseService, Mode=TwoWay}" />
|
IsEnabled="{x:Bind ViewModel.UseServiceSettingIsEnabled, Mode=OneWay}">
|
||||||
</tkcontrols:SettingsCard>
|
<ToggleSwitch x:Uid="MouseWithoutBorders_UseService_ToggleSwitch" IsOn="{x:Bind ViewModel.UseService, Mode=TwoWay}" />
|
||||||
<InfoBar
|
</tkcontrols:SettingsCard>
|
||||||
x:Uid="GPO_SettingIsManaged"
|
</controls:GPOInfoControl>
|
||||||
IsClosable="False"
|
<StackPanel Orientation="Vertical">
|
||||||
IsOpen="{x:Bind ViewModel.ShowPolicyConfiguredInfoForServiceSettings, Mode=OneWay}"
|
<InfoBar
|
||||||
IsTabStop="{x:Bind ViewModel.ShowPolicyConfiguredInfoForServiceSettings, Mode=OneWay}"
|
x:Uid="MouseWithoutBorders_RunAsAdminText"
|
||||||
Severity="Informational">
|
IsClosable="False"
|
||||||
<InfoBar.IconSource>
|
IsOpen="{x:Bind ViewModel.ShowInfobarRunAsAdminText, Mode=OneWay}"
|
||||||
<FontIconSource FontFamily="{StaticResource SymbolThemeFontFamily}" Glyph="" />
|
IsTabStop="{x:Bind ViewModel.ShowInfobarRunAsAdminText, Mode=OneWay}"
|
||||||
</InfoBar.IconSource>
|
Severity="Informational" />
|
||||||
</InfoBar>
|
<InfoBar
|
||||||
<InfoBar
|
x:Uid="MouseWithoutBorders_ServiceUserUninstallWarning"
|
||||||
x:Uid="MouseWithoutBorders_RunAsAdminText"
|
IsClosable="False"
|
||||||
IsClosable="False"
|
IsOpen="{x:Bind ViewModel.IsEnabled, Mode=OneWay}"
|
||||||
IsOpen="{x:Bind ViewModel.ShowInfobarRunAsAdminText, Mode=OneWay}"
|
IsTabStop="{x:Bind ViewModel.IsEnabled, Mode=OneWay}"
|
||||||
IsTabStop="{x:Bind ViewModel.ShowInfobarRunAsAdminText, Mode=OneWay}"
|
Severity="Warning" />
|
||||||
Severity="Informational" />
|
</StackPanel>
|
||||||
<InfoBar
|
|
||||||
x:Uid="MouseWithoutBorders_ServiceUserUninstallWarning"
|
|
||||||
IsClosable="False"
|
|
||||||
IsOpen="{x:Bind ViewModel.IsEnabled, Mode=OneWay}"
|
|
||||||
IsTabStop="{x:Bind ViewModel.IsEnabled, Mode=OneWay}"
|
|
||||||
Severity="Warning" />
|
|
||||||
<tkcontrols:SettingsCard
|
<tkcontrols:SettingsCard
|
||||||
Name="MouseWithoutBordersUninstallService"
|
Name="MouseWithoutBordersUninstallService"
|
||||||
x:Uid="MouseWithoutBorders_UninstallService"
|
x:Uid="MouseWithoutBorders_UninstallService"
|
||||||
@@ -497,22 +478,14 @@
|
|||||||
ActionIcon="{ui:FontIcon Glyph=}"
|
ActionIcon="{ui:FontIcon Glyph=}"
|
||||||
Command="{x:Bind ViewModel.AddFirewallRuleEventHandler}"
|
Command="{x:Bind ViewModel.AddFirewallRuleEventHandler}"
|
||||||
IsClickEnabled="True" />
|
IsClickEnabled="True" />
|
||||||
<tkcontrols:SettingsCard
|
<controls:GPOInfoControl ShowWarning="{x:Bind ViewModel.ShowPolicyConfiguredInfoForOriginalUiSetting, Mode=OneWay}">
|
||||||
Name="MouseWithoutBordersShowOriginalUI"
|
<tkcontrols:SettingsCard
|
||||||
x:Uid="MouseWithoutBorders_ShowOriginalUI"
|
Name="MouseWithoutBordersShowOriginalUI"
|
||||||
IsEnabled="{x:Bind ViewModel.CardForOriginalUiSettingIsEnabled, Mode=OneWay}">
|
x:Uid="MouseWithoutBorders_ShowOriginalUI"
|
||||||
<ToggleSwitch x:Uid="MouseWithoutBorders_ShowOriginalUI_ToggleSwitch" IsOn="{x:Bind ViewModel.ShowOriginalUI, Mode=TwoWay}" />
|
IsEnabled="{x:Bind ViewModel.CardForOriginalUiSettingIsEnabled, Mode=OneWay}">
|
||||||
</tkcontrols:SettingsCard>
|
<ToggleSwitch x:Uid="MouseWithoutBorders_ShowOriginalUI_ToggleSwitch" IsOn="{x:Bind ViewModel.ShowOriginalUI, Mode=TwoWay}" />
|
||||||
<InfoBar
|
</tkcontrols:SettingsCard>
|
||||||
x:Uid="GPO_SettingIsManaged"
|
</controls:GPOInfoControl>
|
||||||
IsClosable="False"
|
|
||||||
IsOpen="{x:Bind ViewModel.ShowPolicyConfiguredInfoForOriginalUiSetting, Mode=OneWay}"
|
|
||||||
IsTabStop="{x:Bind ViewModel.ShowPolicyConfiguredInfoForOriginalUiSetting, Mode=OneWay}"
|
|
||||||
Severity="Informational">
|
|
||||||
<InfoBar.IconSource>
|
|
||||||
<FontIconSource FontFamily="{StaticResource SymbolThemeFontFamily}" Glyph="" />
|
|
||||||
</InfoBar.IconSource>
|
|
||||||
</InfoBar>
|
|
||||||
</controls:SettingsGroup>
|
</controls:SettingsGroup>
|
||||||
</StackPanel>
|
</StackPanel>
|
||||||
</controls:SettingsPageControl.ModuleContent>
|
</controls:SettingsPageControl.ModuleContent>
|
||||||
|
|||||||
@@ -18,24 +18,14 @@
|
|||||||
ChildrenTransitions="{StaticResource SettingsCardsAnimations}"
|
ChildrenTransitions="{StaticResource SettingsCardsAnimations}"
|
||||||
Orientation="Vertical"
|
Orientation="Vertical"
|
||||||
Spacing="2">
|
Spacing="2">
|
||||||
<tkcontrols:SettingsCard
|
<controls:GPOInfoControl ShowWarning="{x:Bind ViewModel.IsEnabledGpoConfigured, Mode=OneWay}">
|
||||||
Name="NewPlusEnableToggle"
|
<tkcontrols:SettingsCard
|
||||||
x:Uid="NewPlus_Enable_Toggle"
|
Name="NewPlusEnableToggle"
|
||||||
HeaderIcon="{ui:BitmapIcon Source=/Assets/Settings/Icons/NewPlus.png}"
|
x:Uid="NewPlus_Enable_Toggle"
|
||||||
IsEnabled="{x:Bind ViewModel.IsEnabledGpoConfigured, Mode=OneWay, Converter={StaticResource BoolNegationConverter}}">
|
HeaderIcon="{ui:BitmapIcon Source=/Assets/Settings/Icons/NewPlus.png}">
|
||||||
<ToggleSwitch x:Uid="ToggleSwitch" IsOn="{x:Bind ViewModel.IsEnabled, Mode=TwoWay}" />
|
<ToggleSwitch x:Uid="ToggleSwitch" IsOn="{x:Bind ViewModel.IsEnabled, Mode=TwoWay}" />
|
||||||
</tkcontrols:SettingsCard>
|
</tkcontrols:SettingsCard>
|
||||||
<InfoBar
|
</controls:GPOInfoControl>
|
||||||
x:Uid="GPO_SettingIsManaged"
|
|
||||||
IsClosable="False"
|
|
||||||
IsOpen="{x:Bind ViewModel.IsEnabledGpoConfigured, Mode=OneWay}"
|
|
||||||
IsTabStop="{x:Bind ViewModel.IsEnabledGpoConfigured, Mode=OneWay}"
|
|
||||||
Severity="Informational">
|
|
||||||
<InfoBar.IconSource>
|
|
||||||
<FontIconSource FontFamily="{StaticResource SymbolThemeFontFamily}" Glyph="" />
|
|
||||||
</InfoBar.IconSource>
|
|
||||||
</InfoBar>
|
|
||||||
|
|
||||||
<controls:SettingsGroup x:Uid="NewPlus_Templates" IsEnabled="{x:Bind ViewModel.IsEnabled, Mode=OneWay}">
|
<controls:SettingsGroup x:Uid="NewPlus_Templates" IsEnabled="{x:Bind ViewModel.IsEnabled, Mode=OneWay}">
|
||||||
<tkcontrols:SettingsCard
|
<tkcontrols:SettingsCard
|
||||||
Name="NewPlusTemplatesLocation"
|
Name="NewPlusTemplatesLocation"
|
||||||
@@ -55,7 +45,6 @@
|
|||||||
<HyperlinkButton x:Uid="NewPlus_Templates_Location_Learn_More" NavigateUri="https://aka.ms/PowerToysOverview_NewPlus_TemplatesLocation" />
|
<HyperlinkButton x:Uid="NewPlus_Templates_Location_Learn_More" NavigateUri="https://aka.ms/PowerToysOverview_NewPlus_TemplatesLocation" />
|
||||||
</StackPanel>
|
</StackPanel>
|
||||||
</tkcontrols:SettingsCard.Description>
|
</tkcontrols:SettingsCard.Description>
|
||||||
|
|
||||||
</tkcontrols:SettingsCard>
|
</tkcontrols:SettingsCard>
|
||||||
|
|
||||||
<InfoBar
|
<InfoBar
|
||||||
@@ -64,27 +53,18 @@
|
|||||||
IsOpen="{x:Bind ViewModel.IsEnabled, Mode=OneWay}"
|
IsOpen="{x:Bind ViewModel.IsEnabled, Mode=OneWay}"
|
||||||
IsTabStop="{x:Bind ViewModel.IsEnabled, Mode=OneWay}"
|
IsTabStop="{x:Bind ViewModel.IsEnabled, Mode=OneWay}"
|
||||||
Severity="Informational" />
|
Severity="Informational" />
|
||||||
|
|
||||||
</controls:SettingsGroup>
|
</controls:SettingsGroup>
|
||||||
|
|
||||||
<controls:SettingsGroup x:Uid="NewPlus_Display_Options" IsEnabled="{x:Bind ViewModel.IsEnabled, Mode=OneWay}">
|
<controls:SettingsGroup x:Uid="NewPlus_Display_Options" IsEnabled="{x:Bind ViewModel.IsEnabled, Mode=OneWay}">
|
||||||
<tkcontrols:SettingsCard
|
<controls:GPOInfoControl ShowWarning="{x:Bind ViewModel.IsHideFileExtSettingGPOConfigured, Mode=OneWay}">
|
||||||
Name="NewPlusHideFileExtensionToggle"
|
<tkcontrols:SettingsCard
|
||||||
x:Uid="NewPlus_Hide_File_Extension_Toggle"
|
Name="NewPlusHideFileExtensionToggle"
|
||||||
IsEnabled="{x:Bind ViewModel.IsHideFileExtSettingsCardEnabled, Mode=OneWay}">
|
x:Uid="NewPlus_Hide_File_Extension_Toggle"
|
||||||
<ToggleSwitch x:Uid="HideFileExtensionToggle" IsOn="{x:Bind ViewModel.HideFileExtension, Mode=TwoWay}" />
|
IsEnabled="{x:Bind ViewModel.IsHideFileExtSettingsCardEnabled, Mode=OneWay}">
|
||||||
</tkcontrols:SettingsCard>
|
<ToggleSwitch x:Uid="HideFileExtensionToggle" IsOn="{x:Bind ViewModel.HideFileExtension, Mode=TwoWay}" />
|
||||||
<InfoBar
|
</tkcontrols:SettingsCard>
|
||||||
x:Uid="GPO_SettingIsManaged"
|
</controls:GPOInfoControl>
|
||||||
IsClosable="False"
|
|
||||||
IsOpen="{x:Bind ViewModel.IsHideFileExtSettingGPOConfigured, Mode=OneWay}"
|
|
||||||
IsTabStop="{x:Bind ViewModel.IsHideFileExtSettingGPOConfigured, Mode=OneWay}"
|
|
||||||
Severity="Informational">
|
|
||||||
<InfoBar.IconSource>
|
|
||||||
<FontIconSource FontFamily="{StaticResource SymbolThemeFontFamily}" Glyph="" />
|
|
||||||
</InfoBar.IconSource>
|
|
||||||
</InfoBar>
|
|
||||||
<tkcontrols:SettingsCard Name="NewPlusHideStartingDigitsToggle" x:Uid="NewPlus_Hide_Starting_Digits_Toggle">
|
<tkcontrols:SettingsCard Name="NewPlusHideStartingDigitsToggle" x:Uid="NewPlus_Hide_Starting_Digits_Toggle">
|
||||||
|
|
||||||
<ToggleSwitch x:Uid="HideStartingDigitsToggle" IsOn="{x:Bind ViewModel.HideStartingDigits, Mode=TwoWay}" />
|
<ToggleSwitch x:Uid="HideStartingDigitsToggle" IsOn="{x:Bind ViewModel.HideStartingDigits, Mode=TwoWay}" />
|
||||||
<tkcontrols:SettingsCard.Description>
|
<tkcontrols:SettingsCard.Description>
|
||||||
<TextBlock x:Uid="NewPlus_Hide_Starting_Digits_Description" />
|
<TextBlock x:Uid="NewPlus_Hide_Starting_Digits_Description" />
|
||||||
@@ -93,116 +73,111 @@
|
|||||||
</controls:SettingsGroup>
|
</controls:SettingsGroup>
|
||||||
|
|
||||||
<controls:SettingsGroup x:Uid="NewPlus_behavior" IsEnabled="{x:Bind ViewModel.IsEnabled, Mode=OneWay}">
|
<controls:SettingsGroup x:Uid="NewPlus_behavior" IsEnabled="{x:Bind ViewModel.IsEnabled, Mode=OneWay}">
|
||||||
<tkcontrols:SettingsCard
|
<controls:GPOInfoControl ShowWarning="{x:Bind ViewModel.IsReplaceVariablesSettingGPOConfigured, Mode=OneWay}">
|
||||||
Name="NewPlusBehaviourReplaceVariablesToggle"
|
<tkcontrols:SettingsCard
|
||||||
x:Uid="NewPlus_Behaviour_Replace_Variables_Toggle"
|
Name="NewPlusBehaviourReplaceVariablesToggle"
|
||||||
IsEnabled="{x:Bind ViewModel.IsReplaceVariablesSettingsCardEnabled, Mode=OneWay}">
|
x:Uid="NewPlus_Behaviour_Replace_Variables_Toggle"
|
||||||
<StackPanel Orientation="Horizontal" Spacing="4">
|
IsEnabled="{x:Bind ViewModel.IsReplaceVariablesSettingsCardEnabled, Mode=OneWay}">
|
||||||
<ToggleSwitch x:Uid="ReplaceVariablesToggle" IsOn="{x:Bind ViewModel.ReplaceVariables, Mode=TwoWay}" />
|
<StackPanel Orientation="Horizontal" Spacing="4">
|
||||||
<Button
|
<ToggleSwitch x:Uid="ReplaceVariablesToggle" IsOn="{x:Bind ViewModel.ReplaceVariables, Mode=TwoWay}" />
|
||||||
x:Uid="FileCreationButton"
|
<Button
|
||||||
Width="28"
|
x:Uid="FileCreationButton"
|
||||||
Height="40"
|
Width="28"
|
||||||
Margin="0,0,-4,0"
|
Height="40"
|
||||||
Padding="0"
|
Margin="0,0,-4,0"
|
||||||
HorizontalAlignment="Right"
|
Padding="0"
|
||||||
VerticalAlignment="Center"
|
HorizontalAlignment="Right"
|
||||||
Background="Transparent"
|
VerticalAlignment="Center"
|
||||||
BorderBrush="Transparent"
|
Background="Transparent"
|
||||||
Content=""
|
BorderBrush="Transparent"
|
||||||
FontFamily="{ThemeResource SymbolThemeFontFamily}">
|
Content=""
|
||||||
<Button.Flyout>
|
FontFamily="{ThemeResource SymbolThemeFontFamily}">
|
||||||
<Flyout x:Name="VariableExamplesFlyout" ShouldConstrainToRootBounds="False">
|
<Button.Flyout>
|
||||||
<Grid>
|
<Flyout x:Name="VariableExamplesFlyout" ShouldConstrainToRootBounds="False">
|
||||||
<Grid.RowDefinitions>
|
<Grid>
|
||||||
<RowDefinition Height="Auto" />
|
<Grid.RowDefinitions>
|
||||||
<RowDefinition Height="Auto" />
|
<RowDefinition Height="Auto" />
|
||||||
<RowDefinition Height="Auto" />
|
<RowDefinition Height="Auto" />
|
||||||
<RowDefinition Height="Auto" />
|
<RowDefinition Height="Auto" />
|
||||||
<RowDefinition Height="Auto" />
|
<RowDefinition Height="Auto" />
|
||||||
<RowDefinition Height="Auto" />
|
<RowDefinition Height="Auto" />
|
||||||
</Grid.RowDefinitions>
|
<RowDefinition Height="Auto" />
|
||||||
<Grid.ColumnDefinitions>
|
</Grid.RowDefinitions>
|
||||||
<ColumnDefinition Width="62" />
|
<Grid.ColumnDefinitions>
|
||||||
<ColumnDefinition Width="300" />
|
<ColumnDefinition Width="62" />
|
||||||
</Grid.ColumnDefinitions>
|
<ColumnDefinition Width="300" />
|
||||||
|
</Grid.ColumnDefinitions>
|
||||||
|
<TextBlock
|
||||||
|
Grid.Row="0"
|
||||||
|
Grid.Column="0"
|
||||||
|
Text="$YYYY" />
|
||||||
|
<TextBlock
|
||||||
|
Grid.Row="0"
|
||||||
|
Grid.Column="1"
|
||||||
|
Margin="0,0,0,5"
|
||||||
|
TextWrapping="Wrap"><Run x:Uid="NewPlus_Year_YYYY_Variable_Description" /></TextBlock>
|
||||||
|
|
||||||
<TextBlock
|
<TextBlock
|
||||||
Grid.Row="0"
|
Grid.Row="1"
|
||||||
Grid.Column="0"
|
Grid.Column="0"
|
||||||
Text="$YYYY" />
|
Text="$MM" />
|
||||||
<TextBlock
|
<TextBlock
|
||||||
Grid.Row="0"
|
Grid.Row="1"
|
||||||
Grid.Column="1"
|
Grid.Column="1"
|
||||||
Margin="0,0,0,5"
|
Margin="0,0,0,5"
|
||||||
TextWrapping="Wrap"><Run x:Uid="NewPlus_Year_YYYY_Variable_Description" /></TextBlock>
|
TextWrapping="Wrap"><Run x:Uid="NewPlus_Month_MM_Variable_Description" /></TextBlock>
|
||||||
|
|
||||||
<TextBlock
|
<TextBlock
|
||||||
Grid.Row="1"
|
Grid.Row="2"
|
||||||
Grid.Column="0"
|
Grid.Column="0"
|
||||||
Text="$MM" />
|
Text="$DD" />
|
||||||
<TextBlock
|
<TextBlock
|
||||||
Grid.Row="1"
|
Grid.Row="2"
|
||||||
Grid.Column="1"
|
Grid.Column="1"
|
||||||
Margin="0,0,0,5"
|
Margin="0,0,0,5"
|
||||||
TextWrapping="Wrap"><Run x:Uid="NewPlus_Month_MM_Variable_Description" /></TextBlock>
|
TextWrapping="Wrap"><Run x:Uid="NewPlus_Day_DD_Variable_Description" /></TextBlock>
|
||||||
|
|
||||||
<TextBlock
|
<TextBlock
|
||||||
Grid.Row="2"
|
Grid.Row="3"
|
||||||
Grid.Column="0"
|
Grid.Column="0"
|
||||||
Text="$DD" />
|
Text="$hh" />
|
||||||
<TextBlock
|
<TextBlock
|
||||||
Grid.Row="2"
|
Grid.Row="3"
|
||||||
Grid.Column="1"
|
Grid.Column="1"
|
||||||
Margin="0,0,0,5"
|
Margin="0,0,0,5"
|
||||||
TextWrapping="Wrap"><Run x:Uid="NewPlus_Day_DD_Variable_Description" /></TextBlock>
|
TextWrapping="Wrap"><Run x:Uid="NewPlus_Hour_hh_Variable_Description" /></TextBlock>
|
||||||
|
|
||||||
<TextBlock
|
<TextBlock
|
||||||
Grid.Row="3"
|
Grid.Row="4"
|
||||||
Grid.Column="0"
|
Grid.Column="0"
|
||||||
Text="$hh" />
|
Text="$mm" />
|
||||||
<TextBlock
|
<TextBlock
|
||||||
Grid.Row="3"
|
Grid.Row="4"
|
||||||
Grid.Column="1"
|
Grid.Column="1"
|
||||||
Margin="0,0,0,5"
|
Margin="0,0,0,5"
|
||||||
TextWrapping="Wrap"><Run x:Uid="NewPlus_Hour_hh_Variable_Description" /></TextBlock>
|
TextWrapping="Wrap"><Run x:Uid="NewPlus_Minute_mm_Variable_Description" /></TextBlock>
|
||||||
|
|
||||||
<TextBlock
|
<TextBlock
|
||||||
Grid.Row="4"
|
Grid.Row="5"
|
||||||
Grid.Column="0"
|
Grid.Column="0"
|
||||||
Text="$mm" />
|
Text="$ss" />
|
||||||
<TextBlock
|
<TextBlock
|
||||||
Grid.Row="4"
|
Grid.Row="5"
|
||||||
Grid.Column="1"
|
Grid.Column="1"
|
||||||
Margin="0,0,0,5"
|
Margin="0,0,0,0"
|
||||||
TextWrapping="Wrap"><Run x:Uid="NewPlus_Minute_mm_Variable_Description" /></TextBlock>
|
TextWrapping="Wrap"><Run x:Uid="NewPlus_Second_ss_Variable_Description" /></TextBlock>
|
||||||
|
</Grid>
|
||||||
<TextBlock
|
</Flyout>
|
||||||
Grid.Row="5"
|
</Button.Flyout>
|
||||||
Grid.Column="0"
|
</Button>
|
||||||
Text="$ss" />
|
|
||||||
<TextBlock
|
|
||||||
Grid.Row="5"
|
|
||||||
Grid.Column="1"
|
|
||||||
Margin="0,0,0,0"
|
|
||||||
TextWrapping="Wrap"><Run x:Uid="NewPlus_Second_ss_Variable_Description" /></TextBlock>
|
|
||||||
</Grid>
|
|
||||||
</Flyout>
|
|
||||||
</Button.Flyout>
|
|
||||||
</Button>
|
|
||||||
</StackPanel>
|
|
||||||
<tkcontrols:SettingsCard.Description>
|
|
||||||
<StackPanel>
|
|
||||||
<HyperlinkButton x:Uid="NewPlus_Behaviour_Replace_Variables_Learn_More" NavigateUri="https://aka.ms/PowerToysOverview_NewPlus" />
|
|
||||||
</StackPanel>
|
</StackPanel>
|
||||||
</tkcontrols:SettingsCard.Description>
|
<tkcontrols:SettingsCard.Description>
|
||||||
</tkcontrols:SettingsCard>
|
<StackPanel>
|
||||||
<InfoBar
|
<HyperlinkButton x:Uid="NewPlus_Behaviour_Replace_Variables_Learn_More" NavigateUri="https://aka.ms/PowerToysOverview_NewPlus" />
|
||||||
x:Uid="GPO_SettingIsManaged"
|
</StackPanel>
|
||||||
IsClosable="False"
|
</tkcontrols:SettingsCard.Description>
|
||||||
IsOpen="{x:Bind ViewModel.IsReplaceVariablesSettingGPOConfigured, Mode=OneWay}"
|
</tkcontrols:SettingsCard>
|
||||||
IsTabStop="{x:Bind ViewModel.IsReplaceVariablesSettingGPOConfigured, Mode=OneWay}"
|
</controls:GPOInfoControl>
|
||||||
Severity="Informational" />
|
|
||||||
</controls:SettingsGroup>
|
</controls:SettingsGroup>
|
||||||
</StackPanel>
|
</StackPanel>
|
||||||
</controls:SettingsPageControl.ModuleContent>
|
</controls:SettingsPageControl.ModuleContent>
|
||||||
|
|||||||
@@ -14,24 +14,14 @@
|
|||||||
<controls:SettingsPageControl x:Uid="Peek" ModuleImageSource="ms-appx:///Assets/Settings/Modules/Peek.png">
|
<controls:SettingsPageControl x:Uid="Peek" ModuleImageSource="ms-appx:///Assets/Settings/Modules/Peek.png">
|
||||||
<controls:SettingsPageControl.ModuleContent>
|
<controls:SettingsPageControl.ModuleContent>
|
||||||
<StackPanel Orientation="Vertical">
|
<StackPanel Orientation="Vertical">
|
||||||
<tkcontrols:SettingsCard
|
<controls:GPOInfoControl ShowWarning="{x:Bind ViewModel.IsEnabledGpoConfigured, Mode=OneWay}">
|
||||||
Name="PeekEnablePeek"
|
<tkcontrols:SettingsCard
|
||||||
x:Uid="Peek_EnablePeek"
|
Name="PeekEnablePeek"
|
||||||
HeaderIcon="{ui:BitmapIcon Source=/Assets/Settings/Icons/Peek.png}"
|
x:Uid="Peek_EnablePeek"
|
||||||
IsEnabled="{x:Bind ViewModel.IsEnabledGpoConfigured, Mode=OneWay, Converter={StaticResource BoolNegationConverter}}">
|
HeaderIcon="{ui:BitmapIcon Source=/Assets/Settings/Icons/Peek.png}">
|
||||||
<ToggleSwitch IsOn="{x:Bind ViewModel.IsEnabled, Mode=TwoWay}" />
|
<ToggleSwitch IsOn="{x:Bind ViewModel.IsEnabled, Mode=TwoWay}" />
|
||||||
</tkcontrols:SettingsCard>
|
</tkcontrols:SettingsCard>
|
||||||
<InfoBar
|
</controls:GPOInfoControl>
|
||||||
x:Uid="GPO_SettingIsManaged"
|
|
||||||
IsClosable="False"
|
|
||||||
IsOpen="{x:Bind ViewModel.IsEnabledGpoConfigured, Mode=OneWay}"
|
|
||||||
IsTabStop="{x:Bind ViewModel.IsEnabledGpoConfigured, Mode=OneWay}"
|
|
||||||
Severity="Informational">
|
|
||||||
<InfoBar.IconSource>
|
|
||||||
<FontIconSource FontFamily="{StaticResource SymbolThemeFontFamily}" Glyph="" />
|
|
||||||
</InfoBar.IconSource>
|
|
||||||
</InfoBar>
|
|
||||||
|
|
||||||
<controls:SettingsGroup x:Uid="Peek_Activation_GroupSettings" IsEnabled="{x:Bind ViewModel.IsEnabled, Mode=OneWay}">
|
<controls:SettingsGroup x:Uid="Peek_Activation_GroupSettings" IsEnabled="{x:Bind ViewModel.IsEnabled, Mode=OneWay}">
|
||||||
<tkcontrols:SettingsCard
|
<tkcontrols:SettingsCard
|
||||||
Name="ActivationShortcut"
|
Name="ActivationShortcut"
|
||||||
|
|||||||
@@ -27,25 +27,14 @@
|
|||||||
ModuleImageSource="ms-appx:///Assets/Settings/Modules/QuickAccent.png">
|
ModuleImageSource="ms-appx:///Assets/Settings/Modules/QuickAccent.png">
|
||||||
<controls:SettingsPageControl.ModuleContent>
|
<controls:SettingsPageControl.ModuleContent>
|
||||||
<StackPanel ChildrenTransitions="{StaticResource SettingsCardsAnimations}" Orientation="Vertical">
|
<StackPanel ChildrenTransitions="{StaticResource SettingsCardsAnimations}" Orientation="Vertical">
|
||||||
<tkcontrols:SettingsCard
|
<controls:GPOInfoControl ShowWarning="{x:Bind ViewModel.IsEnabledGpoConfigured, Mode=OneWay}">
|
||||||
Name="QuickAccentEnableQuickAccent"
|
<tkcontrols:SettingsCard
|
||||||
x:Uid="QuickAccent_EnableQuickAccent"
|
Name="QuickAccentEnableQuickAccent"
|
||||||
HeaderIcon="{ui:BitmapIcon Source=/Assets/Settings/Icons/QuickAccent.png}"
|
x:Uid="QuickAccent_EnableQuickAccent"
|
||||||
IsEnabled="{x:Bind ViewModel.IsEnabledGpoConfigured, Mode=OneWay, Converter={StaticResource BoolNegationConverter}}">
|
HeaderIcon="{ui:BitmapIcon Source=/Assets/Settings/Icons/QuickAccent.png}">
|
||||||
<ToggleSwitch x:Uid="ToggleSwitch" IsOn="{x:Bind ViewModel.IsEnabled, Mode=TwoWay}" />
|
<ToggleSwitch x:Uid="ToggleSwitch" IsOn="{x:Bind ViewModel.IsEnabled, Mode=TwoWay}" />
|
||||||
</tkcontrols:SettingsCard>
|
</tkcontrols:SettingsCard>
|
||||||
|
</controls:GPOInfoControl>
|
||||||
<InfoBar
|
|
||||||
x:Uid="GPO_SettingIsManaged"
|
|
||||||
IsClosable="False"
|
|
||||||
IsOpen="{x:Bind ViewModel.IsEnabledGpoConfigured, Mode=OneWay}"
|
|
||||||
IsTabStop="{x:Bind ViewModel.IsEnabledGpoConfigured, Mode=OneWay}"
|
|
||||||
Severity="Informational">
|
|
||||||
<InfoBar.IconSource>
|
|
||||||
<FontIconSource FontFamily="{StaticResource SymbolThemeFontFamily}" Glyph="" />
|
|
||||||
</InfoBar.IconSource>
|
|
||||||
</InfoBar>
|
|
||||||
|
|
||||||
<controls:SettingsGroup x:Uid="QuickAccent_Activation_GroupSettings" IsEnabled="{x:Bind ViewModel.IsEnabled, Mode=OneWay}">
|
<controls:SettingsGroup x:Uid="QuickAccent_Activation_GroupSettings" IsEnabled="{x:Bind ViewModel.IsEnabled, Mode=OneWay}">
|
||||||
<tkcontrols:SettingsExpander
|
<tkcontrols:SettingsExpander
|
||||||
Name="QuickAccentActivationShortcut"
|
Name="QuickAccentActivationShortcut"
|
||||||
|
|||||||
@@ -308,7 +308,6 @@
|
|||||||
|
|
||||||
<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>
|
||||||
|
|
||||||
<StackPanel ChildrenTransitions="{StaticResource SettingsCardsAnimations}" Orientation="Vertical">
|
<StackPanel ChildrenTransitions="{StaticResource SettingsCardsAnimations}" Orientation="Vertical">
|
||||||
<InfoBar
|
<InfoBar
|
||||||
x:Uid="Run_CheckOutCmdPal"
|
x:Uid="Run_CheckOutCmdPal"
|
||||||
@@ -322,24 +321,14 @@
|
|||||||
<HyperlinkButton x:Uid="Run_NavigateCmdPalSettings" Click="NavigateCmdPalSettings_Click" />
|
<HyperlinkButton x:Uid="Run_NavigateCmdPalSettings" Click="NavigateCmdPalSettings_Click" />
|
||||||
</InfoBar.ActionButton>
|
</InfoBar.ActionButton>
|
||||||
</InfoBar>
|
</InfoBar>
|
||||||
<tkcontrols:SettingsCard
|
<controls:GPOInfoControl ShowWarning="{x:Bind ViewModel.IsEnabledGpoConfigured, Mode=OneWay}">
|
||||||
Name="PowerLauncherEnablePowerLauncher"
|
<tkcontrols:SettingsCard
|
||||||
x:Uid="PowerLauncher_EnablePowerLauncher"
|
Name="PowerLauncherEnablePowerLauncher"
|
||||||
HeaderIcon="{ui:BitmapIcon Source=/Assets/Settings/Icons/PowerToysRun.png}"
|
x:Uid="PowerLauncher_EnablePowerLauncher"
|
||||||
IsEnabled="{x:Bind ViewModel.IsEnabledGpoConfigured, Mode=OneWay, Converter={StaticResource BoolNegationConverter}}">
|
HeaderIcon="{ui:BitmapIcon Source=/Assets/Settings/Icons/PowerToysRun.png}">
|
||||||
<ToggleSwitch x:Uid="ToggleSwitch" IsOn="{x:Bind ViewModel.EnablePowerLauncher, Mode=TwoWay}" />
|
<ToggleSwitch x:Uid="ToggleSwitch" IsOn="{x:Bind ViewModel.EnablePowerLauncher, Mode=TwoWay}" />
|
||||||
</tkcontrols:SettingsCard>
|
</tkcontrols:SettingsCard>
|
||||||
<InfoBar
|
</controls:GPOInfoControl>
|
||||||
x:Uid="GPO_SettingIsManaged"
|
|
||||||
IsClosable="False"
|
|
||||||
IsOpen="{x:Bind ViewModel.IsEnabledGpoConfigured, Mode=OneWay}"
|
|
||||||
IsTabStop="{x:Bind ViewModel.IsEnabledGpoConfigured, Mode=OneWay}"
|
|
||||||
Severity="Informational">
|
|
||||||
<InfoBar.IconSource>
|
|
||||||
<FontIconSource FontFamily="{StaticResource SymbolThemeFontFamily}" Glyph="" />
|
|
||||||
</InfoBar.IconSource>
|
|
||||||
</InfoBar>
|
|
||||||
|
|
||||||
<controls:SettingsGroup x:Uid="Shortcut" IsEnabled="{x:Bind ViewModel.EnablePowerLauncher, Mode=OneWay}">
|
<controls:SettingsGroup x:Uid="Shortcut" IsEnabled="{x:Bind ViewModel.EnablePowerLauncher, Mode=OneWay}">
|
||||||
<tkcontrols:SettingsExpander
|
<tkcontrols:SettingsExpander
|
||||||
Name="ActivationShortcut"
|
Name="ActivationShortcut"
|
||||||
@@ -358,7 +347,6 @@
|
|||||||
</tkcontrols:SettingsExpander>
|
</tkcontrols:SettingsExpander>
|
||||||
</controls:SettingsGroup>
|
</controls:SettingsGroup>
|
||||||
|
|
||||||
|
|
||||||
<!--<Custom:HotkeySettingsControl x:Uid="PowerLauncher_OpenFileLocation"
|
<!--<Custom:HotkeySettingsControl x:Uid="PowerLauncher_OpenFileLocation"
|
||||||
HorizontalAlignment="Left"
|
HorizontalAlignment="Left"
|
||||||
Margin="{StaticResource SmallTopMargin}"
|
Margin="{StaticResource SmallTopMargin}"
|
||||||
|
|||||||
@@ -24,23 +24,14 @@
|
|||||||
IsOpen="{x:Bind ViewModel.IsWin11OrGreater, Mode=OneWay}"
|
IsOpen="{x:Bind ViewModel.IsWin11OrGreater, Mode=OneWay}"
|
||||||
IsTabStop="{x:Bind ViewModel.IsWin11OrGreater, Mode=OneWay}"
|
IsTabStop="{x:Bind ViewModel.IsWin11OrGreater, Mode=OneWay}"
|
||||||
Severity="Informational" />
|
Severity="Informational" />
|
||||||
<tkcontrols:SettingsCard
|
<controls:GPOInfoControl ShowWarning="{x:Bind ViewModel.IsEnabledGpoConfigured, Mode=OneWay}">
|
||||||
Name="TextExtractorEnableToggleControlHeaderText"
|
<tkcontrols:SettingsCard
|
||||||
x:Uid="TextExtractor_EnableToggleControl_HeaderText"
|
Name="TextExtractorEnableToggleControlHeaderText"
|
||||||
HeaderIcon="{ui:BitmapIcon Source=/Assets/Settings/Icons/TextExtractor.png}"
|
x:Uid="TextExtractor_EnableToggleControl_HeaderText"
|
||||||
IsEnabled="{x:Bind ViewModel.IsEnabledGpoConfigured, Mode=OneWay, Converter={StaticResource BoolNegationConverter}}">
|
HeaderIcon="{ui:BitmapIcon Source=/Assets/Settings/Icons/TextExtractor.png}">
|
||||||
<ToggleSwitch x:Uid="ToggleSwitch" IsOn="{x:Bind ViewModel.IsEnabled, Mode=TwoWay}" />
|
<ToggleSwitch x:Uid="ToggleSwitch" IsOn="{x:Bind ViewModel.IsEnabled, Mode=TwoWay}" />
|
||||||
</tkcontrols:SettingsCard>
|
</tkcontrols:SettingsCard>
|
||||||
<InfoBar
|
</controls:GPOInfoControl>
|
||||||
x:Uid="GPO_SettingIsManaged"
|
|
||||||
IsClosable="False"
|
|
||||||
IsOpen="{x:Bind ViewModel.IsEnabledGpoConfigured, Mode=OneWay}"
|
|
||||||
IsTabStop="{x:Bind ViewModel.IsEnabledGpoConfigured, Mode=OneWay}"
|
|
||||||
Severity="Informational">
|
|
||||||
<InfoBar.IconSource>
|
|
||||||
<FontIconSource FontFamily="{StaticResource SymbolThemeFontFamily}" Glyph="" />
|
|
||||||
</InfoBar.IconSource>
|
|
||||||
</InfoBar>
|
|
||||||
<InfoBar
|
<InfoBar
|
||||||
x:Uid="TextExtractor_SupportedLanguages"
|
x:Uid="TextExtractor_SupportedLanguages"
|
||||||
IsClosable="False"
|
IsClosable="False"
|
||||||
|
|||||||
@@ -17,23 +17,14 @@
|
|||||||
x:Name="PowerRenameView"
|
x:Name="PowerRenameView"
|
||||||
ChildrenTransitions="{StaticResource SettingsCardsAnimations}"
|
ChildrenTransitions="{StaticResource SettingsCardsAnimations}"
|
||||||
Orientation="Vertical">
|
Orientation="Vertical">
|
||||||
<tkcontrols:SettingsCard
|
<controls:GPOInfoControl ShowWarning="{x:Bind ViewModel.IsEnabledGpoConfigured, Mode=OneWay}">
|
||||||
Name="PowerRenameToggleEnable"
|
<tkcontrols:SettingsCard
|
||||||
x:Uid="PowerRename_Toggle_Enable"
|
Name="PowerRenameToggleEnable"
|
||||||
HeaderIcon="{ui:BitmapIcon Source=/Assets/Settings/Icons/PowerRename.png}"
|
x:Uid="PowerRename_Toggle_Enable"
|
||||||
IsEnabled="{x:Bind ViewModel.IsEnabledGpoConfigured, Mode=OneWay, Converter={StaticResource BoolNegationConverter}}">
|
HeaderIcon="{ui:BitmapIcon Source=/Assets/Settings/Icons/PowerRename.png}">
|
||||||
<ToggleSwitch x:Uid="ToggleSwitch" IsOn="{x:Bind ViewModel.IsEnabled, Mode=TwoWay}" />
|
<ToggleSwitch x:Uid="ToggleSwitch" IsOn="{x:Bind ViewModel.IsEnabled, Mode=TwoWay}" />
|
||||||
</tkcontrols:SettingsCard>
|
</tkcontrols:SettingsCard>
|
||||||
<InfoBar
|
</controls:GPOInfoControl>
|
||||||
x:Uid="GPO_SettingIsManaged"
|
|
||||||
IsClosable="False"
|
|
||||||
IsOpen="{x:Bind ViewModel.IsEnabledGpoConfigured, Mode=OneWay}"
|
|
||||||
IsTabStop="{x:Bind ViewModel.IsEnabledGpoConfigured, Mode=OneWay}"
|
|
||||||
Severity="Informational">
|
|
||||||
<InfoBar.IconSource>
|
|
||||||
<FontIconSource FontFamily="{StaticResource SymbolThemeFontFamily}" Glyph="" />
|
|
||||||
</InfoBar.IconSource>
|
|
||||||
</InfoBar>
|
|
||||||
<controls:SettingsGroup x:Uid="PowerRename_ShellIntegration" IsEnabled="{x:Bind ViewModel.IsEnabled, Mode=OneWay}">
|
<controls:SettingsGroup x:Uid="PowerRename_ShellIntegration" IsEnabled="{x:Bind ViewModel.IsEnabled, Mode=OneWay}">
|
||||||
<tkcontrols:SettingsExpander
|
<tkcontrols:SettingsExpander
|
||||||
Name="PowerRenameToggleContextMenu"
|
Name="PowerRenameToggleContextMenu"
|
||||||
|
|||||||
@@ -14,25 +14,14 @@
|
|||||||
<controls:SettingsPageControl x:Uid="RegistryPreview" ModuleImageSource="ms-appx:///Assets/Settings/Modules/RegistryPreview.png">
|
<controls:SettingsPageControl x:Uid="RegistryPreview" ModuleImageSource="ms-appx:///Assets/Settings/Modules/RegistryPreview.png">
|
||||||
<controls:SettingsPageControl.ModuleContent>
|
<controls:SettingsPageControl.ModuleContent>
|
||||||
<StackPanel ChildrenTransitions="{StaticResource SettingsCardsAnimations}" Orientation="Vertical">
|
<StackPanel ChildrenTransitions="{StaticResource SettingsCardsAnimations}" Orientation="Vertical">
|
||||||
<tkcontrols:SettingsCard
|
<controls:GPOInfoControl ShowWarning="{x:Bind ViewModel.IsEnabledGpoConfigured, Mode=OneWay}">
|
||||||
Name="RegistryPreviewEnableRegistryPreview"
|
<tkcontrols:SettingsCard
|
||||||
x:Uid="RegistryPreview_Enable_RegistryPreview"
|
Name="RegistryPreviewEnableRegistryPreview"
|
||||||
HeaderIcon="{ui:BitmapIcon Source=/Assets/Settings/Icons/RegistryPreview.png}"
|
x:Uid="RegistryPreview_Enable_RegistryPreview"
|
||||||
IsEnabled="{x:Bind ViewModel.IsEnabledGpoConfigured, Mode=OneWay, Converter={StaticResource BoolNegationConverter}}">
|
HeaderIcon="{ui:BitmapIcon Source=/Assets/Settings/Icons/RegistryPreview.png}">
|
||||||
<ToggleSwitch IsOn="{x:Bind ViewModel.IsRegistryPreviewEnabled, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}" />
|
<ToggleSwitch IsOn="{x:Bind ViewModel.IsRegistryPreviewEnabled, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}" />
|
||||||
</tkcontrols:SettingsCard>
|
</tkcontrols:SettingsCard>
|
||||||
|
</controls:GPOInfoControl>
|
||||||
<InfoBar
|
|
||||||
x:Uid="GPO_SettingIsManaged"
|
|
||||||
IsClosable="False"
|
|
||||||
IsOpen="{x:Bind ViewModel.IsEnabledGpoConfigured, Mode=OneWay}"
|
|
||||||
IsTabStop="{x:Bind ViewModel.IsEnabledGpoConfigured, Mode=OneWay}"
|
|
||||||
Severity="Informational">
|
|
||||||
<InfoBar.IconSource>
|
|
||||||
<FontIconSource FontFamily="{StaticResource SymbolThemeFontFamily}" Glyph="" />
|
|
||||||
</InfoBar.IconSource>
|
|
||||||
</InfoBar>
|
|
||||||
|
|
||||||
<controls:SettingsGroup x:Uid="RegistryPreview_Launch_GroupSettings" IsEnabled="{x:Bind ViewModel.IsRegistryPreviewEnabled, Mode=OneWay}">
|
<controls:SettingsGroup x:Uid="RegistryPreview_Launch_GroupSettings" IsEnabled="{x:Bind ViewModel.IsRegistryPreviewEnabled, Mode=OneWay}">
|
||||||
<tkcontrols:SettingsCard
|
<tkcontrols:SettingsCard
|
||||||
Name="RegistryPreviewLaunchButtonControl"
|
Name="RegistryPreviewLaunchButtonControl"
|
||||||
@@ -49,10 +38,8 @@
|
|||||||
<ToggleSwitch x:Uid="RegistryPreview_DefaultRegApp_ToggleSwitch" IsOn="{x:Bind ViewModel.IsRegistryPreviewDefaultRegApp, Mode=TwoWay}" />
|
<ToggleSwitch x:Uid="RegistryPreview_DefaultRegApp_ToggleSwitch" IsOn="{x:Bind ViewModel.IsRegistryPreviewDefaultRegApp, Mode=TwoWay}" />
|
||||||
</tkcontrols:SettingsCard>
|
</tkcontrols:SettingsCard>
|
||||||
</controls:SettingsGroup>
|
</controls:SettingsGroup>
|
||||||
|
|
||||||
</StackPanel>
|
</StackPanel>
|
||||||
</controls:SettingsPageControl.ModuleContent>
|
</controls:SettingsPageControl.ModuleContent>
|
||||||
|
|
||||||
<controls:SettingsPageControl.PrimaryLinks>
|
<controls:SettingsPageControl.PrimaryLinks>
|
||||||
<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>
|
||||||
|
|||||||
@@ -14,23 +14,14 @@
|
|||||||
<controls:SettingsPageControl x:Uid="ShortcutGuide" ModuleImageSource="ms-appx:///Assets/Settings/Modules/ShortcutGuide.png">
|
<controls:SettingsPageControl x:Uid="ShortcutGuide" ModuleImageSource="ms-appx:///Assets/Settings/Modules/ShortcutGuide.png">
|
||||||
<controls:SettingsPageControl.ModuleContent>
|
<controls:SettingsPageControl.ModuleContent>
|
||||||
<StackPanel ChildrenTransitions="{StaticResource SettingsCardsAnimations}" Orientation="Vertical">
|
<StackPanel ChildrenTransitions="{StaticResource SettingsCardsAnimations}" Orientation="Vertical">
|
||||||
<tkcontrols:SettingsCard
|
<controls:GPOInfoControl ShowWarning="{x:Bind ViewModel.IsEnabledGpoConfigured, Mode=OneWay}">
|
||||||
Name="ShortcutGuideEnable"
|
<tkcontrols:SettingsCard
|
||||||
x:Uid="ShortcutGuide_Enable"
|
Name="ShortcutGuideEnable"
|
||||||
HeaderIcon="{ui:BitmapIcon Source=/Assets/Settings/Icons/ShortcutGuide.png}"
|
x:Uid="ShortcutGuide_Enable"
|
||||||
IsEnabled="{x:Bind ViewModel.IsEnabledGpoConfigured, Mode=OneWay, Converter={StaticResource BoolNegationConverter}}">
|
HeaderIcon="{ui:BitmapIcon Source=/Assets/Settings/Icons/ShortcutGuide.png}">
|
||||||
<ToggleSwitch x:Uid="ToggleSwitch" IsOn="{x:Bind ViewModel.IsEnabled, Mode=TwoWay}" />
|
<ToggleSwitch x:Uid="ToggleSwitch" IsOn="{x:Bind ViewModel.IsEnabled, Mode=TwoWay}" />
|
||||||
</tkcontrols:SettingsCard>
|
</tkcontrols:SettingsCard>
|
||||||
<InfoBar
|
</controls:GPOInfoControl>
|
||||||
x:Uid="GPO_SettingIsManaged"
|
|
||||||
IsClosable="False"
|
|
||||||
IsOpen="{x:Bind ViewModel.IsEnabledGpoConfigured, Mode=OneWay}"
|
|
||||||
IsTabStop="{x:Bind ViewModel.IsEnabledGpoConfigured, Mode=OneWay}"
|
|
||||||
Severity="Informational">
|
|
||||||
<InfoBar.IconSource>
|
|
||||||
<FontIconSource FontFamily="{StaticResource SymbolThemeFontFamily}" Glyph="" />
|
|
||||||
</InfoBar.IconSource>
|
|
||||||
</InfoBar>
|
|
||||||
<controls:SettingsGroup x:Uid="Shortcut" IsEnabled="{x:Bind ViewModel.IsEnabled, Mode=OneWay}">
|
<controls:SettingsGroup x:Uid="Shortcut" IsEnabled="{x:Bind ViewModel.IsEnabled, Mode=OneWay}">
|
||||||
<tkcontrols:SettingsCard Name="ShortcutGuideActivationMethod" x:Uid="ShortcutGuide_ActivationMethod">
|
<tkcontrols:SettingsCard Name="ShortcutGuideActivationMethod" x:Uid="ShortcutGuide_ActivationMethod">
|
||||||
<ComboBox MinWidth="{StaticResource SettingActionControlMinWidth}" SelectedIndex="{x:Bind ViewModel.UseLegacyPressWinKeyBehavior, Mode=TwoWay, Converter={StaticResource BoolToComboBoxIndexConverter}}">
|
<ComboBox MinWidth="{StaticResource SettingActionControlMinWidth}" SelectedIndex="{x:Bind ViewModel.UseLegacyPressWinKeyBehavior, Mode=TwoWay, Converter={StaticResource BoolToComboBoxIndexConverter}}">
|
||||||
|
|||||||
@@ -16,32 +16,21 @@
|
|||||||
ModuleImageSource="ms-appx:///Assets/Settings/Modules/Workspaces.png">
|
ModuleImageSource="ms-appx:///Assets/Settings/Modules/Workspaces.png">
|
||||||
<controls:SettingsPageControl.ModuleContent>
|
<controls:SettingsPageControl.ModuleContent>
|
||||||
<StackPanel ChildrenTransitions="{StaticResource SettingsCardsAnimations}" Orientation="Vertical">
|
<StackPanel ChildrenTransitions="{StaticResource SettingsCardsAnimations}" Orientation="Vertical">
|
||||||
<tkcontrols:SettingsCard
|
<controls:GPOInfoControl ShowWarning="{x:Bind ViewModel.IsEnabledGpoConfigured, Mode=OneWay}">
|
||||||
Name="WorkspacesEnableToggleControlHeaderText"
|
<tkcontrols:SettingsCard
|
||||||
x:Uid="Workspaces_EnableToggleControl_HeaderText"
|
Name="WorkspacesEnableToggleControlHeaderText"
|
||||||
HeaderIcon="{ui:BitmapIcon Source=/Assets/Settings/Icons/Workspaces.png}"
|
x:Uid="Workspaces_EnableToggleControl_HeaderText"
|
||||||
IsEnabled="{x:Bind ViewModel.IsEnabledGpoConfigured, Mode=OneWay, Converter={StaticResource BoolNegationConverter}}">
|
HeaderIcon="{ui:BitmapIcon Source=/Assets/Settings/Icons/Workspaces.png}">
|
||||||
<ToggleSwitch x:Uid="ToggleSwitch" IsOn="{x:Bind ViewModel.IsEnabled, Mode=TwoWay}" />
|
<ToggleSwitch x:Uid="ToggleSwitch" IsOn="{x:Bind ViewModel.IsEnabled, Mode=TwoWay}" />
|
||||||
</tkcontrols:SettingsCard>
|
</tkcontrols:SettingsCard>
|
||||||
<InfoBar
|
</controls:GPOInfoControl>
|
||||||
x:Uid="GPO_SettingIsManaged"
|
|
||||||
IsClosable="False"
|
|
||||||
IsOpen="{x:Bind ViewModel.IsEnabledGpoConfigured, Mode=OneWay}"
|
|
||||||
IsTabStop="{x:Bind ViewModel.IsEnabledGpoConfigured, Mode=OneWay}"
|
|
||||||
Severity="Informational">
|
|
||||||
<InfoBar.IconSource>
|
|
||||||
<FontIconSource FontFamily="{StaticResource SymbolThemeFontFamily}" Glyph="" />
|
|
||||||
</InfoBar.IconSource>
|
|
||||||
</InfoBar>
|
|
||||||
<controls:SettingsGroup x:Uid="Workspaces_Activation_GroupSettings" IsEnabled="{x:Bind ViewModel.IsEnabled, Mode=OneWay}">
|
<controls:SettingsGroup x:Uid="Workspaces_Activation_GroupSettings" IsEnabled="{x:Bind ViewModel.IsEnabled, Mode=OneWay}">
|
||||||
|
|
||||||
<tkcontrols:SettingsCard
|
<tkcontrols:SettingsCard
|
||||||
Name="WorkspacesActivationShortcut"
|
Name="WorkspacesActivationShortcut"
|
||||||
x:Uid="Workspaces_ActivationShortcut"
|
x:Uid="Workspaces_ActivationShortcut"
|
||||||
HeaderIcon="{ui:FontIcon Glyph=}">
|
HeaderIcon="{ui:FontIcon Glyph=}">
|
||||||
<controls:ShortcutControl MinWidth="{StaticResource SettingActionControlMinWidth}" HotkeySettings="{x:Bind Path=ViewModel.Hotkey, Mode=TwoWay}" />
|
<controls:ShortcutControl MinWidth="{StaticResource SettingActionControlMinWidth}" HotkeySettings="{x:Bind Path=ViewModel.Hotkey, Mode=TwoWay}" />
|
||||||
</tkcontrols:SettingsCard>
|
</tkcontrols:SettingsCard>
|
||||||
|
|
||||||
<tkcontrols:SettingsCard
|
<tkcontrols:SettingsCard
|
||||||
Name="WorkspacesLaunchEditorButtonControl"
|
Name="WorkspacesLaunchEditorButtonControl"
|
||||||
x:Uid="Workspaces_LaunchEditorButtonControl"
|
x:Uid="Workspaces_LaunchEditorButtonControl"
|
||||||
|
|||||||
@@ -30,23 +30,15 @@
|
|||||||
IsOpen="True"
|
IsOpen="True"
|
||||||
IsTabStop="True"
|
IsTabStop="True"
|
||||||
Severity="Warning" />
|
Severity="Warning" />
|
||||||
<tkcontrols:SettingsCard
|
<controls:GPOInfoControl ShowWarning="{x:Bind ViewModel.IsEnabledGpoConfigured, Mode=OneWay}">
|
||||||
Name="ZoomItEnableToggleControlHeaderText"
|
<tkcontrols:SettingsCard
|
||||||
x:Uid="ZoomIt_EnableToggleControl_HeaderText"
|
Name="ZoomItEnableToggleControlHeaderText"
|
||||||
HeaderIcon="{ui:BitmapIcon Source=/Assets/Settings/Icons/ZoomIt.png}"
|
x:Uid="ZoomIt_EnableToggleControl_HeaderText"
|
||||||
IsEnabled="{x:Bind ViewModel.IsEnabledGpoConfigured, Mode=OneWay, Converter={StaticResource BoolNegationConverter}}">
|
HeaderIcon="{ui:BitmapIcon Source=/Assets/Settings/Icons/ZoomIt.png}">
|
||||||
<ToggleSwitch x:Uid="ToggleSwitch" IsOn="{x:Bind ViewModel.IsEnabled, Mode=TwoWay}" />
|
<ToggleSwitch x:Uid="ToggleSwitch" IsOn="{x:Bind ViewModel.IsEnabled, Mode=TwoWay}" />
|
||||||
</tkcontrols:SettingsCard>
|
</tkcontrols:SettingsCard>
|
||||||
<InfoBar
|
</controls:GPOInfoControl>
|
||||||
x:Uid="GPO_SettingIsManaged"
|
|
||||||
IsClosable="False"
|
|
||||||
IsOpen="{x:Bind ViewModel.IsEnabledGpoConfigured, Mode=OneWay}"
|
|
||||||
IsTabStop="{x:Bind ViewModel.IsEnabledGpoConfigured, Mode=OneWay}"
|
|
||||||
Severity="Informational">
|
|
||||||
<InfoBar.IconSource>
|
|
||||||
<FontIconSource FontFamily="{StaticResource SymbolThemeFontFamily}" Glyph="" />
|
|
||||||
</InfoBar.IconSource>
|
|
||||||
</InfoBar>
|
|
||||||
<controls:SettingsGroup x:Uid="ZoomIt_BehaviorGroup" IsEnabled="{x:Bind ViewModel.IsEnabled, Mode=OneWay}">
|
<controls:SettingsGroup x:Uid="ZoomIt_BehaviorGroup" IsEnabled="{x:Bind ViewModel.IsEnabled, Mode=OneWay}">
|
||||||
<tkcontrols:SettingsCard Name="ZoomItToggleShowTrayIcon" x:Uid="ZoomIt_Toggle_ShowTrayIcon">
|
<tkcontrols:SettingsCard Name="ZoomItToggleShowTrayIcon" x:Uid="ZoomIt_Toggle_ShowTrayIcon">
|
||||||
<ToggleSwitch x:Uid="ToggleSwitch" IsOn="{x:Bind ViewModel.ShowTrayIcon, Mode=TwoWay}" />
|
<ToggleSwitch x:Uid="ToggleSwitch" IsOn="{x:Bind ViewModel.ShowTrayIcon, Mode=TwoWay}" />
|
||||||
|
|||||||
Reference in New Issue
Block a user