b9651240df
添加新的实验性选项页面,将高级设置中的实验性功能移至该页面 优化设置页面中图标的显示,支持自定义字体 为外部协议调用和避免全屏助手添加设置项 默认启用避免全屏助手功能
75 lines
4.0 KiB
XML
75 lines
4.0 KiB
XML
<ui:Page x:Class="Ink_Canvas.Windows.SettingsViews.Pages.ExperimentalPage"
|
|
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
|
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
|
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
|
xmlns:local="clr-namespace:Ink_Canvas.Windows.SettingsViews.Pages"
|
|
xmlns:ui="http://schemas.inkore.net/lib/ui/wpf/modern"
|
|
xmlns:ikw="http://schemas.inkore.net/lib/ui/wpf"
|
|
xmlns:i18n="clr-namespace:Ink_Canvas.MarkupExtensions"
|
|
xmlns:sys="clr-namespace:System;assembly=mscorlib"
|
|
xmlns:controls="clr-namespace:Ink_Canvas.Controls;assembly=InkCanvas.Controls"
|
|
mc:Ignorable="d"
|
|
|
|
Title="实验性选项">
|
|
|
|
<ScrollViewer PanningMode="VerticalFirst">
|
|
<Grid Margin="59,0,59,0">
|
|
<FrameworkElement.Resources>
|
|
<sys:Double x:Key="SettingsCardSpacing">4</sys:Double>
|
|
<Style x:Key="SettingsSectionHeaderTextBlockStyle"
|
|
BasedOn="{StaticResource BodyStrongTextBlockStyle}"
|
|
TargetType="TextBlock">
|
|
<Style.Setters>
|
|
<Setter Property="Margin" Value="1,30,0,6" />
|
|
</Style.Setters>
|
|
</Style>
|
|
</FrameworkElement.Resources>
|
|
<Grid>
|
|
<ikw:SimpleStackPanel MaxWidth="1000"
|
|
HorizontalAlignment="Stretch"
|
|
Spacing="{StaticResource SettingsCardSpacing}">
|
|
|
|
<controls:LabeledSettingsCard x:Name="CardFullScreenHelper"
|
|
Header="{i18n:I18n Key=Advanced_FullScreenHelper}"
|
|
Description="{i18n:I18n Key=Advanced_FullScreenHelperHint}"
|
|
Icon="{x:Static ui:SegoeFluentIcons.FullScreen}"
|
|
SwitchName="ToggleSwitchFullScreenHelper"
|
|
Toggled="ToggleSwitchFullScreenHelper_Toggled" />
|
|
|
|
<controls:LabeledSettingsCard x:Name="CardEdgeGestureUtil"
|
|
Header="{i18n:I18n Key=Advanced_EdgeGestureUtil}"
|
|
Description="{i18n:I18n Key=Advanced_EdgeGestureUtilHint_Part1}"
|
|
Icon="{x:Static ui:SegoeFluentIcons.AlignLeft}"
|
|
SwitchName="ToggleSwitchEdgeGestureUtil"
|
|
Toggled="ToggleSwitchEdgeGestureUtil_Toggled" />
|
|
|
|
<controls:LabeledSettingsCard x:Name="CardForceFullScreen"
|
|
Header="{i18n:I18n Key=Advanced_ForceFullScreen}"
|
|
Description="{i18n:I18n Key=Advanced_ForceFullScreenHint}"
|
|
Icon="{x:Static ui:SegoeFluentIcons.Video}"
|
|
SwitchName="ToggleSwitchForceFullScreen"
|
|
Toggled="ToggleSwitchForceFullScreen_Toggled" />
|
|
|
|
<controls:LabeledSettingsCard x:Name="CardDPIChangeDetection"
|
|
Header="{i18n:I18n Key=Advanced_DPIChangeDetection}"
|
|
Description="{i18n:I18n Key=Advanced_DPIChangeDetectionHint}"
|
|
Icon="{x:Static ui:SegoeFluentIcons.View}"
|
|
SwitchName="ToggleSwitchDPIChangeDetection"
|
|
Toggled="ToggleSwitchDPIChangeDetection_Toggled" />
|
|
|
|
<controls:LabeledSettingsCard x:Name="CardResolutionChangeDetection"
|
|
Header="{i18n:I18n Key=Advanced_ResolutionChangeDetection}"
|
|
Description="{i18n:I18n Key=Advanced_ResolutionChangeDetectionHint}"
|
|
Icon="{x:Static ui:SegoeFluentIcons.Accept}"
|
|
SwitchName="ToggleSwitchResolutionChangeDetection"
|
|
Toggled="ToggleSwitchResolutionChangeDetection_Toggled" />
|
|
|
|
<Rectangle Height="48" />
|
|
|
|
</ikw:SimpleStackPanel>
|
|
</Grid>
|
|
</Grid>
|
|
</ScrollViewer>
|
|
</ui:Page>
|