140 lines
8.0 KiB
XML
140 lines
8.0 KiB
XML
<ui:Page x:Class="Ink_Canvas.Windows.SettingsViews.Pages.AdvancedPage"
|
|
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:helpers="clr-namespace:Ink_Canvas.Windows.SettingsViews.Helpers"
|
|
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"
|
|
xmlns:c="clr-namespace:Ink_Canvas.Converter"
|
|
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}">
|
|
|
|
<TextBlock Style="{StaticResource SettingsSectionHeaderTextBlockStyle}"
|
|
Text="高级设置" />
|
|
|
|
<controls:LabeledSettingsCard x:Name="CardIsSpecialScreen"
|
|
Header="{i18n:I18n Key=Advanced_SpecialScreen}"
|
|
Icon="{x:Static ui:SegoeFluentIcons.TVMonitor}"
|
|
SwitchName="ToggleSwitchIsSpecialScreen"
|
|
Toggled="ToggleSwitchIsSpecialScreen_Toggled" />
|
|
|
|
<controls:LabeledSettingsCard x:Name="CardIsEnableUriScheme"
|
|
Header="{i18n:I18n Key=Advanced_UriScheme}"
|
|
Icon="{x:Static ui:SegoeFluentIcons.Link}"
|
|
SwitchName="ToggleSwitchIsEnableUriScheme"
|
|
Toggled="ToggleSwitchIsEnableUriScheme_Toggled" />
|
|
|
|
<controls:LabeledSettingsCard x:Name="CardIsQuadIR"
|
|
Header="{i18n:I18n Key=Advanced_QuadIR}"
|
|
Icon="{x:Static ui:SegoeFluentIcons.Touch}"
|
|
SwitchName="ToggleSwitchIsQuadIR"
|
|
Toggled="ToggleSwitchIsQuadIR_Toggled" />
|
|
|
|
<controls:LabeledSettingsCard x:Name="CardEraserBindTouchMultiplier"
|
|
Header="{i18n:I18n Key=Advanced_EraserBindTouchMultiplier}"
|
|
Icon="{x:Static ui:SegoeFluentIcons.EraseTool}"
|
|
SwitchName="ToggleSwitchEraserBindTouchMultiplier"
|
|
Toggled="ToggleSwitchEraserBindTouchMultiplier_Toggled" />
|
|
|
|
<TextBlock Style="{StaticResource SettingsSectionHeaderTextBlockStyle}"
|
|
Text="全屏辅助" />
|
|
|
|
<controls:LabeledSettingsCard x:Name="CardIsEnableFullScreenHelper"
|
|
Header="{i18n:I18n Key=Advanced_FullScreenHelper}"
|
|
Icon="{x:Static ui:SegoeFluentIcons.FullScreen}"
|
|
SwitchName="ToggleSwitchIsEnableFullScreenHelper"
|
|
Toggled="ToggleSwitchIsEnableFullScreenHelper_Toggled" />
|
|
|
|
<controls:LabeledSettingsCard x:Name="CardIsEnableAvoidFullScreenHelper"
|
|
Header="{i18n:I18n Key=Advanced_AvoidFullScreenHelper}"
|
|
Icon="{x:Static ui:SegoeFluentIcons.BackToWindow}"
|
|
SwitchName="ToggleSwitchIsEnableAvoidFullScreenHelper"
|
|
Toggled="ToggleSwitchIsEnableAvoidFullScreenHelper_Toggled" />
|
|
|
|
<controls:LabeledSettingsCard x:Name="CardIsEnableEdgeGestureUtil"
|
|
Header="{i18n:I18n Key=Advanced_EdgeGesture}"
|
|
Icon="{x:Static ui:SegoeFluentIcons.Touch}"
|
|
SwitchName="ToggleSwitchIsEnableEdgeGestureUtil"
|
|
Toggled="ToggleSwitchIsEnableEdgeGestureUtil_Toggled" />
|
|
|
|
<controls:LabeledSettingsCard x:Name="CardIsEnableForceFullScreen"
|
|
Header="{i18n:I18n Key=Advanced_ForceFullScreen}"
|
|
Icon="{x:Static ui:SegoeFluentIcons.FullScreen}"
|
|
SwitchName="ToggleSwitchIsEnableForceFullScreen"
|
|
Toggled="ToggleSwitchIsEnableForceFullScreen_Toggled" />
|
|
|
|
<controls:LabeledSettingsCard x:Name="CardIsEnableDPIChangeDetection"
|
|
Header="{i18n:I18n Key=Advanced_DPIDetection}"
|
|
Icon="{x:Static ui:SegoeFluentIcons.Zoom}"
|
|
SwitchName="ToggleSwitchIsEnableDPIChangeDetection"
|
|
Toggled="ToggleSwitchIsEnableDPIChangeDetection_Toggled" />
|
|
|
|
<controls:LabeledSettingsCard x:Name="CardIsEnableResolutionChangeDetection"
|
|
Header="{i18n:I18n Key=Advanced_ResolutionDetection}"
|
|
Icon="{x:Static ui:SegoeFluentIcons.TVMonitor}"
|
|
SwitchName="ToggleSwitchIsEnableResolutionChangeDetection"
|
|
Toggled="ToggleSwitchIsEnableResolutionChangeDetection_Toggled" />
|
|
|
|
<TextBlock Style="{StaticResource SettingsSectionHeaderTextBlockStyle}"
|
|
Text="日志与备份" />
|
|
|
|
<controls:LabeledSettingsCard x:Name="CardIsLogEnabled"
|
|
Header="{i18n:I18n Key=Advanced_EnableLog}"
|
|
Icon="{x:Static ui:SegoeFluentIcons.Document}"
|
|
SwitchName="ToggleSwitchIsLogEnabled"
|
|
Toggled="ToggleSwitchIsLogEnabled_Toggled" />
|
|
|
|
<controls:LabeledSettingsCard x:Name="CardIsSaveLogByDate"
|
|
Header="{i18n:I18n Key=Advanced_SaveLogByDate}"
|
|
Icon="{x:Static ui:SegoeFluentIcons.Calendar}"
|
|
SwitchName="ToggleSwitchIsSaveLogByDate"
|
|
Toggled="ToggleSwitchIsSaveLogByDate_Toggled" />
|
|
|
|
<controls:LabeledSettingsCard x:Name="CardIsSecondConfirmWhenShutdownApp"
|
|
Header="{i18n:I18n Key=Advanced_SecondConfirmShutdown}"
|
|
Icon="{x:Static ui:SegoeFluentIcons.Completed}"
|
|
SwitchName="ToggleSwitchIsSecondConfirmWhenShutdownApp"
|
|
Toggled="ToggleSwitchIsSecondConfirmWhenShutdownApp_Toggled" />
|
|
|
|
<controls:LabeledSettingsCard x:Name="CardIsAutoBackupBeforeUpdate"
|
|
Header="{i18n:I18n Key=Advanced_AutoBackupBeforeUpdate}"
|
|
Icon="{x:Static ui:SegoeFluentIcons.Save}"
|
|
SwitchName="ToggleSwitchIsAutoBackupBeforeUpdate"
|
|
Toggled="ToggleSwitchIsAutoBackupBeforeUpdate_Toggled" />
|
|
|
|
<controls:LabeledSettingsCard x:Name="CardIsAutoBackupEnabled"
|
|
Header="{i18n:I18n Key=Advanced_AutoBackupEnabled}"
|
|
Icon="{x:Static ui:SegoeFluentIcons.SaveLocal}"
|
|
SwitchName="ToggleSwitchIsAutoBackupEnabled"
|
|
Toggled="ToggleSwitchIsAutoBackupEnabled_Toggled" />
|
|
|
|
<Rectangle Height="48" />
|
|
|
|
</ikw:SimpleStackPanel>
|
|
</Grid>
|
|
</Grid>
|
|
</ScrollViewer>
|
|
</ui:Page>
|