mirror of
https://github.com/microsoft/PowerToys.git
synced 2024-12-24 00:48:00 +08:00
eb2ef7070b
* Removed hardcoded background * Background * Updated pages * Added OOBE to shellpage * Margin fixes * Fix * Resource update * Resource string update * Removed reference from installer file * Updated UI fixes and remove conflicts * Adding new settings control * PowerRename * Sidepanel updates * Shortcut Guide * Updates screeens * General page updates * Awake UX update * Changed order for power preview note * Fixes * UI fixes * KBM * IsEnabled state support * Added new controls * Update * Updated nugest packages * Replaced itemscontrol * Introducing setting button style * FancyZones page * Plugin page * Switch case * Fixed typo * Plugin manager update * Introducing SettingExpander * Setting automation properties * Accesibility improvements * VCM and cleanup * Refactoring OOBE pages part 1 * OOBE XAML refactoring * Added MinWidth to actioncontent controls * Updates to various settings * Spell update * Update to author label * Clean up * Removing redunant files * Move file * Updated files * Revert "Updated files" This reverts commit1a5c887eae
. * Revert "Move file" This reverts commit2b06c75c1f
. * Revert "Removing redunant files" This reverts commitfe79ec1701
. * Revert "Clean up" This reverts commit028e15fab6
. * Removed redundant styles * Revert "Removed redundant styles" This reverts commitdfdfd65021
. * Files cleanup * Removing converter, updating background and paddings * Styling updates * Unit test updates * Fixes * Installer fixes * Update Resources.resw * Shell page updates * Updated pagelinks * Styles re-ordering * Updated converter * Updated ToggleSwitch style * Bugfixes * Typo fix * [Settings] New UX - installer dll fixes (#12818) * [Settings] New UX - Fix some failing tests (#12822) * Bugfixes * Typo fix * Hiding VCM * Bugfixes * Download button fix * Remove Newtonsoft.Json from installer file * Updated visuals * Bugfixes * Syntax fix * Updated installer file * Bugfixes * New label * Theming support for OOBE * Put back in Documentation hyperlink * Right uid Co-authored-by: Niels Laute <niels9001@hotmail.com> Co-authored-by: Jaime Bernardo <jaime@janeasystems.com>
76 lines
4.0 KiB
XML
76 lines
4.0 KiB
XML
<Page
|
|
x:Class="Microsoft.PowerToys.Settings.UI.Views.PowerPreviewPage"
|
|
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
|
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
|
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
|
xmlns:converters="using:Microsoft.Toolkit.Uwp.UI.Converters"
|
|
xmlns:controls="using:Microsoft.PowerToys.Settings.UI.Controls"
|
|
xmlns:muxc="using:Microsoft.UI.Xaml.Controls"
|
|
mc:Ignorable="d"
|
|
AutomationProperties.LandmarkType="Main">
|
|
|
|
<Page.Resources>
|
|
<converters:BoolToObjectConverter x:Key="BoolToVisibilityConverter" TrueValue="Collapsed" FalseValue="Visible"/>
|
|
</Page.Resources>
|
|
|
|
<controls:SettingsPageControl x:Uid="FileExplorerPreview"
|
|
ModuleImageSource="ms-appx:///Assets/Modules/PowerPreview.png"
|
|
ModuleImageLink="https://aka.ms/PowerToysOverview_FileExplorerAddOns">
|
|
<controls:SettingsPageControl.ModuleContent>
|
|
|
|
|
|
<StackPanel Orientation="Vertical">
|
|
|
|
<muxc:InfoBar Severity="Warning"
|
|
x:Uid="FileExplorerPreview_RunAsAdminRequired"
|
|
IsOpen="True"
|
|
IsClosable="False"
|
|
Visibility="{Binding Mode=OneWay, Path=IsElevated, Converter={StaticResource BoolToVisibilityConverter}}" />
|
|
|
|
<muxc:InfoBar Severity="Informational"
|
|
x:Uid="FileExplorerPreview_AffectsAllUsers"
|
|
IsOpen="True"
|
|
IsClosable="False"
|
|
/>
|
|
|
|
<controls:SettingsGroup x:Uid="FileExplorerPreview_PreviewPane_GroupSettings">
|
|
<controls:Setting x:Uid="FileExplorerPreview_ToggleSwitch_Preview_SVG" Icon="">
|
|
<controls:Setting.ActionContent>
|
|
<ToggleSwitch IsOn="{x:Bind Mode=TwoWay, Path=ViewModel.SVGRenderIsEnabled}"
|
|
IsEnabled="{Binding Mode=OneWay, Path=IsElevated}"/>
|
|
</controls:Setting.ActionContent>
|
|
</controls:Setting>
|
|
|
|
<controls:Setting x:Uid="FileExplorerPreview_ToggleSwitch_Preview_MD" Icon="">
|
|
<controls:Setting.ActionContent>
|
|
<ToggleSwitch IsOn="{x:Bind Mode=TwoWay, Path=ViewModel.MDRenderIsEnabled}"
|
|
IsEnabled="{Binding Mode=OneWay, Path=IsElevated}"/>
|
|
</controls:Setting.ActionContent>
|
|
</controls:Setting>
|
|
</controls:SettingsGroup>
|
|
|
|
<controls:SettingsGroup x:Uid="FileExplorerPreview_IconThumbnail_GroupSettings">
|
|
|
|
<muxc:InfoBar Severity="Informational"
|
|
x:Uid="FileExplorerPreview_RebootRequired"
|
|
IsOpen="True"
|
|
IsClosable="False"
|
|
/>
|
|
<controls:Setting x:Uid="FileExplorerPreview_ToggleSwitch_SVG_Thumbnail" Icon="">
|
|
<controls:Setting.ActionContent>
|
|
<ToggleSwitch IsOn="{x:Bind Mode=TwoWay, Path=ViewModel.SVGThumbnailIsEnabled}"
|
|
IsEnabled="{Binding Mode=OneWay, Path=IsElevated}"/>
|
|
</controls:Setting.ActionContent>
|
|
</controls:Setting>
|
|
|
|
|
|
</controls:SettingsGroup>
|
|
</StackPanel>
|
|
</controls:SettingsPageControl.ModuleContent>
|
|
|
|
<controls:SettingsPageControl.PrimaryLinks>
|
|
<controls:PageLink x:Uid="LearnMore_PowerPreview" Link="https://aka.ms/PowerToysOverview_FileExplorerAddOns"/>
|
|
</controls:SettingsPageControl.PrimaryLinks>
|
|
</controls:SettingsPageControl>
|
|
</Page> |