2020-03-30 02:02:25 -07:00
|
|
|
<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"
|
2023-09-14 18:41:31 +02:00
|
|
|
xmlns:controls="using:CommunityToolkit.WinUI.Controls"
|
|
|
|
|
xmlns:custom="using:Microsoft.PowerToys.Settings.UI.Controls"
|
2020-03-30 02:02:25 -07:00
|
|
|
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
|
|
|
|
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
2023-09-14 18:41:31 +02:00
|
|
|
xmlns:ui="using:CommunityToolkit.WinUI"
|
2022-11-23 19:57:09 +01:00
|
|
|
AutomationProperties.LandmarkType="Main"
|
|
|
|
|
mc:Ignorable="d">
|
2020-03-30 02:02:25 -07:00
|
|
|
|
2023-09-14 18:41:31 +02:00
|
|
|
<custom:SettingsPageControl x:Uid="FileExplorerPreview" ModuleImageSource="ms-appx:///Assets/Settings/Modules/PowerPreview.png">
|
|
|
|
|
<custom:SettingsPageControl.ModuleContent>
|
|
|
|
|
<StackPanel ChildrenTransitions="{StaticResource SettingsCardsAnimations}" Orientation="Vertical">
|
|
|
|
|
<custom:SettingsGroup x:Uid="FileExplorerPreview_PreviewPane">
|
2022-11-23 19:57:09 +01:00
|
|
|
<InfoBar
|
|
|
|
|
x:Uid="FileExplorerPreview_PreviewHandlerOutlookIncompatibility"
|
|
|
|
|
IsClosable="False"
|
|
|
|
|
IsOpen="True"
|
|
|
|
|
IsTabStop="True"
|
|
|
|
|
Severity="Warning" />
|
2023-09-14 18:41:31 +02:00
|
|
|
<controls:SettingsExpander
|
2022-11-23 19:57:09 +01:00
|
|
|
x:Uid="FileExplorerPreview_ToggleSwitch_Preview_SVG"
|
2023-09-14 18:41:31 +02:00
|
|
|
HeaderIcon="{ui:FontIcon Glyph=}"
|
2024-01-03 16:41:26 +01:00
|
|
|
IsEnabled="{x:Bind ViewModel.IsSVGRenderEnabledGpoConfigured, Mode=OneWay, Converter={StaticResource BoolNegationConverter}}">
|
|
|
|
|
<ToggleSwitch x:Uid="ToggleSwitch" IsOn="{x:Bind ViewModel.SVGRenderIsEnabled, Mode=TwoWay}" />
|
2023-09-14 18:41:31 +02:00
|
|
|
<controls:SettingsExpander.Items>
|
|
|
|
|
<controls:SettingsCard x:Uid="FileExplorerPreview_Preview_SVG_Color_Mode">
|
|
|
|
|
<ComboBox
|
|
|
|
|
MinWidth="{StaticResource SettingActionControlMinWidth}"
|
|
|
|
|
IsEnabled="{x:Bind ViewModel.SVGRenderIsEnabled, Mode=OneWay}"
|
|
|
|
|
SelectedIndex="{x:Bind Path=ViewModel.SVGRenderBackgroundColorMode, Mode=TwoWay}">
|
2023-04-21 18:54:57 +02:00
|
|
|
<ComboBoxItem x:Uid="FileExplorerPreview_Preview_SVG_Color_Mode_Default" />
|
|
|
|
|
<ComboBoxItem x:Uid="FileExplorerPreview_Preview_SVG_Color_Solid_Color" />
|
|
|
|
|
<ComboBoxItem x:Uid="FileExplorerPreview_Preview_SVG_Checkered_Shade" />
|
|
|
|
|
</ComboBox>
|
2023-09-14 18:41:31 +02:00
|
|
|
</controls:SettingsCard>
|
|
|
|
|
<controls:SettingsCard x:Uid="FileExplorerPreview_Preview_SVG_Background_Color" Visibility="{x:Bind ViewModel.IsSvgBackgroundColorVisible, Converter={StaticResource BoolToVisibilityConverter}, Mode=OneWay}">
|
|
|
|
|
<custom:ColorPickerButton IsEnabled="{x:Bind ViewModel.SVGRenderIsEnabled, Mode=OneWay}" SelectedColor="{x:Bind Path=ViewModel.SVGRenderBackgroundSolidColor, Mode=TwoWay}" />
|
|
|
|
|
</controls:SettingsCard>
|
|
|
|
|
<controls:SettingsCard x:Uid="FileExplorerPreview_Preview_SVG_Checkered_Shade_Mode" Visibility="{x:Bind ViewModel.IsSvgCheckeredShadeVisible, Converter={StaticResource BoolToVisibilityConverter}, Mode=OneWay}">
|
|
|
|
|
<ComboBox
|
|
|
|
|
MinWidth="{StaticResource SettingActionControlMinWidth}"
|
2023-04-21 18:54:57 +02:00
|
|
|
IsEnabled="{x:Bind ViewModel.SVGRenderIsEnabled, Mode=OneWay}"
|
2023-09-14 18:41:31 +02:00
|
|
|
SelectedIndex="{x:Bind Path=ViewModel.SVGRenderBackgroundCheckeredShade, Mode=TwoWay}">
|
2023-04-21 18:54:57 +02:00
|
|
|
<ComboBoxItem x:Uid="FileExplorerPreview_Preview_SVG_Checkered_Shade_1" />
|
|
|
|
|
<ComboBoxItem x:Uid="FileExplorerPreview_Preview_SVG_Checkered_Shade_2" />
|
|
|
|
|
<ComboBoxItem x:Uid="FileExplorerPreview_Preview_SVG_Checkered_Shade_3" />
|
|
|
|
|
</ComboBox>
|
2023-09-14 18:41:31 +02:00
|
|
|
</controls:SettingsCard>
|
|
|
|
|
</controls:SettingsExpander.Items>
|
|
|
|
|
</controls:SettingsExpander>
|
2022-11-23 19:57:09 +01:00
|
|
|
|
|
|
|
|
<InfoBar
|
|
|
|
|
x:Uid="GPO_IsSettingForced"
|
2022-10-26 14:02:31 +01:00
|
|
|
IsClosable="False"
|
2024-01-03 16:41:26 +01:00
|
|
|
IsOpen="{x:Bind ViewModel.IsSVGRenderEnabledGpoConfigured, Mode=OneWay}"
|
|
|
|
|
IsTabStop="{x:Bind ViewModel.IsSVGRenderEnabledGpoConfigured, Mode=OneWay}"
|
2022-11-23 19:57:09 +01:00
|
|
|
Severity="Informational" />
|
|
|
|
|
|
2023-09-14 18:41:31 +02:00
|
|
|
<controls:SettingsCard
|
2022-11-23 19:57:09 +01:00
|
|
|
x:Uid="FileExplorerPreview_ToggleSwitch_Preview_MD"
|
2023-09-14 18:41:31 +02:00
|
|
|
HeaderIcon="{ui:FontIcon Glyph=}"
|
2024-01-03 16:41:26 +01:00
|
|
|
IsEnabled="{x:Bind ViewModel.IsMDRenderEnabledGpoConfigured, Mode=OneWay, Converter={StaticResource BoolNegationConverter}}">
|
|
|
|
|
<ToggleSwitch x:Uid="ToggleSwitch" IsOn="{x:Bind ViewModel.MDRenderIsEnabled, Mode=TwoWay}" />
|
2023-09-14 18:41:31 +02:00
|
|
|
</controls:SettingsCard>
|
2020-03-30 02:02:25 -07:00
|
|
|
|
2022-11-23 19:57:09 +01:00
|
|
|
<InfoBar
|
|
|
|
|
x:Uid="GPO_IsSettingForced"
|
2022-10-26 14:02:31 +01:00
|
|
|
IsClosable="False"
|
2024-01-03 16:41:26 +01:00
|
|
|
IsOpen="{x:Bind ViewModel.IsMDRenderEnabledGpoConfigured, Mode=OneWay}"
|
|
|
|
|
IsTabStop="{x:Bind ViewModel.IsMDRenderEnabledGpoConfigured, Mode=OneWay}"
|
2022-11-23 19:57:09 +01:00
|
|
|
Severity="Informational" />
|
2021-08-26 23:43:26 +02:00
|
|
|
|
2022-03-25 18:29:33 +01:00
|
|
|
|
2023-09-14 18:41:31 +02:00
|
|
|
<controls:SettingsExpander
|
2022-11-23 19:57:09 +01:00
|
|
|
x:Uid="FileExplorerPreview_ToggleSwitch_Preview_Monaco"
|
2023-09-14 18:41:31 +02:00
|
|
|
HeaderIcon="{ui:FontIcon Glyph=}"
|
2024-01-03 16:41:26 +01:00
|
|
|
IsEnabled="{x:Bind ViewModel.IsMonacoRenderEnabledGpoConfigured, Mode=OneWay, Converter={StaticResource BoolNegationConverter}}">
|
|
|
|
|
<ToggleSwitch x:Uid="ToggleSwitch" IsOn="{x:Bind ViewModel.MonacoRenderIsEnabled, Mode=TwoWay}" />
|
2023-09-14 18:41:31 +02:00
|
|
|
<controls:SettingsExpander.Items>
|
|
|
|
|
<controls:SettingsCard ContentAlignment="Left" IsEnabled="{x:Bind ViewModel.MonacoRenderIsEnabled, Mode=OneWay}">
|
|
|
|
|
<CheckBox x:Uid="FileExplorerPreview_ToggleSwitch_Monaco_Wrap_Text" IsChecked="{x:Bind ViewModel.MonacoWrapText, Mode=TwoWay}" />
|
|
|
|
|
</controls:SettingsCard>
|
|
|
|
|
<controls:SettingsCard ContentAlignment="Left" IsEnabled="{x:Bind ViewModel.MonacoRenderIsEnabled, Mode=OneWay}">
|
|
|
|
|
<custom:CheckBoxWithDescriptionControl
|
2022-11-23 19:57:09 +01:00
|
|
|
x:Uid="FileExplorerPreview_ToggleSwitch_Monaco_Try_Format"
|
|
|
|
|
IsChecked="{x:Bind ViewModel.MonacoPreviewTryFormat, Mode=TwoWay}"
|
|
|
|
|
IsEnabled="{x:Bind ViewModel.MonacoRenderIsEnabled, Mode=OneWay}" />
|
2023-09-14 18:41:31 +02:00
|
|
|
</controls:SettingsCard>
|
2024-01-03 16:41:26 +01:00
|
|
|
<controls:SettingsCard x:Uid="FileExplorerPreview_Toggle_Monaco_Max_File_Size" IsEnabled="{x:Bind ViewModel.MonacoRenderIsEnabled, Mode=OneWay}">
|
2023-02-13 19:57:33 +01:00
|
|
|
<NumberBox
|
|
|
|
|
MinWidth="{StaticResource SettingActionControlMinWidth}"
|
|
|
|
|
Maximum="100"
|
|
|
|
|
Minimum="2"
|
|
|
|
|
SpinButtonPlacementMode="Compact"
|
2024-01-03 16:41:26 +01:00
|
|
|
Value="{x:Bind ViewModel.MonacoPreviewMaxFileSize, Mode=TwoWay}" />
|
2023-09-14 18:41:31 +02:00
|
|
|
</controls:SettingsCard>
|
|
|
|
|
</controls:SettingsExpander.Items>
|
|
|
|
|
</controls:SettingsExpander>
|
2022-11-23 19:57:09 +01:00
|
|
|
|
|
|
|
|
<InfoBar
|
|
|
|
|
x:Uid="GPO_IsSettingForced"
|
2022-10-26 14:02:31 +01:00
|
|
|
IsClosable="False"
|
2024-01-03 16:41:26 +01:00
|
|
|
IsOpen="{x:Bind ViewModel.IsMonacoRenderEnabledGpoConfigured, Mode=OneWay}"
|
|
|
|
|
IsTabStop="{x:Bind ViewModel.IsMonacoRenderEnabledGpoConfigured, Mode=OneWay}"
|
2022-11-23 19:57:09 +01:00
|
|
|
Severity="Informational" />
|
2022-01-25 21:02:10 +01:00
|
|
|
|
2023-09-14 18:41:31 +02:00
|
|
|
<controls:SettingsCard
|
2022-11-23 19:57:09 +01:00
|
|
|
x:Uid="FileExplorerPreview_ToggleSwitch_Preview_PDF"
|
2023-09-14 18:41:31 +02:00
|
|
|
HeaderIcon="{ui:FontIcon Glyph=}"
|
2024-01-03 16:41:26 +01:00
|
|
|
IsEnabled="{x:Bind ViewModel.IsPDFRenderEnabledGpoConfigured, Mode=OneWay, Converter={StaticResource BoolNegationConverter}}">
|
|
|
|
|
<ToggleSwitch x:Uid="ToggleSwitch" IsOn="{x:Bind ViewModel.PDFRenderIsEnabled, Mode=TwoWay}" />
|
2023-09-14 18:41:31 +02:00
|
|
|
</controls:SettingsCard>
|
2022-11-23 19:57:09 +01:00
|
|
|
<InfoBar
|
|
|
|
|
x:Uid="GPO_IsSettingForced"
|
2022-10-26 14:02:31 +01:00
|
|
|
IsClosable="False"
|
2024-01-03 16:41:26 +01:00
|
|
|
IsOpen="{x:Bind ViewModel.IsPDFRenderEnabledGpoConfigured, Mode=OneWay}"
|
|
|
|
|
IsTabStop="{x:Bind ViewModel.IsPDFRenderEnabledGpoConfigured, Mode=OneWay}"
|
2022-11-23 19:57:09 +01:00
|
|
|
Severity="Informational" />
|
2023-09-14 18:41:31 +02:00
|
|
|
<controls:SettingsCard
|
2022-11-23 19:57:09 +01:00
|
|
|
x:Uid="FileExplorerPreview_ToggleSwitch_Preview_GCODE"
|
2023-09-14 18:41:31 +02:00
|
|
|
HeaderIcon="{ui:FontIcon Glyph=}"
|
2024-01-03 16:41:26 +01:00
|
|
|
IsEnabled="{x:Bind ViewModel.IsGCODERenderEnabledGpoConfigured, Mode=OneWay, Converter={StaticResource BoolNegationConverter}}">
|
|
|
|
|
<ToggleSwitch x:Uid="ToggleSwitch" IsOn="{x:Bind ViewModel.GCODERenderIsEnabled, Mode=TwoWay}" />
|
2023-09-14 18:41:31 +02:00
|
|
|
</controls:SettingsCard>
|
2022-11-23 19:57:09 +01:00
|
|
|
<InfoBar
|
|
|
|
|
x:Uid="GPO_IsSettingForced"
|
2022-10-26 14:02:31 +01:00
|
|
|
IsClosable="False"
|
2024-01-03 16:41:26 +01:00
|
|
|
IsOpen="{x:Bind ViewModel.IsGCODERenderEnabledGpoConfigured, Mode=OneWay}"
|
|
|
|
|
IsTabStop="{x:Bind ViewModel.IsGCODERenderEnabledGpoConfigured, Mode=OneWay}"
|
2022-11-23 19:57:09 +01:00
|
|
|
Severity="Informational" />
|
2023-11-14 15:41:09 +00:00
|
|
|
<controls:SettingsCard
|
|
|
|
|
x:Uid="FileExplorerPreview_ToggleSwitch_Preview_QOI"
|
|
|
|
|
HeaderIcon="{ui:FontIcon Glyph=}"
|
2024-01-03 16:41:26 +01:00
|
|
|
IsEnabled="{x:Bind ViewModel.IsQOIRenderEnabledGpoConfigured, Mode=OneWay, Converter={StaticResource BoolNegationConverter}}">
|
|
|
|
|
<ToggleSwitch x:Uid="ToggleSwitch" IsOn="{x:Bind ViewModel.QOIRenderIsEnabled, Mode=TwoWay}" />
|
2023-11-14 15:41:09 +00:00
|
|
|
</controls:SettingsCard>
|
|
|
|
|
<InfoBar
|
|
|
|
|
x:Uid="GPO_IsSettingForced"
|
|
|
|
|
IsClosable="False"
|
2024-01-03 16:41:26 +01:00
|
|
|
IsOpen="{x:Bind ViewModel.IsQOIRenderEnabledGpoConfigured, Mode=OneWay}"
|
|
|
|
|
IsTabStop="{x:Bind ViewModel.IsQOIRenderEnabledGpoConfigured, Mode=OneWay}"
|
2023-11-14 15:41:09 +00:00
|
|
|
Severity="Informational" />
|
2023-09-14 18:41:31 +02:00
|
|
|
</custom:SettingsGroup>
|
2020-07-21 16:27:12 -07:00
|
|
|
|
2023-09-14 18:41:31 +02:00
|
|
|
<custom:SettingsGroup x:Uid="FileExplorerPreview_IconThumbnail_GroupSettings">
|
2022-11-23 19:57:09 +01:00
|
|
|
<InfoBar
|
|
|
|
|
x:Uid="FileExplorerPreview_RebootRequired"
|
|
|
|
|
IsClosable="False"
|
|
|
|
|
IsOpen="True"
|
|
|
|
|
IsTabStop="True"
|
|
|
|
|
Severity="Informational" />
|
|
|
|
|
<InfoBar
|
|
|
|
|
x:Uid="FileExplorerPreview_ThumbnailsMightNotAppearOnRemoteFolders"
|
|
|
|
|
IsClosable="False"
|
|
|
|
|
IsOpen="True"
|
|
|
|
|
IsTabStop="True"
|
|
|
|
|
Severity="Warning" />
|
2023-09-14 18:41:31 +02:00
|
|
|
<controls:SettingsCard
|
2022-11-23 19:57:09 +01:00
|
|
|
x:Uid="FileExplorerPreview_ToggleSwitch_Thumbnail_SVG"
|
2023-09-14 18:41:31 +02:00
|
|
|
HeaderIcon="{ui:FontIcon Glyph=}"
|
2024-01-03 16:41:26 +01:00
|
|
|
IsEnabled="{x:Bind ViewModel.IsSVGThumbnailEnabledGpoConfigured, Mode=OneWay, Converter={StaticResource BoolNegationConverter}}">
|
|
|
|
|
<ToggleSwitch x:Uid="ToggleSwitch" IsOn="{x:Bind ViewModel.SVGThumbnailIsEnabled, Mode=TwoWay}" />
|
2023-09-14 18:41:31 +02:00
|
|
|
</controls:SettingsCard>
|
2022-11-23 19:57:09 +01:00
|
|
|
<InfoBar
|
|
|
|
|
x:Uid="GPO_IsSettingForced"
|
2022-10-26 14:02:31 +01:00
|
|
|
IsClosable="False"
|
2024-01-03 16:41:26 +01:00
|
|
|
IsOpen="{x:Bind ViewModel.IsSVGThumbnailEnabledGpoConfigured, Mode=OneWay}"
|
|
|
|
|
IsTabStop="{x:Bind ViewModel.IsSVGThumbnailEnabledGpoConfigured, Mode=OneWay}"
|
2022-11-23 19:57:09 +01:00
|
|
|
Severity="Informational" />
|
2023-09-14 18:41:31 +02:00
|
|
|
<controls:SettingsCard
|
2022-11-23 19:57:09 +01:00
|
|
|
x:Uid="FileExplorerPreview_ToggleSwitch_Thumbnail_PDF"
|
2023-09-14 18:41:31 +02:00
|
|
|
HeaderIcon="{ui:FontIcon Glyph=}"
|
2024-01-03 16:41:26 +01:00
|
|
|
IsEnabled="{x:Bind ViewModel.IsPDFThumbnailEnabledGpoConfigured, Mode=OneWay, Converter={StaticResource BoolNegationConverter}}">
|
|
|
|
|
<ToggleSwitch x:Uid="ToggleSwitch" IsOn="{x:Bind ViewModel.PDFThumbnailIsEnabled, Mode=TwoWay}" />
|
2023-09-14 18:41:31 +02:00
|
|
|
</controls:SettingsCard>
|
2022-11-23 19:57:09 +01:00
|
|
|
<InfoBar
|
|
|
|
|
x:Uid="GPO_IsSettingForced"
|
2022-10-26 14:02:31 +01:00
|
|
|
IsClosable="False"
|
2024-01-03 16:41:26 +01:00
|
|
|
IsOpen="{x:Bind ViewModel.IsPDFThumbnailEnabledGpoConfigured, Mode=OneWay}"
|
|
|
|
|
IsTabStop="{x:Bind ViewModel.IsPDFThumbnailEnabledGpoConfigured, Mode=OneWay}"
|
2022-11-23 19:57:09 +01:00
|
|
|
Severity="Informational" />
|
2023-09-14 18:41:31 +02:00
|
|
|
<controls:SettingsCard
|
2022-11-23 19:57:09 +01:00
|
|
|
x:Uid="FileExplorerPreview_ToggleSwitch_Thumbnail_GCODE"
|
2023-09-14 18:41:31 +02:00
|
|
|
HeaderIcon="{ui:FontIcon Glyph=}"
|
2024-01-03 16:41:26 +01:00
|
|
|
IsEnabled="{x:Bind ViewModel.IsGCODEThumbnailEnabledGpoConfigured, Mode=OneWay, Converter={StaticResource BoolNegationConverter}}">
|
|
|
|
|
<ToggleSwitch x:Uid="ToggleSwitch" IsOn="{x:Bind ViewModel.GCODEThumbnailIsEnabled, Mode=TwoWay}" />
|
2023-09-14 18:41:31 +02:00
|
|
|
</controls:SettingsCard>
|
2022-11-23 19:57:09 +01:00
|
|
|
<InfoBar
|
|
|
|
|
x:Uid="GPO_IsSettingForced"
|
2022-10-26 14:02:31 +01:00
|
|
|
IsClosable="False"
|
2024-01-03 16:41:26 +01:00
|
|
|
IsOpen="{x:Bind ViewModel.IsGCODEThumbnailEnabledGpoConfigured, Mode=OneWay}"
|
|
|
|
|
IsTabStop="{x:Bind ViewModel.IsGCODEThumbnailEnabledGpoConfigured, Mode=OneWay}"
|
2022-11-23 19:57:09 +01:00
|
|
|
Severity="Informational" />
|
2022-01-25 11:51:37 +00:00
|
|
|
|
2022-08-23 21:45:27 +01:00
|
|
|
|
2023-09-14 18:41:31 +02:00
|
|
|
<controls:SettingsExpander
|
2022-11-23 19:57:09 +01:00
|
|
|
x:Uid="FileExplorerPreview_ToggleSwitch_Thumbnail_STL"
|
2023-09-14 18:41:31 +02:00
|
|
|
HeaderIcon="{ui:FontIcon Glyph=}"
|
2024-01-03 16:41:26 +01:00
|
|
|
IsEnabled="{x:Bind ViewModel.IsSTLThumbnailEnabledGpoConfigured, Mode=OneWay, Converter={StaticResource BoolNegationConverter}}">
|
|
|
|
|
<ToggleSwitch x:Uid="ToggleSwitch" IsOn="{x:Bind ViewModel.STLThumbnailIsEnabled, Mode=TwoWay}" />
|
2023-09-14 18:41:31 +02:00
|
|
|
<controls:SettingsExpander.Items>
|
|
|
|
|
<controls:SettingsCard x:Uid="FileExplorerPreview_Color_Thumbnail_STL">
|
|
|
|
|
<custom:ColorPickerButton IsEnabled="{x:Bind ViewModel.STLThumbnailIsEnabled, Mode=OneWay}" SelectedColor="{x:Bind Path=ViewModel.STLThumbnailColor, Mode=TwoWay}" />
|
|
|
|
|
</controls:SettingsCard>
|
|
|
|
|
</controls:SettingsExpander.Items>
|
|
|
|
|
</controls:SettingsExpander>
|
2022-11-23 19:57:09 +01:00
|
|
|
<InfoBar
|
|
|
|
|
x:Uid="GPO_IsSettingForced"
|
2022-10-26 14:02:31 +01:00
|
|
|
IsClosable="False"
|
2024-01-03 16:41:26 +01:00
|
|
|
IsOpen="{x:Bind ViewModel.IsSTLThumbnailEnabledGpoConfigured, Mode=OneWay}"
|
|
|
|
|
IsTabStop="{x:Bind ViewModel.IsSTLThumbnailEnabledGpoConfigured, Mode=OneWay}"
|
2022-11-23 19:57:09 +01:00
|
|
|
Severity="Informational" />
|
2023-11-14 15:41:09 +00:00
|
|
|
|
|
|
|
|
<controls:SettingsCard
|
|
|
|
|
x:Uid="FileExplorerPreview_ToggleSwitch_Thumbnail_QOI"
|
|
|
|
|
HeaderIcon="{ui:FontIcon Glyph=}"
|
2024-01-03 16:41:26 +01:00
|
|
|
IsEnabled="{x:Bind ViewModel.IsQOIThumbnailEnabledGpoConfigured, Mode=OneWay, Converter={StaticResource BoolNegationConverter}}">
|
|
|
|
|
<ToggleSwitch x:Uid="ToggleSwitch" IsOn="{x:Bind ViewModel.QOIThumbnailIsEnabled, Mode=TwoWay}" />
|
2023-11-14 15:41:09 +00:00
|
|
|
</controls:SettingsCard>
|
|
|
|
|
<InfoBar
|
|
|
|
|
x:Uid="GPO_IsSettingForced"
|
|
|
|
|
IsClosable="False"
|
2024-01-03 16:41:26 +01:00
|
|
|
IsOpen="{x:Bind ViewModel.IsQOIThumbnailEnabledGpoConfigured, Mode=OneWay}"
|
|
|
|
|
IsTabStop="{x:Bind ViewModel.IsQOIThumbnailEnabledGpoConfigured, Mode=OneWay}"
|
2023-11-14 15:41:09 +00:00
|
|
|
Severity="Informational" />
|
2023-09-14 18:41:31 +02:00
|
|
|
</custom:SettingsGroup>
|
2021-08-23 19:48:52 +02:00
|
|
|
</StackPanel>
|
2023-09-14 18:41:31 +02:00
|
|
|
</custom:SettingsPageControl.ModuleContent>
|
2020-03-31 14:32:22 +02:00
|
|
|
|
2023-09-14 18:41:31 +02:00
|
|
|
<custom:SettingsPageControl.PrimaryLinks>
|
|
|
|
|
<custom:PageLink x:Uid="LearnMore_PowerPreview" Link="https://aka.ms/PowerToysOverview_FileExplorerAddOns" />
|
|
|
|
|
</custom:SettingsPageControl.PrimaryLinks>
|
|
|
|
|
<custom:SettingsPageControl.SecondaryLinks>
|
|
|
|
|
<custom:PageLink Link="https://blog.aaron-junker.ch" Text="Aaron Junker's work on developer file preview" />
|
2023-11-14 15:41:09 +00:00
|
|
|
<custom:PageLink Link="https://www.pedrolamas.com" Text="Pedro Lamas's work on G-Code, STL, and QOI" />
|
2023-09-14 18:41:31 +02:00
|
|
|
</custom:SettingsPageControl.SecondaryLinks>
|
|
|
|
|
</custom:SettingsPageControl>
|
2022-01-05 21:28:09 +03:00
|
|
|
</Page>
|