Files
community/Ink Canvas/MainWindow.xaml
T
2026-03-28 20:28:42 +08:00

10972 lines
1.1 MiB
Plaintext

<Window Name="window" x:Class="Ink_Canvas.MainWindow"
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:ui="http://schemas.inkore.net/lib/ui/wpf/modern"
xmlns:ikw="http://schemas.inkore.net/lib/ui/wpf"
xmlns:c="clr-namespace:Ink_Canvas.Converter"
xmlns:Controls="http://schemas.microsoft.com/netfx/2009/xaml/presentation"
xmlns:controls="clr-namespace:Ink_Canvas.Controls"
xmlns:Windows="clr-namespace:Ink_Canvas.Windows"
xmlns:props="clr-namespace:Ink_Canvas.Properties"
xmlns:i18n="clr-namespace:Ink_Canvas.MarkupExtensions"
xmlns:helpers="clr-namespace:Ink_Canvas.Helpers"
mc:Ignorable="d"
AllowsTransparency="True"
WindowStyle="None"
ResizeMode="NoResize"
Loaded="Window_Loaded"
Background="Transparent"
ShowInTaskbar="False"
Title="InkCanvasforClass"
Topmost="True"
Closing="Window_Closing"
Closed="Window_Closed"
PreviewKeyDown="Main_Grid_PreviewKeyDown"
Height="16000" Width="1440"
FontFamily="Microsoft YaHei UI"
MouseWheel="Window_MouseWheel"
Foreground="{DynamicResource FloatBarForeground}"
SizeChanged="MainWindow_OnSizeChanged"
MouseMove="MainWindow_OnMouseMove"
Stylus.IsPressAndHoldEnabled="False"
Stylus.IsFlicksEnabled="False"
Stylus.IsTapFeedbackEnabled="False"
DpiChanged="MainWindow_OnDpiChanged"
Stylus.IsTouchFeedbackEnabled="False">
<!--资源中添加命令-->
<Window.Resources>
<ResourceDictionary>
<!-- 合并新橡皮擦资源 -->
<ResourceDictionary.MergedDictionaries>
<ResourceDictionary Source="MainWindow_cs/MW_Eraser.xaml"/>
</ResourceDictionary.MergedDictionaries>
<c:IsEnabledToOpacityConverter x:Key="IsEnabledToOpacityConverter" />
<c:BooleanToVisibilityConverter x:Key="BooleanToVisibilityConverter" />
<c:InverseBooleanToVisibilityConverter x:Key="InverseBooleanToVisibilityConverter" />
<c:IntNumberToString x:Key="IntNumberToString" />
<c:IntNumberToString2 x:Key="IntNumberToString2" />
<!-- 浮动栏/白板栏:英文等长文本自动缩小避免截断 -->
<Style x:Key="AutoFitFloatBarLabel12" TargetType="TextBlock">
<Setter Property="TextWrapping" Value="NoWrap" />
<Setter Property="TextAlignment" Value="Center" />
<Setter Property="helpers:AutoFontSizeHelper.IsEnabled" Value="True" />
<Setter Property="helpers:AutoFontSizeHelper.MinFontSize" Value="7" />
<Setter Property="helpers:AutoFontSizeHelper.MaxFontSize" Value="12" />
<Setter Property="helpers:AutoFontSizeHelper.Step" Value="0.5" />
</Style>
<Style x:Key="AutoFitFloatBarLabel9" TargetType="TextBlock">
<Setter Property="TextWrapping" Value="NoWrap" />
<Setter Property="TextAlignment" Value="Center" />
<Setter Property="helpers:AutoFontSizeHelper.IsEnabled" Value="True" />
<Setter Property="helpers:AutoFontSizeHelper.MinFontSize" Value="6" />
<Setter Property="helpers:AutoFontSizeHelper.MaxFontSize" Value="9" />
<Setter Property="helpers:AutoFontSizeHelper.Step" Value="0.5" />
</Style>
<Style x:Key="AutoFitFloatBarLabel8" TargetType="TextBlock">
<Setter Property="TextWrapping" Value="NoWrap" />
<Setter Property="TextAlignment" Value="Center" />
<Setter Property="helpers:AutoFontSizeHelper.IsEnabled" Value="True" />
<Setter Property="helpers:AutoFontSizeHelper.MinFontSize" Value="3.5" />
<Setter Property="helpers:AutoFontSizeHelper.MaxFontSize" Value="8" />
<Setter Property="helpers:AutoFontSizeHelper.Step" Value="0.25" />
</Style>
<Style x:Key="AutoFitMainToolbarLabel8" TargetType="TextBlock" BasedOn="{StaticResource AutoFitFloatBarLabel8}">
<Setter Property="Height" Value="10" />
<Setter Property="LineStackingStrategy" Value="BlockLineHeight" />
<Setter Property="LineHeight" Value="10" />
<Setter Property="helpers:AutoFontSizeHelper.MinFontSize" Value="2.5" />
<Setter Property="helpers:AutoFontSizeHelper.Step" Value="0.1" />
</Style>
<Style x:Key="AutoFitPenTabLabel9" TargetType="TextBlock">
<Setter Property="TextWrapping" Value="NoWrap" />
<Setter Property="TextAlignment" Value="Center" />
<Setter Property="helpers:AutoFontSizeHelper.IsEnabled" Value="True" />
<Setter Property="helpers:AutoFontSizeHelper.MinFontSize" Value="3.5" />
<Setter Property="helpers:AutoFontSizeHelper.MaxFontSize" Value="9" />
<Setter Property="helpers:AutoFontSizeHelper.Step" Value="0.1" />
</Style>
<Style x:Key="AutoFitSettingsOptionLabel14" TargetType="TextBlock">
<Setter Property="TextWrapping" Value="Wrap" />
<Setter Property="TextAlignment" Value="Left" />
<Setter Property="helpers:AutoFontSizeHelper.IsEnabled" Value="True" />
<Setter Property="helpers:AutoFontSizeHelper.MinFontSize" Value="8" />
<Setter Property="helpers:AutoFontSizeHelper.MaxFontSize" Value="14" />
<Setter Property="helpers:AutoFontSizeHelper.Step" Value="0.25" />
</Style>
<Style x:Key="AutoFitSettingsHint15" TargetType="TextBlock">
<Setter Property="TextWrapping" Value="Wrap" />
<Setter Property="TextAlignment" Value="Center" />
<Setter Property="helpers:AutoFontSizeHelper.IsEnabled" Value="True" />
<Setter Property="helpers:AutoFontSizeHelper.MinFontSize" Value="10" />
<Setter Property="helpers:AutoFontSizeHelper.MaxFontSize" Value="15" />
<Setter Property="helpers:AutoFontSizeHelper.Step" Value="0.25" />
</Style>
<Style x:Key="AutoFitSettingsGridLabel14" TargetType="TextBlock">
<Setter Property="TextWrapping" Value="Wrap" />
<Setter Property="TextAlignment" Value="Center" />
<Setter Property="helpers:AutoFontSizeHelper.IsEnabled" Value="True" />
<Setter Property="helpers:AutoFontSizeHelper.MinFontSize" Value="8" />
<Setter Property="helpers:AutoFontSizeHelper.MaxFontSize" Value="14" />
<Setter Property="helpers:AutoFontSizeHelper.Step" Value="0.25" />
</Style>
<Style x:Key="AutoFitToolPopupLabel8" TargetType="Label">
<Setter Property="Padding" Value="0" />
<Setter Property="HorizontalContentAlignment" Value="Center" />
<Setter Property="VerticalContentAlignment" Value="Center" />
<Setter Property="Foreground" Value="{DynamicResource FloatBarForeground}" />
<Setter Property="helpers:AutoFontSizeHelper.IsEnabled" Value="True" />
<Setter Property="helpers:AutoFontSizeHelper.MinFontSize" Value="3.5" />
<Setter Property="helpers:AutoFontSizeHelper.MaxFontSize" Value="8" />
<Setter Property="helpers:AutoFontSizeHelper.Step" Value="0.25" />
</Style>
<Style x:Key="AutoFitGestureOptionLabel10" TargetType="Label">
<Setter Property="Foreground" Value="{DynamicResource FloatBarForeground}" />
<Setter Property="Padding" Value="0" />
<Setter Property="HorizontalContentAlignment" Value="Left" />
<Setter Property="VerticalContentAlignment" Value="Center" />
<Setter Property="helpers:AutoFontSizeHelper.IsEnabled" Value="True" />
<Setter Property="helpers:AutoFontSizeHelper.MinFontSize" Value="4" />
<Setter Property="helpers:AutoFontSizeHelper.MaxFontSize" Value="8" />
<Setter Property="helpers:AutoFontSizeHelper.Step" Value="0.25" />
</Style>
<!-- Navigation Button Style -->
<Style x:Key="NavButton" TargetType="Button">
<Setter Property="Background" Value="Transparent"/>
<Setter Property="BorderThickness" Value="0"/>
<Setter Property="Template">
<Setter.Value>
<ControlTemplate TargetType="Button">
<Border x:Name="border" Background="{TemplateBinding Background}"
BorderBrush="{TemplateBinding BorderBrush}"
BorderThickness="{TemplateBinding BorderThickness}"
CornerRadius="4">
<ContentPresenter HorizontalAlignment="Center" VerticalAlignment="Center"/>
</Border>
<ControlTemplate.Triggers>
<Trigger Property="IsMouseOver" Value="True">
<Setter Property="Background" Value="#27272a"/>
</Trigger>
<Trigger Property="IsPressed" Value="True">
<Setter Property="Background" Value="#3b82f6"/>
</Trigger>
<!-- 使用多个DataTrigger替代动态绑定 -->
<DataTrigger Binding="{Binding Tag}" Value="startup">
<Setter Property="Background" Value="#3b82f6"/>
</DataTrigger>
<DataTrigger Binding="{Binding Tag}" Value="canvas">
<Setter Property="Background" Value="#3b82f6"/>
</DataTrigger>
<DataTrigger Binding="{Binding Tag}" Value="gesture">
<Setter Property="Background" Value="#3b82f6"/>
</DataTrigger>
<DataTrigger Binding="{Binding Tag}" Value="inkrecognition">
<Setter Property="Background" Value="#3b82f6"/>
</DataTrigger>
<DataTrigger Binding="{Binding Tag}" Value="crashaction">
<Setter Property="Background" Value="#3b82f6"/>
</DataTrigger>
<DataTrigger Binding="{Binding Tag}" Value="ppt">
<Setter Property="Background" Value="#3b82f6"/>
</DataTrigger>
<DataTrigger Binding="{Binding Tag}" Value="advanced">
<Setter Property="Background" Value="#3b82f6"/>
</DataTrigger>
<DataTrigger Binding="{Binding Tag}" Value="automation">
<Setter Property="Background" Value="#3b82f6"/>
</DataTrigger>
<DataTrigger Binding="{Binding Tag}" Value="randomwindow">
<Setter Property="Background" Value="#3b82f6"/>
</DataTrigger>
<DataTrigger Binding="{Binding Tag}" Value="theme">
<Setter Property="Background" Value="#3b82f6"/>
</DataTrigger>
<DataTrigger Binding="{Binding Tag}" Value="shortcuts">
<Setter Property="Background" Value="#3b82f6"/>
</DataTrigger>
<DataTrigger Binding="{Binding Tag}" Value="about">
<Setter Property="Background" Value="#3b82f6"/>
</DataTrigger>
<DataTrigger Binding="{Binding Tag}" Value="plugins">
<Setter Property="Background" Value="#3b82f6"/>
</DataTrigger>
</ControlTemplate.Triggers>
</ControlTemplate>
</Setter.Value>
</Setter>
</Style>
</ResourceDictionary>
</Window.Resources>
<Grid x:Name="Main_Grid">
<!--// 设置界面 //-->
<Grid Panel.ZIndex="999" x:Name="BorderSettingsMask" MouseDown="SettingsOverlayClick" IsHitTestVisible="True"
Margin="0,0,0,0">
<Border Name="BorderSettings" Background="#ee18181b" ui:ThemeManager.RequestedTheme="Dark" Width="490"
HorizontalAlignment="Left" Margin="300,150,0,350" Visibility="Visible">
<Grid>
<Grid.ColumnDefinitions>
<ColumnDefinition Width="50"/>
<ColumnDefinition Width="*"/>
</Grid.ColumnDefinitions>
<!-- Navigation Sidebar -->
<Border Grid.Column="0" Background="#1e1e1e" BorderBrush="#27272a" BorderThickness="0,0,1,0">
<Grid>
<Grid.RowDefinitions>
<RowDefinition Height="Auto"/>
<RowDefinition Height="*"/>
<RowDefinition Height="Auto"/>
</Grid.RowDefinitions>
<!-- 顶部Logo区域 -->
<Border Grid.Row="0" Height="50" Background="#2d2d30" BorderBrush="#3f3f46" BorderThickness="0,0,0,1">
<Image Width="30" Height="30" Source="/Resources/icc.ico" RenderOptions.BitmapScalingMode="HighQuality"/>
</Border>
<!-- 主要导航按钮 -->
<ScrollViewer Grid.Row="1" VerticalScrollBarVisibility="Auto" HorizontalScrollBarVisibility="Disabled">
<StackPanel>
<!-- Plugins -->
<Button Width="40" Height="40" Margin="0,5,0,0" Style="{StaticResource NavButton}"
Click="NavPlugins_Click" Tag="plugins" ToolTip="{x:Static props:Strings.Nav_Plugins}">
<Image Width="20" Height="20">
<Image.Source>
<DrawingImage>
<DrawingImage.Drawing>
<GeometryDrawing Brush="White"
Geometry="M342.826667 213.333333a149.333333 149.333333 0 0 1 295.68 0H682.666667a128 128 0 0 1 128 128v44.16a149.333333 149.333333 0 0 1 0 295.68V725.333333a128 128 0 0 1-128 128h-128v-21.333333a64 64 0 0 0-128 0v21.333333H298.666667a128 128 0 0 1-128-128v-128h21.333333a64 64 0 0 0 0-128H170.666667V341.333333a128 128 0 0 1 128-128h44.16zM426.666667 234.666667V298.666667H298.666667q-17.664 0-30.165334 12.501333T256 341.333333v56.576q22.528 10.752 41.6 29.866667Q341.333333 471.466667 341.333333 533.333333q0 61.866667-43.733333 105.6-19.072 19.072-41.6 29.824V725.333333q0 17.664 12.501333 30.165334T298.666667 768h56.576q10.752-22.528 29.866666-41.6Q428.8 682.666667 490.666667 682.666667q61.866667 0 105.6 43.733333 19.072 19.072 29.824 41.6H682.666667q17.664 0 30.165333-12.501333T725.333333 725.333333v-128h64a64 64 0 0 0 0-128H725.333333V341.333333q0-17.664-12.501333-30.165333T682.666667 298.666667h-128V234.666667a64 64 0 1 0-128 0z"/>
</DrawingImage.Drawing>
</DrawingImage>
</Image.Source>
</Image>
</Button>
<!-- Startup -->
<Button Width="40" Height="40" Margin="0,10,0,0" Style="{StaticResource NavButton}"
Click="NavStartup_Click" Tag="startup" ToolTip="{x:Static props:Strings.Nav_Startup}">
<Image Width="24" Height="24">
<Image.Source>
<DrawingImage>
<DrawingImage.Drawing>
<GeometryDrawing Brush="White"
Geometry="F0 M24,24z M0,0z M6.63415,3.34528C6.87134,3.21274,7.16167,3.21885,7.39307,3.36126L20.3931,11.3613C20.6149,11.4978 20.75,11.7396 20.75,12 20.75,12.2604 20.6149,12.5022 20.3931,12.6387L7.39307,20.6387C7.16167,20.7811 6.87134,20.7873 6.63415,20.6547 6.39696,20.5222 6.25,20.2717 6.25,20L6.25,4C6.25,3.72829,6.39696,3.47783,6.63415,3.34528z M7.75,5.34217L7.75,18.6578 18.569,12 7.75,5.34217z" />
</DrawingImage.Drawing>
</DrawingImage>
</Image.Source>
</Image>
</Button>
<!-- Canvas -->
<Button Width="40" Height="40" Margin="0,5,0,0" Style="{StaticResource NavButton}"
Click="NavCanvas_Click" Tag="canvas" ToolTip="{x:Static props:Strings.Nav_Canvas}">
<Image Width="24" Height="24">
<Image.Source>
<DrawingImage>
<DrawingImage.Drawing>
<GeometryDrawing Brush="White"
Geometry="F0 M24,24z M0,0z M4.11612,6.11612C4.35054,5.8817,4.66848,5.75,5,5.75L19,5.75C19.3315,5.75 19.6495,5.8817 19.8839,6.11612 20.1183,6.35054 20.25,6.66848 20.25,7L20.25,18C20.25,18.0663 20.2237,18.1299 20.1768,18.1768 20.1299,18.2237 20.0663,18.25 20,18.25 19.5858,18.25 19.25,18.5858 19.25,19 19.25,19.4142 19.5858,19.75 20,19.75 20.4641,19.75 20.9092,19.5656 21.2374,19.2374 21.5656,18.9092 21.75,18.4641 21.75,18L21.75,7C21.75,6.27065 21.4603,5.57118 20.9445,5.05546 20.4288,4.53973 19.7293,4.25 19,4.25L5,4.25C4.27065,4.25 3.57118,4.53973 3.05546,5.05546 2.53973,5.57118 2.25,6.27065 2.25,7L2.25,17C2.25,17.7293 2.53973,18.4288 3.05546,18.9445 3.57118,19.4603 4.27065,19.75 5,19.75L8,19.75C8.41421,19.75 8.75,19.4142 8.75,19 8.75,18.5858 8.41421,18.25 8,18.25L5,18.25C4.66848,18.25 4.35054,18.1183 4.11612,17.8839 3.8817,17.6495 3.75,17.3315 3.75,17L3.75,7C3.75,6.66848,3.8817,6.35054,4.11612,6.11612z M11.8232,16.8232C11.8701,16.7763,11.9337,16.75,12,16.75L16,16.75C16.0663,16.75 16.1299,16.7763 16.1768,16.8232 16.2237,16.8701 16.25,16.9337 16.25,17L16.25,18C16.25,18.0663 16.2237,18.1299 16.1768,18.1768 16.1299,18.2237 16.0663,18.25 16,18.25L12,18.25C11.9337,18.25 11.8701,18.2237 11.8232,18.1768 11.7763,18.1299 11.75,18.0663 11.75,18L11.75,17C11.75,16.9337,11.7763,16.8701,11.8232,16.8232z M12,15.25C11.5359,15.25 11.0908,15.4344 10.7626,15.7626 10.4344,16.0908 10.25,16.5359 10.25,17L10.25,18C10.25,18.4641 10.4344,18.9092 10.7626,19.2374 11.0908,19.5656 11.5359,19.75 12,19.75L16,19.75C16.4641,19.75 16.9092,19.5656 17.2374,19.2374 17.5656,18.9092 17.75,18.4641 17.75,18L17.75,17C17.75,16.5359 17.5656,16.0908 17.2374,15.7626 16.9092,15.4344 16.4641,15.25 16,15.25L12,15.25z" />
</DrawingImage.Drawing>
</DrawingImage>
</Image.Source>
</Image>
</Button>
<!-- Crash Action -->
<Button Width="40" Height="40" Margin="0,5,0,0" Style="{StaticResource NavButton}"
Click="NavCrashAction_Click" Tag="crashaction" ToolTip="{x:Static props:Strings.Nav_CrashAction}">
<Image Width="22" Height="22">
<Image.Source>
<DrawingImage>
<DrawingImage.Drawing>
<GeometryDrawing>
<GeometryDrawing.Pen>
<Pen Brush="White" Thickness="2" StartLineCap="Round" EndLineCap="Round" LineJoin="Round"/>
</GeometryDrawing.Pen>
<GeometryDrawing.Geometry>
<PathGeometry Figures="M10.863 4.09101L2.75699 17.625C2.58988 17.9144 2.50145 18.2425 2.5005 18.5766C2.49954 18.9108 2.58609 19.2394 2.75153 19.5297C2.91698 19.8201 3.15555 20.062 3.44353 20.2316C3.7315 20.4011 4.05884 20.4923 4.39299 20.496H20.607C20.941 20.4922 21.2682 20.401 21.556 20.2315C21.8438 20.062 22.0823 19.8202 22.2477 19.53C22.4131 19.2398 22.4997 18.9114 22.4989 18.5774C22.4981 18.2434 22.4098 17.9154 22.243 17.626L14.137 4.09001C13.9664 3.80851 13.7262 3.57575 13.4394 3.4142C13.1527 3.25266 12.8291 3.16779 12.5 3.16779C12.1709 3.16779 11.8473 3.25266 11.5605 3.4142C11.2738 3.57575 11.0335 3.80851 10.863 4.09001V4.09101Z M9.5 13.5H15.5"/>
</GeometryDrawing.Geometry>
</GeometryDrawing>
</DrawingImage.Drawing>
</DrawingImage>
</Image.Source>
</Image>
</Button>
<!-- Gesture -->
<Button Width="40" Height="40" Margin="0,5,0,0" Style="{StaticResource NavButton}"
Click="NavGesture_Click" Tag="gesture" ToolTip="{i18n:I18n Key=Nav_Gesture_Settings}">
<Image Width="24" Height="24">
<Image.Source>
<DrawingImage>
<DrawingImage.Drawing>
<GeometryDrawing Brush="White"
Geometry="F0 M24,24z M0,0z M7.98145,10.6889L7.98145,3.97896C7.98145,3.37896 8.21145,2.80897 8.64145,2.38896 9.49145,1.53896 10.9714,1.53896 11.8214,2.38896 12.2414,2.80897 12.4814,3.37896 12.4814,3.97896L12.4814,6.87304C13.2752,6.60639 14.2109,6.77837 14.8214,7.38896 14.9934,7.56094 15.1352,7.75807 15.2427,7.97211 16.0798,7.5855 17.157,7.72439 17.8214,8.38879 17.9978,8.56516 18.1424,8.76797 18.2509,8.98835 19.0867,8.60643 20.1592,8.74658 20.8214,9.40881 21.2414,9.82881 21.4814,10.3988 21.4814,10.9988L21.4814,15.4988C21.4814,17.2788 20.7614,19.0188 19.5014,20.2688 18.2314,21.5488 16.5314,22.2488 14.7314,22.2488L14.7314,22.2288 12.7314,22.2288 12.6214,22.2288C11.6114,22.1788 10.6214,21.9088 9.73138,21.4288 8.75138,20.8988 7.91138,20.1288 7.29138,19.1988L7.09138,18.8988C6.76138,18.3988 5.68138,16.5088 3.78138,13.1288 3.49138,12.6188 3.41138,12.0188 3.57138,11.4488 3.72138,10.8788 4.08138,10.3988 4.59138,10.0988 5.09138,9.79881 5.68138,9.67881 6.26138,9.74881 6.84138,9.81881 7.38138,10.0888 7.79138,10.4988L7.98145,10.6889z M16.9814,11.0086L16.9814,11.4788C16.9814,11.8888 17.3214,12.2288 17.7314,12.2288 18.1414,12.2288 18.4814,11.8888 18.4814,11.4788L18.4814,10.9889C18.484,10.7926 18.5637,10.6065 18.7014,10.4688 18.9814,10.1888 19.4814,10.1888 19.7614,10.4688 19.9014,10.6088 19.9814,10.7988 19.9814,10.9988L19.9814,15.4988C19.9814,16.8788 19.4214,18.2288 18.4414,19.2088 17.4514,20.1988 16.1314,20.7488 14.7314,20.7488L12.9414,20.7488C12.0714,20.7488 11.2114,20.5288 10.4514,20.1188 9.69138,19.7088 9.04138,19.1088 8.56138,18.3888L8.36138,18.0888C8.06138,17.6188 6.96138,15.7088 5.10138,12.3988 5.00138,12.2288 4.98138,12.0288 5.03138,11.8388 5.08138,11.6488 5.20138,11.4888 5.37138,11.3888 5.58138,11.2588 5.83138,11.2088 6.08138,11.2388 6.32138,11.2688 6.55138,11.3888 6.73138,11.5588L8.20138,13.0288C8.49138,13.3188 8.97138,13.3188 9.26138,13.0288 9.38653,12.9037 9.45767,12.7431 9.4748,12.5778 9.47918,12.5454 9.48145,12.5124 9.48145,12.479L9.48145,3.97896C9.48145,3.77897 9.56145,3.58896 9.70145,3.44896 9.98145,3.16896 10.4814,3.16896 10.7614,3.44896 10.9014,3.58896 10.9814,3.77897 10.9814,3.97896L10.9814,8.97896 10.9814,10.979 10.9814,11.479C10.9814,11.889 11.3214,12.229 11.7314,12.229 12.1414,12.229 12.4814,11.889 12.4814,11.479L12.4814,10.979 12.4814,8.97896C12.4814,8.77897 12.5614,8.58897 12.7014,8.44897 12.9814,8.16897 13.4814,8.16897 13.7614,8.44897 13.9014,8.58897 13.9814,8.77897 13.9814,8.97896L13.9814,9.97879 13.9814,11.479C13.9814,11.889 14.3214,12.229 14.7314,12.229 15.1414,12.229 15.4814,11.889 15.4814,11.479L15.4814,9.97879C15.4814,9.77879 15.5614,9.58879 15.7014,9.44879 15.9814,9.16879 16.4814,9.16879 16.7614,9.44879 16.9014,9.58879 16.9814,9.77879 16.9814,9.97879L16.9814,10.9814 16.9814,10.9988 16.9814,11.0086z M3.27144,5.81876C3.04144,5.81876 2.81144,5.70876 2.66144,5.50876 2.42144,5.17876 2.49144,4.70876 2.82144,4.45876 3.63144,3.86876 4.50144,3.35876 5.42144,2.94876 5.80144,2.77876 6.24144,2.94876 6.41144,3.32875 6.58144,3.70876 6.41144,4.14876 6.03144,4.31876 5.21144,4.68876 4.43144,5.13875 3.71144,5.66876 3.58144,5.76876 3.42144,5.80875 3.27144,5.80875L3.27144,5.81876z M18.0113,5.17885C18.1413,5.25885,18.2713,5.29885,18.4113,5.29885L18.4113,5.28885C18.6613,5.28885 18.9113,5.16885 19.0513,4.93885 19.2713,4.58885 19.1613,4.12885 18.8113,3.90885 17.6013,3.14885 16.3013,2.57885 14.9213,2.20885 14.5113,2.09885 14.1113,2.33885 14.0013,2.73885 13.8913,3.13885 14.1313,3.54885 14.5313,3.65885 15.7613,3.98885 16.9313,4.49885 18.0113,5.17885z" />
</DrawingImage.Drawing>
</DrawingImage>
</Image.Source>
</Image>
</Button>
<!-- Ink Recognition -->
<Button Width="40" Height="40" Margin="0,5,0,0" Style="{StaticResource NavButton}"
Click="NavInkRecognition_Click" Tag="inkrecognition" ToolTip="{x:Static props:Strings.Nav_InkRecognition}">
<Image Width="24" Height="24">
<Image.Source>
<DrawingImage>
<DrawingImage.Drawing>
<GeometryDrawing Brush="White"
Geometry="F0 M24,24z M0,0z M15.1306,4.19378C15.5647,4.01395 16.0301,3.92139 16.5,3.92139 16.9699,3.92139 17.4353,4.01395 17.8694,4.19378 18.3036,4.37361 18.698,4.6372 19.0303,4.96948 19.3626,5.30177 19.6262,5.69625 19.806,6.13041 19.9859,6.56457 20.0784,7.02989 20.0784,7.49981 20.0784,7.96974 19.9859,8.43506 19.806,8.86922 19.6262,9.30337 19.3626,9.69786 19.0303,10.0301L18.0403,11.0202 18.0303,11.0303 18.0202,11.0403 8.53033,20.5301C8.38968,20.6708,8.19891,20.7498,8,20.7498L4,20.7498C3.58579,20.7498,3.25,20.414,3.25,19.9998L3.25,15.9998C3.25,15.8009,3.32902,15.6101,3.46967,15.4695L13.9697,4.96948C14.302,4.6372,14.6964,4.37361,15.1306,4.19378z M17.9697,8.96948L17.4999,9.43925 14.5606,6.49991 15.0303,6.03014C15.2233,5.83714 15.4525,5.68405 15.7046,5.5796 15.9568,5.47515 16.2271,5.42139 16.5,5.42139 16.7729,5.42139 17.0432,5.47515 17.2954,5.5796 17.5475,5.68405 17.7767,5.83714 17.9697,6.03014 18.1627,6.22314 18.3158,6.45227 18.4202,6.70443 18.5247,6.9566 18.5784,7.22687 18.5784,7.49981 18.5784,7.77276 18.5247,8.04303 18.4202,8.29519 18.3158,8.54736 18.1627,8.77648 17.9697,8.96948z M4.75,16.3105L13.4999,7.56057 16.4392,10.4999 7.68934,19.2498 4.75,19.2498 4.75,16.3105z M21.5303,17.5303C21.8232,17.2374 21.8232,16.7626 21.5303,16.4697 21.2374,16.1768 20.7626,16.1768 20.4697,16.4697L17,19.9393 15.5303,18.4697C15.2374,18.1768 14.7626,18.1768 14.4697,18.4697 14.1768,18.7626 14.1768,19.2374 14.4697,19.5303L16.4697,21.5303C16.7626,21.8232,17.2374,21.8232,17.5303,21.5303L21.5303,17.5303z" />
</DrawingImage.Drawing>
</DrawingImage>
</Image.Source>
</Image>
</Button>
<!-- Theme -->
<Button Width="40" Height="40" Margin="0,5,0,0" Style="{StaticResource NavButton}"
Click="NavTheme_Click" Tag="theme" ToolTip="{i18n:I18n Key=Nav_Theme_Settings}">
<Image Width="24" Height="24">
<Image.Source>
<DrawingImage>
<DrawingImage.Drawing>
<GeometryDrawing Brush="White"
Geometry="F0 M24,24z M0,0z M9.43853,3.39157C9.63411,3.53254 9.75,3.75892 9.75,4.00001 9.75,4.59674 9.98705,5.16904 10.409,5.591 10.831,6.01295 11.4033,6.25001 12,6.25001 12.5967,6.25001 13.169,6.01295 13.591,5.591 14.0129,5.16904 14.25,4.59674 14.25,4.00001 14.25,3.75892 14.3659,3.53254 14.5615,3.39157 14.757,3.25061 15.0085,3.21226 15.2372,3.28849L21.2372,5.28849C21.5434,5.39058,21.75,5.67718,21.75,6.00001L21.75,11C21.75,11.4142,21.4142,11.75,21,11.75L18.75,11.75 18.75,19C18.75,19.4641 18.5656,19.9093 18.2374,20.2374 17.9092,20.5656 17.4641,20.75 17,20.75L7,20.75C6.53587,20.75 6.09075,20.5656 5.76256,20.2374 5.43437,19.9093 5.25,19.4641 5.25,19L5.25,11.75 3,11.75C2.58579,11.75,2.25,11.4142,2.25,11L2.25,6.00001C2.25,5.67718,2.45657,5.39058,2.76283,5.28849L8.76283,3.28849C8.99154,3.21226,9.24296,3.25061,9.43853,3.39157z M3.75,6.54058L3.75,10.25 6,10.25C6.41421,10.25,6.75,10.5858,6.75,11L6.75,19C6.75,19.0663 6.77634,19.1299 6.82322,19.1768 6.87011,19.2237 6.93369,19.25 7,19.25L17,19.25C17.0663,19.25 17.1299,19.2237 17.1768,19.1768 17.2237,19.1299 17.25,19.0663 17.25,19L17.25,11C17.25,10.5858,17.5858,10.25,18,10.25L20.25,10.25 20.25,6.54058 15.6154,4.99571C15.4444,5.61643 15.1149,6.1884 14.6517,6.65166 13.9484,7.35492 12.9946,7.75001 12,7.75001 11.0054,7.75001 10.0516,7.35492 9.34835,6.65166 8.8851,6.1884 8.55557,5.61643 8.3846,4.99571L3.75,6.54058z" />
</DrawingImage.Drawing>
</DrawingImage>
</Image.Source>
</Image>
</Button>
<!-- PPT -->
<Button Width="40" Height="40" Margin="0,5,0,0" Style="{StaticResource NavButton}"
Click="NavPPT_Click" Tag="ppt" ToolTip="{i18n:I18n Key=Nav_PPT_Settings}">
<Image Width="24" Height="24">
<Image.Source>
<DrawingImage>
<DrawingImage.Drawing>
<GeometryDrawing Brush="White"
Geometry="F0 M24,24z M0,0z M12.6955,2.31464C12.8562,2.2432,13.037,2.23053,13.2061,2.27886L20.2061,4.27886C20.5281,4.37085,20.7501,4.66514,20.7501,5L20.7501,18C20.7501,18.3,20.5713,18.5712,20.2955,18.6894L13.2955,21.6894C13.1267,21.7617,12.9372,21.7696,12.7629,21.7115L3.7629,18.7115C3.41393,18.5952 3.20083,18.243 3.25975,17.8799 3.31867,17.5168 3.63223,17.25 4.00007,17.25L12.2501,17.25 12.2501,7.10778 8.75007,8.50778 8.75007,13C8.75007,13.2841,8.58957,13.5438,8.33548,13.6708L4.33548,15.6708C4.10299,15.7871 3.82688,15.7746 3.60577,15.638 3.38466,15.5013 3.25007,15.2599 3.25007,15L3.25007,7C3.25007,6.70361,3.42462,6.43502,3.69546,6.31464L12.6955,2.31464z M13.0558,3.79595L4.75007,7.48741 4.75007,13.7865 7.25007,12.5365 7.25007,8C7.25007,7.69332,7.43678,7.41754,7.72153,7.30364L12.7215,5.30364C12.9526,5.21122 13.2145,5.23943 13.4205,5.37895 13.6266,5.51847 13.7501,5.75113 13.7501,6L13.7501,18C13.7501,18.4142,13.4143,18.75,13.0001,18.75L8.62178,18.75 12.9667,20.1983 19.2501,17.5055 19.2501,5.56573 13.0558,3.79595z" />
</DrawingImage.Drawing>
</DrawingImage>
</Image.Source>
</Image>
</Button>
<!-- Advanced -->
<Button Width="40" Height="40" Margin="0,5,0,0" Style="{StaticResource NavButton}"
Click="NavAdvanced_Click" Tag="advanced" ToolTip="{i18n:I18n Key=Nav_Advanced_Settings}">
<Image Width="24" Height="24">
<Image.Source>
<DrawingImage>
<DrawingImage.Drawing>
<GeometryDrawing Brush="White"
Geometry="F0 M24,24z M0,0z M7.8679,3.80724L10.5302,6.46952C10.6708,6.61018,10.7499,6.80094,10.7499,6.99985L10.7499,9.99985C10.7499,10.4141,10.4141,10.7499,9.99985,10.7499L6.99985,10.7499C6.80094,10.7499,6.61018,10.6708,6.46952,10.5302L3.80724,7.8679C3.64358,8.5543 3.61907,9.27047 3.73968,9.97343 3.92327,11.0435 4.43407,12.0303 5.20176,12.798 5.96944,13.5656 6.95625,14.0764 8.02628,14.26 9.09632,14.4436 10.197,14.291 11.1766,13.8231 11.4634,13.6861 11.8054,13.7448 12.0302,13.9695L18.0302,19.9695C18.2874,20.2267 18.6362,20.3712 18.9999,20.3712 19.3636,20.3712 19.7124,20.2267 19.9695,19.9695 20.2267,19.7124 20.3712,19.3636 20.3712,18.9999 20.3712,18.6362 20.2267,18.2874 19.9695,18.0302L13.9695,12.0302C13.7448,11.8054 13.6861,11.4634 13.8231,11.1766 14.291,10.197 14.4436,9.09632 14.26,8.02628 14.0764,6.95625 13.5656,5.96944 12.798,5.20176 12.0303,4.43407 11.0435,3.92327 9.97343,3.73968 9.27047,3.61907 8.5543,3.64358 7.8679,3.80724z M6.17663,2.82308C7.43621,2.22151 8.85132,2.02523 10.2271,2.26128 11.6028,2.49732 12.8716,3.15407 13.8586,4.1411 14.8456,5.12812 15.5024,6.39687 15.7384,7.77263 15.944,8.97097 15.8216,10.1992 15.3891,11.3284L21.0302,16.9695C21.5687,17.508 21.8712,18.2383 21.8712,18.9999 21.8712,19.7614 21.5687,20.4917 21.0302,21.0302 20.4917,21.5687 19.7614,21.8712 18.9999,21.8712 18.2383,21.8712 17.508,21.5687 16.9695,21.0302L11.3284,15.3891C10.1992,15.8216 8.97097,15.944 7.77263,15.7384 6.39687,15.5024 5.12812,14.8456 4.1411,13.8586 3.15407,12.8716 2.49732,11.6028 2.26128,10.2271 2.02523,8.85132 2.22151,7.43621 2.82308,6.17663 2.92801,5.95693 3.13306,5.80183 3.37303,5.76066 3.613,5.71948 3.85802,5.79736 4.03018,5.96952L7.31051,9.24985 9.24985,9.24985 9.24985,7.31051 5.96952,4.03018C5.79736,3.85802 5.71948,3.613 5.76066,3.37303 5.80183,3.13306 5.95693,2.92801 6.17663,2.82308z" />
</DrawingImage.Drawing>
</DrawingImage>
</Image.Source>
</Image>
</Button>
<!-- Automation -->
<Button Width="40" Height="40" Margin="0,5,0,0" Style="{StaticResource NavButton}"
Click="NavAutomation_Click" Tag="automation" ToolTip="{i18n:I18n Key=Nav_Automation_Settings}">
<Image Width="24" Height="24">
<Image.Source>
<DrawingImage>
<DrawingImage.Drawing>
<GeometryDrawing Brush="White"
Geometry="F0 M24,24z M0,0z M7.81828,2.27257C8.22012,2.17211,8.62732,2.41643,8.72778,2.81828L9.08572,4.25 14.9146,4.25 15.2726,2.81828C15.373,2.41643 15.7802,2.17211 16.1821,2.27257 16.5839,2.37303 16.8282,2.78023 16.7278,3.18208L16.4608,4.25 18,4.25C18.7293,4.25 19.4288,4.53973 19.9445,5.05546 20.4603,5.57118 20.75,6.27065 20.75,7L20.75,19C20.75,19.7293 20.4603,20.4288 19.9445,20.9445 19.4288,21.4603 18.7293,21.75 18,21.75L6,21.75C5.27065,21.75 4.57118,21.4603 4.05546,20.9445 3.53973,20.4288 3.25,19.7293 3.25,19L3.25,7C3.25,6.27065 3.53973,5.57118 4.05546,5.05546 4.57118,4.53973 5.27065,4.25 6,4.25L7.53955,4.25 7.27257,3.18208C7.17211,2.78023,7.41643,2.37303,7.81828,2.27257z M14.5396,5.75L14.2726,6.81828C14.1721,7.22012 14.4164,7.62732 14.8183,7.72778 15.2201,7.82825 15.6273,7.58393 15.7278,7.18208L16.0858,5.75 18,5.75C18.3315,5.75 18.6495,5.8817 18.8839,6.11612 19.1183,6.35054 19.25,6.66848 19.25,7L19.25,19C19.25,19.3315 19.1183,19.6495 18.8839,19.8839 18.6495,20.1183 18.3315,20.25 18,20.25L6,20.25C5.66848,20.25 5.35054,20.1183 5.11612,19.8839 4.8817,19.6495 4.75,19.3315 4.75,19L4.75,7C4.75,6.66848 4.8817,6.35054 5.11612,6.11612 5.35054,5.8817 5.66848,5.75 6,5.75L7.91455,5.75 8.27257,7.18208C8.37303,7.58393 8.78023,7.82825 9.18208,7.72778 9.58393,7.62732 9.82825,7.22012 9.72778,6.81828L9.46072,5.75 14.5396,5.75z M9.41625,15.3761C9.07166,15.1463 8.60598,15.2393 8.37614,15.5839 8.14629,15.9285 8.23932,16.3942 8.58391,16.624 9.6821,17.3565 10.8245,17.7501 12.0001,17.7501 13.1757,17.7501 14.3181,17.3565 15.4162,16.624 15.7608,16.3942 15.8539,15.9285 15.624,15.5839 15.3942,15.2393 14.9285,15.1463 14.5839,15.3761 13.6821,15.9776 12.8245,16.2501 12.0001,16.2501 11.1757,16.2501 10.3181,15.9776 9.41625,15.3761z M9,10.25C9.41421,10.25,9.75,10.5858,9.75,11L9.75,12C9.75,12.4142 9.41421,12.75 9,12.75 8.58579,12.75 8.25,12.4142 8.25,12L8.25,11C8.25,10.5858,8.58579,10.25,9,10.25z M15.75,11C15.75,10.5858 15.4142,10.25 15,10.25 14.5858,10.25 14.25,10.5858 14.25,11L14.25,12C14.25,12.4142 14.5858,12.75 15,12.75 15.4142,12.75 15.75,12.4142 15.75,12L15.75,11z" />
</DrawingImage.Drawing>
</DrawingImage>
</Image.Source>
</Image>
</Button>
<!-- Random Window -->
<Button Width="40" Height="40" Margin="0,5,0,0" Style="{StaticResource NavButton}"
Click="NavRandomWindow_Click" Tag="randomwindow" ToolTip="{i18n:I18n Key=Nav_RandomWindow_Settings}">
<Image Width="24" Height="24">
<Image.Source>
<DrawingImage>
<DrawingImage.Drawing>
<GeometryDrawing Brush="White"
Geometry="F0 M24,24z M0,0z M18.5303,3.46967C18.2374,3.17678 17.7626,3.17678 17.4697,3.46967 17.1768,3.76256 17.1768,4.23744 17.4697,4.53033L19.1893,6.25 16,6.25C14.475,6.25 13.0125,6.8558 11.9341,7.93414 11.5659,8.30239 11.2527,8.71546 11,9.16052 10.7473,8.71546 10.4341,8.30239 10.0659,7.93414 8.98753,6.8558 7.52499,6.25 6,6.25L3,6.25C2.58579,6.25 2.25,6.58579 2.25,7 2.25,7.41421 2.58579,7.75 3,7.75L6,7.75C7.12717,7.75 8.20817,8.19777 9.0052,8.9948 9.80223,9.79183 10.25,10.8728 10.25,12 10.25,13.1272 9.80223,14.2082 9.0052,15.0052 8.20817,15.8022 7.12717,16.25 6,16.25L3,16.25C2.58579,16.25 2.25,16.5858 2.25,17 2.25,17.4142 2.58579,17.75 3,17.75L6,17.75C7.52499,17.75 8.98753,17.1442 10.0659,16.0659 10.4341,15.6976 10.7473,15.2845 11,14.8395 11.2527,15.2845 11.5659,15.6976 11.9341,16.0659 13.0125,17.1442 14.475,17.75 16,17.75L19.1893,17.75 17.4697,19.4697C17.1768,19.7626 17.1768,20.2374 17.4697,20.5303 17.7626,20.8232 18.2374,20.8232 18.5303,20.5303L21.5303,17.5303C21.6022,17.4584 21.6565,17.3755 21.6931,17.2871 21.7298,17.1987 21.75,17.1017 21.75,17 21.75,16.8081 21.6768,16.6161 21.5303,16.4697L18.5303,13.4697C18.2374,13.1768 17.7626,13.1768 17.4697,13.4697 17.1768,13.7626 17.1768,14.2374 17.4697,14.5303L19.1893,16.25 16,16.25C14.8728,16.25 13.7918,15.8022 12.9948,15.0052 12.1978,14.2082 11.75,13.1272 11.75,12 11.75,10.8728 12.1978,9.79183 12.9948,8.9948 13.7918,8.19777 14.8728,7.75 16,7.75L19.1893,7.75 17.4697,9.46967C17.1768,9.76256 17.1768,10.2374 17.4697,10.5303 17.7626,10.8232 18.2374,10.8232 18.5303,10.5303L21.5303,7.53033C21.6768,7.38388 21.75,7.19194 21.75,7 21.75,6.89831 21.7298,6.80134 21.6931,6.71291 21.6565,6.62445 21.6022,6.54158 21.5303,6.46967L18.5303,3.46967z" />
</DrawingImage.Drawing>
</DrawingImage>
</Image.Source>
</Image>
</Button>
<!-- About -->
<Button Width="40" Height="40" Margin="0,5,0,0" Style="{StaticResource NavButton}"
Click="NavAbout_Click" Tag="about" ToolTip="{x:Static props:Strings.Nav_About}">
<Image Width="24" Height="24">
<Image.Source>
<DrawingImage>
<DrawingImage.Drawing>
<GeometryDrawing Brush="White"
Geometry="F0 M24,24z M0,0z M5.10571,5.10571C6.93419,3.27723 9.41414,2.25 12,2.25 14.5859,2.25 17.0658,3.27723 18.8943,5.10571 20.7228,6.93419 21.75,9.41414 21.75,12 21.75,13.2804 21.4978,14.5482 21.0078,15.7312 20.5178,16.9141 19.7997,17.9889 18.8943,18.8943 17.9889,19.7997 16.9141,20.5178 15.7312,21.0078 14.5482,21.4978 13.2804,21.75 12,21.75 10.7196,21.75 9.45176,21.4978 8.26884,21.0078 7.08591,20.5178 6.01108,19.7997 5.10571,18.8943 4.20034,17.9889 3.48216,16.9141 2.99217,15.7312 2.50219,14.5482 2.25,13.2804 2.25,12 2.25,9.41414 3.27723,6.93419 5.10571,5.10571z M12,3.75C9.81196,3.75 7.71354,4.61919 6.16637,6.16637 4.61919,7.71354 3.75,9.81196 3.75,12 3.75,13.0834 3.96339,14.1562 4.37799,15.1571 4.79259,16.1581 5.40029,17.0675 6.16637,17.8336 6.93245,18.5997 7.84193,19.2074 8.84286,19.622 9.8438,20.0366 10.9166,20.25 12,20.25 13.0834,20.25 14.1562,20.0366 15.1571,19.622 16.1581,19.2074 17.0675,18.5997 17.8336,17.8336 18.5997,17.0675 19.2074,16.1581 19.622,15.1571 20.0366,14.1562 20.25,13.0834 20.25,12 20.25,9.81196 19.3808,7.71354 17.8336,6.16637 16.2865,4.61919 14.188,3.75 12,3.75z M11.25,9C11.25,8.58579,11.5858,8.25,12,8.25L12.01,8.25C12.4242,8.25 12.76,8.58579 12.76,9 12.76,9.41421 12.4242,9.75 12.01,9.75L12,9.75C11.5858,9.75,11.25,9.41421,11.25,9z M11,11.25C10.5858,11.25 10.25,11.5858 10.25,12 10.25,12.4142 10.5858,12.75 11,12.75L11.25,12.75 11.25,16C11.25,16.4142,11.5858,16.75,12,16.75L13,16.75C13.4142,16.75 13.75,16.4142 13.75,16 13.75,15.5858 13.4142,15.25 13,15.25L12.75,15.25 12.75,12C12.75,11.5858,12.4142,11.25,12,11.25L11,11.25z" />
</DrawingImage.Drawing>
</DrawingImage>
</Image.Source>
</Image>
</Button>
<!-- 快捷键设置 -->
<Button Width="40" Height="40" Margin="0,5,0,0" Style="{StaticResource NavButton}"
Click="NavShortcuts_Click" Tag="shortcuts" ToolTip="{i18n:I18n Key=Nav_Shortcuts_Settings}">
<Image Width="24" Height="24">
<Image.Source>
<DrawingImage>
<DrawingImage.Drawing>
<GeometryDrawing Brush="White"
Geometry="M20,5H4A2,2 0 0,0 2,7V17A2,2 0 0,0 4,19H20A2,2 0 0,0 22,17V7A2,2 0 0,0 20,5M20,17H4V7H20V17M5,8H7V10H5V8M8,8H10V10H8V8M11,8H13V10H11V8M14,8H16V10H14V8M17,8H19V10H17V8M5,11H7V13H5V11M8,11H10V13H8V11M11,11H13V13H11V11M14,11H16V13H14V11M17,11H19V13H17V11M8,14H16V16H8V14Z"/>
</DrawingImage.Drawing>
</DrawingImage>
</Image.Source>
</Image>
</Button>
</StackPanel>
</ScrollViewer>
<!-- 底部操作按钮 -->
<StackPanel Grid.Row="2" Margin="0,5,0,10">
<Separator Background="#3f3f46" Margin="5,0,5,10"/>
<!-- 折叠侧边栏按钮 -->
<Button Width="40" Height="40" Style="{StaticResource NavButton}"
Click="CollapseNavSidebar_Click" ToolTip="{i18n:I18n Key=CollapseNavSidebar}">
<Image Width="24" Height="24">
<Image.Source>
<DrawingImage>
<DrawingImage.Drawing>
<GeometryDrawing Brush="White"
Geometry="M20,11V13H8L13.5,18.5L12.08,19.92L4.16,12L12.08,4.08L13.5,5.5L8,11H20Z"/>
</DrawingImage.Drawing>
</DrawingImage>
</Image.Source>
</Image>
</Button>
</StackPanel>
</Grid>
</Border>
<!-- Content Area -->
<Grid Grid.Column="1">
<Grid.RowDefinitions>
<RowDefinition Height="80"/>
<RowDefinition Height="*"/>
<RowDefinition Height="50"/>
</Grid.RowDefinitions>
<!-- 标题栏 -->
<Grid ClipToBounds="True" Grid.Row="0" Margin="0,0,0,0" Height="80" VerticalAlignment="Top">
<Border Background="#18181b" CornerRadius="0" Margin="-1,-1,-1,0">
<ikw:SimpleStackPanel Orientation="Horizontal" VerticalAlignment="Center">
<!-- 显示侧边栏按钮 -->
<Button Width="40" Height="40" Margin="10,0,0,0" Style="{StaticResource NavButton}"
Click="ShowNavSidebar_Click" ToolTip="{i18n:I18n Key=ShowNavSidebar}">
<Image Width="24" Height="24">
<Image.Source>
<DrawingImage>
<DrawingImage.Drawing>
<GeometryDrawing Brush="White"
Geometry="M4,11V13H16L10.5,18.5L11.92,19.92L19.84,12L11.92,4.08L10.5,5.5L16,11H4Z"/>
</DrawingImage.Drawing>
</DrawingImage>
</Image.Source>
</Image>
</Button>
<TextBlock Foreground="White" Margin="15,-2,0,0" Text="{i18n:I18n Key=Settings_Title}" FontWeight="Bold"
FontSize="32" />
</ikw:SimpleStackPanel>
</Border>
<Canvas>
<Image Canvas.Top="12" Canvas.Right="-16" Width="98" Height="98" Opacity="0.4">
<Image.RenderTransform>
<!-- giving the transform a name tells the framework not to freeze it -->
<RotateTransform CenterX="49" CenterY="49" />
</Image.RenderTransform>
<Image.Source>
<DrawingImage>
<DrawingImage.Drawing>
<DrawingGroup ClipGeometry="M0,0 V257 H257 V0 H0 Z">
<GeometryDrawing Brush="GhostWhite"
Geometry="F0 M257,257z M0,0z M93.339,256.594L88.2444,215.634C85.4849,214.567 82.8846,213.287 80.4434,211.794 78.0023,210.301 75.6142,208.701 73.2793,206.994L35.3887,222.994 0.363831,162.194 33.1598,137.234C32.9476,135.741,32.8414,134.301,32.8414,132.914L32.8414,124.274C32.8414,122.887,32.9476,121.447,33.1598,119.954L0.363831,94.9941 35.3887,34.1941 73.2793,50.1941C75.6142,48.4874 78.0554,46.8874 80.6026,45.3941 83.1499,43.9007 85.6972,42.6207 88.2444,41.5541L93.339,0.594055 163.389,0.594055 168.483,41.5541C171.243,42.6207 173.843,43.9007 176.284,45.3941 178.725,46.8874 181.113,48.4874 183.448,50.1941L221.339,34.1941 256.364,94.9941 223.568,119.954C223.78,121.447,223.886,122.887,223.886,124.274L223.886,132.914C223.886,134.301,223.674,135.741,223.249,137.234L256.045,162.194 221.021,222.994 183.448,206.994C181.113,208.701 178.672,210.301 176.125,211.794 173.578,213.287 171.031,214.567 168.483,215.634L163.389,256.594 93.339,256.594z M160.523,160.274C151.82,169.021 141.312,173.394 129.001,173.394 116.477,173.394 105.916,169.021 97.3191,160.274 88.722,151.527 84.4235,140.967 84.4235,128.594 84.4235,116.221 88.722,105.661 97.3191,96.9141 105.916,88.1674 116.477,83.7941 129.001,83.7941 141.312,83.7941 151.82,88.1674 160.523,96.9141 169.226,105.661 173.578,116.221 173.578,128.594 173.578,140.967 169.226,151.527 160.523,160.274z" />
</DrawingGroup>
</DrawingImage.Drawing>
</DrawingImage>
</Image.Source>
<Image.Triggers>
<EventTrigger RoutedEvent="Loaded">
<BeginStoryboard>
<Storyboard>
<DoubleAnimation
Storyboard.TargetProperty="(Image.RenderTransform).(RotateTransform.Angle)"
To="-360" Duration="0:0:3" RepeatBehavior="Forever" />
</Storyboard>
</BeginStoryboard>
</EventTrigger>
</Image.Triggers>
</Image>
</Canvas>
</Grid>
<!-- 内容区域 -->
<ui:ScrollViewerEx Grid.Row="1" Margin="0,0,0,0" VerticalScrollBarVisibility="Auto"
PanningMode="VerticalOnly" ui:ThemeManager.RequestedTheme="Dark"
ManipulationBoundaryFeedback="SCManipulationBoundaryFeedback"
Name="SettingsPanelScrollViewer">
<StackPanel Margin="20,20,20,20">
<Border Margin="0,0,0,10" Height="100" CornerRadius="5" BorderBrush="#a1a1aa"
BorderThickness="1">
<ikw:SimpleStackPanel VerticalAlignment="Center">
<TextBlock Foreground="#fafafa" HorizontalAlignment="Center"
VerticalAlignment="Center" FontSize="15" Margin="0,0,0,10"
Text="{i18n:I18n Key=Settings_AutoSaveHint}" Width="360"
Style="{StaticResource AutoFitSettingsHint15}" />
<ikw:SimpleStackPanel Spacing="5">
<ikw:SimpleStackPanel Spacing="5" Orientation="Horizontal"
HorizontalAlignment="Center">
<Button Width="116" Height="45" FontFamily="Microsoft YaHei UI"
Click="BtnRestart_Click">
<Button.Resources>
</Button.Resources>
<ikw:SimpleStackPanel Orientation="Horizontal"
VerticalAlignment="Center"
HorizontalAlignment="Center" Spacing="0">
<Image RenderOptions.BitmapScalingMode="HighQuality"
Margin="0,0,6,0" Height="20" Width="20">
<Image.Source>
<DrawingImage>
<DrawingImage.Drawing>
<DrawingGroup ClipGeometry="M0,0 V24 H24 V0 H0 Z">
<GeometryDrawing Brush="White"
Geometry="F1 M24,24z M0,0z M6.34315,6.34315C7.84299,4.8433 9.87707,4.0005 11.9981,4 14.2527,4.00897 16.4167,4.88785 18.039,6.45324L18.5858,7 16,7C15.4477,7 15,7.44772 15,8 15,8.55228 15.4477,9 16,9L21,9C21.1356,9 21.2649,8.97301 21.3828,8.92412 21.5007,8.87532 21.6112,8.80298 21.7071,8.70711 21.8902,8.52405 21.9874,8.28768 21.9989,8.04797 21.9996,8.03199 22,8.016 22,8L22,3C22,2.44772 21.5523,2 21,2 20.4477,2 20,2.44772 20,3L20,5.58579 19.4471,5.03289 19.435,5.02103C17.4405,3.09289,14.7779,2.01044,12.0038,2L12,2C9.34784,2 6.8043,3.05357 4.92893,4.92893 3.05357,6.8043 2,9.34784 2,12 2,12.5523 2.44772,13 3,13 3.55228,13 4,12.5523 4,12 4,9.87827 4.84285,7.84344 6.34315,6.34315z" />
<GeometryDrawing Brush="White"
Geometry="F1 M24,24z M0,0z M22,12C22,14.6522 20.9464,17.1957 19.0711,19.0711 17.1957,20.9464 14.6522,22 12,22L11.9962,22C9.22213,21.9896,6.55946,20.9071,4.56496,18.979L4.55289,18.9671 4,18.4142 4,21C4,21.5523 3.55228,22 3,22 2.44772,22 2,21.5523 2,21L2,16.0002C2,15.8646 2.02699,15.7351 2.07588,15.6172 2.12432,15.5001 2.19595,15.3904 2.29078,15.295 2.29219,15.2936 2.2936,15.2922 2.29502,15.2908 2.48924,15.0977 2.74301,15.0008 2.997,15 2.998,15 2.999,15 3,15L8,15C8.55228,15 9,15.4477 9,16 9,16.5523 8.55228,17 8,17L5.41421,17 5.96095,17.5467C7.5833,19.1122 9.74736,19.9911 12.002,20 14.123,19.9995 16.157,19.1567 17.6569,17.6569 19.1571,16.1566 20,14.1217 20,12 20,11.4477 20.4477,11 21,11 21.5523,11 22,11.4477 22,12z" />
</DrawingGroup>
</DrawingImage.Drawing>
</DrawingImage>
</Image.Source>
</Image>
<Label FontSize="16" Foreground="#fafafa"
VerticalAlignment="Center" FontFamily="Microsoft YaHei UI"
FontWeight="Bold" Content="{i18n:I18n Key=Btn_Restart}"/>
</ikw:SimpleStackPanel>
</Button>
<Button Width="116" Height="45" FontFamily="Microsoft YaHei UI"
Click="BtnResetToSuggestion_Click"
Margin="0,0,0,0">
<ikw:SimpleStackPanel Orientation="Horizontal"
VerticalAlignment="Center"
HorizontalAlignment="Center" Spacing="0">
<Image
Margin="0,0,4,0" RenderOptions.BitmapScalingMode="HighQuality"
Height="20" Width="20">
<Image.Source>
<DrawingImage>
<DrawingImage.Drawing>
<DrawingGroup ClipGeometry="M0,0 V24 H24 V0 H0 Z">
<GeometryDrawing Brush="White"
Geometry="F1 M24,24z M0,0z M2,6C2,5.44772,2.44772,5,3,5L21,5C21.5523,5 22,5.44772 22,6 22,6.55228 21.5523,7 21,7L3,7C2.44772,7,2,6.55228,2,6z" />
<GeometryDrawing Brush="White"
Geometry="F1 M24,24z M0,0z M2,12C2,11.4477,2.44772,11,3,11L7,11C7.55228,11 8,11.4477 8,12 8,12.5523 7.55228,13 7,13L3,13C2.44772,13,2,12.5523,2,12z" />
<GeometryDrawing Brush="White"
Geometry="F1 M24,24z M0,0z M3,17C2.44772,17 2,17.4477 2,18 2,18.5523 2.44772,19 3,19L7,19C7.55228,19 8,18.5523 8,18 8,17.4477 7.55228,17 7,17L3,17z" />
<GeometryDrawing Brush="White"
Geometry="F1 M24,24z M0,0z M12.3829,11.2029C13.4335,10.1522 14.8952,9.5 16.5,9.5 17.9587,9.5 19.3576,10.0795 20.3891,11.1109 21.4205,12.1424 22,13.5413 22,15 22,16.2593 21.6038,17.4867 20.8675,18.5083 20.1311,19.5299 19.092,20.2939 17.8974,20.6921 16.7027,21.0903 15.413,21.1026 14.211,20.7271 13.009,20.3516 11.9556,19.6074 11.2,18.6 10.8686,18.1582 10.9582,17.5314 11.4,17.2 11.8418,16.8686 12.4686,16.9582 12.8,17.4 13.3037,18.0716 14.006,18.5677 14.8073,18.8181 15.6087,19.0684 16.4685,19.0602 17.2649,18.7947 18.0614,18.5292 18.7541,18.0199 19.245,17.3388 19.7359,16.6578 20,15.8395 20,15 20,14.0717 19.6313,13.1815 18.9749,12.5251 18.3185,11.8687 17.4283,11.5 16.5,11.5 15.4448,11.5 14.4865,11.9278 13.7971,12.6171L13.4142,13 15,13C15.5523,13 16,13.4477 16,14 16,14.5523 15.5523,15 15,15L11.0007,15C10.9997,15 10.998,15 10.997,15 10.8625,14.9996 10.7343,14.9727 10.6172,14.9241 10.5001,14.8757 10.3904,14.804 10.295,14.7092 10.2936,14.7078 10.2922,14.7064 10.2908,14.705 10.196,14.6096 10.1243,14.4999 10.0759,14.3828 10.027,14.2649 10,14.1356 10,14L10,10C10,9.44772 10.4477,9 11,9 11.5523,9 12,9.44772 12,10L12,11.5858 12.3829,11.2029z" />
</DrawingGroup>
</DrawingImage.Drawing>
</DrawingImage>
</Image.Source>
</Image>
<Label Margin="2,0,0,0" FontSize="16" VerticalAlignment="Center"
FontFamily="Microsoft YaHei UI" Content="{i18n:I18n Key=Btn_Reset}"/>
</ikw:SimpleStackPanel>
</Button>
<Button Width="116" Height="45" FontFamily="Microsoft YaHei UI"
Click="BtnExit_Click">
<Button.Resources>
</Button.Resources>
<ikw:SimpleStackPanel Orientation="Horizontal"
VerticalAlignment="Center"
HorizontalAlignment="Center" Spacing="0">
<Image RenderOptions.BitmapScalingMode="HighQuality"
Margin="0,0,6,0" Height="20" Width="20">
<Image.Source>
<DrawingImage>
<DrawingImage.Drawing>
<DrawingGroup ClipGeometry="M0,0 V24 H24 V0 H0 Z">
<GeometryDrawing Brush="White"
Geometry="F1 M24,24z M0,0z M13,2C13,1.44772 12.5523,1 12,1 11.4477,1 11,1.44772 11,2L11,12C11,12.5523 11.4477,13 12,13 12.5523,13 13,12.5523 13,12L13,2z" />
<GeometryDrawing Brush="White"
Geometry="F1 M24,24z M0,0z M19.1073,5.89303C18.7168,5.50243 18.0837,5.50232 17.6931,5.89277 17.3025,6.28322 17.3024,6.91639 17.6928,7.30698 18.8098,8.42441 19.571,9.84758 19.8802,11.397 20.1894,12.9464 20.0329,14.5528 19.4305,16.0134 18.828,17.474 17.8065,18.7235 16.4948,19.6043 15.1831,20.4851 13.64,20.9578 12.06,20.9628 10.48,20.9677 8.93392,20.5047 7.61674,19.6321 6.29956,18.7595 5.27025,17.5164 4.65863,16.0596 4.04701,14.6028 3.88046,12.9975 4.17999,11.4462 4.47952,9.89485 5.23171,8.46694 6.3417,7.34254 6.7297,6.9495 6.72562,6.31635 6.33258,5.92835 5.93955,5.54036 5.3064,5.54444 4.9184,5.93747 3.5309,7.34298 2.59067,9.12786 2.21626,11.067 1.84185,13.0062 2.05003,15.0128 2.81456,16.8338 3.57909,18.6549 4.86572,20.2087 6.5122,21.2994 8.15867,22.3902 10.0913,22.9689 12.0662,22.9627 14.0412,22.9566 15.9701,22.3657 17.6098,21.2647 19.2494,20.1637 20.5262,18.6018 21.2793,16.776 22.0324,14.9502 22.2281,12.9424 21.8415,11.0056 21.455,9.06878 20.5036,7.28981 19.1073,5.89303z" />
</DrawingGroup>
</DrawingImage.Drawing>
</DrawingImage>
</Image.Source>
</Image>
<Label Foreground="#fafafa" FontSize="16"
VerticalAlignment="Center" FontFamily="Microsoft YaHei UI"
FontWeight="Bold" Content="{i18n:I18n Key=Btn_Exit}"/>
</ikw:SimpleStackPanel>
</Button>
</ikw:SimpleStackPanel>
</ikw:SimpleStackPanel>
</ikw:SimpleStackPanel>
</Border>
<GroupBox Name="GroupBoxModeSettings">
<GroupBox.Header>
<TextBlock Margin="0,12,0,0" Text="{i18n:I18n Key=Settings_Mode}" FontWeight="Bold" Foreground="#fafafa"
FontSize="26" />
</GroupBox.Header>
<ikw:SimpleStackPanel Spacing="6" Margin="0,10,0,0">
<TextBlock TextWrapping="Wrap" Margin="0,0,0,10" Foreground="#fafafa" Text="{i18n:I18n Key=Settings_ModeDesc}"/>
<ikw:SimpleStackPanel Orientation="Horizontal" HorizontalAlignment="Left" Margin="0,10,0,0">
<TextBlock Text="{i18n:I18n Key=Mode_Normal}" VerticalAlignment="Center" Foreground="#fafafa"
FontSize="14" Margin="0,0,8,0"/>
<ui:ToggleSwitch x:Name="ToggleSwitchMode"
OnContent="{i18n:I18n Key=Mode_PPTOnly}" OffContent="{i18n:I18n Key=Mode_PPTOnly}"
IsOn="False"
FontFamily="Microsoft YaHei UI" FontWeight="Bold"
Toggled="ToggleSwitchMode_Toggled"/>
</ikw:SimpleStackPanel>
</ikw:SimpleStackPanel>
</GroupBox>
<GroupBox Name="GroupBoxNewSettings">
<GroupBox.Header>
<TextBlock Margin="0,12,0,0" Text="{i18n:I18n Key=Settings_NewWindow}" FontWeight="Bold" Foreground="#fafafa"
FontSize="26" />
</GroupBox.Header>
<ikw:SimpleStackPanel Spacing="6" Margin="0,10,0,0">
<TextBlock TextWrapping="Wrap" Margin="0,0,0,10" Foreground="#fafafa" Text="{i18n:I18n Key=Settings_NewWindowDesc}"/>
<Button x:Name="BtnOpenNewSettings" Content="{i18n:I18n Key=Btn_OpenNewSettings}"
HorizontalAlignment="Left" Click="BtnOpenNewSettings_Click"
Padding="15,5" Margin="0,10,0,0"/>
</ikw:SimpleStackPanel>
</GroupBox>
<GroupBox Name="GroupBoxPlugins">
<GroupBox.Header>
<TextBlock Margin="0,12,0,0" Text="{i18n:I18n Key=Settings_Plugins}" FontWeight="Bold" Foreground="#fafafa"
FontSize="26" />
</GroupBox.Header>
<ikw:SimpleStackPanel Spacing="6" Margin="0,10,0,0">
<TextBlock TextWrapping="Wrap" Margin="0,0,0,10" Foreground="#fafafa" Text="{i18n:I18n Key=Settings_PluginsDesc}"/>
<Button x:Name="BtnOpenPluginManager" Content="{i18n:I18n Key=Btn_OpenPluginManager}"
HorizontalAlignment="Left" Click="BtnOpenPluginManager_Click"
Padding="15,5" Margin="0,10,0,0"/>
</ikw:SimpleStackPanel>
</GroupBox>
<GroupBox Name="GroupBoxStartup">
<GroupBox.Header>
<TextBlock Margin="0,12,0,0" Text="{i18n:I18n Key=Startup_Start}" FontWeight="Bold" Foreground="#fafafa"
FontSize="26" />
</GroupBox.Header>
<ikw:SimpleStackPanel Spacing="6">
<ikw:SimpleStackPanel Orientation="Horizontal" HorizontalAlignment="Left">
<TextBlock Foreground="#fafafa" Text="{i18n:I18n Key=Startup_NoFocusMode}" VerticalAlignment="Center"
FontSize="14" Margin="0,0,16,0" />
<ui:ToggleSwitch OnContent="" OffContent="" Name="ToggleSwitchNoFocusMode"
IsOn="False" FontFamily="Microsoft YaHei UI" FontWeight="Bold"
Toggled="ToggleSwitchNoFocusMode_Toggled" />
</ikw:SimpleStackPanel>
<ikw:SimpleStackPanel Orientation="Horizontal" HorizontalAlignment="Left">
<TextBlock Foreground="#fafafa" Text="{i18n:I18n Key=Startup_NoBorderMode}" VerticalAlignment="Center"
FontSize="14" Margin="0,0,16,0" />
<ui:ToggleSwitch OnContent="" OffContent="" Name="ToggleSwitchWindowMode"
IsOn="True" FontFamily="Microsoft YaHei UI" FontWeight="Bold"
Toggled="ToggleSwitchWindowMode_Toggled" />
</ikw:SimpleStackPanel>
<ikw:SimpleStackPanel Orientation="Horizontal" HorizontalAlignment="Left">
<TextBlock Foreground="#fafafa" Text="{i18n:I18n Key=Startup_TopMost}" VerticalAlignment="Center"
FontSize="14" Margin="0,0,16,0" />
<ui:ToggleSwitch OnContent="" OffContent="" Name="ToggleSwitchAlwaysOnTop"
IsOn="True" FontFamily="Microsoft YaHei UI" FontWeight="Bold"
Toggled="ToggleSwitchAlwaysOnTop_Toggled" />
</ikw:SimpleStackPanel>
<ikw:SimpleStackPanel Orientation="Horizontal" HorizontalAlignment="Left" Name="UIAccessTopMostPanel" Visibility="Collapsed">
<TextBlock Foreground="#fafafa" Text="{i18n:I18n Key=Startup_UIATopMost}" VerticalAlignment="Center"
FontSize="14" Margin="0,0,16,0" />
<ui:ToggleSwitch OnContent="" OffContent="" Name="ToggleSwitchUIAccessTopMost"
IsOn="False" FontFamily="Microsoft YaHei UI" FontWeight="Bold"
Toggled="ToggleSwitchUIAccessTopMost_Toggled" />
</ikw:SimpleStackPanel>
<TextBlock Name="UIAccessTopMostDescription" Text="{i18n:I18n Key=Startup_UIAccessTopMostHint}" TextWrapping="Wrap" Foreground="#a1a1aa" Visibility="Collapsed" />
<ui:ToggleSwitch OnContent="" OffContent=""
Name="ToggleSwitchIsAutoUpdate" Header="{i18n:I18n Key=Header_AutoUpdate}"
FontFamily="Microsoft YaHei UI"
Toggled="ToggleSwitchIsAutoUpdate_Toggled" />
<ui:ToggleSwitch OnContent="" OffContent=""
Name="ToggleSwitchIsAutoUpdateWithSilence" Header="{i18n:I18n Key=Header_SilentUpdate}"
FontFamily="Microsoft YaHei UI"
Toggled="ToggleSwitchIsAutoUpdateWithSilence_Toggled" />
<TextBlock Text="{i18n:I18n Key=Startup_SilentUpdateHint}" TextWrapping="Wrap" Foreground="#a1a1aa" />
<!-- 更新包架构 -->
<ikw:SimpleStackPanel Spacing="8" Margin="0,8,0,0">
<TextBlock Text="{i18n:I18n Key=Startup_UpdatePackageArchitecture}" FontSize="15" FontWeight="Bold" Foreground="#fafafa"/>
<ui:RadioButtons x:Name="UpdatePackageArchitectureSelector" Margin="0,4,0,0">
<RadioButton Content="{i18n:I18n Key=Update_PackageArch_X86}" GroupName="UpdatePackageArchitecture"
Tag="X86" Checked="UpdatePackageArchitectureSelector_Checked"/>
<RadioButton Content="{i18n:I18n Key=Update_PackageArch_X64}" GroupName="UpdatePackageArchitecture"
Tag="X64" Checked="UpdatePackageArchitectureSelector_Checked"/>
</ui:RadioButtons>
<TextBlock Text="{i18n:I18n Key=Startup_UpdatePackageArchitectureHint}" TextWrapping="Wrap" Foreground="#a1a1aa" />
</ikw:SimpleStackPanel>
<!-- 更新通道选择 -->
<ikw:SimpleStackPanel Spacing="8" Margin="0,8,0,0">
<TextBlock Text="{i18n:I18n Key=Startup_UpdateChannel}" FontSize="15" FontWeight="Bold" Foreground="#fafafa"/>
<ui:RadioButtons x:Name="UpdateChannelSelector" Margin="0,4,0,0">
<RadioButton Content="{i18n:I18n Key=Update_Release}" GroupName="UpdateChannel"
Tag="Release" Checked="UpdateChannelSelector_Checked"/>
<RadioButton Content="{i18n:I18n Key=Update_Preview}" GroupName="UpdateChannel"
Tag="Preview" Checked="UpdateChannelSelector_Checked"/>
<RadioButton Content="{i18n:I18n Key=Update_Beta}" GroupName="UpdateChannel"
Tag="Beta" Checked="UpdateChannelSelector_Checked"/>
</ui:RadioButtons>
<TextBlock Text="{i18n:I18n Key=Startup_UpdateChannelHint}" TextWrapping="Wrap" Foreground="#a1a1aa" />
</ikw:SimpleStackPanel>
<!-- 手动更新按钮 -->
<Button x:Name="ManualUpdateButton" Content="{i18n:I18n Key=Btn_ManualUpdate}" Margin="0,8,0,0"
Width="220" HorizontalAlignment="Left" Click="ManualUpdateButton_Click"
Visibility="{Binding ElementName=ToggleSwitchIsAutoUpdate, Path=IsOn, Converter={StaticResource InverseBooleanToVisibilityConverter}}"/>
<TextBlock Text="{i18n:I18n Key=Startup_ManualUpdateHint}"
TextWrapping="Wrap" Foreground="#a1a1aa"
Visibility="{Binding ElementName=ToggleSwitchIsAutoUpdate, Path=IsOn, Converter={StaticResource InverseBooleanToVisibilityConverter}}"/>
<!-- 版本修复按钮 -->
<Button x:Name="FixVersionButton" Content="{i18n:I18n Key=Btn_FixVersion}" Margin="0,8,0,0"
Width="220" HorizontalAlignment="Left" Click="FixVersionButton_Click"/>
<TextBlock Text="{i18n:I18n Key=Startup_FixVersionHint}"
TextWrapping="Wrap" Foreground="#a1a1aa" />
<Button x:Name="HistoryRollbackButton" Content="{i18n:I18n Key=Btn_HistoryRollback}" Width="220" Margin="0,10,0,0" Click="HistoryRollbackButton_Click"/>
<TextBlock Text="{i18n:I18n Key=Startup_HistoryRollbackHint}"
TextWrapping="Wrap" Foreground="#a1a1aa" />
<Border BorderBrush="White" BorderThickness="1" CornerRadius="5" Padding="12"
Visibility="{Binding ElementName=ToggleSwitchIsAutoUpdateWithSilence, Path=IsOn, Converter={StaticResource BooleanToVisibilityConverter}}">
<ikw:SimpleStackPanel Spacing="12">
<TextBlock
Text="{i18n:I18n Key=Startup_SilentUpdateFullHint}"
TextWrapping="Wrap" Foreground="#a1a1aa" />
<ikw:SimpleStackPanel x:Name="AutoUpdateTimePeriodBlock" Spacing="12">
<ikw:SimpleStackPanel Spacing="12">
<TextBlock Text="{i18n:I18n Key=Startup_SilentUpdateTimePeriod}" FontSize="15" FontWeight="Bold"
TextWrapping="Wrap" Foreground="#fafafa" />
<ikw:SimpleStackPanel Orientation="Horizontal" Spacing="12">
<ikw:SimpleStackPanel Orientation="Horizontal">
<TextBlock Margin="0,0,10,0" VerticalAlignment="Center"
Text="{i18n:I18n Key=Startup_StartTime}" FontSize="14" TextWrapping="Wrap"
Foreground="#fafafa" />
<ComboBox x:Name="AutoUpdateWithSilenceStartTimeComboBox"
Width="90"
SelectionChanged="AutoUpdateWithSilenceStartTimeComboBox_SelectionChanged" />
</ikw:SimpleStackPanel>
<ikw:SimpleStackPanel Orientation="Horizontal">
<TextBlock Margin="0,0,10,0" VerticalAlignment="Center"
Text="{i18n:I18n Key=Startup_EndTime}" FontSize="14" TextWrapping="Wrap"
Foreground="#fafafa" />
<ComboBox x:Name="AutoUpdateWithSilenceEndTimeComboBox"
Width="90"
SelectionChanged="AutoUpdateWithSilenceEndTimeComboBox_SelectionChanged" />
</ikw:SimpleStackPanel>
</ikw:SimpleStackPanel>
<TextBlock Width="340" HorizontalAlignment="Left"
Text="{i18n:I18n Key=Startup_TimePeriodHint}"
TextWrapping="Wrap" Foreground="#a1a1aa" />
</ikw:SimpleStackPanel>
</ikw:SimpleStackPanel>
</ikw:SimpleStackPanel>
</Border>
<ikw:SimpleStackPanel Orientation="Horizontal" HorizontalAlignment="Left">
<TextBlock Foreground="#fafafa" Text="{i18n:I18n Key=Startup_RunAtStartup}" VerticalAlignment="Center"
FontSize="14" Margin="0,0,16,0" />
<ui:ToggleSwitch OnContent="" OffContent="" Name="ToggleSwitchRunAtStartup"
IsOn="True" FontFamily="Microsoft YaHei UI" FontWeight="Bold"
Toggled="ToggleSwitchRunAtStartup_Toggled" />
</ikw:SimpleStackPanel>
<ikw:SimpleStackPanel Orientation="Horizontal" HorizontalAlignment="Left">
<TextBlock Foreground="#fafafa" Text="{i18n:I18n Key=Startup_FoldAtStartup}" VerticalAlignment="Center"
FontSize="14" Margin="0,0,16,0" />
<ui:ToggleSwitch OnContent="" OffContent="" Name="ToggleSwitchFoldAtStartup"
IsOn="True" FontFamily="Microsoft YaHei UI" FontWeight="Bold"
Toggled="ToggleSwitchFoldAtStartup_Toggled" />
</ikw:SimpleStackPanel>
<!--
<ui:ToggleSwitch OnContent="" OffContent="" Name="ToggleSwitchAutoHideCanvas" Header="自动隐藏画板" FontFamily="Microsoft YaHei UI" Toggled="ToggleSwitchAutoHideCanvas_Toggled"/>
<ui:ToggleSwitch OnContent="" OffContent="" Name="ToggleSwitchAutoEnterModeFinger" Header="自动进入手指模式" FontFamily="Microsoft YaHei UI" Toggled="ToggleSwitchAutoEnterModeFinger_Toggled"/>
-->
</ikw:SimpleStackPanel>
</GroupBox>
<GroupBox Name="GroupBoxCanvas">
<GroupBox.Header>
<TextBlock Margin="0,12,0,0" Text="{i18n:I18n Key=Canvas_GroupTitle}" FontWeight="Bold" Foreground="#fafafa"
FontSize="26" />
</GroupBox.Header>
<ikw:SimpleStackPanel Spacing="6">
<ikw:SimpleStackPanel Orientation="Horizontal" HorizontalAlignment="Left">
<TextBlock Foreground="#fafafa" Text="{i18n:I18n Key=Canvas_ShowCursor}" VerticalAlignment="Center"
FontSize="14" Margin="0,0,16,0" />
<ui:ToggleSwitch OnContent="" OffContent="" Name="ToggleSwitchShowCursor"
IsOn="True" FontFamily="Microsoft YaHei UI" FontWeight="Bold"
Toggled="ToggleSwitchShowCursor_Toggled" />
</ikw:SimpleStackPanel>
<ikw:SimpleStackPanel Orientation="Horizontal" HorizontalAlignment="Left">
<TextBlock Foreground="#fafafa" Text="{i18n:I18n Key=Canvas_EnablePressureTouch}" VerticalAlignment="Center"
FontSize="14" Margin="0,0,16,0" />
<ui:ToggleSwitch OnContent="" OffContent="" Name="ToggleSwitchEnablePressureTouchMode"
IsOn="True" FontFamily="Microsoft YaHei UI" FontWeight="Bold"
Toggled="ToggleSwitchEnablePressureTouchMode_Toggled" />
</ikw:SimpleStackPanel>
<TextBlock Text="{i18n:I18n Key=Canvas_EnablePressureTouchHint}" TextWrapping="Wrap" Foreground="#a1a1aa" />
<ikw:SimpleStackPanel Orientation="Horizontal" HorizontalAlignment="Left">
<TextBlock Foreground="#fafafa" Text="{i18n:I18n Key=Canvas_DisablePressure}" VerticalAlignment="Center"
FontSize="14" Margin="0,0,16,0" />
<ui:ToggleSwitch OnContent="" OffContent="" Name="ToggleSwitchDisablePressure"
IsOn="True" FontFamily="Microsoft YaHei UI" FontWeight="Bold"
Toggled="ToggleSwitchDisablePressure_Toggled" />
</ikw:SimpleStackPanel>
<TextBlock Text="{i18n:I18n Key=Canvas_DisablePressureHint}" TextWrapping="Wrap" Foreground="#a1a1aa" />
<ikw:SimpleStackPanel Orientation="Horizontal" HorizontalAlignment="Left">
<TextBlock Foreground="#fafafa" Text="{i18n:I18n Key=Canvas_EraserSize}" VerticalAlignment="Center"
FontSize="14" Margin="0,0,16,0" />
<ComboBox Name="ComboBoxEraserSize" FontFamily="Microsoft YaHei UI"
SelectedIndex="2"
SelectionChanged="ComboBoxEraserSize_SelectionChanged">
<ComboBoxItem Content="{i18n:I18n Key=Canvas_EraserSize_VerySmall}" FontFamily="Microsoft YaHei UI" />
<ComboBoxItem Content="{i18n:I18n Key=Canvas_EraserSize_Small}" FontFamily="Microsoft YaHei UI" />
<ComboBoxItem Content="{i18n:I18n Key=Canvas_EraserSize_Medium}" FontFamily="Microsoft YaHei UI" />
<ComboBoxItem Content="{i18n:I18n Key=Canvas_EraserSize_Large}" FontFamily="Microsoft YaHei UI" />
<ComboBoxItem Content="{i18n:I18n Key=Canvas_EraserSize_VeryLarge}" FontFamily="Microsoft YaHei UI" />
</ComboBox>
</ikw:SimpleStackPanel>
<TextBlock Text="{i18n:I18n Key=Canvas_EraserSizeHint}" TextWrapping="Wrap" Foreground="#a1a1aa" />
<Line HorizontalAlignment="Center" X1="0" Y1="0" X2="400" Y2="0" Stroke="#3f3f46"
StrokeThickness="1" Margin="0,4,0,4" />
<ikw:SimpleStackPanel Orientation="Horizontal" HorizontalAlignment="Left">
<TextBlock Foreground="#fafafa" Text="{i18n:I18n Key=Canvas_HideStrokeWhenSelecting}" VerticalAlignment="Center"
FontSize="14" Margin="0,0,16,0" />
<ui:ToggleSwitch OnContent="" OffContent=""
Name="ToggleSwitchHideStrokeWhenSelecting" IsOn="True"
FontFamily="Microsoft YaHei UI" FontWeight="Bold"
Toggled="ToggleSwitchHideStrokeWhenSelecting_Toggled" />
</ikw:SimpleStackPanel>
<TextBlock Text="{i18n:I18n Key=Canvas_HideStrokeWhenSelectingHint}"
TextWrapping="Wrap" Foreground="#a1a1aa" />
<ikw:SimpleStackPanel Orientation="Horizontal" HorizontalAlignment="Left">
<TextBlock Foreground="#fafafa" Text="{i18n:I18n Key=Canvas_ClearInkAlsoClearHistory}" VerticalAlignment="Center"
FontSize="14" Margin="0,0,16,0" />
<ui:ToggleSwitch OnContent="" OffContent=""
Name="ToggleSwitchClearCanvasAndClearTimeMachine" IsOn="True"
FontFamily="Microsoft YaHei UI" FontWeight="Bold"
Toggled="ToggleSwitchClearCanvasAndClearTimeMachine_Toggled" />
</ikw:SimpleStackPanel>
<ikw:SimpleStackPanel Orientation="Horizontal" HorizontalAlignment="Left">
<TextBlock Foreground="#fafafa" Text="{i18n:I18n Key=Canvas_ClearCanvasAlsoClearImages}" VerticalAlignment="Center" FontSize="14" Margin="0,0,16,0" />
<ui:ToggleSwitch OnContent="" OffContent="" Name="ToggleSwitchClearCanvasAlsoClearImages"
IsOn="False" FontFamily="Microsoft YaHei UI" FontWeight="Bold"
Toggled="ToggleSwitchClearCanvasAlsoClearImages_Toggled" />
</ikw:SimpleStackPanel>
<ikw:SimpleStackPanel Orientation="Horizontal" HorizontalAlignment="Left">
<TextBlock Foreground="#fafafa" Text="{i18n:I18n Key=Canvas_CompressPicturesUploaded}" VerticalAlignment="Center"
FontSize="14" Margin="0,0,8,0" Width="320"
Style="{StaticResource AutoFitSettingsOptionLabel14}" />
<ui:ToggleSwitch OnContent="" OffContent="" Name="ToggleSwitchCompressPicturesUploaded"
IsOn="True" FontFamily="Microsoft YaHei UI" FontWeight="Bold"
Toggled="ToggleSwitchCompressPicturesUploaded_Toggled" />
</ikw:SimpleStackPanel>
<Line HorizontalAlignment="Center" X1="0" Y1="0" X2="400" Y2="0" Stroke="#3f3f46"
StrokeThickness="1" Margin="0,4,0,4" />
<ikw:SimpleStackPanel Orientation="Horizontal" HorizontalAlignment="Left">
<TextBlock Foreground="#fafafa" Text="{i18n:I18n Key=Canvas_KeepHyperbolaAsymptote}" VerticalAlignment="Center"
FontSize="14" Margin="0,0,16,0" />
<ComboBox Name="ComboBoxHyperbolaAsymptoteOption"
FontFamily="Microsoft YaHei UI" SelectedIndex="0"
SelectionChanged="ComboBoxHyperbolaAsymptoteOption_SelectionChanged">
<ComboBoxItem Content="{i18n:I18n Key=Canvas_Yes}" FontFamily="Microsoft YaHei UI" />
<ComboBoxItem Content="{i18n:I18n Key=Canvas_No}" FontFamily="Microsoft YaHei UI" />
<ComboBoxItem Content="{i18n:I18n Key=Canvas_AskEachTime}" FontFamily="Microsoft YaHei UI" />
</ComboBox>
</ikw:SimpleStackPanel>
<TextBlock Text="{i18n:I18n Key=Canvas_HyperbolaAsymptoteHint}" TextWrapping="Wrap"
Foreground="#a1a1aa" />
<ikw:SimpleStackPanel Orientation="Horizontal" HorizontalAlignment="Left">
<TextBlock Foreground="#fafafa" Text="{i18n:I18n Key=Canvas_ShowCircleCenter}" VerticalAlignment="Center" FontSize="14" Margin="0,0,16,0" />
<ui:ToggleSwitch OnContent="" OffContent="" Name="ToggleSwitchShowCircleCenter"
IsOn="True" FontFamily="Microsoft YaHei UI" FontWeight="Bold"
Toggled="ToggleSwitchShowCircleCenter_Toggled" />
</ikw:SimpleStackPanel>
<ikw:SimpleStackPanel Orientation="Horizontal" HorizontalAlignment="Left">
<TextBlock Foreground="#fafafa" Text="{i18n:I18n Key=Canvas_WPFBezierSmoothing}"
VerticalAlignment="Center" FontSize="14" Margin="0,0,16,0" />
<ui:ToggleSwitch OnContent="" OffContent="" Name="ToggleSwitchFitToCurve"
IsOn="False" FontFamily="Microsoft YaHei UI" FontWeight="Bold"
Toggled="ToggleSwitchFitToCurve_Toggled" />
</ikw:SimpleStackPanel>
<ikw:SimpleStackPanel Orientation="Horizontal" HorizontalAlignment="Left">
<TextBlock Foreground="#fafafa" Text="{i18n:I18n Key=Canvas_AdvancedBezierSmoothing}"
VerticalAlignment="Center" FontSize="14" Margin="0,0,16,0" />
<ui:ToggleSwitch OnContent="" OffContent="" Name="ToggleSwitchAdvancedBezierSmoothing"
IsOn="True" FontFamily="Microsoft YaHei UI" FontWeight="Bold"
Toggled="ToggleSwitchAdvancedBezierSmoothing_Toggled" />
</ikw:SimpleStackPanel>
<Line HorizontalAlignment="Center" X1="0" Y1="0" X2="400" Y2="0" Stroke="#3f3f46"
StrokeThickness="1" Margin="0,4,0,4" />
<ikw:SimpleStackPanel Orientation="Horizontal" HorizontalAlignment="Left">
<TextBlock Foreground="#fafafa" Text="{i18n:I18n Key=Canvas_EnableInkFade}" VerticalAlignment="Center"
FontSize="14" Margin="0,0,16,0" />
<ui:ToggleSwitch OnContent="" OffContent="" Name="ToggleSwitchEnableInkFade"
IsOn="False" FontFamily="Microsoft YaHei UI" FontWeight="Bold"
Toggled="ToggleSwitchEnableInkFade_Toggled" />
</ikw:SimpleStackPanel>
<TextBlock Text="{i18n:I18n Key=Canvas_EnableInkFadeHint}" TextWrapping="Wrap" Foreground="#a1a1aa" />
<ikw:SimpleStackPanel Orientation="Horizontal" HorizontalAlignment="Left"
Visibility="{Binding ElementName=ToggleSwitchEnableInkFade, Path=IsOn, Converter={StaticResource BooleanToVisibilityConverter}}">
<TextBlock Foreground="#fafafa" Text="{i18n:I18n Key=Canvas_InkFadeTime}" VerticalAlignment="Center"
FontSize="14" Margin="0,0,16,0" />
<Slider Name="InkFadeTimeSlider" Width="150" Minimum="1000" Maximum="10000"
Value="3000" TickFrequency="1000" IsSnapToTickEnabled="True"
ValueChanged="InkFadeTimeSlider_ValueChanged" />
<TextBlock Foreground="#fafafa" Text="{Binding ElementName=InkFadeTimeSlider, Path=Value, StringFormat={}{0:0}ms}"
VerticalAlignment="Center" FontSize="14" Margin="16,0,0,0" />
</ikw:SimpleStackPanel>
<Line HorizontalAlignment="Center" X1="0" Y1="0" X2="400" Y2="0" Stroke="#3f3f46"
StrokeThickness="1" Margin="0,4,0,4" />
<ikw:SimpleStackPanel Orientation="Horizontal" HorizontalAlignment="Left">
<TextBlock Foreground="#fafafa" Text="{i18n:I18n Key=Canvas_HideInkFadeInPenMenu}" VerticalAlignment="Center"
FontSize="14" Margin="0,0,16,0" />
<ui:ToggleSwitch OnContent="" OffContent="" Name="ToggleSwitchHideInkFadeControlInPenMenu"
IsOn="False" FontFamily="Microsoft YaHei UI" FontWeight="Bold"
Toggled="ToggleSwitchHideInkFadeControlInPenMenu_Toggled" />
</ikw:SimpleStackPanel>
<TextBlock Text="{i18n:I18n Key=Canvas_HideInkFadeInPenMenuHint}" TextWrapping="Wrap" Foreground="#a1a1aa" />
<Line HorizontalAlignment="Center" X1="0" Y1="0" X2="400" Y2="0" Stroke="#3f3f46"
StrokeThickness="1" Margin="0,4,0,4" />
<ikw:SimpleStackPanel Orientation="Horizontal" HorizontalAlignment="Left">
<TextBlock Foreground="#fafafa" Text="{i18n:I18n Key=Canvas_BrushAutoRestore}" VerticalAlignment="Center"
FontSize="14" Margin="0,0,16,0" />
<ui:ToggleSwitch OnContent="" OffContent="" Name="ToggleSwitchBrushAutoRestore"
IsOn="False" FontFamily="Microsoft YaHei UI" FontWeight="Bold"
Toggled="ToggleSwitchBrushAutoRestore_Toggled" />
</ikw:SimpleStackPanel>
<TextBlock Text="{i18n:I18n Key=Canvas_BrushAutoRestoreHint}" TextWrapping="Wrap" Foreground="#a1a1aa" />
<ikw:SimpleStackPanel Orientation="Vertical" HorizontalAlignment="Left"
Spacing="4"
Visibility="{Binding ElementName=ToggleSwitchBrushAutoRestore, Path=IsOn, Converter={StaticResource BooleanToVisibilityConverter}}">
<TextBlock Foreground="#fafafa" Text="{i18n:I18n Key=Canvas_AutoRestoreTimePoints}"
FontSize="14" Margin="0,0,0,0" />
<TextBox Name="BrushAutoRestoreTimesTextBox" Width="260"
TextChanged="BrushAutoRestoreTimesTextBox_TextChanged" />
<TextBlock Foreground="#fafafa" Text="{i18n:I18n Key=Canvas_RestoreColor}" FontSize="14" Margin="0,8,0,0" />
<ComboBox Name="ComboBoxBrushAutoRestoreColor" Width="260"
SelectionChanged="ComboBoxBrushAutoRestoreColor_SelectionChanged">
<ComboBoxItem Content="{i18n:I18n Key=Canvas_Color_Default}" Tag="#FFFF0000" />
<ComboBoxItem Content="{i18n:I18n Key=Canvas_Color_Black}" Tag="#FF000000" />
<ComboBoxItem Content="{i18n:I18n Key=Canvas_Color_White}" Tag="#FFFFFFFF" />
<ComboBoxItem Content="{i18n:I18n Key=Canvas_Color_Red}" Tag="#FFFF0000" />
<ComboBoxItem Content="{i18n:I18n Key=Canvas_Color_Yellow}" Tag="#FFFFFF00" />
<ComboBoxItem Content="{i18n:I18n Key=Canvas_Color_Blue}" Tag="#FF2563EB" />
<ComboBoxItem Content="{i18n:I18n Key=Canvas_Color_Green}" Tag="#FF16A34A" />
<ComboBoxItem Content="{i18n:I18n Key=Canvas_Color_Orange}" Tag="#FFFB9650" />
<ComboBoxItem Content="{i18n:I18n Key=Canvas_Color_Purple}" Tag="#FF9333EA" />
</ComboBox>
<TextBlock Foreground="#fafafa" Text="{i18n:I18n Key=Canvas_RestoreWidth}" FontSize="14" Margin="0,8,0,0" />
<ikw:SimpleStackPanel Orientation="Horizontal" HorizontalAlignment="Left">
<Slider Name="BrushAutoRestoreWidthSlider" Width="200" Minimum="1" Maximum="20"
TickFrequency="1" IsSnapToTickEnabled="True"
Value="5"
ValueChanged="BrushAutoRestoreWidthSlider_ValueChanged" />
<TextBlock Foreground="#fafafa"
Text="{Binding ElementName=BrushAutoRestoreWidthSlider, Path=Value, StringFormat={}{0:0}px}"
FontSize="12" Margin="12,0,0,0" VerticalAlignment="Center" />
</ikw:SimpleStackPanel>
<TextBlock Foreground="#fafafa" Text="{i18n:I18n Key=Canvas_RestoreOpacity}" FontSize="14" Margin="0,8,0,0" />
<ikw:SimpleStackPanel Orientation="Horizontal" HorizontalAlignment="Left">
<Slider Name="BrushAutoRestoreAlphaSlider" Width="200" Minimum="0" Maximum="255"
TickFrequency="5" IsSnapToTickEnabled="True"
ValueChanged="BrushAutoRestoreAlphaSlider_ValueChanged" />
<TextBlock Foreground="#fafafa"
Text="{Binding ElementName=BrushAutoRestoreAlphaSlider, Path=Value, StringFormat={}{0:0}}"
FontSize="12" Margin="12,0,0,0" VerticalAlignment="Center" />
</ikw:SimpleStackPanel>
</ikw:SimpleStackPanel>
<Line HorizontalAlignment="Center" X1="0" Y1="0" X2="400" Y2="0" Stroke="#3f3f46"
StrokeThickness="1" Margin="0,4,0,4" />
<ikw:SimpleStackPanel Orientation="Horizontal" HorizontalAlignment="Left">
<TextBlock Foreground="#fafafa" Text="{i18n:I18n Key=Canvas_SwitchBackAfterEraser}" VerticalAlignment="Center"
FontSize="14" Margin="0,0,16,0" />
<ui:ToggleSwitch OnContent="" OffContent="" Name="ToggleSwitchEnableEraserAutoSwitchBack"
IsOn="False" FontFamily="Microsoft YaHei UI" FontWeight="Bold"
Toggled="ToggleSwitchEnableEraserAutoSwitchBack_Toggled" />
</ikw:SimpleStackPanel>
<TextBlock Text="{i18n:I18n Key=Canvas_SwitchBackAfterEraserHint}" TextWrapping="Wrap" Foreground="#a1a1aa" />
<ikw:SimpleStackPanel Orientation="Horizontal" HorizontalAlignment="Left"
Visibility="{Binding ElementName=ToggleSwitchEnableEraserAutoSwitchBack, Path=IsOn, Converter={StaticResource BooleanToVisibilityConverter}}">
<TextBlock Foreground="#fafafa" Text="{i18n:I18n Key=Canvas_SwitchBackDelay}" VerticalAlignment="Center"
FontSize="14" Margin="0,0,16,0" />
<Slider Name="EraserAutoSwitchBackDelaySlider" Width="150" Minimum="1" Maximum="60"
Value="10" TickFrequency="1" IsSnapToTickEnabled="True"
ValueChanged="EraserAutoSwitchBackDelaySlider_ValueChanged" />
<TextBlock Foreground="#fafafa" Text="{Binding ElementName=EraserAutoSwitchBackDelaySlider, Path=Value, StringFormat={}{0:0}秒}"
VerticalAlignment="Center" FontSize="14" Margin="16,0,0,0" />
</ikw:SimpleStackPanel>
<TextBlock Text="{i18n:I18n Key=Canvas_SwitchBackDelayHint}" TextWrapping="Wrap" Foreground="#a1a1aa"
Visibility="{Binding ElementName=ToggleSwitchEnableEraserAutoSwitchBack, Path=IsOn, Converter={StaticResource BooleanToVisibilityConverter}}" />
</ikw:SimpleStackPanel>
</GroupBox>
<!-- 崩溃后操作设置 -->
<GroupBox Name="GroupBoxCrashAction">
<GroupBox.Header>
<TextBlock Margin="0,12,0,0" Text="{i18n:I18n Key=Crash_Title}" FontWeight="Bold" Foreground="#fafafa"
FontSize="26" />
</GroupBox.Header>
<ikw:SimpleStackPanel Spacing="6">
<TextBlock Text="{i18n:I18n Key=Crash_Desc}" Foreground="#a1a1aa" TextWrapping="Wrap" Width="420" />
<StackPanel Orientation="Horizontal" HorizontalAlignment="Left" Margin="0,4,0,0">
<RadioButton x:Name="RadioCrashSilentRestart" GroupName="CrashAction"
Content="{i18n:I18n Key=Crash_SilentRestart}" FontSize="14" Margin="0,0,24,0"
Checked="RadioCrashAction_Checked"/>
<RadioButton x:Name="RadioCrashNoAction" GroupName="CrashAction"
Content="{i18n:I18n Key=Crash_NoAction}" FontSize="14"
Checked="RadioCrashAction_Checked"/>
</StackPanel>
<TextBlock Text="{i18n:I18n Key=Crash_Hint}" Foreground="#a1a1aa" TextWrapping="Wrap" Width="420" />
</ikw:SimpleStackPanel>
</GroupBox>
<GroupBox Name="GroupBoxGesture">
<GroupBox.Header>
<TextBlock Margin="0,12,0,0" Text="{i18n:I18n Key=Gesture_Title}" FontWeight="Bold" Foreground="#fafafa"
FontSize="26" />
</GroupBox.Header>
<ikw:SimpleStackPanel Spacing="6">
<ikw:SimpleStackPanel Orientation="Horizontal" HorizontalAlignment="Left">
<TextBlock Foreground="#fafafa" Text="{i18n:I18n Key=Gesture_AutoToggleTwoFinger}"
VerticalAlignment="Center" FontSize="14" Margin="0,0,8,0"
Width="320" Style="{StaticResource AutoFitSettingsOptionLabel14}" />
<ui:ToggleSwitch OnContent="" OffContent=""
Name="ToggleSwitchAutoSwitchTwoFingerGesture" IsOn="True"
FontFamily="Microsoft YaHei UI" FontWeight="Bold"
Toggled="ToggleSwitchAutoSwitchTwoFingerGesture_Toggled" />
</ikw:SimpleStackPanel>
<TextBlock Text="{i18n:I18n Key=Gesture_AutoToggleHint}" TextWrapping="Wrap"
Foreground="#a1a1aa" />
<Line HorizontalAlignment="Center" X1="0" Y1="0" X2="400" Y2="0" Stroke="#3f3f46"
StrokeThickness="1" Margin="0,4,0,4" />
<ikw:SimpleStackPanel Orientation="Horizontal" HorizontalAlignment="Left">
<TextBlock Foreground="#fafafa" Text="{i18n:I18n Key=Gesture_AllowRotateScale}"
VerticalAlignment="Center" FontSize="14" Margin="0,0,8,0"
Width="320" Style="{StaticResource AutoFitSettingsOptionLabel14}" />
<ui:ToggleSwitch OnContent="" OffContent=""
Name="ToggleSwitchEnableTwoFingerRotationOnSelection"
IsOn="True" FontFamily="Microsoft YaHei UI" FontWeight="Bold"
Toggled="ToggleSwitchEnableTwoFingerRotation_Toggled" />
</ikw:SimpleStackPanel>
<TextBlock Text="{i18n:I18n Key=Gesture_AllowRotateScaleHint}" TextWrapping="Wrap"
Foreground="#a1a1aa" />
<Line HorizontalAlignment="Center" X1="0" Y1="0" X2="400" Y2="0" Stroke="#3f3f46"
StrokeThickness="1" Margin="0,4,0,4" />
<ikw:SimpleStackPanel Orientation="Horizontal" HorizontalAlignment="Left">
<TextBlock Foreground="#fafafa" Text="{i18n:I18n Key=Gesture_EnablePalmEraser}" VerticalAlignment="Center"
FontSize="14" Margin="0,0,8,0"
Width="320" Style="{StaticResource AutoFitSettingsOptionLabel14}" />
<ui:ToggleSwitch OnContent="" OffContent="" Name="ToggleSwitchEnablePalmEraser"
IsOn="False" FontFamily="Microsoft YaHei UI" FontWeight="Bold"
Toggled="ToggleSwitchEnablePalmEraser_Toggled" />
</ikw:SimpleStackPanel>
<TextBlock Text="{i18n:I18n Key=Gesture_PalmHint}" TextWrapping="Wrap" Foreground="#a1a1aa" />
<ikw:SimpleStackPanel Orientation="Horizontal" HorizontalAlignment="Left"
Visibility="{Binding ElementName=ToggleSwitchEnablePalmEraser, Path=IsOn, Converter={StaticResource BooleanToVisibilityConverter}}">
<TextBlock Foreground="#fafafa" Text="{i18n:I18n Key=Gesture_PalmSensitivity}" VerticalAlignment="Center"
FontSize="14" Margin="0,0,16,0" />
<ComboBox Name="ComboBoxPalmEraserSensitivity" Width="120" SelectionChanged="ComboBoxPalmEraserSensitivity_SelectionChanged">
<ComboBoxItem Content="{i18n:I18n Key=Gesture_PalmSensitivityLow}" />
<ComboBoxItem Content="{i18n:I18n Key=Gesture_PalmSensitivityMedium}" />
<ComboBoxItem Content="{i18n:I18n Key=Gesture_PalmSensitivityHigh}" />
</ComboBox>
</ikw:SimpleStackPanel>
<TextBlock Text="{i18n:I18n Key=Gesture_PalmHint}"
TextWrapping="Wrap" Foreground="#a1a1aa"
Visibility="{Binding ElementName=ToggleSwitchEnablePalmEraser, Path=IsOn, Converter={StaticResource BooleanToVisibilityConverter}}" />
</ikw:SimpleStackPanel>
</GroupBox>
<GroupBox Name="GroupBoxInkRecognition">
<GroupBox.Header>
<TextBlock Margin="0,12,0,0" Text="{i18n:I18n Key=InkRecog_Title}" FontWeight="Bold" Foreground="#fafafa"
FontSize="26" />
</GroupBox.Header>
<ikw:SimpleStackPanel Spacing="6">
<ikw:SimpleStackPanel Orientation="Horizontal" HorizontalAlignment="Left">
<TextBlock Foreground="#fafafa" Text="{i18n:I18n Key=InkRecog_EnableInkRecognition}" VerticalAlignment="Center"
FontSize="14" Margin="0,0,16,0" />
<ui:ToggleSwitch OnContent="" OffContent="" Name="ToggleSwitchEnableInkToShape"
IsOn="True" FontFamily="Microsoft YaHei UI" FontWeight="Bold"
Toggled="ToggleSwitchEnableInkToShape_Toggled" />
</ikw:SimpleStackPanel>
<ikw:SimpleStackPanel Orientation="Horizontal" HorizontalAlignment="Left">
<TextBlock Foreground="#fafafa" Text="{i18n:I18n Key=InkRecog_ShapeEngine}" VerticalAlignment="Center"
FontSize="14" Margin="0,0,16,0" />
<ComboBox Name="ComboBoxShapeRecognitionEngine" Width="160"
SelectionChanged="ComboBoxShapeRecognitionEngine_SelectionChanged"
FontFamily="Microsoft YaHei UI" VerticalAlignment="Center">
<ComboBoxItem Content="{i18n:I18n Key=InkRecog_ShapeEngineAuto}" />
<ComboBoxItem Content="{i18n:I18n Key=InkRecog_ShapeEngineIACore}" />
<ComboBoxItem Content="{i18n:I18n Key=InkRecog_ShapeEngineWinRT}" />
</ComboBox>
</ikw:SimpleStackPanel>
<TextBlock Text="{i18n:I18n Key=InkRecog_ShapeEngineHint}" TextWrapping="Wrap"
Foreground="#a1a1aa" MaxWidth="520" HorizontalAlignment="Left" />
<ikw:SimpleStackPanel Spacing="6"
Visibility="{Binding ElementName=ToggleSwitchEnableInkToShape, Path=IsOn, Converter={StaticResource BooleanToVisibilityConverter}}">
<ikw:SimpleStackPanel Orientation="Horizontal" HorizontalAlignment="Left">
<TextBlock Foreground="#fafafa" Text="{i18n:I18n Key=InkRecog_BlockRectFakePressure}"
VerticalAlignment="Center" FontSize="14" Margin="0,0,16,0" />
<ui:ToggleSwitch OnContent="" OffContent=""
Name="ToggleSwitchEnableInkToShapeNoFakePressureRectangle"
IsOn="True" FontFamily="Microsoft YaHei UI"
FontWeight="Bold"
Toggled="ToggleSwitchEnableInkToShapeNoFakePressureRectangle_Toggled" />
</ikw:SimpleStackPanel>
<ikw:SimpleStackPanel Orientation="Horizontal" HorizontalAlignment="Left">
<TextBlock Foreground="#fafafa" Text="{i18n:I18n Key=InkRecog_BlockTriFakePressure}"
VerticalAlignment="Center" FontSize="14" Margin="0,0,16,0" />
<ui:ToggleSwitch OnContent="" OffContent=""
Name="ToggleSwitchEnableInkToShapeNoFakePressureTriangle"
IsOn="True" FontFamily="Microsoft YaHei UI"
FontWeight="Bold"
Toggled="ToggleSwitchEnableInkToShapeNoFakePressureTriangle_Toggled" />
</ikw:SimpleStackPanel>
<Line HorizontalAlignment="Center" X1="0" Y1="0" X2="400" Y2="0"
Stroke="#3f3f46" StrokeThickness="1" Margin="0,4,0,4" />
<ikw:SimpleStackPanel Orientation="Horizontal" HorizontalAlignment="Left">
<CheckBox IsChecked="True" Name="ToggleCheckboxEnableInkToShapeTriangle"
Checked="ToggleCheckboxEnableInkToShapeTriangle_CheckedChanged"
Unchecked="ToggleCheckboxEnableInkToShapeTriangle_CheckedChanged">
<CheckBox.Content>
<TextBlock Foreground="#fafafa" Text="{i18n:I18n Key=InkRecog_FixTriangle}"
VerticalAlignment="Center" FontSize="14"
Margin="0,0,16,0" />
</CheckBox.Content>
</CheckBox>
</ikw:SimpleStackPanel>
<ikw:SimpleStackPanel Orientation="Horizontal" HorizontalAlignment="Left">
<CheckBox IsChecked="True" Name="ToggleCheckboxEnableInkToShapeRectangle"
Checked="ToggleCheckboxEnableInkToShapeRectangle_CheckedChanged"
Unchecked="ToggleCheckboxEnableInkToShapeRectangle_CheckedChanged">
<CheckBox.Content>
<TextBlock Foreground="#fafafa" Text="{i18n:I18n Key=InkRecog_FixRectangle}"
VerticalAlignment="Center" FontSize="14"
Margin="0,0,16,0" />
</CheckBox.Content>
</CheckBox>
</ikw:SimpleStackPanel>
<ikw:SimpleStackPanel Orientation="Horizontal" HorizontalAlignment="Left">
<CheckBox IsChecked="True" Name="ToggleCheckboxEnableInkToShapeRounded"
Checked="ToggleCheckboxEnableInkToShapeRounded_CheckedChanged"
Unchecked="ToggleCheckboxEnableInkToShapeRounded_CheckedChanged">
<CheckBox.Content>
<TextBlock Foreground="#fafafa" Text="{i18n:I18n Key=InkRecog_FixEllipse}"
VerticalAlignment="Center" FontSize="14"
Margin="0,0,16,0" />
</CheckBox.Content>
</CheckBox>
</ikw:SimpleStackPanel>
</ikw:SimpleStackPanel>
<Line HorizontalAlignment="Center" X1="0" Y1="0" X2="400" Y2="0"
Stroke="#3f3f46" StrokeThickness="1" Margin="0,4,0,4" />
<ikw:SimpleStackPanel Orientation="Horizontal" HorizontalAlignment="Left">
<TextBlock Foreground="#fafafa" Text="{i18n:I18n Key=InkRecog_AutoStraightLine}" VerticalAlignment="Center"
FontSize="14" Margin="0,0,16,0" />
<ui:ToggleSwitch OnContent="" OffContent="" Name="ToggleSwitchAutoStraightenLine"
IsOn="True" FontFamily="Microsoft YaHei UI" FontWeight="Bold"
Toggled="ToggleSwitchAutoStraightenLine_Toggled" />
</ikw:SimpleStackPanel>
<ikw:SimpleStackPanel Orientation="Horizontal" HorizontalAlignment="Left"
Visibility="{Binding ElementName=ToggleSwitchAutoStraightenLine, Path=IsOn, Converter={StaticResource BooleanToVisibilityConverter}}">
<TextBlock Foreground="#fafafa" Text="{i18n:I18n Key=InkRecog_LengthThreshold}" VerticalAlignment="Center"
FontSize="14" Margin="0,0,16,0" />
<Slider Name="AutoStraightenLineThresholdSlider" Width="150" Minimum="30" Maximum="300"
Value="80" TickFrequency="30" IsSnapToTickEnabled="True"
ValueChanged="AutoStraightenLineThresholdSlider_ValueChanged" />
<TextBlock Foreground="#fafafa" Text="{Binding ElementName=AutoStraightenLineThresholdSlider, Path=Value, StringFormat={}{0:0}}"
VerticalAlignment="Center" FontSize="14" Margin="16,0,0,0" />
</ikw:SimpleStackPanel>
<ikw:SimpleStackPanel Orientation="Horizontal" HorizontalAlignment="Left"
Visibility="{Binding ElementName=ToggleSwitchAutoStraightenLine, Path=IsOn, Converter={StaticResource BooleanToVisibilityConverter}}">
<TextBlock Foreground="#fafafa" Text="{i18n:I18n Key=InkRecog_Sensitivity}" VerticalAlignment="Center"
FontSize="14" Margin="0,0,16,0" />
<Slider Name="LineStraightenSensitivitySlider" Width="150" Minimum="0.05" Maximum="2.0"
Value="0.20" TickFrequency="0.05" IsSnapToTickEnabled="True"
ValueChanged="LineStraightenSensitivitySlider_ValueChanged" />
<TextBlock Foreground="#fafafa" Text="{Binding ElementName=LineStraightenSensitivitySlider, Path=Value, StringFormat={}{0:F2}}"
VerticalAlignment="Center" FontSize="14" Margin="16,0,0,0" />
</ikw:SimpleStackPanel>
<ikw:SimpleStackPanel Orientation="Horizontal" HorizontalAlignment="Left"
Visibility="{Binding ElementName=ToggleSwitchAutoStraightenLine, Path=IsOn, Converter={StaticResource BooleanToVisibilityConverter}}">
<TextBlock Foreground="#fafafa" Text="{i18n:I18n Key=InkRecog_HighPrecisionStraighten}" VerticalAlignment="Center"
FontSize="14" Margin="0,0,16,0" />
<ui:ToggleSwitch OnContent="" OffContent="" Name="ToggleSwitchHighPrecisionLineStraighten"
IsOn="True" FontFamily="Microsoft YaHei UI" FontWeight="Bold"
Toggled="ToggleSwitchHighPrecisionLineStraighten_Toggled" />
</ikw:SimpleStackPanel>
<TextBlock Text="{i18n:I18n Key=InkRecog_HighPrecisionHint}" TextWrapping="Wrap" Foreground="#a1a1aa" />
<Line HorizontalAlignment="Center" X1="0" Y1="0" X2="400" Y2="0"
Stroke="#3f3f46" StrokeThickness="1" Margin="0,4,0,4" />
<ikw:SimpleStackPanel Orientation="Horizontal" HorizontalAlignment="Left">
<TextBlock Foreground="#fafafa" Text="{i18n:I18n Key=InkRecog_LineEndpointSnapping}" VerticalAlignment="Center"
FontSize="14" Margin="0,0,16,0" />
<ui:ToggleSwitch OnContent="" OffContent="" Name="ToggleSwitchLineEndpointSnapping"
IsOn="True" FontFamily="Microsoft YaHei UI" FontWeight="Bold"
Toggled="ToggleSwitchLineEndpointSnapping_Toggled" />
</ikw:SimpleStackPanel>
<ikw:SimpleStackPanel Orientation="Horizontal" HorizontalAlignment="Left"
Visibility="{Binding ElementName=ToggleSwitchLineEndpointSnapping, Path=IsOn, Converter={StaticResource BooleanToVisibilityConverter}}">
<TextBlock Foreground="#fafafa" Text="{i18n:I18n Key=InkRecog_SnappingDistance}" VerticalAlignment="Center"
FontSize="14" Margin="0,0,16,0" />
<Slider Name="LineEndpointSnappingThresholdSlider" Width="150" Minimum="5" Maximum="50"
Value="15" TickFrequency="5" IsSnapToTickEnabled="True"
ValueChanged="LineEndpointSnappingThresholdSlider_ValueChanged" />
<TextBlock Foreground="#fafafa" Text="{Binding ElementName=LineEndpointSnappingThresholdSlider, Path=Value, StringFormat={}{0:0}}"
VerticalAlignment="Center" FontSize="14" Margin="16,0,0,0" />
</ikw:SimpleStackPanel>
<TextBlock Text="{i18n:I18n Key=InkRecog_LineEndpointSnappingHint}" TextWrapping="Wrap" Foreground="#a1a1aa" />
</ikw:SimpleStackPanel>
</GroupBox>
<GroupBox Name="GroupBoxAppearanceNewUI">
<GroupBox.Header>
<TextBlock Margin="0,12,0,0" Text="{i18n:I18n Key=Theme_GroupTitle}" FontWeight="Bold" Foreground="#fafafa"
FontSize="26" />
</GroupBox.Header>
<ikw:SimpleStackPanel Spacing="6">
<ikw:SimpleStackPanel Orientation="Horizontal" HorizontalAlignment="Left">
<TextBlock Foreground="#fafafa" Text="{i18n:I18n Key=Theme_Label}" VerticalAlignment="Center"
FontSize="14" Margin="0,0,16,0" />
<ComboBox Name="ComboBoxTheme" FontFamily="Microsoft YaHei UI"
SelectedIndex="0"
SelectionChanged="ComboBoxTheme_SelectionChanged">
<ComboBoxItem Content="{i18n:I18n Key=Theme_Light}" FontFamily="Microsoft YaHei UI" />
<ComboBoxItem Content="{i18n:I18n Key=Theme_Dark}" FontFamily="Microsoft YaHei UI" />
<ComboBoxItem Content="{i18n:I18n Key=Theme_System}" FontFamily="Microsoft YaHei UI" />
</ComboBox>
</ikw:SimpleStackPanel>
<ikw:SimpleStackPanel Orientation="Horizontal" HorizontalAlignment="Left">
<TextBlock Foreground="#fafafa" Text="{i18n:I18n Key=Theme_LanguageLabel}" VerticalAlignment="Center"
FontSize="14" Margin="0,0,16,0" />
<ComboBox Name="ComboBoxLanguage" FontFamily="Microsoft YaHei UI"
SelectedIndex="0"
SelectionChanged="ComboBoxLanguage_SelectionChanged"
Width="160">
<ComboBoxItem Content="{i18n:I18n Key=Theme_Language_System}" FontFamily="Microsoft YaHei UI" />
<ComboBoxItem Content="{i18n:I18n Key=Theme_Language_ChineseSimplified}" FontFamily="Microsoft YaHei UI" />
<ComboBoxItem Content="{i18n:I18n Key=Theme_Language_English}" FontFamily="Microsoft YaHei UI" />
</ComboBox>
</ikw:SimpleStackPanel>
<TextBlock Text="{i18n:I18n Key=Theme_Language_RestartHint}"
TextWrapping="Wrap" Foreground="#a1a1aa" />
<ikw:SimpleStackPanel Orientation="Horizontal" HorizontalAlignment="Left">
<TextBlock Foreground="#fafafa" Text="{i18n:I18n Key=Theme_EnableSplash}" VerticalAlignment="Center"
FontSize="14" Margin="0,0,16,0" />
<ui:ToggleSwitch OnContent="" OffContent="" Name="ToggleSwitchEnableSplashScreen"
IsOn="False" FontFamily="Microsoft YaHei UI" FontWeight="Bold"
Toggled="ToggleSwitchEnableSplashScreen_Toggled" />
</ikw:SimpleStackPanel>
<ikw:SimpleStackPanel Orientation="Horizontal" HorizontalAlignment="Left">
<TextBlock Foreground="#fafafa" Text="{i18n:I18n Key=Theme_SplashStyle}" VerticalAlignment="Center"
FontSize="14" Margin="0,0,16,0" />
<ComboBox Name="ComboBoxSplashScreenStyle" FontFamily="Microsoft YaHei UI"
SelectedIndex="1" Width="150"
SelectionChanged="ComboBoxSplashScreenStyle_SelectionChanged">
<ComboBoxItem Content="{i18n:I18n Key=Theme_Splash_Random}" FontFamily="Microsoft YaHei UI" />
<ComboBoxItem Content="{i18n:I18n Key=Theme_Splash_Seasonal}" FontFamily="Microsoft YaHei UI" />
<ComboBoxItem Content="{i18n:I18n Key=Theme_Splash_Spring}" FontFamily="Microsoft YaHei UI" />
<ComboBoxItem Content="{i18n:I18n Key=Theme_Splash_Summer}" FontFamily="Microsoft YaHei UI" />
<ComboBoxItem Content="{i18n:I18n Key=Theme_Splash_Autumn}" FontFamily="Microsoft YaHei UI" />
<ComboBoxItem Content="{i18n:I18n Key=Theme_Splash_Winter}" FontFamily="Microsoft YaHei UI" />
<ComboBoxItem Content="{i18n:I18n Key=Theme_Splash_Horse}" FontFamily="Microsoft YaHei UI" />
</ComboBox>
</ikw:SimpleStackPanel>
<Line HorizontalAlignment="Center" X1="0" Y1="0" X2="400" Y2="0"
Stroke="#3f3f46" StrokeThickness="1" Margin="0,4,0,4" />
<ikw:SimpleStackPanel Orientation="Horizontal" HorizontalAlignment="Left">
<TextBlock Foreground="#fafafa" Text="{i18n:I18n Key=Theme_FloatingBarIcon}" VerticalAlignment="Center"
FontSize="14" Margin="0,0,16,0" />
<ComboBox Name="ComboBoxFloatingBarImg" FontFamily="Microsoft YaHei UI"
SelectedIndex="0"
SelectionChanged="ComboBoxFloatingBarImg_SelectionChanged">
<ComboBoxItem Content="{i18n:I18n Key=Theme_FloatingIcon_IccDefault}" FontFamily="Microsoft YaHei UI" />
<ComboBoxItem Content="{i18n:I18n Key=Theme_FloatingIcon_IccNoShadow}" FontFamily="Microsoft YaHei UI" />
<ComboBoxItem Content="{i18n:I18n Key=Theme_FloatingIcon_IccDark}" FontFamily="Microsoft YaHei UI" />
<ComboBoxItem Content="{i18n:I18n Key=Theme_FloatingIcon_IccDarkBreath}" FontFamily="Microsoft YaHei UI" />
<ComboBoxItem Content="{i18n:I18n Key=Theme_FloatingIcon_IccWhiteTransparent}" FontFamily="Microsoft YaHei UI" />
<ComboBoxItem Content="{i18n:I18n Key=Theme_FloatingIcon_IccBlackTransparent}" FontFamily="Microsoft YaHei UI" />
<ComboBoxItem Content="{i18n:I18n Key=Theme_FloatingIcon_CoolapkCrossEye}" FontFamily="Microsoft YaHei UI" />
<ComboBoxItem Content="{i18n:I18n Key=Theme_FloatingIcon_CoolapkAbused}" FontFamily="Microsoft YaHei UI" />
<ComboBoxItem Content="{i18n:I18n Key=Theme_FloatingIcon_CoolapkSmile}" FontFamily="Microsoft YaHei UI" />
<ComboBoxItem Content="{i18n:I18n Key=Theme_FloatingIcon_CoolapkUnderwear}" FontFamily="Microsoft YaHei UI" />
<ComboBoxItem Content="{i18n:I18n Key=Theme_FloatingIcon_CoolapkGreenHatDoge}" FontFamily="Microsoft YaHei UI" />
<ComboBoxItem Content="{i18n:I18n Key=Theme_FloatingIcon_TiebaEmoji}" FontFamily="Microsoft YaHei UI" />
</ComboBox>
</ikw:SimpleStackPanel>
<ikw:SimpleStackPanel Orientation="Horizontal" HorizontalAlignment="Left" Margin="0,6,0,0">
<TextBlock Foreground="#fafafa" Text="{i18n:I18n Key=Theme_CustomFloatingIconLabel}" VerticalAlignment="Center"
FontSize="14" Margin="0,0,16,0" />
<Button Name="ButtonAddCustomIcon" Content="{i18n:I18n Key=Theme_Upload}" FontFamily="Microsoft YaHei UI"
Click="ButtonAddCustomIcon_Click" Padding="10,3"/>
<Button Name="ButtonManageCustomIcons" Content="{i18n:I18n Key=Theme_Manage}" FontFamily="Microsoft YaHei UI"
Click="ButtonManageCustomIcons_Click" Padding="10,3" Margin="5,0,0,0"/>
</ikw:SimpleStackPanel>
<ikw:SimpleStackPanel Orientation="Horizontal" HorizontalAlignment="Left">
<TextBlock Foreground="#fafafa" Text="{i18n:I18n Key=Theme_FloatingBarScale}" VerticalAlignment="Center"
FontSize="14" Margin="0,0,16,0" />
<Slider x:Name="ViewboxFloatingBarScaleTransformValueSlider" Minimum="0.5"
Maximum="1.25" Width="168" FontFamily="Microsoft YaHei UI"
FontSize="20" IsSnapToTickEnabled="True" Value="1" TickFrequency="0.05"
TickPlacement="None" AutoToolTipPlacement="None"
ValueChanged="ViewboxFloatingBarScaleTransformValueSlider_ValueChanged" />
<TextBlock
Text="{Binding ElementName=ViewboxFloatingBarScaleTransformValueSlider, Path=Value}"
VerticalAlignment="Center" FontSize="14" FontFamily="Consolas"
Margin="12,0,16,0" />
</ikw:SimpleStackPanel>
<ikw:SimpleStackPanel Orientation="Horizontal" HorizontalAlignment="Left">
<TextBlock Foreground="#fafafa" Text="{i18n:I18n Key=Theme_FloatingBarOpacity}" VerticalAlignment="Center"
FontSize="14" Margin="0,0,16,0" />
<Slider x:Name="ViewboxFloatingBarOpacityValueSlider" Minimum="0.3"
Maximum="1" Width="168" FontFamily="Microsoft YaHei UI"
FontSize="20" IsSnapToTickEnabled="True" Value="1" TickFrequency="0.05"
TickPlacement="None" AutoToolTipPlacement="None"
ValueChanged="ViewboxFloatingBarOpacityValueSlider_ValueChanged" />
<TextBlock
Text="{Binding ElementName=ViewboxFloatingBarOpacityValueSlider, Path=Value}"
VerticalAlignment="Center" FontSize="14" FontFamily="Consolas"
Margin="12,0,16,0" />
</ikw:SimpleStackPanel>
<ikw:SimpleStackPanel Orientation="Horizontal" HorizontalAlignment="Left">
<TextBlock Foreground="#fafafa" Text="{i18n:I18n Key=Theme_FloatingBarOpacityInPPT}" VerticalAlignment="Center"
FontSize="14" Margin="0,0,16,0" />
<Slider x:Name="ViewboxFloatingBarOpacityInPPTValueSlider" Minimum="0.3"
Maximum="1" Width="168" FontFamily="Microsoft YaHei UI"
FontSize="20" IsSnapToTickEnabled="True" Value="1" TickFrequency="0.05"
TickPlacement="None" AutoToolTipPlacement="None"
ValueChanged="ViewboxFloatingBarOpacityInPPTValueSlider_ValueChanged" />
<TextBlock
Text="{Binding ElementName=ViewboxFloatingBarOpacityInPPTValueSlider, Path=Value}"
VerticalAlignment="Center" FontSize="14" FontFamily="Consolas"
Margin="12,0,16,0" />
</ikw:SimpleStackPanel>
<TextBlock Text="{i18n:I18n Key=Theme_FloatingBarOpacityInPPTHint}"
TextWrapping="Wrap" Foreground="#a1a1aa" />
<Line HorizontalAlignment="Center" X1="0" Y1="0" X2="400" Y2="0"
Stroke="#3f3f46" StrokeThickness="1" Margin="0,4,0,4" />
<ikw:SimpleStackPanel Orientation="Horizontal" HorizontalAlignment="Left">
<TextBlock Foreground="#fafafa" Text="{i18n:I18n Key=Theme_ShowNibButton}"
VerticalAlignment="Center" FontSize="14" Margin="0,0,16,0" />
<ui:ToggleSwitch OnContent="" OffContent=""
Name="ToggleSwitchEnableDisPlayNibModeToggle" IsOn="False"
FontFamily="Microsoft YaHei UI" FontWeight="Bold"
Toggled="ToggleSwitchEnableDisPlayNibModeToggle_Toggled" />
</ikw:SimpleStackPanel>
<Line HorizontalAlignment="Center" X1="0" Y1="0" X2="400" Y2="0"
Stroke="#3f3f46" StrokeThickness="1" Margin="0,4,0,4" />
<!--<ikw:SimpleStackPanel Orientation="Horizontal" HorizontalAlignment="Left">
<TextBlock Text="浮动工具栏背景色" VerticalAlignment="Center" FontSize="14" Margin="0,0,16,0"/>
<ui:ToggleSwitch OnContent="" OffContent="" Name="ToggleSwitchColorfulViewboxFloatingBar" IsOn="True" FontFamily="Microsoft YaHei UI" FontWeight="Bold" Toggled="ToggleSwitchIsColorfulViewboxFloatingBar_Toggled" />
</ikw:SimpleStackPanel>-->
<ikw:SimpleStackPanel Orientation="Horizontal" HorizontalAlignment="Left">
<TextBlock Foreground="#fafafa" Text="{i18n:I18n Key=Theme_BlackboardScale80}" VerticalAlignment="Center"
FontSize="14" Margin="0,0,16,0" />
<ui:ToggleSwitch OnContent="" OffContent=""
Name="ToggleSwitchEnableViewboxBlackBoardScaleTransform"
IsOn="True" FontFamily="Microsoft YaHei UI" FontWeight="Bold"
Toggled="ToggleSwitchEnableViewboxBlackBoardScaleTransform_Toggled" />
</ikw:SimpleStackPanel>
<ikw:SimpleStackPanel Orientation="Horizontal" HorizontalAlignment="Left">
<TextBlock Foreground="#fafafa" Text="{i18n:I18n Key=Theme_ShowTimeInWhiteboard}" VerticalAlignment="Center"
FontSize="14" Margin="0,0,16,0" />
<ui:ToggleSwitch OnContent="" OffContent=""
Name="ToggleSwitchEnableTimeDisplayInWhiteboardMode"
IsOn="True" FontFamily="Microsoft YaHei UI" FontWeight="Bold"
Toggled="ToggleSwitchEnableTimeDisplayInWhiteboardMode_Toggled" />
</ikw:SimpleStackPanel>
<ikw:SimpleStackPanel Orientation="Horizontal" HorizontalAlignment="Left">
<TextBlock Foreground="#fafafa" Text="{i18n:I18n Key=Theme_ShowQuoteInWhiteboard}"
VerticalAlignment="Center"
FontSize="14" Margin="0,0,16,0" />
<ui:ToggleSwitch OnContent="" OffContent=""
Name="ToggleSwitchEnableChickenSoupInWhiteboardMode"
IsOn="True" FontFamily="Microsoft YaHei UI" FontWeight="Bold"
Toggled="ToggleSwitchEnableChickenSoupInWhiteboardMode_Toggled" />
</ikw:SimpleStackPanel>
<ikw:SimpleStackPanel Orientation="Vertical" HorizontalAlignment="Left">
<TextBlock Foreground="#fafafa" Text="{i18n:I18n Key=Theme_QuoteSource}" VerticalAlignment="Center"
FontSize="14" Margin="0,0,0,6" />
<ikw:SimpleStackPanel Orientation="Horizontal" HorizontalAlignment="Left">
<ComboBox Name="ComboBoxChickenSoupSource" FontFamily="Microsoft YaHei UI"
SelectedIndex="1" Width="240"
SelectionChanged="ComboBoxChickenSoupSource_SelectionChanged">
<ComboBoxItem Content="{i18n:I18n Key=Theme_QuoteSource_OsuQuotes}" FontFamily="Microsoft YaHei UI" />
<ComboBoxItem Content="{i18n:I18n Key=Theme_QuoteSource_Mottos}" FontFamily="Microsoft YaHei UI" />
<ComboBoxItem Content="{i18n:I18n Key=Theme_QuoteSource_GaokaoBless}" FontFamily="Microsoft YaHei UI" />
<ComboBoxItem Content="{i18n:I18n Key=Theme_QuoteSource_Hitokoto}" FontFamily="Microsoft YaHei UI" />
</ComboBox>
<Button Name="BtnHitokotoCustomize" Content="{i18n:I18n Key=Theme_Customize}" FontFamily="Microsoft YaHei UI"
FontSize="14" Padding="14,4" Margin="8,0,0,0" MinWidth="65" VerticalAlignment="Center"
Click="BtnHitokotoCustomize_Click"
Visibility="Collapsed" />
</ikw:SimpleStackPanel>
</ikw:SimpleStackPanel>
<Line HorizontalAlignment="Center" X1="0" Y1="0" X2="400" Y2="0"
Stroke="#3f3f46" StrokeThickness="1" Margin="0,4,0,4" />
<ikw:SimpleStackPanel Orientation="Horizontal" HorizontalAlignment="Left">
<TextBlock Foreground="#fafafa" Text="{i18n:I18n Key=Theme_EnableQuickPanel}" VerticalAlignment="Center"
FontSize="14" Margin="0,0,16,0" />
<ui:ToggleSwitch OnContent="" OffContent="" Name="ToggleSwitchEnableQuickPanel"
IsOn="True" FontFamily="Microsoft YaHei UI" FontWeight="Bold"
Toggled="ToggleSwitchEnableQuickPanel_Toggled" />
</ikw:SimpleStackPanel>
<ikw:SimpleStackPanel Orientation="Horizontal" HorizontalAlignment="Left">
<TextBlock Foreground="#fafafa" Text="{i18n:I18n Key=Theme_UnfoldButtonIcon}" VerticalAlignment="Center"
FontSize="14" Margin="0,0,16,0" />
<ComboBox Name="ComboBoxUnFoldBtnImg" FontFamily="Microsoft YaHei UI"
SelectedIndex="0"
SelectionChanged="ComboBoxUnFoldBtnImg_SelectionChanged">
<ComboBoxItem Content="{i18n:I18n Key=Theme_UnfoldIcon_Arrow}" FontFamily="Microsoft YaHei UI" />
<ComboBoxItem Content="{i18n:I18n Key=Theme_UnfoldIcon_Pen}" FontFamily="Microsoft YaHei UI" />
</ComboBox>
</ikw:SimpleStackPanel>
<Line HorizontalAlignment="Center" X1="0" Y1="0" X2="400" Y2="0"
Stroke="#3f3f46" StrokeThickness="1" Margin="0,4,0,4" />
<!-- 浮动栏按钮显示控制 -->
<Border Background="#101010" Height="50" Margin="-20,0" Padding="20,0">
<Grid>
<ikw:SimpleStackPanel Orientation="Horizontal" FlowDirection="RightToLeft">
<Image Height="24" Width="24" Margin="16,0,0,0">
<Image.Source>
<DrawingImage>
<DrawingImage.Drawing>
<DrawingGroup ClipGeometry="M0,0 V24 H24 V0 H0 Z">
<GeometryDrawing Brush="#FFFFFFFF"
Geometry="F0 M24,24z M0,0z M4.41721,4.29873C4.35178,4.29873,4.29873,4.35178,4.29873,4.41721L4.29873,9.15646C4.29873,9.22189,4.35178,9.27494,4.41721,9.27494L9.15646,9.27494C9.22189,9.27494,9.27494,9.22189,9.27494,9.15646L9.27494,4.41721C9.27494,4.35178,9.22189,4.29873,9.15646,4.29873L4.41721,4.29873z M2.64,4.41721C2.64,3.43569,3.43569,2.64,4.41721,2.64L9.15646,2.64C10.138,2.64,10.9337,3.43569,10.9337,4.41721L10.9337,9.15646C10.9337,10.138,10.138,10.9337,9.15646,10.9337L4.41721,10.9337C3.43569,10.9337,2.64,10.138,2.64,9.15646L2.64,4.41721z M14.8435,4.29873C14.7781,4.29873,14.7251,4.35178,14.7251,4.41721L14.7251,9.15646C14.7251,9.22189,14.7781,9.27494,14.8435,9.27494L19.5828,9.27494C19.6482,9.27494,19.7013,9.22189,19.7013,9.15646L19.7013,4.41721C19.7013,4.35178,19.6482,4.29873,19.5828,4.29873L14.8435,4.29873z M13.0663,4.41721C13.0663,3.43569,13.862,2.64,14.8435,2.64L19.5828,2.64C20.5643,2.64,21.36,3.43569,21.36,4.41721L21.36,9.15646C21.36,10.138,20.5643,10.9337,19.5828,10.9337L14.8435,10.9337C13.862,10.9337,13.0663,10.138,13.0663,9.15646L13.0663,4.41721z M14.8435,14.7251C14.7781,14.7251,14.7251,14.7781,14.7251,14.8435L14.7251,19.5828C14.7251,19.6482,14.7781,19.7013,14.8435,19.7013L19.5828,19.7013C19.6482,19.7013,19.7013,19.6482,19.7013,19.5828L19.7013,14.8435C19.7013,14.7781,19.6482,14.7251,19.5828,14.7251L14.8435,14.7251z M13.0663,14.8435C13.0663,13.862,13.862,13.0663,14.8435,13.0663L19.5828,13.0663C20.5643,13.0663,21.36,13.862,21.36,14.8435L21.36,19.5828C21.36,20.5643,20.5643,21.36,19.5828,21.36L14.8435,21.36C13.862,21.36,13.0663,20.5643,13.0663,19.5828L13.0663,14.8435z M4.41721,14.7251C4.35178,14.7251,4.29873,14.7781,4.29873,14.8435L4.29873,19.5828C4.29873,19.6482,4.35178,19.7013,4.41721,19.7013L9.15646,19.7013C9.22189,19.7013,9.27494,19.6482,9.27494,19.5828L9.27494,14.8435C9.27494,14.7781,9.22189,14.7251,9.15646,14.7251L4.41721,14.7251z M2.64,14.8435C2.64,13.862,3.43569,13.0663,4.41721,13.0663L9.15646,13.0663C10.138,13.0663,10.9337,13.862,10.9337,14.8435L10.9337,19.5828C10.9337,20.5643,10.138,21.36,9.15646,21.36L4.41721,21.36C3.43569,21.36,2.64,20.5643,2.64,19.5828L2.64,14.8435z" />
</DrawingGroup>
</DrawingImage.Drawing>
</DrawingImage>
</Image.Source>
</Image>
</ikw:SimpleStackPanel>
<TextBlock Margin="12,0,0,0" VerticalAlignment="Center" Text="{i18n:I18n Key=Theme_FloatingBarButtonsTitle}"
FontWeight="Bold" Foreground="#fafafa"
FontSize="20" />
</Grid>
</Border>
<!-- 老版UI切换按钮 -->
<ikw:SimpleStackPanel Orientation="Horizontal" HorizontalAlignment="Left" Margin="0,0,0,12">
<TextBlock Foreground="#fafafa" Text="{i18n:I18n Key=Theme_UseLegacyFloatingBarUI}" VerticalAlignment="Center"
FontSize="14" Margin="0,0,8,0" Width="320"
Style="{StaticResource AutoFitSettingsOptionLabel14}" />
<CheckBox Name="CheckBoxUseLegacyFloatingBarUI"
IsChecked="False" FontFamily="Microsoft YaHei UI" FontWeight="Bold"
Checked="CheckBoxUseLegacyFloatingBarUI_Checked" Unchecked="CheckBoxUseLegacyFloatingBarUI_Unchecked" />
</ikw:SimpleStackPanel>
<!-- 第一行:形状按钮和撤销按钮 -->
<ikw:SimpleStackPanel Orientation="Horizontal" HorizontalAlignment="Stretch" Margin="0,0,0,8">
<ikw:SimpleStackPanel Orientation="Horizontal" HorizontalAlignment="Left" Width="190">
<TextBlock Foreground="#fafafa" Text="{i18n:I18n Key=Theme_ShowShapeButton}" VerticalAlignment="Center"
FontSize="14" Margin="0,0,8,0" Width="150"
Style="{StaticResource AutoFitSettingsOptionLabel14}" />
<CheckBox Name="CheckBoxShowShapeButton"
IsChecked="True" FontFamily="Microsoft YaHei UI" FontWeight="Bold"
Checked="CheckBoxShowShapeButton_Checked" Unchecked="CheckBoxShowShapeButton_Unchecked" />
</ikw:SimpleStackPanel>
<ikw:SimpleStackPanel Orientation="Horizontal" HorizontalAlignment="Left" Width="190">
<TextBlock Foreground="#fafafa" Text="{i18n:I18n Key=Theme_ShowUndoButton}" VerticalAlignment="Center"
FontSize="14" Margin="0,0,8,0" Width="150"
Style="{StaticResource AutoFitSettingsOptionLabel14}" />
<CheckBox Name="CheckBoxShowUndoButton"
IsChecked="True" FontFamily="Microsoft YaHei UI" FontWeight="Bold"
Checked="CheckBoxShowUndoButton_Checked" Unchecked="CheckBoxShowUndoButton_Unchecked" />
</ikw:SimpleStackPanel>
</ikw:SimpleStackPanel>
<!-- 第二行:重做按钮和清空按钮 -->
<ikw:SimpleStackPanel Orientation="Horizontal" HorizontalAlignment="Stretch" Margin="0,0,0,8">
<ikw:SimpleStackPanel Orientation="Horizontal" HorizontalAlignment="Left" Width="190">
<TextBlock Foreground="#fafafa" Text="{i18n:I18n Key=Theme_ShowRedoButton}" VerticalAlignment="Center"
FontSize="14" Margin="0,0,8,0" Width="150"
Style="{StaticResource AutoFitSettingsOptionLabel14}" />
<CheckBox Name="CheckBoxShowRedoButton"
IsChecked="True" FontFamily="Microsoft YaHei UI" FontWeight="Bold"
Checked="CheckBoxShowRedoButton_Checked" Unchecked="CheckBoxShowRedoButton_Unchecked" />
</ikw:SimpleStackPanel>
<ikw:SimpleStackPanel Orientation="Horizontal" HorizontalAlignment="Left" Width="190">
<TextBlock Foreground="#fafafa" Text="{i18n:I18n Key=Theme_ShowClearButton}" VerticalAlignment="Center"
FontSize="14" Margin="0,0,8,0" Width="150"
Style="{StaticResource AutoFitSettingsOptionLabel14}" />
<CheckBox Name="CheckBoxShowClearButton"
IsChecked="True" FontFamily="Microsoft YaHei UI" FontWeight="Bold"
Checked="CheckBoxShowClearButton_Checked" Unchecked="CheckBoxShowClearButton_Unchecked" />
</ikw:SimpleStackPanel>
</ikw:SimpleStackPanel>
<!-- 第三行:白板按钮和隐藏按钮 -->
<ikw:SimpleStackPanel Orientation="Horizontal" HorizontalAlignment="Stretch" Margin="0,0,0,8">
<ikw:SimpleStackPanel Orientation="Horizontal" HorizontalAlignment="Left" Width="190">
<TextBlock Foreground="#fafafa" Text="{i18n:I18n Key=Theme_ShowWhiteboardButton}" VerticalAlignment="Center"
FontSize="14" Margin="0,0,8,0" Width="150"
Style="{StaticResource AutoFitSettingsOptionLabel14}" />
<CheckBox Name="CheckBoxShowWhiteboardButton"
IsChecked="True" FontFamily="Microsoft YaHei UI" FontWeight="Bold"
Checked="CheckBoxShowWhiteboardButton_Checked" Unchecked="CheckBoxShowWhiteboardButton_Unchecked" />
</ikw:SimpleStackPanel>
<ikw:SimpleStackPanel Orientation="Horizontal" HorizontalAlignment="Left" Width="190">
<TextBlock Foreground="#fafafa" Text="{i18n:I18n Key=Theme_ShowHideButton}" VerticalAlignment="Center"
FontSize="14" Margin="0,0,8,0" Width="150"
Style="{StaticResource AutoFitSettingsOptionLabel14}" />
<CheckBox Name="CheckBoxShowHideButton"
IsChecked="True" FontFamily="Microsoft YaHei UI" FontWeight="Bold"
Checked="CheckBoxShowHideButton_Checked" Unchecked="CheckBoxShowHideButton_Unchecked" />
</ikw:SimpleStackPanel>
</ikw:SimpleStackPanel>
<!-- 第四行:套索选择按钮和清并鼠按钮 -->
<ikw:SimpleStackPanel Orientation="Horizontal" HorizontalAlignment="Stretch" Margin="0,0,0,8">
<ikw:SimpleStackPanel Orientation="Horizontal" HorizontalAlignment="Left" Width="190">
<TextBlock Foreground="#fafafa" Text="{i18n:I18n Key=Theme_ShowLassoButton}" VerticalAlignment="Center"
FontSize="14" Margin="0,0,8,0" Width="150"
Style="{StaticResource AutoFitSettingsOptionLabel14}" />
<CheckBox Name="CheckBoxShowLassoSelectButton"
IsChecked="True" FontFamily="Microsoft YaHei UI" FontWeight="Bold"
Checked="CheckBoxShowLassoSelectButton_Checked" Unchecked="CheckBoxShowLassoSelectButton_Unchecked" />
</ikw:SimpleStackPanel>
<ikw:SimpleStackPanel Orientation="Horizontal" HorizontalAlignment="Left" Width="190">
<TextBlock Foreground="#fafafa" Text="{i18n:I18n Key=Theme_ShowClearAndMouseButton}" VerticalAlignment="Center"
FontSize="14" Margin="0,0,8,0" Width="150"
Style="{StaticResource AutoFitSettingsOptionLabel14}" />
<CheckBox Name="CheckBoxShowClearAndMouseButton"
IsChecked="True" FontFamily="Microsoft YaHei UI" FontWeight="Bold"
Checked="CheckBoxShowClearAndMouseButton_Checked" Unchecked="CheckBoxShowClearAndMouseButton_Unchecked" />
</ikw:SimpleStackPanel>
</ikw:SimpleStackPanel>
<!-- 第五行:快捷调色盘(单独一行,因为需要更多空间) -->
<ikw:SimpleStackPanel Orientation="Horizontal" HorizontalAlignment="Left" Margin="0,0,0,8">
<TextBlock Foreground="#fafafa" Text="{i18n:I18n Key=Theme_ShowQuickPalette}" VerticalAlignment="Center"
FontSize="14" Margin="0,0,8,0" />
<CheckBox Name="CheckBoxShowQuickColorPalette"
IsChecked="False" FontFamily="Microsoft YaHei UI" FontWeight="Bold"
Checked="CheckBoxShowQuickColorPalette_Checked" Unchecked="CheckBoxShowQuickColorPalette_Unchecked" />
</ikw:SimpleStackPanel>
<ikw:SimpleStackPanel Orientation="Horizontal" HorizontalAlignment="Left">
<TextBlock Foreground="#fafafa" Text="{i18n:I18n Key=Theme_QuickPaletteMode}" VerticalAlignment="Center"
FontSize="14" Margin="0,0,16,0" />
<ComboBox Name="ComboBoxQuickColorPaletteDisplayMode"
FontFamily="Microsoft YaHei UI" SelectedIndex="1"
SelectionChanged="ComboBoxQuickColorPaletteDisplayMode_SelectionChanged">
<ComboBoxItem Content="{i18n:I18n Key=Theme_QuickPalette_SingleRow}" FontFamily="Microsoft YaHei UI" />
<ComboBoxItem Content="{i18n:I18n Key=Theme_QuickPalette_DoubleRow}" FontFamily="Microsoft YaHei UI" />
</ComboBox>
</ikw:SimpleStackPanel>
<ikw:SimpleStackPanel Orientation="Horizontal" HorizontalAlignment="Left">
<TextBlock Foreground="#fafafa" Text="{i18n:I18n Key=Theme_EraserButtonDisplay}" VerticalAlignment="Center"
FontSize="14" Margin="0,0,16,0" />
<ComboBox Name="ComboBoxEraserDisplayOption"
FontFamily="Microsoft YaHei UI" SelectedIndex="0"
SelectionChanged="ComboBoxEraserDisplayOption_SelectionChanged">
<ComboBoxItem Content="{i18n:I18n Key=Theme_EraserDisplay_Both}" FontFamily="Microsoft YaHei UI" />
<ComboBoxItem Content="{i18n:I18n Key=Theme_EraserDisplay_AreaOnly}" FontFamily="Microsoft YaHei UI" />
<ComboBoxItem Content="{i18n:I18n Key=Theme_EraserDisplay_LineOnly}" FontFamily="Microsoft YaHei UI" />
<ComboBoxItem Content="{i18n:I18n Key=Theme_EraserDisplay_None}" FontFamily="Microsoft YaHei UI" />
</ComboBox>
</ikw:SimpleStackPanel>
<Line HorizontalAlignment="Center" X1="0" Y1="0" X2="400" Y2="0"
Stroke="#3f3f46" StrokeThickness="1" Margin="0,4,0,4" />
<Border Background="#101010" Height="50" Margin="-20,0" Padding="20,0">
<Grid>
<ikw:SimpleStackPanel Orientation="Horizontal" FlowDirection="RightToLeft">
<Image Height="24" Width="24" Margin="16,0,0,0">
<Image.Source>
<DrawingImage>
<DrawingImage.Drawing>
<DrawingGroup ClipGeometry="M0,0 V17 H19 V0 H0 Z">
<GeometryDrawing Brush="#FFFFFFFF"
Geometry="F1 M19,17z M0,0z M14.8268,0.0699463C15.3572,0.600333 15.8257,1.17492 16.2323,1.7937 16.6448,2.41249 16.9925,3.06368 17.2754,3.74729 17.5583,4.42501 17.7704,5.12925 17.9119,5.86 18.0592,6.58486 18.1329,7.32151 18.1329,8.06995 18.1329,8.81838 18.0592,9.55798 17.9119,10.2887 17.7704,11.0136 17.5583,11.7178 17.2754,12.4014 16.9925,13.0792 16.6448,13.7274 16.2323,14.3462 15.8257,14.965 15.3572,15.5396 14.8268,16.0699L14.0312,15.2744C14.5086,14.797 14.9299,14.2814 15.2953,13.7274 15.6666,13.1676 15.9789,12.5812 16.2323,11.9683 16.4857,11.3554 16.6773,10.7219 16.8069,10.0677 16.9424,9.4077 17.0102,8.74177 17.0102,8.06995 17.0102,7.39812 16.9424,6.73514 16.8069,6.081 16.6773,5.42096 16.4857,4.7845 16.2323,4.1716 15.9789,3.55871 15.6666,2.97529 15.2953,2.42133 14.9299,1.86147 14.5086,1.34287 14.0312,0.865526L14.8268,0.0699463z M12.4312,2.46553C12.8025,2.8368 13.1296,3.24048 13.4124,3.67658 13.7012,4.10678 13.9428,4.56055 14.1373,5.0379 14.3377,5.51525 14.4879,6.01028 14.5881,6.52299 14.6942,7.03569 14.7472,7.55135 14.7472,8.06995 14.7472,8.59444 14.6942,9.11304 14.5881,9.62575 14.4879,10.1326 14.3377,10.6246 14.1373,11.102 13.9428,11.5793 13.7012,12.0361 13.4124,12.4722 13.1296,12.9024 12.8025,13.3031 12.4312,13.6744L11.6268,12.8699C12.2633,12.2335 12.7524,11.4998 13.0942,10.6688 13.4419,9.8379 13.6157,8.9716 13.6157,8.06995 13.6157,7.16829 13.4419,6.30199 13.0942,5.47105 12.7524,4.64011 12.2633,3.90641 11.6268,3.26995L12.4312,2.46553z M10.0268,4.86995C10.4511,5.29426 10.7782,5.78339 11.008,6.33735 11.2378,6.89131 11.3528,7.46884 11.3528,8.06995 11.3528,8.67105 11.2378,9.24858 11.008,9.80254 10.7782,10.3565 10.4511,10.8456 10.0268,11.2699L9.23121,10.4744C9.54944,10.1561 9.79401,9.79076 9.96491,9.37823 10.1358,8.95982 10.2213,8.52372 10.2213,8.06995 10.2213,7.61617 10.1358,7.18302 9.96491,6.7705 9.79401,6.35208 9.54944,5.98376 9.23121,5.66553L10.0268,4.86995z M6.02237,1.281L6.82679,1.281 6.82679,14.8589 6.02237,14.8589 2.6279,11.4644 0.0378418,11.4644 0.0378418,4.67547 2.6279,4.67547 6.02237,1.281z M5.6953,3.21691L3.10525,5.80696 1.16933,5.80696 1.16933,10.3329 3.10525,10.3329 5.6953,12.923 5.6953,3.21691z" />
</DrawingGroup>
</DrawingImage.Drawing>
</DrawingImage>
</Image.Source>
</Image>
<Image Height="24" Width="24" Margin="8,0,0,0">
<Image.Source>
<DrawingImage>
<DrawingImage.Drawing>
<DrawingGroup ClipGeometry="M0,0 V17 H22 V0 H0 Z">
<GeometryDrawing Brush="#FFFFFFFF"
Geometry="F1 M22,17z M0,0z M21.3712,12.8727L12.0378,12.8727 12.0378,15.5393 16.0378,15.5393 16.0378,16.8727 6.70451,16.8727 6.70451,15.5393 10.7045,15.5393 10.7045,12.8727 4.03784,12.8727 4.03784,16.8727 2.70451,16.8727 2.70451,8.87268 0.0378418,8.87268 0.0378418,0.872681 21.3712,0.872681 21.3712,12.8727z M1.37118,2.20601L1.37118,3.53935 5.37118,3.53935 5.37118,2.20601 1.37118,2.20601z M1.37118,7.53935L5.37118,7.53935 5.37118,4.87268 4.03784,4.87268 4.03784,6.20601 2.70451,6.20601 2.70451,4.87268 1.37118,4.87268 1.37118,7.53935z M4.03784,11.5393L20.0378,11.5393 20.0378,2.20601 6.70451,2.20601 6.70451,8.87268 4.03784,8.87268 4.03784,11.5393z" />
</DrawingGroup>
</DrawingImage.Drawing>
</DrawingImage>
</Image.Source>
</Image>
<Image Name="ICCTrayIconExampleImage" Height="24" Width="24"
Source="Resources/icc.ico" Margin="8,0,0,0" />
</ikw:SimpleStackPanel>
<TextBlock Margin="12,0,0,0" VerticalAlignment="Center" Text="{i18n:I18n Key=Tray_GroupTitle}"
FontWeight="Bold" Foreground="#fafafa"
FontSize="20" />
</Grid>
</Border>
<ikw:SimpleStackPanel Orientation="Horizontal" HorizontalAlignment="Left">
<TextBlock Foreground="#fafafa" Text="{i18n:I18n Key=Tray_EnableTrayIcon}" VerticalAlignment="Center"
FontSize="14" Margin="0,0,16,0" />
<ui:ToggleSwitch OnContent="" OffContent="" Name="ToggleSwitchEnableTrayIcon"
IsOn="True" FontFamily="Microsoft YaHei UI" FontWeight="Bold"
Toggled="ToggleSwitchEnableTrayIcon_Toggled" />
</ikw:SimpleStackPanel>
</ikw:SimpleStackPanel>
</GroupBox>
<GroupBox Name="GroupBoxPPT">
<GroupBox.Header>
<TextBlock Margin="0,12,0,0" Text="{i18n:I18n Key=PPT_GroupTitle}" FontWeight="Bold" Foreground="#fafafa"
FontSize="26" />
</GroupBox.Header>
<ikw:SimpleStackPanel Spacing="6">
<TextBlock Text="{i18n:I18n Key=PPT_GroupHint}" Foreground="#a1a1aa" TextWrapping="Wrap" Width="460" />
<ikw:SimpleStackPanel Orientation="Horizontal" HorizontalAlignment="Left">
<Image Source="/Resources/Icons-png/Powerpoint.png" Margin="0,0,6,0" Width="28"
Height="28" VerticalAlignment="Center" />
<TextBlock Foreground="#fafafa" Text="{i18n:I18n Key=PPT_SupportPowerPoint}"
VerticalAlignment="Center" FontSize="14" Margin="0,0,16,0" />
<ui:ToggleSwitch OnContent="" OffContent=""
Name="ToggleSwitchSupportPowerPoint" IsOn="True"
FontFamily="Microsoft YaHei UI" FontWeight="Bold"
Toggled="ToggleSwitchSupportPowerPoint_Toggled" />
</ikw:SimpleStackPanel>
<ikw:SimpleStackPanel Orientation="Horizontal" HorizontalAlignment="Left">
<Image Source="/Resources/Icons-png/Powerpoint.png" Margin="0,0,6,0" Width="28"
Height="28" VerticalAlignment="Center" />
<TextBlock Foreground="#fafafa" Text="{i18n:I18n Key=PPT_Enhancement}" VerticalAlignment="Center"
FontSize="14" Margin="0,0,16,0" />
<ui:ToggleSwitch OnContent="" OffContent="" Name="ToggleSwitchPowerPointEnhancement"
IsOn="False" FontFamily="Microsoft YaHei UI" FontWeight="Bold"
Toggled="ToggleSwitchPowerPointEnhancement_Toggled" />
</ikw:SimpleStackPanel>
<ikw:SimpleStackPanel Orientation="Horizontal" HorizontalAlignment="Left">
<Image Source="/Resources/Icons-png/Powerpoint.png" Margin="0,0,6,0" Width="28"
Height="28" VerticalAlignment="Center" />
<TextBlock Foreground="#fafafa" Text="{i18n:I18n Key=PPT_SkipAnimations}" VerticalAlignment="Center"
FontSize="14" Margin="0,0,16,0" />
<ui:ToggleSwitch OnContent="" OffContent="" Name="ToggleSwitchSkipAnimationsWhenGoNext"
IsOn="False" FontFamily="Microsoft YaHei UI" FontWeight="Bold"
Toggled="ToggleSwitchSkipAnimationsWhenGoNext_Toggled" />
</ikw:SimpleStackPanel>
<ikw:SimpleStackPanel Orientation="Horizontal" HorizontalAlignment="Left">
<Image Source="/Resources/Icons-png/Powerpoint.png" Margin="0,0,6,0" Width="28"
Height="28" VerticalAlignment="Center" />
<TextBlock Foreground="#fafafa" Text="{i18n:I18n Key=PPT_UseRot}" VerticalAlignment="Center"
FontSize="14" Margin="0,0,16,0" />
<ui:ToggleSwitch OnContent="" OffContent="" Name="ToggleSwitchUseRotPptLink"
IsOn="False" FontFamily="Microsoft YaHei UI" FontWeight="Bold"
Toggled="ToggleSwitchUseRotPptLink_Toggled" />
</ikw:SimpleStackPanel>
<ikw:SimpleStackPanel Orientation="Horizontal" HorizontalAlignment="Left">
<Image Source="/Resources/Icons-png/WPS.png" Margin="0,0,6,0" Width="28"
Height="28" VerticalAlignment="Center" />
<TextBlock Foreground="#fafafa" Text="{i18n:I18n Key=PPT_SupportWPS}" VerticalAlignment="Center"
FontSize="14" Margin="0,0,16,0" />
<ui:ToggleSwitch OnContent="" OffContent="" Name="ToggleSwitchSupportWPS"
IsOn="True" FontFamily="Microsoft YaHei UI" FontWeight="Bold"
Toggled="ToggleSwitchSupportWPS_Toggled" />
</ikw:SimpleStackPanel>
<ikw:SimpleStackPanel Orientation="Horizontal" HorizontalAlignment="Left">
<Image Source="/Resources/Icons-png/WPS.png" Margin="0,0,6,0" Width="28"
Height="28" VerticalAlignment="Center" />
<TextBlock Foreground="#fafafa" Text="{i18n:I18n Key=PPT_KillWppProcess}" VerticalAlignment="Center"
FontSize="14" Margin="0,0,16,0" />
<ui:ToggleSwitch OnContent="" OffContent="" Name="ToggleSwitchEnableWppProcessKill"
IsOn="True" FontFamily="Microsoft YaHei UI" FontWeight="Bold"
Toggled="ToggleSwitchEnableWppProcessKill_Toggled" />
</ikw:SimpleStackPanel>
<TextBlock Text="{i18n:I18n Key=PPT_KillWppHint}" TextWrapping="Wrap" Foreground="#a1a1aa" />
<TextBlock Text="{i18n:I18n Key=PPT_WpsHint1}" TextWrapping="Wrap" Foreground="#a1a1aa" />
<Border BorderBrush="#ef4444"
BorderThickness="2" Padding="8" CornerRadius="6" Background="#991b1b">
<Grid>
<Grid.ColumnDefinitions>
<ColumnDefinition Width="24" />
<ColumnDefinition Width="*" />
</Grid.ColumnDefinitions>
<Image Width="20" Height="20" VerticalAlignment="Top" Margin="0,2,0,0">
<Image.Source>
<DrawingImage>
<DrawingImage.Drawing>
<DrawingGroup ClipGeometry="M0,0 V24 H24 V0 H0 Z">
<GeometryDrawing Brush="White"
Geometry="F0 M24,24z M0,0z M10.478,6.91759C10.478,6.07778 11.1588,5.39697 11.9986,5.39697 12.8385,5.39697 13.5193,6.07778 13.5193,6.91759L13.5193,12.0001C13.5193,12.8399 12.8385,13.5207 11.9986,13.5207 11.1588,13.5207 10.478,12.8399 10.478,12.0001L10.478,6.91759z M10.478,17.0826C10.478,16.2427,11.1588,15.5619,11.9986,15.5619L12.0114,15.5619C12.8512,15.5619 13.532,16.2427 13.532,17.0826 13.532,17.9224 12.8512,18.6032 12.0114,18.6032L11.9986,18.6032C11.1588,18.6032,10.478,17.9224,10.478,17.0826z M12,0.75C5.7868,0.75 0.75,5.7868 0.75,12 0.75,18.2132 5.7868,23.25 12,23.25 18.2132,23.25 23.25,18.2132 23.25,12 23.25,5.7868 18.2132,0.75 12,0.75z M3.25,12C3.25,7.16751 7.16751,3.25 12,3.25 16.8325,3.25 20.75,7.16751 20.75,12 20.75,16.8325 16.8325,20.75 12,20.75 7.16751,20.75 3.25,16.8325 3.25,12z" />
</DrawingGroup>
</DrawingImage.Drawing>
</DrawingImage>
</Image.Source>
</Image>
<TextBlock Grid.Column="1" Margin="6,0,0,0" FontSize="13" VerticalAlignment="Center"
TextWrapping="Wrap"
Text="{i18n:I18n Key=PPT_WpsLagWarning}">
</TextBlock>
</Grid>
</Border>
<TextBlock
Text="{i18n:I18n Key=PPT_WpsSupportHint}"
TextWrapping="Wrap" Foreground="#a1a1aa" />
<Line HorizontalAlignment="Center" X1="0" Y1="0" X2="400" Y2="0" Stroke="#3f3f46"
StrokeThickness="1" Margin="0,4,0,4" />
<TextBlock Margin="0,0,0,8" Text="{i18n:I18n Key=PPT_FlipButtonsTitle}" FontWeight="Bold" Foreground="#fafafa"
FontSize="20" />
<Border ClipToBounds="True" Width="324" Height="182">
<Grid>
<Image Source="Resources/PresentationExample/page.jpg" Width="324" Height="182" Stretch="Fill"></Image>
<Image Name="PPTBtnPreviewToolbar" Source="Resources/PresentationExample/toolbar.png" Height="16"
VerticalAlignment="Bottom" HorizontalAlignment="Center" Stretch="Uniform" />
<Image Name="PPTBtnPreviewLS" Source="Resources/PresentationExample/sidebar-white.png" Width="10" Height="30"
VerticalAlignment="Center" HorizontalAlignment="Left" RenderTransformOrigin="0.5,0.5" Stretch="Fill">
<Image.RenderTransform>
<TransformGroup>
<TranslateTransform x:Name="PPTBtnPreviewLSTransform"/>
</TransformGroup>
</Image.RenderTransform>
</Image>
<Image Name="PPTBtnPreviewRS" Source="Resources/PresentationExample/sidebar-white.png" Width="10" Height="30"
VerticalAlignment="Center" HorizontalAlignment="Right" RenderTransformOrigin="0.5,0.5" Stretch="Fill">
<Image.RenderTransform>
<TransformGroup>
<TranslateTransform x:Name="PPTBtnPreviewRSTransform"/>
</TransformGroup>
</Image.RenderTransform>
</Image>
<Image Name="PPTBtnPreviewLB" Source="Resources/PresentationExample/bottombar-white.png" Height="10" Width="30"
VerticalAlignment="Bottom" HorizontalAlignment="Left" RenderTransformOrigin="0.5,0.5" Stretch="Fill">
<Image.RenderTransform>
<TransformGroup>
<TranslateTransform x:Name="PPTBtnPreviewLBTransform"/>
</TransformGroup>
</Image.RenderTransform>
</Image>
<Image Name="PPTBtnPreviewRB" Source="Resources/PresentationExample/bottombar-white.png" Height="10" Width="30"
VerticalAlignment="Bottom" HorizontalAlignment="Right" RenderTransformOrigin="0.5,0.5" Stretch="Fill">
<Image.RenderTransform>
<TransformGroup>
<TranslateTransform x:Name="PPTBtnPreviewRBTransform"/>
</TransformGroup>
</Image.RenderTransform>
</Image>
</Grid>
</Border>
<ikw:SimpleStackPanel Orientation="Horizontal" HorizontalAlignment="Left">
<TextBlock Foreground="#fafafa" Text="{i18n:I18n Key=PPT_ShowFlipButtons}"
VerticalAlignment="Center" FontSize="14" Margin="0,0,16,0" />
<ui:ToggleSwitch OnContent="" OffContent=""
Name="ToggleSwitchShowPPTButton" IsOn="True"
FontFamily="Microsoft YaHei UI" FontWeight="Bold"
Toggled="ToggleSwitchShowPPTButton_OnToggled" />
</ikw:SimpleStackPanel>
<ikw:SimpleStackPanel Spacing="6" Name="PPTButtonSettingsPanel"
Visibility="{Binding ElementName=ToggleSwitchShowPPTButton, Path=IsOn, Converter={StaticResource BooleanToVisibilityConverter}}">
<WrapPanel Margin="0,-4,0,4" Orientation="Horizontal"
HorizontalAlignment="Left">
<CheckBox IsChecked="True" MinWidth="0" Width="180" Margin="0,0,12,4" Name="CheckboxEnableLBPPTButton"
Checked="CheckboxEnableLBPPTButton_IsCheckChanged"
Unchecked="CheckboxEnableLBPPTButton_IsCheckChanged"
Content="{i18n:I18n Key=PPT_Position_LeftBottom}" />
<CheckBox IsChecked="True" MinWidth="0" Width="180" Margin="0,0,12,4" Name="CheckboxEnableRBPPTButton"
Checked="CheckboxEnableRBPPTButton_IsCheckChanged"
Unchecked="CheckboxEnableRBPPTButton_IsCheckChanged"
Content="{i18n:I18n Key=PPT_Position_RightBottom}" />
<CheckBox IsChecked="True" MinWidth="0" Width="180" Margin="0,0,12,4" Name="CheckboxEnableLSPPTButton"
Checked="CheckboxEnableLSPPTButton_IsCheckChanged"
Unchecked="CheckboxEnableLSPPTButton_IsCheckChanged"
Content="{i18n:I18n Key=PPT_Position_Left}" />
<CheckBox IsChecked="True" MinWidth="0" Width="180" Margin="0,0,12,4" Name="CheckboxEnableRSPPTButton"
Checked="CheckboxEnableRSPPTButton_IsCheckChanged"
Unchecked="CheckboxEnableRSPPTButton_IsCheckChanged"
Content="{i18n:I18n Key=PPT_Position_Right}" />
</WrapPanel>
<ikw:SimpleStackPanel Orientation="Horizontal" HorizontalAlignment="Left">
<TextBlock Foreground="#fafafa" Text="{i18n:I18n Key=PPT_LeftOffset}" VerticalAlignment="Center"
FontSize="14" Margin="0,0,12,0" />
<Slider x:Name="PPTButtonLeftPositionValueSlider" Minimum="-500"
Maximum="500" Width="138" FontFamily="Microsoft YaHei UI"
FontSize="20" IsSnapToTickEnabled="True" Value="0"
TickFrequency="1"
TickPlacement="None" AutoToolTipPlacement="None"
ValueChanged="PPTButtonLeftPositionValueSlider_ValueChanged" />
<Button Padding="5" Margin="8,0,0,0" Name="PPTBtnLSPlusBtn"
Click="PPTBtnLSPlusBtn_Clicked">
<Image Width="16" Height="16">
<Image.Source>
<DrawingImage>
<DrawingImage.Drawing>
<DrawingGroup ClipGeometry="M0,0 V16 H16 V0 H0 Z">
<GeometryDrawing Brush="#f4f4f5"
Geometry="F0 M16,16z M0,0z M9,1C9,0.447715 8.55229,0 8,0 7.44772,0 7,0.447715 7,1L7,7 1,7C0.447715,7 0,7.44772 0,8 0,8.55229 0.447715,9 1,9L7,9 7,15C7,15.5523 7.44772,16 8,16 8.55229,16 9,15.5523 9,15L9,9 15,9C15.5523,9 16,8.55229 16,8 16,7.44772 15.5523,7 15,7L9,7 9,1z" />
</DrawingGroup>
</DrawingImage.Drawing>
</DrawingImage>
</Image.Source>
</Image>
</Button>
<Button Margin="6,0,0,0" Padding="5" Name="PPTBtnLSMinusBtn"
Click="PPTBtnLSMinusBtn_Clicked">
<Image Width="16" Height="16">
<Image.Source>
<DrawingImage>
<DrawingImage.Drawing>
<DrawingGroup ClipGeometry="M0,0 V2 H16 V0 H0 Z">
<GeometryDrawing Brush="#f4f4f5"
Geometry="F0 M16,2z M0,0z M0,1C0,0.447715,0.447715,0,1,0L15,0C15.5523,0 16,0.447715 16,1 16,1.55228 15.5523,2 15,2L1,2C0.447715,2,0,1.55228,0,1z" />
</DrawingGroup>
</DrawingImage.Drawing>
</DrawingImage>
</Image.Source>
</Image>
</Button>
<Button Margin="6,0,0,0" Padding="5" Name="PPTBtnLSSyncBtn"
Click="PPTBtnLSSyncBtn_Clicked">
<Image Width="16" Height="16">
<Image.Source>
<DrawingImage>
<DrawingImage.Drawing>
<DrawingGroup ClipGeometry="M0,0 V6 H16 V0 H0 Z">
<GeometryDrawing Brush="#f4f4f5"
Geometry="F0 M16,6z M0,0z M1,0C0.447715,0 0,0.447715 0,1 0,1.55228 0.447715,2 1,2L15,2C15.5523,2 16,1.55228 16,1 16,0.447715 15.5523,0 15,0L1,0z M1,4C0.447715,4 0,4.44772 0,5 0,5.55228 0.447715,6 1,6L15,6C15.5523,6 16,5.55228 16,5 16,4.44772 15.5523,4 15,4L1,4z" />
</DrawingGroup>
</DrawingImage.Drawing>
</DrawingImage>
</Image.Source>
</Image>
</Button>
<Button Margin="6,0,0,0" Padding="5" Name="PPTBtnLSResetBtn"
Click="PPTBtnLSResetBtn_Clicked">
<Image Width="16" Height="16">
<Image.Source>
<DrawingImage>
<DrawingImage.Drawing>
<DrawingGroup ClipGeometry="M0,0 V24 H24 V0 H0 Z">
<GeometryDrawing Brush="#f4f4f5"
Geometry="F0 M24,24z M0,0z M12,2.01123C10.5428,2.01123 9.14528,2.5901 8.11488,3.6205 7.08449,4.65089 6.50562,6.04841 6.50562,7.50561L6.50562,16.4944C6.50562,17.9516 7.08449,19.3491 8.11488,20.3795 9.14528,21.4099 10.5428,21.9888 12,21.9888 13.4572,21.9888 14.8547,21.4099 15.8851,20.3795 16.9135,19.3511 17.4922,17.9569 17.4944,16.5027 17.4944,16.4999 17.4944,16.4972 17.4944,16.4944L17.4944,7.50563C17.4944,7.50285 17.4944,7.50007 17.4944,7.4973 17.4922,6.0431 16.9135,4.64893 15.8851,3.6205 14.8547,2.5901 13.4572,2.01123 12,2.01123z M9.5291,5.03471C10.1844,4.37939 11.0732,4.01123 12,4.01123 12.9268,4.01123 13.8156,4.37939 14.4709,5.03471 15.1262,5.69003 15.4944,6.57884 15.4944,7.50561L15.4944,16.4944C15.4944,17.4211 15.1262,18.31 14.4709,18.9653 13.8156,19.6206 12.9268,19.9888 12,19.9888 11.0732,19.9888 10.1844,19.6206 9.5291,18.9653 8.87377,18.31 8.50562,17.4211 8.50562,16.4944L8.50562,7.50561C8.50562,6.57884,8.87377,5.69003,9.5291,5.03471z" />
</DrawingGroup>
</DrawingImage.Drawing>
</DrawingImage>
</Image.Source>
</Image>
</Button>
<TextBlock
Text="{Binding ElementName=PPTButtonLeftPositionValueSlider, Path=Value}"
VerticalAlignment="Center" FontSize="13"
Margin="8,0,8,0" />
</ikw:SimpleStackPanel>
<ikw:SimpleStackPanel Orientation="Horizontal" HorizontalAlignment="Left"
Name="PPTLSButtonOpacityPanel"
Visibility="{Binding ElementName=CheckboxSPPTHalfOpacity, Path=IsChecked, Converter={StaticResource BooleanToVisibilityConverter}}">
<TextBlock Foreground="#fafafa" Text="{i18n:I18n Key=PPT_LeftOpacity}" VerticalAlignment="Center"
FontSize="14" Margin="0,0,12,0" />
<Slider x:Name="PPTLSButtonOpacityValueSlider" Minimum="0.1"
Maximum="1.0" Width="138" FontFamily="Microsoft YaHei UI"
FontSize="20" IsSnapToTickEnabled="True" Value="0.5"
TickFrequency="0.1"
TickPlacement="None" AutoToolTipPlacement="None"
ValueChanged="PPTLSButtonOpacityValueSlider_ValueChanged" />
<Button Padding="5" Margin="8,0,0,0" Name="PPTLSOpacityPlusBtn"
Click="PPTLSOpacityPlusBtn_Clicked">
<Image Width="16" Height="16">
<Image.Source>
<DrawingImage>
<DrawingImage.Drawing>
<DrawingGroup ClipGeometry="M0,0 V16 H16 V0 H0 Z">
<GeometryDrawing Brush="#f4f4f5"
Geometry="F0 M16,16z M0,0z M9,1C9,0.447715 8.55229,0 8,0 7.44772,0 7,0.447715 7,1L7,7 1,7C0.447715,7 0,7.44772 0,8 0,8.55229 0.447715,9 1,9L7,9 7,15C7,15.5523 7.44772,16 8,16 8.55229,16 9,15.5523 9,15L9,9 15,9C15.5523,9 16,8.55229 16,8 16,7.44772 15.5523,7 15,7L9,7 9,1z" />
</DrawingGroup>
</DrawingImage.Drawing>
</DrawingImage>
</Image.Source>
</Image>
</Button>
<Button Margin="6,0,0,0" Padding="5" Name="PPTLSOpacityMinusBtn"
Click="PPTLSOpacityMinusBtn_Clicked">
<Image Width="16" Height="16">
<Image.Source>
<DrawingImage>
<DrawingImage.Drawing>
<DrawingGroup ClipGeometry="M0,0 V2 H16 V0 H0 Z">
<GeometryDrawing Brush="#f4f4f5"
Geometry="F0 M16,2z M0,0z M0,1C0,0.447715,0.447715,0,1,0L15,0C15.5523,0 16,0.447715 16,1 16,1.55228 15.5523,2 15,2L1,2C0.447715,2,0,1.55228,0,1z" />
</DrawingGroup>
</DrawingImage.Drawing>
</DrawingImage>
</Image.Source>
</Image>
</Button>
<Button Margin="6,0,0,0" Padding="5" Name="PPTLSOpacitySyncBtn"
Click="PPTLSOpacitySyncBtn_Clicked">
<Image Width="16" Height="16">
<Image.Source>
<DrawingImage>
<DrawingImage.Drawing>
<DrawingGroup ClipGeometry="M0,0 V6 H16 V0 H0 Z">
<GeometryDrawing Brush="#f4f4f5"
Geometry="F0 M16,6z M0,0z M1,0C0.447715,0 0,0.447715 0,1 0,1.55228 0.447715,2 1,2L15,2C15.5523,2 16,1.55228 16,1 16,0.447715 15.5523,0 15,0L1,0z M1,4C0.447715,4 0,4.44772 0,5 0,5.55228 0.447715,6 1,6L15,6C15.5523,6 16,5.55228 16,5 16,4.44772 15.5523,4 15,4L1,4z" />
</DrawingGroup>
</DrawingImage.Drawing>
</DrawingImage>
</Image.Source>
</Image>
</Button>
<Button Margin="6,0,0,0" Padding="5" Name="PPTLSOpacityResetBtn"
Click="PPTLSOpacityResetBtn_Clicked">
<Image Width="16" Height="16">
<Image.Source>
<DrawingImage>
<DrawingImage.Drawing>
<DrawingGroup ClipGeometry="M0,0 V24 H24 V0 H0 Z">
<GeometryDrawing Brush="#f4f4f5"
Geometry="F0 M24,24z M0,0z M12,2.01123C10.5428,2.01123 9.14528,2.5901 8.11488,3.6205 7.08449,4.65089 6.50562,6.04841 6.50562,7.50561L6.50562,16.4944C6.50562,17.9516 7.08449,19.3491 8.11488,20.3795 9.14528,21.4099 10.5428,21.9888 12,21.9888 13.4572,21.9888 14.8547,21.4099 15.8851,20.3795 16.9135,19.3511 17.4922,17.9569 17.4944,16.5027 17.4944,16.4999 17.4944,16.4972 17.4944,16.4944L17.4944,7.50563C17.4944,7.50285 17.4944,7.50007 17.4944,7.4973 17.4922,6.0431 16.9135,4.64893 15.8851,3.6205 14.8547,2.5901 13.4572,2.01123 12,2.01123z M9.5291,5.03471C10.1844,4.37939 11.0732,4.01123 12,4.01123 12.9268,4.01123 13.8156,4.37939 14.4709,5.03471 15.1262,5.69003 15.4944,6.57884 15.4944,7.50561L15.4944,16.4944C15.4944,17.4211 15.1262,18.31 14.4709,18.9653 13.8156,19.6206 12.9268,19.9888 12,19.9888 11.0732,19.9888 10.1844,19.6206 9.5291,18.9653 8.87377,18.31 8.50562,17.4211 8.50562,16.4944L8.50562,7.50561C8.50562,6.57884,8.87377,5.69003,9.5291,5.03471z" />
</DrawingGroup>
</DrawingImage.Drawing>
</DrawingImage>
</Image.Source>
</Image>
</Button>
<TextBlock
Text="{Binding ElementName=PPTLSButtonOpacityValueSlider, Path=Value, StringFormat='{}{0:F1}'}"
VerticalAlignment="Center" FontSize="13"
Margin="8,0,0,0" />
</ikw:SimpleStackPanel>
<ikw:SimpleStackPanel Orientation="Horizontal" HorizontalAlignment="Left">
<TextBlock Foreground="#fafafa" Text="{i18n:I18n Key=PPT_RightOffset}" VerticalAlignment="Center"
FontSize="14" Margin="0,0,12,0" />
<Slider x:Name="PPTButtonRightPositionValueSlider" Minimum="-500"
Maximum="500" Width="138" FontFamily="Microsoft YaHei UI"
FontSize="20" IsSnapToTickEnabled="True" Value="0"
TickFrequency="1"
TickPlacement="None" AutoToolTipPlacement="None"
ValueChanged="PPTButtonRightPositionValueSlider_ValueChanged" />
<Button Padding="5" Margin="8,0,0,0" Name="PPTBtnRSPlusBtn"
Click="PPTBtnRSPlusBtn_Clicked">
<Image Width="16" Height="16">
<Image.Source>
<DrawingImage>
<DrawingImage.Drawing>
<DrawingGroup ClipGeometry="M0,0 V16 H16 V0 H0 Z">
<GeometryDrawing Brush="#f4f4f5"
Geometry="F0 M16,16z M0,0z M9,1C9,0.447715 8.55229,0 8,0 7.44772,0 7,0.447715 7,1L7,7 1,7C0.447715,7 0,7.44772 0,8 0,8.55229 0.447715,9 1,9L7,9 7,15C7,15.5523 7.44772,16 8,16 8.55229,16 9,15.5523 9,15L9,9 15,9C15.5523,9 16,8.55229 16,8 16,7.44772 15.5523,7 15,7L9,7 9,1z" />
</DrawingGroup>
</DrawingImage.Drawing>
</DrawingImage>
</Image.Source>
</Image>
</Button>
<Button Margin="6,0,0,0" Padding="5" Name="PPTBtnRSMinusBtn"
Click="PPTBtnRSMinusBtn_Clicked">
<Image Width="16" Height="16">
<Image.Source>
<DrawingImage>
<DrawingImage.Drawing>
<DrawingGroup ClipGeometry="M0,0 V2 H16 V0 H0 Z">
<GeometryDrawing Brush="#f4f4f5"
Geometry="F0 M16,2z M0,0z M0,1C0,0.447715,0.447715,0,1,0L15,0C15.5523,0 16,0.447715 16,1 16,1.55228 15.5523,2 15,2L1,2C0.447715,2,0,1.55228,0,1z" />
</DrawingGroup>
</DrawingImage.Drawing>
</DrawingImage>
</Image.Source>
</Image>
</Button>
<Button Margin="6,0,0,0" Padding="5" Name="PPTBtnRSSyncBtn"
Click="PPTBtnRSSyncBtn_Clicked">
<Image Width="16" Height="16">
<Image.Source>
<DrawingImage>
<DrawingImage.Drawing>
<DrawingGroup ClipGeometry="M0,0 V6 H16 V0 H0 Z">
<GeometryDrawing Brush="#f4f4f5"
Geometry="F0 M16,6z M0,0z M1,0C0.447715,0 0,0.447715 0,1 0,1.55228 0.447715,2 1,2L15,2C15.5523,2 16,1.55228 16,1 16,0.447715 15.5523,0 15,0L1,0z M1,4C0.447715,4 0,4.44772 0,5 0,5.55228 0.447715,6 1,6L15,6C15.5523,6 16,5.55228 16,5 16,4.44772 15.5523,4 15,4L1,4z" />
</DrawingGroup>
</DrawingImage.Drawing>
</DrawingImage>
</Image.Source>
</Image>
</Button>
<Button Margin="6,0,0,0" Padding="5" Name="PPTBtnRSResetBtn"
Click="PPTBtnRSResetBtn_Clicked">
<Image Width="16" Height="16">
<Image.Source>
<DrawingImage>
<DrawingImage.Drawing>
<DrawingGroup ClipGeometry="M0,0 V24 H24 V0 H0 Z">
<GeometryDrawing Brush="#f4f4f5"
Geometry="F0 M24,24z M0,0z M12,2.01123C10.5428,2.01123 9.14528,2.5901 8.11488,3.6205 7.08449,4.65089 6.50562,6.04841 6.50562,7.50561L6.50562,16.4944C6.50562,17.9516 7.08449,19.3491 8.11488,20.3795 9.14528,21.4099 10.5428,21.9888 12,21.9888 13.4572,21.9888 14.8547,21.4099 15.8851,20.3795 16.9135,19.3511 17.4922,17.9569 17.4944,16.5027 17.4944,16.4999 17.4944,16.4972 17.4944,16.4944L17.4944,7.50563C17.4944,7.50285 17.4944,7.50007 17.4944,7.4973 17.4922,6.0431 16.9135,4.64893 15.8851,3.6205 14.8547,2.5901 13.4572,2.01123 12,2.01123z M9.5291,5.03471C10.1844,4.37939 11.0732,4.01123 12,4.01123 12.9268,4.01123 13.8156,4.37939 14.4709,5.03471 15.1262,5.69003 15.4944,6.57884 15.4944,7.50561L15.4944,16.4944C15.4944,17.4211 15.1262,18.31 14.4709,18.9653 13.8156,19.6206 12.9268,19.9888 12,19.9888 11.0732,19.9888 10.1844,19.6206 9.5291,18.9653 8.87377,18.31 8.50562,17.4211 8.50562,16.4944L8.50562,7.50561C8.50562,6.57884,8.87377,5.69003,9.5291,5.03471z" />
</DrawingGroup>
</DrawingImage.Drawing>
</DrawingImage>
</Image.Source>
</Image>
</Button>
<TextBlock
Text="{Binding ElementName=PPTButtonRightPositionValueSlider, Path=Value}"
VerticalAlignment="Center" FontSize="13"
Margin="8,0,16,0" />
</ikw:SimpleStackPanel>
<ikw:SimpleStackPanel Orientation="Horizontal" HorizontalAlignment="Left"
Name="PPTRSButtonOpacityPanel"
Visibility="{Binding ElementName=CheckboxSPPTHalfOpacity, Path=IsChecked, Converter={StaticResource BooleanToVisibilityConverter}}">
<TextBlock Foreground="#fafafa" Text="{i18n:I18n Key=PPT_RightOpacity}" VerticalAlignment="Center"
FontSize="14" Margin="0,0,12,0" />
<Slider x:Name="PPTRSButtonOpacityValueSlider" Minimum="0.1"
Maximum="1.0" Width="138" FontFamily="Microsoft YaHei UI"
FontSize="20" IsSnapToTickEnabled="True" Value="0.5"
TickFrequency="0.1"
TickPlacement="None" AutoToolTipPlacement="None"
ValueChanged="PPTRSButtonOpacityValueSlider_ValueChanged" />
<Button Padding="5" Margin="8,0,0,0" Name="PPTRSOpacityPlusBtn"
Click="PPTRSOpacityPlusBtn_Clicked">
<Image Width="16" Height="16">
<Image.Source>
<DrawingImage>
<DrawingImage.Drawing>
<DrawingGroup ClipGeometry="M0,0 V16 H16 V0 H0 Z">
<GeometryDrawing Brush="#f4f4f5"
Geometry="F0 M16,16z M0,0z M9,1C9,0.447715 8.55229,0 8,0 7.44772,0 7,0.447715 7,1L7,7 1,7C0.447715,7 0,7.44772 0,8 0,8.55229 0.447715,9 1,9L7,9 7,15C7,15.5523 7.44772,16 8,16 8.55229,16 9,15.5523 9,15L9,9 15,9C15.5523,9 16,8.55229 16,8 16,7.44772 15.5523,7 15,7L9,7 9,1z" />
</DrawingGroup>
</DrawingImage.Drawing>
</DrawingImage>
</Image.Source>
</Image>
</Button>
<Button Margin="6,0,0,0" Padding="5" Name="PPTRSOpacityMinusBtn"
Click="PPTRSOpacityMinusBtn_Clicked">
<Image Width="16" Height="16">
<Image.Source>
<DrawingImage>
<DrawingImage.Drawing>
<DrawingGroup ClipGeometry="M0,0 V2 H16 V0 H0 Z">
<GeometryDrawing Brush="#f4f4f5"
Geometry="F0 M16,2z M0,0z M0,1C0,0.447715,0.447715,0,1,0L15,0C15.5523,0 16,0.447715 16,1 16,1.55228 15.5523,2 15,2L1,2C0.447715,2,0,1.55228,0,1z" />
</DrawingGroup>
</DrawingImage.Drawing>
</DrawingImage>
</Image.Source>
</Image>
</Button>
<Button Margin="6,0,0,0" Padding="5" Name="PPTRSOpacitySyncBtn"
Click="PPTRSOpacitySyncBtn_Clicked">
<Image Width="16" Height="16">
<Image.Source>
<DrawingImage>
<DrawingImage.Drawing>
<DrawingGroup ClipGeometry="M0,0 V6 H16 V0 H0 Z">
<GeometryDrawing Brush="#f4f4f5"
Geometry="F0 M16,6z M0,0z M1,0C0.447715,0 0,0.447715 0,1 0,1.55228 0.447715,2 1,2L15,2C15.5523,2 16,1.55228 16,1 16,0.447715 15.5523,0 15,0L1,0z M1,4C0.447715,4 0,4.44772 0,5 0,5.55228 0.447715,6 1,6L15,6C15.5523,6 16,5.55228 16,5 16,4.44772 15.5523,4 15,4L1,4z" />
</DrawingGroup>
</DrawingImage.Drawing>
</DrawingImage>
</Image.Source>
</Image>
</Button>
<Button Margin="6,0,0,0" Padding="5" Name="PPTRSOpacityResetBtn"
Click="PPTRSOpacityResetBtn_Clicked">
<Image Width="16" Height="16">
<Image.Source>
<DrawingImage>
<DrawingImage.Drawing>
<DrawingGroup ClipGeometry="M0,0 V24 H24 V0 H0 Z">
<GeometryDrawing Brush="#f4f4f5"
Geometry="F0 M24,24z M0,0z M12,2.01123C10.5428,2.01123 9.14528,2.5901 8.11488,3.6205 7.08449,4.65089 6.50562,6.04841 6.50562,7.50561L6.50562,16.4944C6.50562,17.9516 7.08449,19.3491 8.11488,20.3795 9.14528,21.4099 10.5428,21.9888 12,21.9888 13.4572,21.9888 14.8547,21.4099 15.8851,20.3795 16.9135,19.3511 17.4922,17.9569 17.4944,16.5027 17.4944,16.4999 17.4944,16.4972 17.4944,16.4944L17.4944,7.50563C17.4944,7.50285 17.4944,7.50007 17.4944,7.4973 17.4922,6.0431 16.9135,4.64893 15.8851,3.6205 14.8547,2.5901 13.4572,2.01123 12,2.01123z M9.5291,5.03471C10.1844,4.37939 11.0732,4.01123 12,4.01123 12.9268,4.01123 13.8156,4.37939 14.4709,5.03471 15.1262,5.69003 15.4944,6.57884 15.4944,7.50561L15.4944,16.4944C15.4944,17.4211 15.1262,18.31 14.4709,18.9653 13.8156,19.6206 12.9268,19.9888 12,19.9888 11.0732,19.9888 10.1844,19.6206 9.5291,18.9653 8.87377,18.31 8.50562,17.4211 8.50562,16.4944L8.50562,7.50561C8.50562,6.57884,8.87377,5.69003,9.5291,5.03471z" />
</DrawingGroup>
</DrawingImage.Drawing>
</DrawingImage>
</Image.Source>
</Image>
</Button>
<TextBlock
Text="{Binding ElementName=PPTRSButtonOpacityValueSlider, Path=Value, StringFormat='{}{0:F1}'}"
VerticalAlignment="Center" FontSize="13"
Margin="8,0,0,0" />
</ikw:SimpleStackPanel>
<TextBlock
Text="{i18n:I18n Key=PPT_OffsetHint}"
TextWrapping="Wrap" Foreground="#a1a1aa" />
<ikw:SimpleStackPanel Orientation="Horizontal" HorizontalAlignment="Left">
<TextBlock Foreground="#fafafa" Text="{i18n:I18n Key=PPT_LeftBottomOffset}" VerticalAlignment="Center"
FontSize="14" Margin="0,0,12,0" />
<Slider x:Name="PPTButtonLBPositionValueSlider" Minimum="-500"
Maximum="500" Width="138" FontFamily="Microsoft YaHei UI"
FontSize="20" IsSnapToTickEnabled="True" Value="0"
TickFrequency="1"
TickPlacement="None" AutoToolTipPlacement="None"
ValueChanged="PPTButtonLBPositionValueSlider_ValueChanged" />
<Button Padding="5" Margin="8,0,0,0" Name="PPTBtnLBPlusBtn"
Click="PPTBtnLBPlusBtn_Clicked">
<Image Width="16" Height="16">
<Image.Source>
<DrawingImage>
<DrawingImage.Drawing>
<DrawingGroup ClipGeometry="M0,0 V16 H16 V0 H0 Z">
<GeometryDrawing Brush="#f4f4f5"
Geometry="F0 M16,16z M0,0z M9,1C9,0.447715 8.55229,0 8,0 7.44772,0 7,0.447715 7,1L7,7 1,7C0.447715,7 0,7.55272 0,8 0,8.44728 0.447715,9 1,9L7,9 7,15C7,15.5523 7.44772,16 8,16 8.55229,16 9,15.5523 9,15L9,9 15,9C15.5523,9 16,8.44728 16,8 16,7.55272 15.5523,7 15,7L9,7 9,1z" />
</DrawingGroup>
</DrawingImage.Drawing>
</DrawingImage>
</Image.Source>
</Image>
</Button>
<Button Margin="6,0,0,0" Padding="5" Name="PPTBtnLBMinusBtn"
Click="PPTBtnLBMinusBtn_Clicked">
<Image Width="16" Height="16">
<Image.Source>
<DrawingImage>
<DrawingImage.Drawing>
<DrawingGroup ClipGeometry="M0,0 V2 H16 V0 H0 Z">
<GeometryDrawing Brush="#f4f4f5"
Geometry="F0 M16,2z M0,0z M0,1C0,0.447715,0.447715,0,1,0L15,0C15.5523,0 16,0.447715 16,1 16,1.55228 15.5523,2 15,2L1,2C0.447715,2,0,1.55228,0,1z" />
</DrawingGroup>
</DrawingImage.Drawing>
</DrawingImage>
</Image.Source>
</Image>
</Button>
<Button Margin="6,0,0,0" Padding="5" Name="PPTBtnLBSyncBtn"
Click="PPTBtnLBSyncBtn_Clicked">
<Image Width="16" Height="16">
<Image.Source>
<DrawingImage>
<DrawingImage.Drawing>
<DrawingGroup ClipGeometry="M0,0 V6 H16 V0 H0 Z">
<DrawingGroup ClipGeometry="M0,0 V6 H16 V0 H0 Z">
<GeometryDrawing Brush="#f4f4f5"
Geometry="F0 M16,6z M0,0z M1,0C0.447715,0 0,0.447715 0,1 0,1.55228 0.447715,2 1,2L15,2C15.5523,2 16,1.55228 16,1 16,0.447715 15.5523,0 15,0L1,0z M1,4C0.447715,4 0,4.44772 0,5 0,5.55228 0.447715,6 1,6L15,6C15.5523,6 16,5.55228 16,5 16,4.44772 15.5523,4 15,4L1,4z" />
</DrawingGroup>
</DrawingGroup>
</DrawingImage.Drawing>
</DrawingImage>
</Image.Source>
</Image>
</Button>
<Button Margin="6,0,0,0" Padding="5" Name="PPTBtnLBResetBtn"
Click="PPTBtnLBResetBtn_Clicked">
<Image Width="16" Height="16">
<Image.Source>
<DrawingImage>
<DrawingImage.Drawing>
<DrawingGroup ClipGeometry="M0,0 V24 H24 V0 H0 Z">
<GeometryDrawing Brush="#f4f4f5"
Geometry="F0 M24,24z M0,0z M12,2.01123C10.5428,2.01123 9.14528,2.5901 8.11488,3.6205 7.08449,4.65089 6.50562,6.04841 6.50562,7.50561L6.50562,16.4944C6.50562,17.9516 7.08449,19.3491 8.11488,20.3795 9.14528,21.4099 10.5428,21.9888 12,21.9888 13.4572,21.9888 14.8547,21.4099 15.8851,20.3795 16.9135,19.3511 17.4922,17.9569 17.4944,16.5027 17.4944,16.4999 17.4944,16.4972 17.4944,16.4944L17.4944,7.50563C17.4944,7.50285 17.4944,7.50007 17.4944,7.4973 17.4922,6.0431 16.9135,4.64893 15.8851,3.6205 14.8547,2.5901 13.4572,2.01123 12,2.01123z M9.5291,5.03471C10.1844,4.37939 11.0732,4.01123 12,4.01123 12.9268,4.01123 13.8156,4.37939 14.4709,5.03471 15.1262,5.69003 15.4944,6.57884 15.4944,7.50561L15.4944,16.4944C15.4944,17.4211 15.1262,18.31 14.4709,18.9653 13.8156,19.6206 12.9268,19.9888 12,19.9888 11.0732,19.9888 10.1844,19.6206 9.5291,18.9653 8.87377,18.31 8.50562,17.4211 8.50562,16.4944L8.50562,7.50561C8.50562,6.57884 8.87377,5.69003 9.5291,5.03471z" />
</DrawingGroup>
</DrawingImage.Drawing>
</DrawingImage>
</Image.Source>
</Image>
</Button>
<TextBlock
Text="{Binding ElementName=PPTButtonLBPositionValueSlider, Path=Value}"
VerticalAlignment="Center" FontSize="13"
Margin="8,0,8,0" />
</ikw:SimpleStackPanel>
<ikw:SimpleStackPanel Orientation="Horizontal" HorizontalAlignment="Left"
Name="PPTLBButtonOpacityPanel"
Visibility="{Binding ElementName=CheckboxBPPTHalfOpacity, Path=IsChecked, Converter={StaticResource BooleanToVisibilityConverter}}">
<TextBlock Foreground="#fafafa" Text="{i18n:I18n Key=PPT_LeftBottomOpacity}" VerticalAlignment="Center"
FontSize="14" Margin="0,0,12,0" />
<Slider x:Name="PPTLBButtonOpacityValueSlider" Minimum="0.1"
Maximum="1.0" Width="138" FontFamily="Microsoft YaHei UI"
FontSize="20" IsSnapToTickEnabled="True" Value="0.5"
TickFrequency="0.1"
TickPlacement="None" AutoToolTipPlacement="None"
ValueChanged="PPTLBButtonOpacityValueSlider_ValueChanged" />
<Button Padding="5" Margin="8,0,0,0" Name="PPTLBOpacityPlusBtn"
Click="PPTLBOpacityPlusBtn_Clicked">
<Image Width="16" Height="16">
<Image.Source>
<DrawingImage>
<DrawingImage.Drawing>
<DrawingGroup ClipGeometry="M0,0 V16 H16 V0 H0 Z">
<GeometryDrawing Brush="#f4f4f5"
Geometry="F0 M16,16z M0,0z M9,1C9,0.447715 8.55229,0 8,0 7.44772,0 7,0.447715 7,1L7,7 1,7C0.447715,7 0,7.44772 0,8 0,8.55229 0.447715,9 1,9L7,9 7,15C7,15.5523 7.44772,16 8,16 8.55229,16 9,15.5523 9,15L9,9 15,9C15.5523,9 16,8.55229 16,8 16,7.44772 15.5523,7 15,7L9,7 9,1z" />
</DrawingGroup>
</DrawingImage.Drawing>
</DrawingImage>
</Image.Source>
</Image>
</Button>
<Button Margin="6,0,0,0" Padding="5" Name="PPTLBOpacityMinusBtn"
Click="PPTLBOpacityMinusBtn_Clicked">
<Image Width="16" Height="16">
<Image.Source>
<DrawingImage>
<DrawingImage.Drawing>
<DrawingGroup ClipGeometry="M0,0 V2 H16 V0 H0 Z">
<GeometryDrawing Brush="#f4f4f5"
Geometry="F0 M16,2z M0,0z M0,1C0,0.447715,0.447715,0,1,0L15,0C15.5523,0 16,0.447715 16,1 16,1.55228 15.5523,2 15,2L1,2C0.447715,2,0,1.55228,0,1z" />
</DrawingGroup>
</DrawingImage.Drawing>
</DrawingImage>
</Image.Source>
</Image>
</Button>
<Button Margin="6,0,0,0" Padding="5" Name="PPTLBOpacitySyncBtn"
Click="PPTLBOpacitySyncBtn_Clicked">
<Image Width="16" Height="16">
<Image.Source>
<DrawingImage>
<DrawingImage.Drawing>
<DrawingGroup ClipGeometry="M0,0 V6 H16 V0 H0 Z">
<GeometryDrawing Brush="#f4f4f5"
Geometry="F0 M16,6z M0,0z M1,0C0.447715,0 0,0.447715 0,1 0,1.55228 0.447715,2 1,2L15,2C15.5523,2 16,1.55228 16,1 16,0.447715 15.5523,0 15,0L1,0z M1,4C0.447715,4 0,4.44772 0,5 0,5.55228 0.447715,6 1,6L15,6C15.5523,6 16,5.55228 16,5 16,4.44772 15.5523,4 15,4L1,4z" />
</DrawingGroup>
</DrawingImage.Drawing>
</DrawingImage>
</Image.Source>
</Image>
</Button>
<Button Margin="6,0,0,0" Padding="5" Name="PPTLBOpacityResetBtn"
Click="PPTLBOpacityResetBtn_Clicked">
<Image Width="16" Height="16">
<Image.Source>
<DrawingImage>
<DrawingImage.Drawing>
<DrawingGroup ClipGeometry="M0,0 V24 H24 V0 H0 Z">
<GeometryDrawing Brush="#f4f4f5"
Geometry="F0 M24,24z M0,0z M12,2.01123C10.5428,2.01123 9.14528,2.5901 8.11488,3.6205 7.08449,4.65089 6.50562,6.04841 6.50562,7.50561L6.50562,16.4944C6.50562,17.9516 7.08449,19.3491 8.11488,20.3795 9.14528,21.4099 10.5428,21.9888 12,21.9888 13.4572,21.9888 14.8547,21.4099 15.8851,20.3795 16.9135,19.3511 17.4922,17.9569 17.4944,16.5027 17.4944,16.4999 17.4944,16.4972 17.4944,16.4944L17.4944,7.50563C17.4944,7.50285 17.4944,7.50007 17.4944,7.4973 17.4922,6.0431 16.9135,4.64893 15.8851,3.6205 14.8547,2.5901 13.4572,2.01123 12,2.01123z M9.5291,5.03471C10.1844,4.37939 11.0732,4.01123 12,4.01123 12.9268,4.01123 13.8156,4.37939 14.4709,5.03471 15.1262,5.69003 15.4944,6.57884 15.4944,7.50561L15.4944,16.4944C15.4944,17.4211 15.1262,18.31 14.4709,18.9653 13.8156,19.6206 12.9268,19.9888 12,19.9888 11.0732,19.9888 10.1844,19.6206 9.5291,18.9653 8.87377,18.31 8.50562,17.4211 8.50562,16.4944L8.50562,7.50561C8.50562,6.57884,8.87377,5.69003,9.5291,5.03471z" />
</DrawingGroup>
</DrawingImage.Drawing>
</DrawingImage>
</Image.Source>
</Image>
</Button>
<TextBlock
Text="{Binding ElementName=PPTLBButtonOpacityValueSlider, Path=Value, StringFormat='{}{0:F1}'}"
VerticalAlignment="Center" FontSize="13"
Margin="8,0,0,0" />
</ikw:SimpleStackPanel>
<ikw:SimpleStackPanel Orientation="Horizontal" HorizontalAlignment="Left">
<TextBlock Foreground="#fafafa" Text="{i18n:I18n Key=PPT_RightBottomOffset}" VerticalAlignment="Center"
FontSize="14" Margin="0,0,12,0" />
<Slider x:Name="PPTButtonRBPositionValueSlider" Minimum="-500"
Maximum="500" Width="138" FontFamily="Microsoft YaHei UI"
FontSize="20" IsSnapToTickEnabled="True" Value="0"
TickFrequency="1"
TickPlacement="None" AutoToolTipPlacement="None"
ValueChanged="PPTButtonRBPositionValueSlider_ValueChanged" />
<Button Padding="5" Margin="8,0,0,0" Name="PPTBtnRBPlusBtn"
Click="PPTBtnRBPlusBtn_Clicked">
<Image Width="16" Height="16">
<Image.Source>
<DrawingImage>
<DrawingImage.Drawing>
<DrawingGroup ClipGeometry="M0,0 V16 H16 V0 H0 Z">
<GeometryDrawing Brush="#f4f4f5"
Geometry="F0 M16,16z M0,0z M9,1C9,0.447715 8.55229,0 8,0 7.44772,0 7,0.447715 7,1L7,7 1,7C0.447715,7 0,7.55272 0,8 0,8.44728 0.447715,9 1,9L7,9 7,15C7,15.5523 7.44772,16 8,16 8.55229,16 9,15.5523 9,15L9,9 15,9C15.5523,9 16,8.44728 16,8 16,7.55272 15.5523,7 15,7L9,7 9,1z" />
</DrawingGroup>
</DrawingImage.Drawing>
</DrawingImage>
</Image.Source>
</Image>
</Button>
<Button Margin="6,0,0,0" Padding="5" Name="PPTBtnRBMinusBtn"
Click="PPTBtnRBMinusBtn_Clicked">
<Image Width="16" Height="16">
<Image.Source>
<DrawingImage>
<DrawingImage.Drawing>
<DrawingGroup ClipGeometry="M0,0 V2 H16 V0 H0 Z">
<GeometryDrawing Brush="#f4f4f5"
Geometry="F0 M16,2z M0,0z M0,1C0,0.447715,0.447715,0,1,0L15,0C15.5523,0 16,0.447715 16,1 16,1.55228 15.5523,2 15,2L1,2C0.447715,2,0,1.55228,0,1z" />
</DrawingGroup>
</DrawingImage.Drawing>
</DrawingImage>
</Image.Source>
</Image>
</Button>
<Button Margin="6,0,0,0" Padding="5" Name="PPTBtnRBSyncBtn"
Click="PPTBtnRBSyncBtn_Clicked">
<Image Width="16" Height="16">
<Image.Source>
<DrawingImage>
<DrawingImage.Drawing>
<DrawingGroup ClipGeometry="M0,0 V6 H16 V0 H0 Z">
<DrawingGroup ClipGeometry="M0,0 V6 H16 V0 H0 Z">
<GeometryDrawing Brush="#f4f4f5"
Geometry="F0 M16,6z M0,0z M1,0C0.447715,0 0,0.447715 0,1 0,1.55228 0.447715,2 1,2L15,2C15.5523,2 16,1.55228 16,1 16,0.447715 15.5523,0 15,0L1,0z M1,4C0.447715,4 0,4.44772 0,5 0,5.55228 0.447715,6 1,6L15,6C15.5523,6 16,5.55228 16,5 16,4.44772 15.5523,4 15,4L1,4z" />
</DrawingGroup>
</DrawingGroup>
</DrawingImage.Drawing>
</DrawingImage>
</Image.Source>
</Image>
</Button>
<Button Margin="6,0,0,0" Padding="5" Name="PPTBtnRBResetBtn"
Click="PPTBtnRBResetBtn_Clicked">
<Image Width="16" Height="16">
<Image.Source>
<DrawingImage>
<DrawingImage.Drawing>
<DrawingGroup ClipGeometry="M0,0 V24 H24 V0 H0 Z">
<GeometryDrawing Brush="#f4f4f5"
Geometry="F0 M24,24z M0,0z M12,2.01123C10.5428,2.01123 9.14528,2.5901 8.11488,3.6205 7.08449,4.65089 6.50562,6.04841 6.50562,7.50561L6.50562,16.4944C6.50562,17.9516 7.08449,19.3491 8.11488,20.3795 9.14528,21.4099 10.5428,21.9888 12,21.9888 13.4572,21.9888 14.8547,21.4099 15.8851,20.3795 16.9135,19.3511 17.4922,17.9569 17.4944,16.5027 17.4944,16.4999 17.4944,16.4972 17.4944,16.4944L17.4944,7.50563C17.4944,7.50285 17.4944,7.50007 17.4944,7.4973 17.4922,6.0431 16.9135,4.64893 15.8851,3.6205 14.8547,2.5901 13.4572,2.01123 12,2.01123z M9.5291,5.03471C10.1844,4.37939 11.0732,4.01123 12,4.01123 12.9268,4.01123 13.8156,4.37939 14.4709,5.03471 15.1262,5.69003 15.4944,6.57884 15.4944,7.50561L15.4944,16.4944C15.4944,17.4211 15.1262,18.31 14.4709,18.9653 13.8156,19.6206 12.9268,19.9888 12,19.9888 11.0732,19.9888 10.1844,19.6206 9.5291,18.9653 8.87377,18.31 8.50562,17.4211 8.50562,16.4944L8.50562,7.50561C8.50562,6.57884,8.87377,5.69003,9.5291,5.03471z" />
</DrawingGroup>
</DrawingImage.Drawing>
</DrawingImage>
</Image.Source>
</Image>
</Button>
<TextBlock
Text="{Binding ElementName=PPTButtonRBPositionValueSlider, Path=Value}"
VerticalAlignment="Center" FontSize="13"
Margin="8,0,16,0" />
</ikw:SimpleStackPanel>
<ikw:SimpleStackPanel Orientation="Horizontal" HorizontalAlignment="Left"
Name="PPTRBButtonOpacityPanel"
Visibility="{Binding ElementName=CheckboxBPPTHalfOpacity, Path=IsChecked, Converter={StaticResource BooleanToVisibilityConverter}}">
<TextBlock Foreground="#fafafa" Text="{i18n:I18n Key=PPT_RightBottomOpacity}" VerticalAlignment="Center"
FontSize="14" Margin="0,0,12,0" />
<Slider x:Name="PPTRBButtonOpacityValueSlider" Minimum="0.1"
Maximum="1.0" Width="138" FontFamily="Microsoft YaHei UI"
FontSize="20" IsSnapToTickEnabled="True" Value="0.5"
TickFrequency="0.1"
TickPlacement="None" AutoToolTipPlacement="None"
ValueChanged="PPTRBButtonOpacityValueSlider_ValueChanged" />
<Button Padding="5" Margin="8,0,0,0" Name="PPTRBOpacityPlusBtn"
Click="PPTRBOpacityPlusBtn_Clicked">
<Image Width="16" Height="16">
<Image.Source>
<DrawingImage>
<DrawingImage.Drawing>
<DrawingGroup ClipGeometry="M0,0 V16 H16 V0 H0 Z">
<GeometryDrawing Brush="#f4f4f5"
Geometry="F0 M16,16z M0,0z M9,1C9,0.447715 8.55229,0 8,0 7.44772,0 7,0.447715 7,1L7,7 1,7C0.447715,7 0,7.44772 0,8 0,8.55229 0.447715,9 1,9L7,9 7,15C7,15.5523 7.44772,16 8,16 8.55229,16 9,15.5523 9,15L9,9 15,9C15.5523,9 16,8.55229 16,8 16,7.44772 15.5523,7 15,7L9,7 9,1z" />
</DrawingGroup>
</DrawingImage.Drawing>
</DrawingImage>
</Image.Source>
</Image>
</Button>
<Button Margin="6,0,0,0" Padding="5" Name="PPTRBOpacityMinusBtn"
Click="PPTRBOpacityMinusBtn_Clicked">
<Image Width="16" Height="16">
<Image.Source>
<DrawingImage>
<DrawingImage.Drawing>
<DrawingGroup ClipGeometry="M0,0 V2 H16 V0 H0 Z">
<GeometryDrawing Brush="#f4f4f5"
Geometry="F0 M16,2z M0,0z M0,1C0,0.447715,0.447715,0,1,0L15,0C15.5523,0 16,0.447715 16,1 16,1.55228 15.5523,2 15,2L1,2C0.447715,2,0,1.55228,0,1z" />
</DrawingGroup>
</DrawingImage.Drawing>
</DrawingImage>
</Image.Source>
</Image>
</Button>
<Button Margin="6,0,0,0" Padding="5" Name="PPTRBOpacitySyncBtn"
Click="PPTRBOpacitySyncBtn_Clicked">
<Image Width="16" Height="16">
<Image.Source>
<DrawingImage>
<DrawingImage.Drawing>
<DrawingGroup ClipGeometry="M0,0 V6 H16 V0 H0 Z">
<GeometryDrawing Brush="#f4f4f5"
Geometry="F0 M16,6z M0,0z M1,0C0.447715,0 0,0.447715 0,1 0,1.55228 0.447715,2 1,2L15,2C15.5523,2 16,1.55228 16,1 16,0.447715 15.5523,0 15,0L1,0z M1,4C0.447715,4 0,4.44772 0,5 0,5.55228 0.447715,6 1,6L15,6C15.5523,6 16,5.55228 16,5 16,4.44772 15.5523,4 15,4L1,4z" />
</DrawingGroup>
</DrawingImage.Drawing>
</DrawingImage>
</Image.Source>
</Image>
</Button>
<Button Margin="6,0,0,0" Padding="5" Name="PPTRBOpacityResetBtn"
Click="PPTRBOpacityResetBtn_Clicked">
<Image Width="16" Height="16">
<Image.Source>
<DrawingImage>
<DrawingImage.Drawing>
<DrawingGroup ClipGeometry="M0,0 V24 H24 V0 H0 Z">
<GeometryDrawing Brush="#f4f4f5"
Geometry="F0 M24,24z M0,0z M12,2.01123C10.5428,2.01123 9.14528,2.5901 8.11488,3.6205 7.08449,4.65089 6.50562,6.04841 6.50562,7.50561L6.50562,16.4944C6.50562,17.9516 7.08449,19.3491 8.11488,20.3795 9.14528,21.4099 10.5428,21.9888 12,21.9888 13.4572,21.9888 14.8547,21.4099 15.8851,20.3795 16.9135,19.3511 17.4922,17.9569 17.4944,16.5027 17.4944,16.4999 17.4944,16.4972 17.4944,16.4944L17.4944,7.50563C17.4944,7.50285 17.4944,7.50007 17.4944,7.4973 17.4922,6.0431 16.9135,4.64893 15.8851,3.6205 14.8547,2.5901 13.4572,2.01123 12,2.01123z M9.5291,5.03471C10.1844,4.37939 11.0732,4.01123 12,4.01123 12.9268,4.01123 13.8156,4.37939 14.4709,5.03471 15.1262,5.69003 15.4944,6.57884 15.4944,7.50561L15.4944,16.4944C15.4944,17.4211 15.1262,18.31 14.4709,18.9653 13.8156,19.6206 12.9268,19.9888 12,19.9888 11.0732,19.9888 10.1844,19.6206 9.5291,18.9653 8.87377,18.31 8.50562,17.4211 8.50562,16.4944L8.50562,7.50561C8.50562,6.57884,8.87377,5.69003,9.5291,5.03471z" />
</DrawingGroup>
</DrawingImage.Drawing>
</DrawingImage>
</Image.Source>
</Image>
</Button>
<TextBlock
Text="{Binding ElementName=PPTRBButtonOpacityValueSlider, Path=Value, StringFormat='{}{0:F1}'}"
VerticalAlignment="Center" FontSize="13"
Margin="8,0,0,0" />
</ikw:SimpleStackPanel>
<TextBlock
Text="{i18n:I18n Key=PPT_OffsetHintHorizontal}"
TextWrapping="Wrap" Foreground="#a1a1aa" />
<ikw:SimpleStackPanel Orientation="Horizontal" HorizontalAlignment="Left">
<TextBlock Margin="0,0,24,0" Text="{i18n:I18n Key=PPT_SideGroupTitle}" FontWeight="Bold"
VerticalAlignment="Center" Foreground="#fafafa"
FontSize="20" />
<CheckBox IsChecked="True" MinWidth="0" Name="CheckboxSPPTDisplayPage"
Checked="CheckboxSPPTDisplayPage_IsCheckChange"
Unchecked="CheckboxSPPTDisplayPage_IsCheckChange"
Content="{i18n:I18n Key=PPT_ShowPageNumber}" />
<CheckBox IsChecked="True" MinWidth="0" Name="CheckboxSPPTHalfOpacity"
Checked="CheckboxSPPTHalfOpacity_IsCheckChange"
Unchecked="CheckboxSPPTHalfOpacity_IsCheckChange"
Margin="16,0,0,0"
Content="{i18n:I18n Key=PPT_HalfOpacity}" />
<CheckBox IsChecked="True" MinWidth="0"
Margin="16,0,0,0" Name="CheckboxSPPTBlackBackground"
Checked="CheckboxSPPTBlackBackground_IsCheckChange"
Unchecked="CheckboxSPPTBlackBackground_IsCheckChange"
Content="{i18n:I18n Key=PPT_BlackBackground}" />
</ikw:SimpleStackPanel>
<ikw:SimpleStackPanel Orientation="Horizontal" HorizontalAlignment="Left">
<TextBlock Margin="0,0,24,0" Text="{i18n:I18n Key=PPT_BottomGroupTitle}" FontWeight="Bold"
VerticalAlignment="Center" Foreground="#fafafa"
FontSize="20" />
<CheckBox IsChecked="True" MinWidth="0" Name="CheckboxBPPTDisplayPage"
Checked="CheckboxBPPTDisplayPage_IsCheckChange"
Unchecked="CheckboxBPPTDisplayPage_IsCheckChange"
Content="{i18n:I18n Key=PPT_ShowPageNumber}" />
<CheckBox IsChecked="True" MinWidth="0" Name="CheckboxBPPTHalfOpacity"
Checked="CheckboxBPPTHalfOpacity_IsCheckChange"
Unchecked="CheckboxBPPTHalfOpacity_IsCheckChange"
Margin="16,0,0,0"
Content="{i18n:I18n Key=PPT_HalfOpacity}" />
<CheckBox IsChecked="True" MinWidth="0" Name="CheckboxBPPTBlackBackground"
Checked="CheckboxBPPTBlackBackground_IsCheckChange"
Unchecked="CheckboxBPPTBlackBackground_IsCheckChange"
Margin="16,0,0,0"
Content="{i18n:I18n Key=PPT_BlackBackground}" />
</ikw:SimpleStackPanel>
<ikw:SimpleStackPanel Orientation="Horizontal"
HorizontalAlignment="Left">
<TextBlock Foreground="#fafafa" Text="{i18n:I18n Key=PPT_PageButtonClickable}"
VerticalAlignment="Center" FontSize="14" Margin="0,0,16,0" />
<ui:ToggleSwitch OnContent="" OffContent=""
Name="ToggleSwitchEnablePPTButtonPageClickable"
IsOn="True"
FontFamily="Microsoft YaHei UI" FontWeight="Bold"
Toggled="ToggleSwitchEnablePPTButtonPageClickable_OnToggled" />
</ikw:SimpleStackPanel>
<TextBlock
Text="{i18n:I18n Key=PPT_PageButtonClickableHint}"
TextWrapping="Wrap" Foreground="#a1a1aa" />
<ikw:SimpleStackPanel Orientation="Horizontal"
HorizontalAlignment="Left">
<TextBlock Foreground="#fafafa" Text="{i18n:I18n Key=PPT_LongPressPageTurn}"
VerticalAlignment="Center" FontSize="14" Margin="0,0,16,0" />
<ui:ToggleSwitch OnContent="" OffContent=""
Name="ToggleSwitchEnablePPTButtonLongPressPageTurn"
IsOn="True"
FontFamily="Microsoft YaHei UI" FontWeight="Bold"
Toggled="ToggleSwitchEnablePPTButtonLongPressPageTurn_OnToggled" />
</ikw:SimpleStackPanel>
<TextBlock
Text="{i18n:I18n Key=PPT_LongPressPageTurnHint}"
TextWrapping="Wrap" Foreground="#a1a1aa" />
</ikw:SimpleStackPanel>
<Line HorizontalAlignment="Center" X1="0" Y1="0" X2="400" Y2="0" Stroke="#3f3f46"
StrokeThickness="1" Margin="0,4,0,4" />
<ikw:SimpleStackPanel Name="SettingsShowCanvasAtNewSlideShowStackPanel"
Orientation="Horizontal" HorizontalAlignment="Left">
<TextBlock Foreground="#fafafa" Text="{i18n:I18n Key=PPT_EnterAnnotationOnShow}"
VerticalAlignment="Center" FontSize="14" Margin="0,0,8,0"
Width="320" Style="{StaticResource AutoFitSettingsOptionLabel14}" />
<ui:ToggleSwitch OnContent="" OffContent=""
Name="ToggleSwitchShowCanvasAtNewSlideShow" IsOn="True"
FontFamily="Microsoft YaHei UI" FontWeight="Bold"
Toggled="ToggleSwitchShowCanvasAtNewSlideShow_Toggled" />
</ikw:SimpleStackPanel>
<Border Name="SettingsPPTInkingAndAutoFoldExplictBorder" BorderBrush="#ef4444"
BorderThickness="2" Padding="8" CornerRadius="6" Background="#991b1b">
<ikw:SimpleStackPanel Orientation="Horizontal" Spacing="4">
<Image Width="20" Height="20">
<Image.Source>
<DrawingImage>
<DrawingImage.Drawing>
<DrawingGroup ClipGeometry="M0,0 V24 H24 V0 H0 Z">
<GeometryDrawing Brush="White"
Geometry="F0 M24,24z M0,0z M10.478,6.91759C10.478,6.07778 11.1588,5.39697 11.9986,5.39697 12.8385,5.39697 13.5193,6.07778 13.5193,6.91759L13.5193,12.0001C13.5193,12.8399 12.8385,13.5207 11.9986,13.5207 11.1588,13.5207 10.478,12.8399 10.478,12.0001L10.478,6.91759z M10.478,17.0826C10.478,16.2427,11.1588,15.5619,11.9986,15.5619L12.0114,15.5619C12.8512,15.5619 13.532,16.2427 13.532,17.0826 13.532,17.9224 12.8512,18.6032 12.0114,18.6032L11.9986,18.6032C11.1588,18.6032,10.478,17.9224,10.478,17.0826z M12,0.75C5.7868,0.75 0.75,5.7868 0.75,12 0.75,18.2132 5.7868,23.25 12,23.25 18.2132,23.25 23.25,18.2132 23.25,12 23.25,5.7868 18.2132,0.75 12,0.75z M3.25,12C3.25,7.16751 7.16751,3.25 12,3.25 16.8325,3.25 20.75,7.16751 20.75,12 20.75,16.8325 16.8325,20.75 12,20.75 7.16751,20.75 3.25,16.8325 3.25,12z" />
</DrawingGroup>
</DrawingImage.Drawing>
</DrawingImage>
</Image.Source>
</Image>
<TextBlock Margin="2,0,0,0" FontSize="13" VerticalAlignment="Center"
Text="{i18n:I18n Key=PPT_ConflictWithAutoFold}">
</TextBlock>
</ikw:SimpleStackPanel>
</Border>
<ikw:SimpleStackPanel Orientation="Horizontal" HorizontalAlignment="Left">
<TextBlock Foreground="#fafafa" Text="{i18n:I18n Key=PPT_TwoFingerGesture}" VerticalAlignment="Center"
FontSize="14" Margin="0,0,16,0" />
<ui:ToggleSwitch OnContent="" OffContent=""
Name="ToggleSwitchEnableTwoFingerGestureInPresentationMode"
IsOn="True" FontFamily="Microsoft YaHei UI" FontWeight="Bold"
Toggled="ToggleSwitchEnableTwoFingerGestureInPresentationMode_Toggled" />
</ikw:SimpleStackPanel>
<ikw:SimpleStackPanel Orientation="Horizontal" HorizontalAlignment="Left">
<TextBlock Foreground="#fafafa" Text="{i18n:I18n Key=PPT_FingerGestureSlide}"
VerticalAlignment="Center" FontSize="14" Margin="0,0,16,0" />
<ui:ToggleSwitch OnContent="" OffContent=""
Name="ToggleSwitchEnableFingerGestureSlideShowControl"
IsOn="True" FontFamily="Microsoft YaHei UI" FontWeight="Bold"
Toggled="ToggleSwitchEnableFingerGestureSlideShowControl_Toggled" />
</ikw:SimpleStackPanel>
<TextBlock
Text="{i18n:I18n Key=PPT_FingerGestureSlideHint}"
TextWrapping="Wrap" Foreground="#a1a1aa" />
<ikw:SimpleStackPanel Orientation="Horizontal" HorizontalAlignment="Left">
<TextBlock Foreground="#fafafa" Text="{i18n:I18n Key=PPT_ShowGestureButtonInShow}" VerticalAlignment="Center"
FontSize="14" Margin="0,0,16,0" />
<ui:ToggleSwitch OnContent="" OffContent=""
Name="ToggleSwitchShowGestureButtonInSlideShow" IsOn="False"
FontFamily="Microsoft YaHei UI" FontWeight="Bold"
Toggled="ToggleSwitchShowGestureButtonInSlideShow_Toggled" />
</ikw:SimpleStackPanel>
<TextBlock Text="{i18n:I18n Key=PPT_ShowGestureButtonInShowHint}" TextWrapping="Wrap"
Foreground="#a1a1aa" />
<ikw:SimpleStackPanel Orientation="Horizontal" HorizontalAlignment="Left">
<TextBlock Foreground="#fafafa" Text="{i18n:I18n Key=PPT_TimeCapsule}" VerticalAlignment="Center"
FontSize="14" Margin="0,0,16,0" />
<ui:ToggleSwitch OnContent="" OffContent=""
Name="ToggleSwitchEnablePPTTimeCapsule" IsOn="True"
FontFamily="Microsoft YaHei UI" FontWeight="Bold"
Toggled="ToggleSwitchEnablePPTTimeCapsule_Toggled" />
</ikw:SimpleStackPanel>
<TextBlock Text="{i18n:I18n Key=PPT_TimeCapsuleHint}" TextWrapping="Wrap"
Foreground="#a1a1aa" />
<ikw:SimpleStackPanel Orientation="Horizontal" HorizontalAlignment="Left" Margin="0,8,0,0">
<TextBlock Foreground="#fafafa" Text="{i18n:I18n Key=PPT_TimeCapsulePosition}" VerticalAlignment="Center"
FontSize="14" Margin="0,0,16,0" />
<ComboBox Name="ComboBoxPPTTimeCapsulePosition"
Width="150"
SelectionChanged="ComboBoxPPTTimeCapsulePosition_SelectionChanged">
<ComboBoxItem Content="{i18n:I18n Key=PPT_TimeCapsulePos_TL}" />
<ComboBoxItem Content="{i18n:I18n Key=PPT_TimeCapsulePos_TR}" />
<ComboBoxItem Content="{i18n:I18n Key=PPT_TimeCapsulePos_Center}" />
</ComboBox>
</ikw:SimpleStackPanel>
<ikw:SimpleStackPanel Orientation="Horizontal" HorizontalAlignment="Left">
<TextBlock Foreground="#fafafa" Text="{i18n:I18n Key=PPT_ShowQuickPanelInShow}" VerticalAlignment="Center"
FontSize="14" Margin="0,0,16,0" />
<ui:ToggleSwitch OnContent="" OffContent=""
Name="ToggleSwitchShowPPTSidebarByDefault" IsOn="False"
FontFamily="Microsoft YaHei UI" FontWeight="Bold"
Toggled="ToggleSwitchShowPPTSidebarByDefault_Toggled" />
</ikw:SimpleStackPanel>
<TextBlock Text="{i18n:I18n Key=PPT_ShowQuickPanelInShowHint}" TextWrapping="Wrap"
Foreground="#a1a1aa" />
<Line HorizontalAlignment="Center" X1="0" Y1="0" X2="400" Y2="0" Stroke="#3f3f46"
StrokeThickness="1" Margin="0,4,0,4" />
<ikw:SimpleStackPanel Orientation="Horizontal" HorizontalAlignment="Left">
<TextBlock Foreground="#fafafa" Text="{i18n:I18n Key=PPT_AutoScreenshot}" VerticalAlignment="Center"
FontSize="14" Margin="0,0,16,0" />
<ui:ToggleSwitch OnContent="" OffContent=""
Name="ToggleSwitchAutoSaveScreenShotInPowerPoint" IsOn="True"
FontFamily="Microsoft YaHei UI" FontWeight="Bold"
Toggled="ToggleSwitchAutoSaveScreenShotInPowerPoint_Toggled" />
</ikw:SimpleStackPanel>
<TextBlock Text="{i18n:I18n Key=PPT_AutoScreenshotHint}" TextWrapping="Wrap"
Foreground="#a1a1aa" />
<ikw:SimpleStackPanel Orientation="Horizontal" HorizontalAlignment="Left">
<TextBlock Foreground="#fafafa" Text="{i18n:I18n Key=PPT_AutoSaveStrokes}" VerticalAlignment="Center"
FontSize="14" Margin="0,0,16,0" />
<ui:ToggleSwitch OnContent="" OffContent=""
Name="ToggleSwitchAutoSaveStrokesInPowerPoint" IsOn="True"
FontFamily="Microsoft YaHei UI" FontWeight="Bold"
Toggled="ToggleSwitchAutoSaveStrokesInPowerPoint_Toggled" />
</ikw:SimpleStackPanel>
<TextBlock Text="{i18n:I18n Key=PPT_AutoSaveStrokesHint}"
TextWrapping="Wrap" Foreground="#a1a1aa" />
<Line HorizontalAlignment="Center" X1="0" Y1="0" X2="400" Y2="0" Stroke="#3f3f46"
StrokeThickness="1" Margin="0,4,0,4" />
<ikw:SimpleStackPanel Orientation="Horizontal" HorizontalAlignment="Left">
<TextBlock Foreground="#fafafa" Text="{i18n:I18n Key=PPT_RememberLastPage}" VerticalAlignment="Center"
FontSize="14" Margin="0,0,16,0" />
<ui:ToggleSwitch OnContent="" OffContent=""
Name="ToggleSwitchNotifyPreviousPage" IsOn="True"
FontFamily="Microsoft YaHei UI" FontWeight="Bold"
Toggled="ToggleSwitchNotifyPreviousPage_Toggled" />
</ikw:SimpleStackPanel>
<TextBlock Text="{i18n:I18n Key=PPT_RememberLastPageHint}"
TextWrapping="Wrap" Foreground="#a1a1aa" />
<ikw:SimpleStackPanel Orientation="Horizontal" HorizontalAlignment="Left">
<TextBlock Foreground="#fafafa" Text="{i18n:I18n Key=PPT_GoToFirstPageOnReenter}" VerticalAlignment="Center"
FontSize="14" Margin="0,0,16,0" />
<ui:ToggleSwitch OnContent="" OffContent=""
Name="ToggleSwitchAlwaysGoToFirstPageOnReenter" IsOn="False"
FontFamily="Microsoft YaHei UI" FontWeight="Bold"
Toggled="ToggleSwitchAlwaysGoToFirstPageOnReenter_Toggled" />
</ikw:SimpleStackPanel>
<ikw:SimpleStackPanel Orientation="Horizontal" HorizontalAlignment="Left">
<TextBlock Foreground="#fafafa" Text="{i18n:I18n Key=PPT_NotifyHiddenPage}" VerticalAlignment="Center"
FontSize="14" Margin="0,0,16,0" />
<ui:ToggleSwitch OnContent="" OffContent="" Name="ToggleSwitchNotifyHiddenPage"
IsOn="True" FontFamily="Microsoft YaHei UI" FontWeight="Bold"
Toggled="ToggleSwitchNotifyHiddenPage_Toggled" />
</ikw:SimpleStackPanel>
<ikw:SimpleStackPanel Orientation="Horizontal" HorizontalAlignment="Left">
<TextBlock Foreground="#fafafa" Text="{i18n:I18n Key=PPT_NotifyAutoPlay}" VerticalAlignment="Center"
FontSize="14" Margin="0,0,16,0" />
<ui:ToggleSwitch OnContent="" OffContent=""
Name="ToggleSwitchNotifyAutoPlayPresentation" IsOn="True"
FontFamily="Microsoft YaHei UI" FontWeight="Bold"
Toggled="ToggleSwitchNotifyAutoPlayPresentation_Toggled" />
</ikw:SimpleStackPanel>
</ikw:SimpleStackPanel>
</GroupBox>
<GroupBox Name="GroupBoxAdvanced">
<GroupBox.Header>
<TextBlock Margin="0,12,0,0" Text="{i18n:I18n Key=Advanced_Title}" FontWeight="Bold" Foreground="#fafafa"
FontSize="26" />
</GroupBox.Header>
<ikw:SimpleStackPanel Spacing="6">
<TextBlock Text="{i18n:I18n Key=Advanced_TouchMultiplierHint}"
Foreground="#a1a1aa" TextWrapping="Wrap" Width="460" />
<ikw:SimpleStackPanel Orientation="Horizontal" HorizontalAlignment="Left">
<TextBlock Foreground="#fafafa" Text="{i18n:I18n Key=Advanced_SpecialScreenMode}" VerticalAlignment="Center"
FontSize="14" Margin="0,0,16,0" />
<ui:ToggleSwitch OnContent="" OffContent="" Name="ToggleSwitchIsSpecialScreen"
IsOn="True" FontFamily="Microsoft YaHei UI" FontWeight="Bold"
Toggled="ToggleSwitchIsSpecialScreen_OnToggled" />
<ui:ToggleSwitch OnContent="{i18n:I18n Key=Common_On}" OffContent="{i18n:I18n Key=Common_Off}" Name="ToggleSwitchIsEnableUriScheme"
Visibility="Collapsed" IsOn="False"
AutomationProperties.Name="{i18n:I18n Key=Advanced_UriSchemeName}"
ToolTip="{i18n:I18n Key=Tooltip_IccProtocol}"
Toggled="ToggleSwitchIsEnableUriScheme_Toggled" />
</ikw:SimpleStackPanel>
<StackPanel Orientation="Vertical">
<TextBlock Foreground="#fafafa" Text="{i18n:I18n Key=Advanced_TouchMultiplier}" VerticalAlignment="Center"
FontSize="14" Margin="0,0,16,0" />
<StackPanel Orientation="Horizontal"
Visibility="{Binding Visibility,ElementName=TouchMultiplierSlider}">
<Slider x:Name="TouchMultiplierSlider"
Minimum="0" Maximum="2"
Width="340" FontFamily="Microsoft YaHei UI"
IsSnapToTickEnabled="True"
TickFrequency="0.01" TickPlacement="None"
ValueChanged="TouchMultiplierSlider_ValueChanged"
Visibility="Visible" />
<TextBlock
Text="{Binding Value, ElementName=TouchMultiplierSlider, Mode=OneWay}"
VerticalAlignment="Bottom" Margin="10,0,0,8"
FontSize="14" Width="30" HorizontalAlignment="Center"
Visibility="{Binding Path=Visibility, ElementName=TouchMultiplierSlider, Mode=OneWay}" />
</StackPanel>
</StackPanel>
<ikw:SimpleStackPanel Spacing="8" Margin="0,4,0,4"
Visibility="{Binding Visibility,ElementName=TouchMultiplierSlider}">
<TextBlock FontSize="14" Text="{i18n:I18n Key=Advanced_TouchMultiplierCalibrateHint}"
TextWrapping="Wrap" MaxWidth="420" />
<TextBlock Text="{i18n:I18n Key=Advanced_TouchMultiplierValueHint}" Foreground="#a1a1aa"
TextWrapping="Wrap" MaxWidth="420" />
<Border Margin="0,0,20,0" CornerRadius="4" Height="48" Background="Transparent"
BorderBrush="#a1a1aa" BorderThickness="2"
TouchDown="BorderCalculateMultiplier_TouchDown" />
<TextBlock Name="TextBlockShowCalculatedMultiplier" FontSize="14" />
</ikw:SimpleStackPanel>
<Line HorizontalAlignment="Center" X1="0" Y1="0" X2="400" Y2="0" Stroke="#3f3f46"
StrokeThickness="1" Margin="0,4,0,4" />
<ikw:SimpleStackPanel Orientation="Horizontal" HorizontalAlignment="Left">
<TextBlock Foreground="#fafafa" Text="{i18n:I18n Key=Advanced_EraserBindTouchMultiplier}" VerticalAlignment="Center"
FontSize="14" Margin="0,0,16,0" />
<ui:ToggleSwitch OnContent="" OffContent=""
Name="ToggleSwitchEraserBindTouchMultiplier" IsOn="True"
FontFamily="Microsoft YaHei UI" FontWeight="Bold"
Toggled="ToggleSwitchEraserBindTouchMultiplier_Toggled" />
</ikw:SimpleStackPanel>
<Line HorizontalAlignment="Center" X1="0" Y1="0" X2="400" Y2="0" Stroke="#3f3f46"
StrokeThickness="1" Margin="0,4,0,4" />
<TextBlock Text="{i18n:I18n Key=Advanced_EraserBindTouchHint}"
TextWrapping="Wrap" Foreground="#a1a1aa" />
<StackPanel Orientation="Horizontal"
Visibility="{Binding Visibility,ElementName=TouchMultiplierSlider}">
<Slider x:Name="NibModeBoundsWidthSlider" Minimum="1" Maximum="50" Width="340"
FontFamily="Microsoft YaHei UI"
ui:ControlHelper.Header="{i18n:I18n Key=Advanced_NibModeBoundsWidthHeader}"
FontSize="14" IsSnapToTickEnabled="True" TickFrequency="1" Value="5"
TickPlacement="None"
ValueChanged="NibModeBoundsWidthSlider_ValueChanged" />
<TextBlock
Text="{Binding Value, ElementName=NibModeBoundsWidthSlider, Mode=OneWay}"
VerticalAlignment="Bottom" Margin="10,0,0,8" FontSize="14" Width="30" />
</StackPanel>
<StackPanel Orientation="Horizontal"
Visibility="{Binding Visibility,ElementName=TouchMultiplierSlider}">
<Slider x:Name="FingerModeBoundsWidthSlider" Minimum="1" Maximum="50"
Width="340" FontFamily="Microsoft YaHei UI"
ui:ControlHelper.Header="{i18n:I18n Key=Advanced_FingerModeBoundsWidthHeader}"
FontSize="14" IsSnapToTickEnabled="True" TickFrequency="1" Value="20"
TickPlacement="None"
ValueChanged="FingerModeBoundsWidthSlider_ValueChanged" />
<TextBlock
Text="{Binding Value, ElementName=FingerModeBoundsWidthSlider, Mode=OneWay}"
VerticalAlignment="Bottom" Margin="10,0,0,8" FontSize="14" Width="30" />
</StackPanel>
<ikw:SimpleStackPanel Orientation="Horizontal" HorizontalAlignment="Left">
<TextBlock Foreground="#fafafa" Text="{i18n:I18n Key=Advanced_QuadIRMode}" VerticalAlignment="Center"
FontSize="14" Margin="0,0,16,0" />
<ui:ToggleSwitch OnContent="" OffContent="" Name="ToggleSwitchIsQuadIR"
IsOn="True" FontFamily="Microsoft YaHei UI" FontWeight="Bold"
Toggled="ToggleSwitchIsQuadIR_Toggled" />
</ikw:SimpleStackPanel>
<Line HorizontalAlignment="Center" X1="0" Y1="0" X2="400" Y2="0" Stroke="#3f3f46"
StrokeThickness="1" Margin="0,4,0,4" />
<ikw:SimpleStackPanel Orientation="Horizontal" HorizontalAlignment="Left">
<TextBlock Foreground="#fafafa" Text="{i18n:I18n Key=Advanced_Logging}" VerticalAlignment="Center"
FontSize="14" Margin="0,0,16,0" />
<ui:ToggleSwitch OnContent="" OffContent="" Name="ToggleSwitchIsLogEnabled"
IsOn="True" FontFamily="Microsoft YaHei UI" FontWeight="Bold"
Toggled="ToggleSwitchIsLogEnabled_Toggled" />
</ikw:SimpleStackPanel>
<ikw:SimpleStackPanel Orientation="Horizontal" HorizontalAlignment="Left">
<TextBlock Foreground="#fafafa" Text="{i18n:I18n Key=Advanced_LogByDate}" VerticalAlignment="Center"
FontSize="14" Margin="0,0,16,0" />
<ui:ToggleSwitch OnContent="" OffContent="" Name="ToggleSwitchIsSaveLogByDate"
IsOn="True" FontFamily="Microsoft YaHei UI" FontWeight="Bold"
Toggled="ToggleSwitchIsSaveLogByDate_Toggled" />
</ikw:SimpleStackPanel>
<TextBlock Text="{i18n:I18n Key=Advanced_LogRotateHint}" TextWrapping="Wrap" Foreground="#a1a1aa" />
<ikw:SimpleStackPanel Orientation="Horizontal" HorizontalAlignment="Left">
<TextBlock Foreground="#fafafa" Text="{i18n:I18n Key=Advanced_ConfirmExit}" VerticalAlignment="Center"
FontSize="14" Margin="0,0,16,0" />
<ui:ToggleSwitch OnContent="" OffContent=""
Name="ToggleSwitchIsSecondConfimeWhenShutdownApp" IsOn="True"
FontFamily="Microsoft YaHei UI" FontWeight="Bold"
Toggled="ToggleSwitchIsSecondConfimeWhenShutdownApp_Toggled" />
</ikw:SimpleStackPanel>
<Line HorizontalAlignment="Center" X1="0" Y1="0" X2="400" Y2="0" Stroke="#3f3f46"
StrokeThickness="1" Margin="0,4,0,4" />
<ikw:SimpleStackPanel Orientation="Horizontal" HorizontalAlignment="Left">
<TextBlock Foreground="#fafafa" Text="{i18n:I18n Key=Advanced_FullScreenHelper}"
VerticalAlignment="Center"
FontSize="14" Margin="0,0,6,0" />
<Border Height="20" CornerRadius="3" Background="#7f1d1d" Margin="0,0,12,0"
Padding="4,0">
<ikw:SimpleStackPanel Orientation="Horizontal" Spacing="3"
VerticalAlignment="Center">
<Image Width="15" Height="15" VerticalAlignment="Center">
<Image.Source>
<DrawingImage>
<DrawingImage.Drawing>
<DrawingGroup ClipGeometry="M0,0 V24 H24 V0 H0 Z">
<GeometryDrawing Brush="#fca5a5"
Geometry="F1 M24,24z M0,0z M20.1758,20.0951L15.1058,9.97512C15.0358,9.83512,14.9958,9.68512,14.9958,9.52512L14.9958,2.99512 15.4958,2.99512C16.0458,2.99512 16.4958,2.54512 16.4958,1.99512 16.4958,1.44512 16.0458,0.995117 15.4958,0.995117L8.49582,0.995117C7.94582,0.995117 7.49582,1.44512 7.49582,1.99512 7.49582,2.54512 7.94582,2.99512 8.49582,2.99512L8.99582,2.99512 8.99582,9.52512C8.99582,9.67512,8.95582,9.83512,8.89582,9.97512L3.82582,20.0951C3.67582,20.4051 3.59582,20.7451 3.61582,21.0851 3.62582,21.4251 3.73582,21.7651 3.91582,22.0551 4.09582,22.3451 4.34582,22.5851 4.64582,22.7551 4.94582,22.9151 5.27582,23.0051 5.60582,23.0051L18.3758,23.0051C18.7558,23.0051 19.0558,22.9251 19.3558,22.7551 19.6558,22.5851 19.9058,22.3451 20.0858,22.0551 20.2658,21.7651 20.3658,21.4351 20.3858,21.0851 20.3958,20.7451 20.3258,20.4051 20.1758,20.1051L20.1758,20.0951z M10.6858,10.8651C10.8958,10.4451,11.0058,9.98512,11.0058,9.52512L11.0058,2.99512 13.0058,2.99512 13.0058,9.52512C13.0058,9.98512,13.1158,10.4551,13.3258,10.8651L15.3858,14.9951 8.62582,14.9951 10.6958,10.8651 10.6858,10.8651z" />
</DrawingGroup>
</DrawingImage.Drawing>
</DrawingImage>
</Image.Source>
</Image>
<TextBlock Foreground="#fca5a5" Text="{i18n:I18n Key=Advanced_Experimental}" FontSize="12"
VerticalAlignment="Center">
</TextBlock>
</ikw:SimpleStackPanel>
</Border>
<ui:ToggleSwitch OnContent="" OffContent=""
Name="ToggleSwitchIsEnableFullScreenHelper"
Toggled="ToggleSwitchIsEnableFullScreenHelper_Toggled"
IsOn="True" FontFamily="Microsoft YaHei UI" FontWeight="Bold" />
</ikw:SimpleStackPanel>
<TextBlock TextWrapping="Wrap" Foreground="#a1a1aa"
Text="{i18n:I18n Key=Advanced_FullScreenHelperHint}" />
<ikw:SimpleStackPanel Orientation="Horizontal" HorizontalAlignment="Left">
<TextBlock Foreground="#fafafa" Text="{i18n:I18n Key=Advanced_AvoidFullScreenHelper}"
VerticalAlignment="Center"
FontSize="14" Margin="0,0,6,0" />
<Border Height="20" CornerRadius="3" Background="#7f1d1d" Margin="0,0,12,0"
Padding="4,0">
<ikw:SimpleStackPanel Orientation="Horizontal" Spacing="3"
VerticalAlignment="Center">
<Image Width="15" Height="15" VerticalAlignment="Center">
<Image.Source>
<DrawingImage>
<DrawingImage.Drawing>
<DrawingGroup ClipGeometry="M0,0 V24 H24 V0 H0 Z">
<GeometryDrawing Brush="#fca5a5"
Geometry="F1 M24,24z M0,0z M20.1758,20.0951L15.1058,9.97512C15.0358,9.83512,14.9958,9.68512,14.9958,9.52512L14.9958,2.99512 15.4958,2.99512C16.0458,2.99512 16.4958,2.54512 16.4958,1.99512 16.4958,1.44512 16.0458,0.995117 15.4958,0.995117L8.49582,0.995117C7.94582,0.995117 7.49582,1.44512 7.49582,1.99512 7.49582,2.54512 7.94582,2.99512 8.49582,2.99512L8.99582,2.99512 8.99582,9.52512C8.99582,9.67512,8.95582,9.83512,8.89582,9.97512L3.82582,20.0951C3.67582,20.4051 3.59582,20.7451 3.61582,21.0851 3.62582,21.4251 3.73582,21.7651 3.91582,22.0551 4.09582,22.3451 4.34582,22.5851 4.64582,22.7551 4.94582,22.9151 5.27582,23.0051 5.60582,23.0051L18.3758,23.0051C18.7558,23.0051 19.0558,22.9251 19.3558,22.7551 19.6558,22.5851 19.9058,22.3451 20.0858,22.0551 20.2658,21.7651 20.3658,21.4351 20.3858,21.0851 20.3958,20.7451 20.3258,20.4051 20.1758,20.1051L20.1758,20.0951z M10.6858,10.8651C10.8958,10.4451,11.0058,9.98512,11.0058,9.52512L11.0058,2.99512 13.0058,2.99512 13.0058,9.52512C13.0058,9.98512,13.1158,10.4551,13.3258,10.8651L15.3858,14.9951 8.62582,14.9951 10.6958,10.8651 10.6858,10.8651z" />
</DrawingGroup>
</DrawingImage.Drawing>
</DrawingImage>
</Image.Source>
</Image>
<TextBlock Foreground="#fca5a5" Text="{i18n:I18n Key=Advanced_Experimental}" FontSize="12"
VerticalAlignment="Center">
</TextBlock>
</ikw:SimpleStackPanel>
</Border>
<ui:ToggleSwitch OnContent="" OffContent=""
Name="ToggleSwitchIsEnableAvoidFullScreenHelper"
Toggled="ToggleSwitchIsEnableAvoidFullScreenHelper_OnToggled"
IsOn="True" FontFamily="Microsoft YaHei UI" FontWeight="Bold" />
</ikw:SimpleStackPanel>
<TextBlock TextWrapping="Wrap" Foreground="#a1a1aa"
Text="{i18n:I18n Key=Advanced_AvoidFullScreenHelperHint}" />
<ikw:SimpleStackPanel Orientation="Horizontal" HorizontalAlignment="Left">
<TextBlock Foreground="#fafafa" Text="{i18n:I18n Key=Advanced_EdgeGestureUtil}"
VerticalAlignment="Center"
FontSize="14" Margin="0,0,6,0" />
<Border Height="20" CornerRadius="3" Background="#7f1d1d" Margin="0,0,12,0"
Padding="4,0">
<ikw:SimpleStackPanel Orientation="Horizontal" Spacing="3"
VerticalAlignment="Center">
<Image Width="15" Height="15" VerticalAlignment="Center">
<Image.Source>
<DrawingImage>
<DrawingImage.Drawing>
<DrawingGroup ClipGeometry="M0,0 V24 H24 V0 H0 Z">
<GeometryDrawing Brush="#fca5a5"
Geometry="F1 M24,24z M0,0z M20.1758,20.0951L15.1058,9.97512C15.0358,9.83512,14.9958,9.68512,14.9958,9.52512L14.9958,2.99512 15.4958,2.99512C16.0458,2.99512 16.4958,2.54512 16.4958,1.99512 16.4958,1.44512 16.0458,0.995117 15.4958,0.995117L8.49582,0.995117C7.94582,0.995117 7.49582,1.44512 7.49582,1.99512 7.49582,2.54512 7.94582,2.99512 8.49582,2.99512L8.99582,2.99512 8.99582,9.52512C8.99582,9.67512,8.95582,9.83512,8.89582,9.97512L3.82582,20.0951C3.67582,20.4051 3.59582,20.7451 3.61582,21.0851 3.62582,21.4251 3.73582,21.7651 3.91582,22.0551 4.09582,22.3451 4.34582,22.5851 4.64582,22.7551 4.94582,22.9151 5.27582,23.0051 5.60582,23.0051L18.3758,23.0051C18.7558,23.0051 19.0558,22.9251 19.3558,22.7551 19.6558,22.5851 19.9058,22.3451 20.0858,22.0551 20.2658,21.7651 20.3658,21.4351 20.3858,21.0851 20.3958,20.7451 20.3258,20.4051 20.1758,20.1051L20.1758,20.0951z M10.6858,10.8651C10.8958,10.4451,11.0058,9.98512,11.0058,9.52512L11.0058,2.99512 13.0058,2.99512 13.0058,9.52512C13.0058,9.98512,13.1158,10.4551,13.3258,10.8651L15.3858,14.9951 8.62582,14.9951 10.6958,10.8651 10.6858,10.8651z" />
</DrawingGroup>
</DrawingImage.Drawing>
</DrawingImage>
</Image.Source>
</Image>
<TextBlock Foreground="#fca5a5" Text="{i18n:I18n Key=Advanced_Experimental}" FontSize="12"
VerticalAlignment="Center">
</TextBlock>
</ikw:SimpleStackPanel>
</Border>
<ui:ToggleSwitch OnContent="" OffContent=""
Toggled="ToggleSwitchIsEnableEdgeGestureUtil_Toggled"
Name="ToggleSwitchIsEnableEdgeGestureUtil" IsOn="True"
FontFamily="Microsoft YaHei UI" FontWeight="Bold" />
</ikw:SimpleStackPanel>
<TextBlock TextWrapping="Wrap" Foreground="#a1a1aa">
<Run Text="{i18n:I18n Key=Advanced_EdgeGestureUtilHint_Part1}" />
<Run FontFamily="Consolas" Text="System.EdgeGesture.DisableTouchWhenFullscreen" />
<Run Text="{i18n:I18n Key=Advanced_EdgeGestureUtilHint_Part2}" />
</TextBlock>
<ikw:SimpleStackPanel Orientation="Horizontal" HorizontalAlignment="Left">
<TextBlock Foreground="#fafafa" Text="{i18n:I18n Key=Advanced_ForceFullScreen}"
VerticalAlignment="Center"
FontSize="14" Margin="0,0,6,0" />
<Border Height="20" CornerRadius="3" Background="#7f1d1d" Margin="0,0,12,0"
Padding="4,0">
<ikw:SimpleStackPanel Orientation="Horizontal" Spacing="3"
VerticalAlignment="Center">
<Image Width="15" Height="15" VerticalAlignment="Center">
<Image.Source>
<DrawingImage>
<DrawingImage.Drawing>
<DrawingGroup ClipGeometry="M0,0 V24 H24 V0 H0 Z">
<GeometryDrawing Brush="#fca5a5"
Geometry="F1 M24,24z M0,0z M20.1758,20.0951L15.1058,9.97512C15.0358,9.83512,14.9958,9.68512,14.9958,9.52512L14.9958,2.99512 15.4958,2.99512C16.0458,2.99512 16.4958,2.54512 16.4958,1.99512 16.4958,1.44512 16.0458,0.995117 15.4958,0.995117L8.49582,0.995117C7.94582,0.995117 7.49582,1.44512 7.49582,1.99512 7.49582,2.54512 7.94582,2.99512 8.49582,2.99512L8.99582,2.99512 8.99582,9.52512C8.99582,9.67512,8.95582,9.83512,8.89582,9.97512L3.82582,20.0951C3.67582,20.4051 3.59582,20.7451 3.61582,21.0851 3.62582,21.4251 3.73582,21.7651 3.91582,22.0551 4.09582,22.3451 4.34582,22.5851 4.64582,22.7551 4.94582,22.9151 5.27582,23.0051 5.60582,23.0051L18.3758,23.0051C18.7558,23.0051 19.0558,22.9251 19.3558,22.7551 19.6558,22.5851 19.9058,22.3451 20.0858,22.0551 20.2658,21.7651 20.3658,21.4351 20.3858,21.0851 20.3958,20.7451 20.3258,20.4051 20.1758,20.1051L20.1758,20.0951z M10.6858,10.8651C10.8958,10.4451,11.0058,9.98512,11.0058,9.52512L11.0058,2.99512 13.0058,2.99512 13.0058,9.52512C13.0058,9.98512,13.1158,10.4551,13.3258,10.8651L15.3858,14.9951 8.62582,14.9951 10.6958,10.8651 10.6858,10.8651z" />
</DrawingGroup>
</DrawingImage.Drawing>
</DrawingImage>
</Image.Source>
</Image>
<TextBlock Foreground="#fca5a5" Text="{i18n:I18n Key=Advanced_Experimental}" FontSize="12"
VerticalAlignment="Center">
</TextBlock>
</ikw:SimpleStackPanel>
</Border>
<ui:ToggleSwitch OnContent="" OffContent=""
Toggled="ToggleSwitchIsEnableForceFullScreen_Toggled"
Name="ToggleSwitchIsEnableForceFullScreen" IsOn="True"
FontFamily="Microsoft YaHei UI" FontWeight="Bold" />
</ikw:SimpleStackPanel>
<TextBlock TextWrapping="Wrap" Foreground="#a1a1aa"
Text="{i18n:I18n Key=Advanced_ForceFullScreenHint}" />
<ikw:SimpleStackPanel Orientation="Horizontal" HorizontalAlignment="Left">
<TextBlock Foreground="#fafafa" Text="{i18n:I18n Key=Advanced_DPIChangeDetection}"
VerticalAlignment="Center"
FontSize="14" Margin="0,0,6,0" />
<Border Height="20" CornerRadius="3" Background="#7f1d1d" Margin="0,0,12,0"
Padding="4,0">
<ikw:SimpleStackPanel Orientation="Horizontal" Spacing="3"
VerticalAlignment="Center">
<Image Width="15" Height="15" VerticalAlignment="Center">
<Image.Source>
<DrawingImage>
<DrawingImage.Drawing>
<DrawingGroup ClipGeometry="M0,0 V24 H24 V0 H0 Z">
<GeometryDrawing Brush="#fca5a5"
Geometry="F1 M24,24z M0,0z M20.1758,20.0951L15.1058,9.97512C15.0358,9.83512,14.9958,9.68512,14.9958,9.52512L14.9958,2.99512 15.4958,2.99512C16.0458,2.99512 16.4958,2.54512 16.4958,1.99512 16.4958,1.44512 16.0458,0.995117 15.4958,0.995117L8.49582,0.995117C7.94582,0.995117 7.49582,1.44512 7.49582,1.99512 7.49582,2.54512 7.94582,2.99512 8.49582,2.99512L8.99582,2.99512 8.99582,9.52512C8.99582,9.67512,8.95582,9.83512,8.89582,9.97512L3.82582,20.0951C3.67582,20.4051 3.59582,20.7451 3.61582,21.0851 3.62582,21.4251 3.73582,21.7651 3.91582,22.0551 4.09582,22.3451 4.34582,22.5851 4.64582,22.7551 4.94582,22.9151 5.27582,23.0051 5.60582,23.0051L18.3758,23.0051C18.7558,23.0051 19.0558,22.9251 19.3558,22.7551 19.6558,22.5851 19.9058,22.3451 20.0858,22.0551 20.2658,21.7651 20.3658,21.4351 20.3858,21.0851 20.3958,20.7451 20.3258,20.4051 20.1758,20.1051L20.1758,20.0951z M10.6858,10.8651C10.8958,10.4451,11.0058,9.98512,11.0058,9.52512L11.0058,2.99512 13.0058,2.99512 13.0058,9.52512C13.0058,9.98512,13.1158,10.4551,13.3258,10.8651L15.3858,14.9951 8.62582,14.9951 10.6958,10.8651 10.6858,10.8651z" />
</DrawingGroup>
</DrawingImage.Drawing>
</DrawingImage>
</Image.Source>
</Image>
<TextBlock Foreground="#fca5a5" Text="{i18n:I18n Key=Advanced_Experimental}" FontSize="12"
VerticalAlignment="Center">
</TextBlock>
</ikw:SimpleStackPanel>
</Border>
<ui:ToggleSwitch OnContent="" OffContent=""
Toggled="ToggleSwitchIsEnableDPIChangeDetection_Toggled"
Name="ToggleSwitchIsEnableDPIChangeDetection" IsOn="True"
FontFamily="Microsoft YaHei UI" FontWeight="Bold" />
</ikw:SimpleStackPanel>
<TextBlock TextWrapping="Wrap" Foreground="#a1a1aa"
Text="{i18n:I18n Key=Advanced_DPIChangeDetectionHint}" />
<ikw:SimpleStackPanel Orientation="Horizontal" HorizontalAlignment="Left">
<TextBlock Foreground="#fafafa" Text="{i18n:I18n Key=Advanced_ResolutionChangeDetection}"
VerticalAlignment="Center"
FontSize="14" Margin="0,0,6,0" />
<Border Height="20" CornerRadius="3" Background="#7f1d1d" Margin="0,0,12,0"
Padding="4,0">
<ikw:SimpleStackPanel Orientation="Horizontal" Spacing="3"
VerticalAlignment="Center">
<Image Width="15" Height="15" VerticalAlignment="Center">
<Image.Source>
<DrawingImage>
<DrawingImage.Drawing>
<DrawingGroup ClipGeometry="M0,0 V24 H24 V0 H0 Z">
<GeometryDrawing Brush="#fca5a5"
Geometry="F1 M24,24z M0,0z M20.1758,20.0951L15.1058,9.97512C15.0358,9.83512,14.9958,9.68512,14.9958,9.52512L14.9958,2.99512 15.4958,2.99512C16.0458,2.99512 16.4958,2.54512 16.4958,1.99512 16.4958,1.44512 16.0458,0.995117 15.4958,0.995117L8.49582,0.995117C7.94582,0.995117 7.49582,1.44512 7.49582,1.99512 7.49582,2.54512 7.94582,2.99512 8.49582,2.99512L8.99582,2.99512 8.99582,9.52512C8.99582,9.67512,8.95582,9.83512,8.89582,9.97512L3.82582,20.0951C3.67582,20.4051 3.59582,20.7451 3.61582,21.0851 3.62582,21.4251 3.73582,21.7651 3.91582,22.0551 4.09582,22.3451 4.34582,22.5851 4.64582,22.7551 4.94582,22.9151 5.27582,23.0051 5.60582,23.0051L18.3758,23.0051C18.7558,23.0051 19.0558,22.9251 19.3558,22.7551 19.6558,22.5851 19.9058,22.3451 20.0858,22.0551 20.2658,21.7651 20.3658,21.4351 20.3858,21.0851 20.3958,20.7451 20.3258,20.4051 20.1758,20.1051L20.1758,20.0951z M10.6858,10.8651C10.8958,10.4451,11.0058,9.98512,11.0058,9.52512L11.0058,2.99512 13.0058,2.99512 13.0058,9.52512C13.0058,9.98512,13.1158,10.4551,13.3258,10.8651L15.3858,14.9951 8.62582,14.9951 10.6958,10.8651 10.6858,10.8651z" />
</DrawingGroup>
</DrawingImage.Drawing>
</DrawingImage>
</Image.Source>
</Image>
<TextBlock Foreground="#fca5a5" Text="{i18n:I18n Key=Advanced_Experimental}" FontSize="12"
VerticalAlignment="Center">
</TextBlock>
</ikw:SimpleStackPanel>
</Border>
<ui:ToggleSwitch OnContent="" OffContent="" MinWidth="0"
Toggled="ToggleSwitchIsEnableResolutionChangeDetection_Toggled"
Name="ToggleSwitchIsEnableResolutionChangeDetection"
IsOn="True"
FontFamily="Microsoft YaHei UI" FontWeight="Bold" />
</ikw:SimpleStackPanel>
<TextBlock TextWrapping="Wrap" Foreground="#a1a1aa"
Text="{i18n:I18n Key=Advanced_ResolutionChangeDetectionHint}" />
<!-- 添加备份相关按钮 -->
<Line HorizontalAlignment="Center" X1="0" Y1="0" X2="400" Y2="0" Stroke="#3f3f46"
StrokeThickness="1" Margin="0,4,0,4" />
<TextBlock Text="{i18n:I18n Key=Backup_Title}" FontWeight="Bold" Foreground="#fafafa"
FontSize="16" Margin="0,5,0,5" />
<TextBlock TextWrapping="Wrap" Foreground="#a1a1aa"
Text="{i18n:I18n Key=Backup_Desc}" />
<ikw:SimpleStackPanel Orientation="Horizontal" HorizontalAlignment="Left">
<TextBlock Foreground="#fafafa" Text="{i18n:I18n Key=Backup_AutoBeforeUpdate}" VerticalAlignment="Center"
FontSize="14" Margin="0,0,16,0" />
<ui:ToggleSwitch OnContent="" OffContent="" Name="ToggleSwitchIsAutoBackupBeforeUpdate"
IsOn="True" FontFamily="Microsoft YaHei UI" FontWeight="Bold"
Toggled="ToggleSwitchIsAutoBackupBeforeUpdate_Toggled" />
</ikw:SimpleStackPanel>
<ikw:SimpleStackPanel Orientation="Horizontal" HorizontalAlignment="Left" Margin="0,5,0,0">
<TextBlock Foreground="#fafafa" Text="{i18n:I18n Key=Backup_AutoPeriodic}" VerticalAlignment="Center"
FontSize="14" Margin="0,0,16,0" />
<ui:ToggleSwitch OnContent="" OffContent="" Name="ToggleSwitchIsAutoBackupEnabled"
IsOn="True" FontFamily="Microsoft YaHei UI" FontWeight="Bold"
Toggled="ToggleSwitchIsAutoBackupEnabled_Toggled" />
</ikw:SimpleStackPanel>
<ikw:SimpleStackPanel Orientation="Horizontal" HorizontalAlignment="Left" Margin="0,5,0,0">
<TextBlock Foreground="#fafafa" Text="{i18n:I18n Key=Backup_Interval}" VerticalAlignment="Center"
FontSize="14" Margin="0,0,16,0" />
<ComboBox x:Name="ComboBoxAutoBackupInterval" Width="100" Margin="0,0,16,0"
SelectionChanged="ComboBoxAutoBackupInterval_SelectionChanged">
<ComboBoxItem Content="{i18n:I18n Key=Backup_Interval_1Day}" Tag="1" />
<ComboBoxItem Content="{i18n:I18n Key=Backup_Interval_3Days}" Tag="3" />
<ComboBoxItem Content="{i18n:I18n Key=Backup_Interval_7Days}" Tag="7" IsSelected="True" />
<ComboBoxItem Content="{i18n:I18n Key=Backup_Interval_14Days}" Tag="14" />
<ComboBoxItem Content="{i18n:I18n Key=Backup_Interval_30Days}" Tag="30" />
</ComboBox>
<TextBlock Foreground="#a1a1aa" Text="{i18n:I18n Key=Backup_Interval_DefaultHint}" VerticalAlignment="Center" FontSize="12"
TextWrapping="Wrap" Width="180" />
</ikw:SimpleStackPanel>
<ikw:SimpleStackPanel Orientation="Horizontal" HorizontalAlignment="Left" Margin="0,10,0,0">
<Button x:Name="BtnManualBackup" Content="{i18n:I18n Key=Backup_Manual}" Click="BtnManualBackup_Click"
Background="#2563eb" Foreground="White" Padding="12,6" Margin="0,0,12,0" />
<Button x:Name="BtnRestoreBackup" Content="{i18n:I18n Key=Backup_Restore}" Click="BtnRestoreBackup_Click"
Background="#2563eb" Foreground="White" Padding="12,6" />
</ikw:SimpleStackPanel>
<Line HorizontalAlignment="Center" X1="0" Y1="0" X2="400" Y2="0" Stroke="#3f3f46"
StrokeThickness="1" Margin="0,8,0,4" />
<TextBlock Text="{i18n:I18n Key=ConfigProfiles_Title}" FontWeight="Bold" Foreground="#fafafa"
FontSize="16" Margin="0,5,0,5" />
<TextBlock TextWrapping="Wrap" Foreground="#a1a1aa"
Text="{i18n:I18n Key=ConfigProfiles_Desc}" />
<ikw:SimpleStackPanel Spacing="8" Margin="0,6,0,0">
<ikw:SimpleStackPanel Orientation="Horizontal" HorizontalAlignment="Left">
<TextBlock Foreground="#fafafa" Text="{i18n:I18n Key=ConfigProfiles_Label}" VerticalAlignment="Center"
FontSize="14" Margin="0,0,8,0" />
<ComboBox x:Name="ComboBoxConfigProfile" Width="220" MinWidth="180"
SelectionChanged="ComboBoxConfigProfile_SelectionChanged" />
</ikw:SimpleStackPanel>
<ikw:SimpleStackPanel Orientation="Horizontal" HorizontalAlignment="Left">
<Button x:Name="BtnDeleteConfigProfile" Content="{i18n:I18n Key=ConfigProfiles_Delete}" Click="BtnDeleteConfigProfile_Click"
Padding="10,6" Margin="0,0,8,0" />
<Button x:Name="BtnSaveAsConfigProfile" Content="{i18n:I18n Key=ConfigProfiles_SaveAs}" Click="BtnSaveAsConfigProfile_Click"
Padding="10,6" />
</ikw:SimpleStackPanel>
</ikw:SimpleStackPanel>
</ikw:SimpleStackPanel>
</GroupBox>
<GroupBox Name="GroupBoxAutomation">
<GroupBox.Header>
<TextBlock Margin="0,12,0,0" Text="{i18n:I18n Key=Automation_Title}" FontWeight="Bold" Foreground="#fafafa"
FontSize="26" />
</GroupBox.Header>
<ikw:SimpleStackPanel Spacing="6">
<TextBlock Margin="0,0,0,8" Text="{i18n:I18n Key=Automation_AutoFoldTitle}" FontWeight="Bold" Foreground="#fafafa"
FontSize="20" />
<Grid Margin="4,0">
<Grid.Resources>
<Style TargetType="TextBlock" BasedOn="{StaticResource AutoFitSettingsGridLabel14}">
<Setter Property="Width" Value="88" />
<Setter Property="HorizontalAlignment" Value="Center" />
<Setter Property="Margin" Value="0,0,0,4" />
</Style>
</Grid.Resources>
<Grid.RowDefinitions>
<RowDefinition />
<RowDefinition />
<RowDefinition />
<RowDefinition />
</Grid.RowDefinitions>
<Grid.ColumnDefinitions>
<ColumnDefinition />
<ColumnDefinition />
<ColumnDefinition />
<ColumnDefinition />
</Grid.ColumnDefinitions>
<ikw:SimpleStackPanel Grid.Row="0" Grid.Column="0" Orientation="Vertical">
<Image Source="/Resources/Icons-png/EasiNote.png" Margin="0,0,0,4"
Width="42"
Height="42" HorizontalAlignment="Center" />
<TextBlock Foreground="#fafafa" Text="{i18n:I18n Key=AutoFold_App_SeewoBoard5}" HorizontalAlignment="Center"
FontSize="14" Margin="0,0,0,4" />
<ui:ToggleSwitch OnContent="" OffContent="" MinWidth="0"
HorizontalAlignment="Center"
Name="ToggleSwitchAutoFoldInEasiNote" IsOn="True"
FontFamily="Microsoft YaHei UI" FontWeight="Bold"
Toggled="ToggleSwitchAutoFoldInEasiNote_Toggled"
Width="40" />
</ikw:SimpleStackPanel>
<ikw:SimpleStackPanel Grid.Row="0" Grid.Column="1" Orientation="Vertical">
<Image Source="/Resources/Icons-png/EasiCamera.png" Margin="0,0,0,4"
Width="42"
Height="42" HorizontalAlignment="Center" />
<TextBlock Foreground="#fafafa" Text="{i18n:I18n Key=AutoFold_App_SeewoCamera}" HorizontalAlignment="Center"
FontSize="14" Margin="0,0,0,4" />
<ui:ToggleSwitch OnContent="" OffContent="" MinWidth="0"
HorizontalAlignment="Center"
Name="ToggleSwitchAutoFoldInEasiCamera" IsOn="True"
FontFamily="Microsoft YaHei UI" FontWeight="Bold"
Toggled="ToggleSwitchAutoFoldInEasiCamera_Toggled"
Width="40" />
</ikw:SimpleStackPanel>
<ikw:SimpleStackPanel Grid.Row="0" Grid.Column="2" Orientation="Vertical">
<Image Source="/Resources/Icons-png/EasiNote3.png" Margin="0,0,0,4"
Width="42"
Height="42" HorizontalAlignment="Center" />
<TextBlock Foreground="#fafafa" Text="{i18n:I18n Key=AutoFold_App_SeewoBoard3}" HorizontalAlignment="Center"
FontSize="14" Margin="0,0,0,4" />
<ui:ToggleSwitch OnContent="" OffContent="" MinWidth="0"
HorizontalAlignment="Center"
Name="ToggleSwitchAutoFoldInEasiNote3" IsOn="True"
FontFamily="Microsoft YaHei UI" FontWeight="Bold"
Toggled="ToggleSwitchAutoFoldInEasiNote3_Toggled"
Width="40" />
</ikw:SimpleStackPanel>
<ikw:SimpleStackPanel Grid.Row="0" Grid.Column="3" Orientation="Vertical">
<Image Source="/Resources/Icons-png/EasiNote3C.png" Margin="0,0,0,4"
Width="42"
Height="42" HorizontalAlignment="Center" />
<TextBlock Foreground="#fafafa" Text="{i18n:I18n Key=AutoFold_App_SeewoLightBoard}" HorizontalAlignment="Center"
FontSize="14" Margin="0,0,0,4" />
<ui:ToggleSwitch OnContent="" OffContent="" MinWidth="0"
HorizontalAlignment="Center"
Name="ToggleSwitchAutoFoldInEasiNote3C" IsOn="True"
FontFamily="Microsoft YaHei UI" FontWeight="Bold"
Toggled="ToggleSwitchAutoFoldInEasiNote3C_Toggled"
Width="40" />
</ikw:SimpleStackPanel>
<ikw:SimpleStackPanel Margin="0,18,0,0" Grid.Row="1" Grid.Column="0"
Orientation="Vertical">
<Image Source="/Resources/Icons-png/EasiNote5C.png" Margin="0,0,0,4"
Width="42"
Height="42" HorizontalAlignment="Center" />
<TextBlock Foreground="#fafafa" Text="{i18n:I18n Key=AutoFold_App_SeewoLightBoard5C}" HorizontalAlignment="Center"
FontSize="14" Margin="0,0,0,4" />
<ui:ToggleSwitch OnContent="" OffContent="" MinWidth="0"
HorizontalAlignment="Center"
Name="ToggleSwitchAutoFoldInEasiNote5C" IsOn="True"
FontFamily="Microsoft YaHei UI" FontWeight="Bold"
Toggled="ToggleSwitchAutoFoldInEasiNote5C_Toggled"
Width="40" />
</ikw:SimpleStackPanel>
<ikw:SimpleStackPanel Margin="0,18,0,0" Grid.Row="1" Grid.Column="1"
Orientation="Vertical">
<Image Source="/Resources/Icons-png/SeewoPinco.png" Margin="0,0,0,4"
Width="42"
Height="42" HorizontalAlignment="Center" />
<TextBlock Foreground="#fafafa" Text="{i18n:I18n Key=AutoFold_App_SeewoPinco}" HorizontalAlignment="Center"
FontSize="14" Margin="0,0,0,4" />
<ui:ToggleSwitch OnContent="" OffContent="" MinWidth="0"
HorizontalAlignment="Center"
Name="ToggleSwitchAutoFoldInSeewoPincoTeacher" IsOn="True"
FontFamily="Microsoft YaHei UI" FontWeight="Bold"
Toggled="ToggleSwitchAutoFoldInSeewoPincoTeacher_Toggled"
Width="40" />
</ikw:SimpleStackPanel>
<ikw:SimpleStackPanel Margin="0,18,0,0" Grid.Row="1" Grid.Column="2"
Orientation="Vertical">
<Image Source="/Resources/Icons-png/HiteBoard.png" Margin="0,0,0,4"
Width="42"
Height="42" HorizontalAlignment="Center" />
<TextBlock Foreground="#fafafa" Text="{i18n:I18n Key=AutoFold_App_HiteBoard}" HorizontalAlignment="Center"
FontSize="14" Margin="0,0,0,4" />
<ui:ToggleSwitch OnContent="" OffContent="" MinWidth="0"
HorizontalAlignment="Center"
Name="ToggleSwitchAutoFoldInHiteTouchPro" IsOn="True"
FontFamily="Microsoft YaHei UI" FontWeight="Bold"
Toggled="ToggleSwitchAutoFoldInHiteTouchPro_Toggled"
Width="40" />
</ikw:SimpleStackPanel>
<ikw:SimpleStackPanel Margin="0,18,0,0" Grid.Row="1" Grid.Column="3"
Orientation="Vertical">
<Image Source="/Resources/Icons-png/HiteCamera.png" Margin="0,0,0,4"
Width="42"
Height="42" HorizontalAlignment="Center" />
<TextBlock Foreground="#fafafa" Text="{i18n:I18n Key=AutoFold_App_HiteCamera}" HorizontalAlignment="Center"
FontSize="14" Margin="0,0,0,4" />
<ui:ToggleSwitch OnContent="" OffContent="" MinWidth="0"
HorizontalAlignment="Center"
Name="ToggleSwitchAutoFoldInHiteCamera" IsOn="True"
FontFamily="Microsoft YaHei UI" FontWeight="Bold"
Toggled="ToggleSwitchAutoFoldInHiteCamera_Toggled"
Width="40" />
</ikw:SimpleStackPanel>
<ikw:SimpleStackPanel Margin="0,18,0,0" Grid.Row="2" Grid.Column="0"
Orientation="Vertical">
<Image Source="/Resources/Icons-png/HiteLightBoard.png" Margin="0,0,0,4"
Width="42"
Height="42" HorizontalAlignment="Center" />
<TextBlock Foreground="#fafafa" Text="{i18n:I18n Key=AutoFold_App_HiteLightBoard}" HorizontalAlignment="Center"
FontSize="14" Margin="0,0,0,4" />
<ui:ToggleSwitch OnContent="" OffContent="" MinWidth="0"
HorizontalAlignment="Center"
Name="ToggleSwitchAutoFoldInHiteLightBoard" IsOn="True"
FontFamily="Microsoft YaHei UI" FontWeight="Bold"
Toggled="ToggleSwitchAutoFoldInHiteLightBoard_Toggled"
Width="40" />
</ikw:SimpleStackPanel>
<ikw:SimpleStackPanel Margin="0,18,0,0" Grid.Row="2" Grid.Column="1"
Orientation="Vertical">
<Image Source="/Resources/Icons-png/WenXiang.png" Margin="0,0,0,4"
Width="42"
Height="42" HorizontalAlignment="Center" />
<TextBlock Foreground="#fafafa" Text="{i18n:I18n Key=AutoFold_App_WenXiangBoard}" HorizontalAlignment="Center"
FontSize="14" Margin="0,0,0,4" />
<ui:ToggleSwitch OnContent="" OffContent="" MinWidth="0"
HorizontalAlignment="Center"
Name="ToggleSwitchAutoFoldInWxBoardMain" IsOn="True"
FontFamily="Microsoft YaHei UI" FontWeight="Bold"
Toggled="ToggleSwitchAutoFoldInWxBoardMain_Toggled"
Width="40" />
</ikw:SimpleStackPanel>
<ikw:SimpleStackPanel Margin="0,18,0,0" Grid.Row="2" Grid.Column="2"
Orientation="Vertical">
<Image Source="/Resources/Icons-png/Whiteboard.png" Margin="0,0,0,4"
Width="42"
Height="42" HorizontalAlignment="Center" />
<TextBlock Foreground="#fafafa" Text="{i18n:I18n Key=AutoFold_App_MSWhiteboard}" HorizontalAlignment="Center"
FontSize="14" Margin="0,0,0,4" />
<ui:ToggleSwitch OnContent="" OffContent="" MinWidth="0"
HorizontalAlignment="Center"
Name="ToggleSwitchAutoFoldInMSWhiteboard" IsOn="True"
FontFamily="Microsoft YaHei UI" FontWeight="Bold"
Toggled="ToggleSwitchAutoFoldInMSWhiteboard_Toggled"
Width="40" />
</ikw:SimpleStackPanel>
<ikw:SimpleStackPanel Margin="0,18,0,0" Grid.Row="2" Grid.Column="3"
Orientation="Vertical">
<Image Source="/Resources/Icons-png/AdmoxWhiteboard.png" Margin="0,0,0,4"
Width="42"
Height="42" HorizontalAlignment="Center" />
<TextBlock Foreground="#fafafa" Text="{i18n:I18n Key=AutoFold_App_AdmoxBoard}" HorizontalAlignment="Center"
FontSize="14" Margin="0,0,0,4" />
<ui:ToggleSwitch OnContent="" OffContent="" MinWidth="0"
HorizontalAlignment="Center"
Name="ToggleSwitchAutoFoldInAdmoxWhiteboard" IsOn="True"
FontFamily="Microsoft YaHei UI" FontWeight="Bold"
Toggled="ToggleSwitchAutoFoldInAdmoxWhiteboard_Toggled"
Width="40" />
</ikw:SimpleStackPanel>
<ikw:SimpleStackPanel Margin="0,18,0,0" Grid.Row="3" Grid.Column="0"
Orientation="Vertical">
<Image Source="/Resources/Icons-png/AdmoxBooth.png" Margin="0,0,0,4"
Width="42"
Height="42" HorizontalAlignment="Center" />
<TextBlock Foreground="#fafafa" Text="{i18n:I18n Key=AutoFold_App_AdmoxBooth}" HorizontalAlignment="Center"
FontSize="14" Margin="0,0,0,4" />
<ui:ToggleSwitch OnContent="" OffContent="" MinWidth="0"
HorizontalAlignment="Center"
Name="ToggleSwitchAutoFoldInAdmoxBooth" IsOn="True"
FontFamily="Microsoft YaHei UI" FontWeight="Bold"
Toggled="ToggleSwitchAutoFoldInAdmoxBooth_Toggled"
Width="40" />
</ikw:SimpleStackPanel>
<ikw:SimpleStackPanel Margin="0,18,0,0" Grid.Row="3" Grid.Column="1"
Orientation="Vertical">
<Image Source="/Resources/Icons-png/YiYunWhiteboard.png" Margin="0,0,0,4"
Width="42"
Height="42" HorizontalAlignment="Center" />
<TextBlock Foreground="#fafafa" Text="{i18n:I18n Key=AutoFold_App_YiYunBoard}" HorizontalAlignment="Center"
FontSize="14" Margin="0,0,0,4" />
<ui:ToggleSwitch OnContent="" OffContent="" MinWidth="0"
HorizontalAlignment="Center"
Name="ToggleSwitchAutoFoldInQPoint" IsOn="True"
FontFamily="Microsoft YaHei UI" FontWeight="Bold"
Toggled="ToggleSwitchAutoFoldInQPoint_Toggled" Width="40" />
</ikw:SimpleStackPanel>
<ikw:SimpleStackPanel Margin="0,18,0,0" Grid.Row="3" Grid.Column="2"
Orientation="Vertical">
<Image Source="/Resources/Icons-png/YiYunVisualPresenter.png"
Margin="0,0,0,4" Width="42"
Height="42" HorizontalAlignment="Center" />
<TextBlock Foreground="#fafafa" Text="{i18n:I18n Key=AutoFold_App_YiYunBooth}" HorizontalAlignment="Center"
FontSize="14" Margin="0,0,0,4" />
<ui:ToggleSwitch OnContent="" OffContent="" MinWidth="0"
HorizontalAlignment="Center"
Name="ToggleSwitchAutoFoldInYiYunVisualPresenter"
IsOn="True"
FontFamily="Microsoft YaHei UI" FontWeight="Bold"
Toggled="ToggleSwitchAutoFoldInYiYunVisualPresenter_Toggled"
Width="40" />
</ikw:SimpleStackPanel>
<ikw:SimpleStackPanel Margin="0,18,0,0" Grid.Row="3" Grid.Column="3"
Orientation="Vertical">
<Image Source="/Resources/Icons-png/MaxHubWhiteboard.png" Margin="0,0,0,4"
Width="42"
Height="42" HorizontalAlignment="Center" />
<TextBlock Foreground="#fafafa" Text="{i18n:I18n Key=AutoFold_App_MaxHubBoard}"
HorizontalAlignment="Center"
FontSize="14" Margin="0,0,0,4" />
<ui:ToggleSwitch OnContent="" OffContent="" MinWidth="0"
HorizontalAlignment="Center"
Name="ToggleSwitchAutoFoldInMaxHubWhiteboard" IsOn="True"
FontFamily="Microsoft YaHei UI" FontWeight="Bold"
Toggled="ToggleSwitchAutoFoldInMaxHubWhiteboard_Toggled"
Width="40" />
</ikw:SimpleStackPanel>
</Grid>
<Grid Width="390" HorizontalAlignment="Left">
<Grid.ColumnDefinitions>
<ColumnDefinition Width="34" />
<ColumnDefinition Width="300" />
<ColumnDefinition Width="56" />
</Grid.ColumnDefinitions>
<Image Grid.Column="0" Source="/Resources/Icons-png/EasiNote.png" Margin="0,0,6,0" Width="28"
Height="28" VerticalAlignment="Center" />
<TextBlock Grid.Column="1" Foreground="#fafafa" Text="{i18n:I18n Key=AutoFold_IgnoreEasiNoteDesktopAnno}"
VerticalAlignment="Center" FontSize="14" Margin="0,0,8,0"
TextWrapping="Wrap" />
<ui:ToggleSwitch Grid.Column="2" OnContent="" OffContent="" MinWidth="0"
Name="ToggleSwitchAutoFoldInEasiNoteIgnoreDesktopAnno"
IsOn="True" FontFamily="Microsoft YaHei UI" FontWeight="Bold"
HorizontalAlignment="Right"
Toggled="ToggleSwitchAutoFoldInEasiNoteIgnoreDesktopAnno_Toggled" />
</Grid>
<ikw:SimpleStackPanel Orientation="Horizontal" HorizontalAlignment="Left">
<Image Source="/Resources/Icons-png/Donview.png" Margin="0,0,6,0" Width="28"
Height="28" VerticalAlignment="Center" />
<TextBlock Foreground="#fafafa" Text="{i18n:I18n Key=AutoFold_OldZyBoard}"
VerticalAlignment="Center" FontSize="14" Margin="0,0,16,0" />
<ui:ToggleSwitch OnContent="" OffContent="" MinWidth="0"
Name="ToggleSwitchAutoFoldInOldZyBoard" IsOn="True"
FontFamily="Microsoft YaHei UI" FontWeight="Bold"
Toggled="ToggleSwitchAutoFoldInOldZyBoard_Toggled" />
</ikw:SimpleStackPanel>
<ikw:SimpleStackPanel Orientation="Horizontal" HorizontalAlignment="Left">
<Image Source="/Resources/Icons-png/Powerpoint.png" Margin="0,0,6,0" Width="28"
Height="28" VerticalAlignment="Center" />
<TextBlock Foreground="#fafafa" Text="{i18n:I18n Key=Automation_AutoFoldInPPT}" VerticalAlignment="Center"
FontSize="14" Margin="0,0,16,0" />
<ui:ToggleSwitch OnContent="" OffContent="" MinWidth="0"
Name="ToggleSwitchAutoFoldInPPTSlideShow" IsOn="True"
FontFamily="Microsoft YaHei UI" FontWeight="Bold"
Toggled="ToggleSwitchAutoFoldInPPTSlideShow_Toggled" />
</ikw:SimpleStackPanel>
<ikw:SimpleStackPanel Orientation="Horizontal" HorizontalAlignment="Left">
<TextBlock Foreground="#fafafa" Text="{i18n:I18n Key=Automation_KeepFoldAfterExit}"
VerticalAlignment="Center" FontSize="14" Margin="0,0,16,0" />
<ui:ToggleSwitch OnContent="" OffContent=""
Name="ToggleSwitchKeepFoldAfterSoftwareExit"
IsOn="False" FontFamily="Microsoft YaHei UI" FontWeight="Bold"
Toggled="ToggleSwitchKeepFoldAfterSoftwareExit_Toggled" />
</ikw:SimpleStackPanel>
<TextBlock Text="{i18n:I18n Key=Automation_KeepFoldAfterExitHint}" TextWrapping="Wrap" Foreground="#a1a1aa" />
<Line HorizontalAlignment="Center" X1="0" Y1="0" X2="400" Y2="0" Stroke="#3f3f46"
StrokeThickness="1" Margin="0,4,0,4" />
<TextBlock Margin="0,0,0,8" Text="{i18n:I18n Key=AutoKill_Title}" FontWeight="Bold" Foreground="#fafafa"
FontSize="20" />
<!--<ui:ToggleSwitch OnContent="" OffContent="" Name="ToggleSwitchAutoFoldInZySmartBoard" Header="进入“中原新白板(相似鸿合)”时自动收纳至侧边栏" IsOn="False" FontFamily="Microsoft YaHei UI" Toggled="ToggleSwitchAutoFoldInZySmartBoard_Toggled"/>-->
<ikw:SimpleStackPanel Orientation="Horizontal" HorizontalAlignment="Left">
<Image Source="/Resources/Icons-png/PPTTools.png" Margin="0,0,6,0" Width="28"
Height="28" VerticalAlignment="Center" />
<TextBlock Foreground="#fafafa" Text="{i18n:I18n Key=AutoKill_PptTools}"
VerticalAlignment="Center" FontSize="14" Margin="0,0,16,0" />
<ui:ToggleSwitch OnContent="" OffContent=""
Name="ToggleSwitchAutoKillPptService" IsOn="True"
FontFamily="Microsoft YaHei UI" FontWeight="Bold"
Toggled="ToggleSwitchAutoKillPptService_Toggled" />
</ikw:SimpleStackPanel>
<TextBlock
Text="{i18n:I18n Key=AutoKill_PptToolsHint}"
TextWrapping="Wrap" Foreground="#a1a1aa" />
<ikw:SimpleStackPanel Orientation="Horizontal" HorizontalAlignment="Left">
<Image Source="/Resources/Icons-png/EasiNote.png" Margin="0,0,6,0" Width="28"
Height="28" VerticalAlignment="Center" />
<TextBlock Foreground="#fafafa" Text="{i18n:I18n Key=AutoKill_EasiNote5}" VerticalAlignment="Center"
FontSize="14" Margin="0,0,16,0" />
<ui:ToggleSwitch OnContent="" OffContent="" Name="ToggleSwitchAutoKillEasiNote"
IsOn="True" FontFamily="Microsoft YaHei UI" FontWeight="Bold"
Toggled="ToggleSwitchAutoKillEasiNote_Toggled" />
</ikw:SimpleStackPanel>
<ikw:SimpleStackPanel Orientation="Horizontal" HorizontalAlignment="Left">
<Image Source="/Resources/Icons-png/HiteAnnotation.png" Margin="0,0,6,0"
Width="28"
Height="28" VerticalAlignment="Center" />
<TextBlock Foreground="#fafafa" Text="{i18n:I18n Key=AutoKill_HiteAnnotation}" VerticalAlignment="Center"
FontSize="14" Margin="0,0,16,0" />
<ui:ToggleSwitch OnContent="" OffContent=""
Name="ToggleSwitchAutoKillHiteAnnotation"
IsOn="True" FontFamily="Microsoft YaHei UI" FontWeight="Bold"
Toggled="ToggleSwitchAutoKillHiteAnnotation_Toggled" />
</ikw:SimpleStackPanel>
<ikw:SimpleStackPanel Orientation="Horizontal" HorizontalAlignment="Left">
<TextBlock Foreground="#fafafa" Text="{i18n:I18n Key=AutoKill_HiteAfterKillEnterAnnotation}" VerticalAlignment="Center"
FontSize="14" Margin="0,0,16,0" />
<ui:ToggleSwitch OnContent="" OffContent=""
Name="ToggleSwitchAutoEnterAnnotationAfterKillHite"
IsOn="False" FontFamily="Microsoft YaHei UI" FontWeight="Bold"
Toggled="ToggleSwitchAutoEnterAnnotationAfterKillHite_Toggled" />
</ikw:SimpleStackPanel>
<ikw:SimpleStackPanel Orientation="Horizontal" HorizontalAlignment="Left">
<Image Source="/Resources/Icons-png/VComYouJiao.png" Margin="0,0,6,0"
Width="28"
Height="28" VerticalAlignment="Center" />
<TextBlock Foreground="#fafafa" Text="{i18n:I18n Key=AutoKill_YouJiao}" VerticalAlignment="Center"
FontSize="14" Margin="0,0,16,0" />
<ui:ToggleSwitch OnContent="" OffContent=""
Name="ToggleSwitchAutoKillVComYouJiao"
IsOn="True" FontFamily="Microsoft YaHei UI" FontWeight="Bold"
Toggled="ToggleSwitchAutoKillVComYouJiao_Toggled" />
</ikw:SimpleStackPanel>
<ikw:SimpleStackPanel Orientation="Horizontal" HorizontalAlignment="Left">
<Image Source="/Resources/Icons-png/Seewo2Annotation.png" Margin="0,0,6,0"
Width="28"
Height="28" VerticalAlignment="Center" />
<TextBlock Foreground="#fafafa" Text="{i18n:I18n Key=AutoKill_SeewoDesktop2Anno}"
VerticalAlignment="Center"
FontSize="14" Margin="0,0,16,0" />
<ui:ToggleSwitch OnContent="" OffContent=""
Name="ToggleSwitchAutoKillSeewoLauncher2DesktopAnnotation"
IsOn="True" FontFamily="Microsoft YaHei UI" FontWeight="Bold"
Toggled="ToggleSwitchAutoKillSeewoLauncher2DesktopAnnotation_Toggled" />
</ikw:SimpleStackPanel>
<TextBlock TextWrapping="Wrap" Foreground="#a1a1aa"
Text="{i18n:I18n Key=AutoKill_SeewoDesktop2AnnoHint}" />
<Line HorizontalAlignment="Center" X1="0" Y1="0" X2="400" Y2="0" Stroke="#3f3f46"
StrokeThickness="1" Margin="0,4,0,4" />
<TextBlock Margin="0,0,0,8" Text="{i18n:I18n Key=AutoKill_SameAppTitle}" FontWeight="Bold" Foreground="#fafafa"
FontSize="20" />
<ikw:SimpleStackPanel Orientation="Horizontal" HorizontalAlignment="Left">
<Image Source="/Resources/Icons-png/InkCanvas.png" Margin="0,0,6,0"
Width="28"
Height="28" VerticalAlignment="Center" />
<TextBlock Foreground="#fafafa" Text="{i18n:I18n Key=AutoKill_InkCanvasIC}"
VerticalAlignment="Center"
FontSize="14" Margin="0,0,16,0" />
<ui:ToggleSwitch OnContent="" OffContent=""
Name="ToggleSwitchAutoKillInkCanvas"
IsOn="True" FontFamily="Microsoft YaHei UI" FontWeight="Bold"
Toggled="ToggleSwitchAutoKillInkCanvas_Toggled" />
</ikw:SimpleStackPanel>
<ikw:SimpleStackPanel Orientation="Horizontal" HorizontalAlignment="Left">
<Image Source="/Resources/Icons-png/ica.png" Margin="0,0,6,0"
Width="28"
Height="28" VerticalAlignment="Center" />
<TextBlock Foreground="#fafafa" Text="{i18n:I18n Key=AutoKill_ICA}"
VerticalAlignment="Center"
FontSize="14" Margin="0,0,16,0" />
<ui:ToggleSwitch OnContent="" OffContent=""
Name="ToggleSwitchAutoKillICA"
IsOn="True" FontFamily="Microsoft YaHei UI" FontWeight="Bold"
Toggled="ToggleSwitchAutoKillICA_Toggled" />
</ikw:SimpleStackPanel>
<ikw:SimpleStackPanel Orientation="Horizontal" HorizontalAlignment="Left">
<Image Source="/Resources/Icons-png/idt.png" Margin="0,0,6,0"
Width="28"
Height="28" VerticalAlignment="Center" />
<TextBlock Foreground="#fafafa" Text="{i18n:I18n Key=AutoKill_Inkeys}" VerticalAlignment="Center"
FontSize="14" Margin="0,0,16,0" />
<ui:ToggleSwitch OnContent="" OffContent=""
Name="ToggleSwitchAutoKillIDT"
IsOn="True" FontFamily="Microsoft YaHei UI" FontWeight="Bold"
Toggled="ToggleSwitchAutoKillIDT_Toggled" />
</ikw:SimpleStackPanel>
<Line HorizontalAlignment="Center" X1="0" Y1="0" X2="400" Y2="0" Stroke="#3f3f46"
StrokeThickness="1" Margin="0,4,0,4" />
<TextBlock Text="{i18n:I18n Key=FileAssoc_Title}" FontWeight="Bold" Foreground="#fafafa"
FontSize="16" Margin="0,8,0,8" />
<TextBlock Text="{i18n:I18n Key=FileAssoc_Desc}"
TextWrapping="Wrap" Foreground="#a1a1aa" Margin="0,0,0,8" />
<WrapPanel Orientation="Horizontal" HorizontalAlignment="Left" Width="280" Margin="0,0,0,8">
<Button Name="BtnUnregisterFileAssociation" Content="{i18n:I18n Key=FileAssoc_Unregister}"
Padding="12,5" Width="132" Margin="0,0,8,8" MinWidth="0" Click="BtnUnregisterFileAssociation_Click" />
<Button Name="BtnCheckFileAssociation" Content="{i18n:I18n Key=FileAssoc_Check}"
Padding="12,5" Width="132" Margin="0,0,8,8" MinWidth="0" Click="BtnCheckFileAssociation_Click" />
<Button Name="BtnRegisterFileAssociation" Content="{i18n:I18n Key=FileAssoc_Register}"
Padding="12,5" Width="132" Margin="0,0,0,8" MinWidth="0" Click="BtnRegisterFileAssociation_Click" />
</WrapPanel>
<TextBlock Name="TextBlockFileAssociationStatus" Text=""
Foreground="#a1a1aa" FontSize="12" Margin="0,4,0,0" />
<!-- 悬浮窗拦截功能 -->
<Line HorizontalAlignment="Center" X1="0" Y1="0" X2="400" Y2="0" Stroke="#3f3f46"
StrokeThickness="1" Margin="0,8,0,8" />
<TextBlock Text="{i18n:I18n Key=FloatingInterceptor_Title}" FontWeight="Bold" Foreground="#fafafa"
FontSize="16" Margin="0,8,0,8" />
<TextBlock Text="{i18n:I18n Key=FloatingInterceptor_Desc}"
TextWrapping="Wrap" Foreground="#a1a1aa" Margin="0,0,0,8" />
<!-- 主控制开关 -->
<ikw:SimpleStackPanel Orientation="Horizontal" HorizontalAlignment="Left" Margin="0,0,0,8">
<TextBlock Foreground="#fafafa" Text="{i18n:I18n Key=FloatingInterceptor_Enable}" VerticalAlignment="Center"
FontSize="14" Margin="0,0,16,0" />
<ui:ToggleSwitch OnContent="" OffContent=""
Name="ToggleSwitchFloatingWindowInterceptorEnabled" IsOn="False"
FontFamily="Microsoft YaHei UI" FontWeight="Bold"
Toggled="ToggleSwitchFloatingWindowInterceptorEnabled_Toggled" />
</ikw:SimpleStackPanel>
<!-- 拦截规则网格 -->
<Grid Name="FloatingWindowInterceptorGrid" Margin="4,0" Visibility="Collapsed">
<Grid.Resources>
<Style TargetType="TextBlock" BasedOn="{StaticResource AutoFitSettingsGridLabel14}">
<Setter Property="Width" Value="88" />
<Setter Property="HorizontalAlignment" Value="Center" />
<Setter Property="Margin" Value="0,0,0,4" />
</Style>
</Grid.Resources>
<Grid.RowDefinitions>
<RowDefinition />
<RowDefinition />
<RowDefinition />
<RowDefinition />
</Grid.RowDefinitions>
<Grid.ColumnDefinitions>
<ColumnDefinition />
<ColumnDefinition />
<ColumnDefinition />
<ColumnDefinition />
</Grid.ColumnDefinitions>
<!-- 希沃白板3 -->
<ikw:SimpleStackPanel Grid.Row="0" Grid.Column="0" Orientation="Vertical">
<Image Source="/Resources/Icons-png/EasiNote3.png" Margin="0,0,0,4"
Width="42" Height="42" HorizontalAlignment="Center" />
<TextBlock Foreground="#fafafa" Text="{i18n:I18n Key=FloatingInterceptor_App_SeewoBoard3}" HorizontalAlignment="Center"
FontSize="14" Margin="0,0,0,4" />
<ui:ToggleSwitch OnContent="" OffContent="" MinWidth="0"
HorizontalAlignment="Center"
Name="ToggleSwitchSeewoWhiteboard3Floating" IsOn="True"
FontFamily="Microsoft YaHei UI" FontWeight="Bold"
Toggled="ToggleSwitchSeewoWhiteboard3Floating_Toggled"
Width="40" />
</ikw:SimpleStackPanel>
<!-- 希沃白板5 -->
<ikw:SimpleStackPanel Grid.Row="0" Grid.Column="1" Orientation="Vertical">
<Image Source="/Resources/Icons-png/EasiNote.png" Margin="0,0,0,4"
Width="42" Height="42" HorizontalAlignment="Center" />
<TextBlock Foreground="#fafafa" Text="{i18n:I18n Key=FloatingInterceptor_App_SeewoBoard5}" HorizontalAlignment="Center"
FontSize="14" Margin="0,0,0,4" />
<ui:ToggleSwitch OnContent="" OffContent="" MinWidth="0"
HorizontalAlignment="Center"
Name="ToggleSwitchSeewoWhiteboard5Floating" IsOn="True"
FontFamily="Microsoft YaHei UI" FontWeight="Bold"
Toggled="ToggleSwitchSeewoWhiteboard5Floating_Toggled"
Width="40" />
</ikw:SimpleStackPanel>
<!-- 希沃白板5C -->
<ikw:SimpleStackPanel Grid.Row="0" Grid.Column="2" Orientation="Vertical">
<Image Source="/Resources/Icons-png/EasiNote5C.png" Margin="0,0,0,4"
Width="42" Height="42" HorizontalAlignment="Center" />
<TextBlock Foreground="#fafafa" Text="{i18n:I18n Key=FloatingInterceptor_App_SeewoBoard5C}" HorizontalAlignment="Center"
FontSize="14" Margin="0,0,0,4" />
<ui:ToggleSwitch OnContent="" OffContent="" MinWidth="0"
HorizontalAlignment="Center"
Name="ToggleSwitchSeewoWhiteboard5CFloating" IsOn="True"
FontFamily="Microsoft YaHei UI" FontWeight="Bold"
Toggled="ToggleSwitchSeewoWhiteboard5CFloating_Toggled"
Width="40" />
</ikw:SimpleStackPanel>
<!-- 希沃品课 -->
<ikw:SimpleStackPanel Grid.Row="0" Grid.Column="3" Orientation="Vertical">
<Image Source="/Resources/Icons-png/SeewoPinco.png" Margin="0,0,0,4"
Width="42" Height="42" HorizontalAlignment="Center" />
<TextBlock Foreground="#fafafa" Text="{i18n:I18n Key=FloatingInterceptor_App_SeewoPinco}" HorizontalAlignment="Center"
FontSize="14" Margin="0,0,0,4" />
<ui:ToggleSwitch OnContent="" OffContent="" MinWidth="0"
HorizontalAlignment="Center"
Name="ToggleSwitchSeewoPincoSideBarFloating" IsOn="True"
FontFamily="Microsoft YaHei UI" FontWeight="Bold"
Toggled="ToggleSwitchSeewoPincoSideBarFloating_Toggled"
Width="40" />
</ikw:SimpleStackPanel>
<!-- 希沃品课画笔 -->
<ikw:SimpleStackPanel Grid.Row="1" Grid.Column="0" Orientation="Vertical">
<Image Source="/Resources/Icons-png/SeewoPinco.png" Margin="0,0,0,4"
Width="42" Height="42" HorizontalAlignment="Center" />
<TextBlock Foreground="#fafafa" Text="{i18n:I18n Key=FloatingInterceptor_App_SeewoPincoDrawing}" HorizontalAlignment="Center"
FontSize="14" Margin="0,0,0,4" />
<ui:ToggleSwitch OnContent="" OffContent="" MinWidth="0"
HorizontalAlignment="Center"
Name="ToggleSwitchSeewoPincoDrawingFloating" IsOn="True"
FontFamily="Microsoft YaHei UI" FontWeight="Bold"
Toggled="ToggleSwitchSeewoPincoDrawingFloating_Toggled"
Width="40" />
</ikw:SimpleStackPanel>
<!-- 希沃PPT小工具 -->
<ikw:SimpleStackPanel Grid.Row="1" Grid.Column="1" Orientation="Vertical">
<Image Source="/Resources/Icons-png/PPTTools.png" Margin="0,0,0,4"
Width="42" Height="42" HorizontalAlignment="Center" />
<TextBlock Foreground="#fafafa" Text="{i18n:I18n Key=FloatingInterceptor_App_SeewoPPTTools}" HorizontalAlignment="Center"
FontSize="14" Margin="0,0,0,4" />
<ui:ToggleSwitch OnContent="" OffContent="" MinWidth="0"
HorizontalAlignment="Center"
Name="ToggleSwitchSeewoPPTFloating" IsOn="True"
FontFamily="Microsoft YaHei UI" FontWeight="Bold"
Toggled="ToggleSwitchSeewoPPTFloating_Toggled"
Width="40" />
</ikw:SimpleStackPanel>
<!-- AiClass -->
<ikw:SimpleStackPanel Grid.Row="1" Grid.Column="2" Orientation="Vertical">
<Image Source="/Resources/Icons-png/AiClass.png" Margin="0,0,0,4"
Width="42" Height="42" HorizontalAlignment="Center" />
<TextBlock Foreground="#fafafa" Text="{i18n:I18n Key=FloatingInterceptor_App_AiClass}" HorizontalAlignment="Center"
FontSize="14" Margin="0,0,0,4" />
<ui:ToggleSwitch OnContent="" OffContent="" MinWidth="0"
HorizontalAlignment="Center"
Name="ToggleSwitchAiClassFloating" IsOn="True"
FontFamily="Microsoft YaHei UI" FontWeight="Bold"
Toggled="ToggleSwitchAiClassFloating_Toggled"
Width="40" />
</ikw:SimpleStackPanel>
<!-- 鸿合屏幕书写 -->
<ikw:SimpleStackPanel Grid.Row="1" Grid.Column="3" Orientation="Vertical">
<Image Source="/Resources/Icons-png/HiteAnnotation.png" Margin="0,0,0,4"
Width="42" Height="42" HorizontalAlignment="Center" />
<TextBlock Foreground="#fafafa" Text="{i18n:I18n Key=FloatingInterceptor_App_HiteAnnotation}" HorizontalAlignment="Center"
FontSize="14" Margin="0,0,0,4" />
<ui:ToggleSwitch OnContent="" OffContent="" MinWidth="0"
HorizontalAlignment="Center"
Name="ToggleSwitchHiteAnnotationFloating" IsOn="True"
FontFamily="Microsoft YaHei UI" FontWeight="Bold"
Toggled="ToggleSwitchHiteAnnotationFloating_Toggled"
Width="40" />
</ikw:SimpleStackPanel>
<!-- 畅言智慧课堂 -->
<ikw:SimpleStackPanel Grid.Row="2" Grid.Column="0" Orientation="Vertical">
<Image Source="/Resources/Icons-png/畅言智慧课堂.png" Margin="0,0,0,4"
Width="42" Height="42" HorizontalAlignment="Center" />
<TextBlock Foreground="#fafafa" Text="{i18n:I18n Key=FloatingInterceptor_App_ChangYanClass}" HorizontalAlignment="Center"
FontSize="14" Margin="0,0,0,4" />
<ui:ToggleSwitch OnContent="" OffContent="" MinWidth="0"
HorizontalAlignment="Center"
Name="ToggleSwitchChangYanFloating" IsOn="True"
FontFamily="Microsoft YaHei UI" FontWeight="Bold"
Toggled="ToggleSwitchChangYanFloating_Toggled"
Width="40" />
</ikw:SimpleStackPanel>
<!-- 畅言PPT -->
<ikw:SimpleStackPanel Grid.Row="2" Grid.Column="1" Orientation="Vertical">
<Image Source="/Resources/Icons-png/畅言智慧课堂.png" Margin="0,0,0,4"
Width="42" Height="42" HorizontalAlignment="Center" />
<TextBlock Foreground="#fafafa" Text="{i18n:I18n Key=FloatingInterceptor_App_ChangYanPPT}" HorizontalAlignment="Center"
FontSize="14" Margin="0,0,0,4" />
<ui:ToggleSwitch OnContent="" OffContent="" MinWidth="0"
HorizontalAlignment="Center"
Name="ToggleSwitchChangYanPptFloating" IsOn="True"
FontFamily="Microsoft YaHei UI" FontWeight="Bold"
Toggled="ToggleSwitchChangYanPptFloating_Toggled"
Width="40" />
</ikw:SimpleStackPanel>
<!-- 天喻教育云 -->
<ikw:SimpleStackPanel Grid.Row="2" Grid.Column="2" Orientation="Vertical">
<Image Source="/Resources/Icons-png/天喻教育云.png" Margin="0,0,0,4"
Width="42" Height="42" HorizontalAlignment="Center" />
<TextBlock Foreground="#fafafa" Text="{i18n:I18n Key=FloatingInterceptor_App_IntelligentClass}" HorizontalAlignment="Center"
FontSize="14" Margin="0,0,0,4" />
<ui:ToggleSwitch OnContent="" OffContent="" MinWidth="0"
HorizontalAlignment="Center"
Name="ToggleSwitchIntelligentClassFloating" IsOn="True"
FontFamily="Microsoft YaHei UI" FontWeight="Bold"
Toggled="ToggleSwitchIntelligentClassFloating_Toggled"
Width="40" />
</ikw:SimpleStackPanel>
<!-- 希沃桌面画笔 -->
<ikw:SimpleStackPanel Grid.Row="2" Grid.Column="3" Orientation="Vertical">
<Image Source="/Resources/Icons-png/SeewoPinco.png" Margin="0,0,0,4"
Width="42" Height="42" HorizontalAlignment="Center" />
<TextBlock Foreground="#fafafa" Text="{i18n:I18n Key=FloatingInterceptor_App_SeewoDesktopAnnotation}" HorizontalAlignment="Center"
FontSize="14" Margin="0,0,0,4" />
<ui:ToggleSwitch OnContent="" OffContent="" MinWidth="0"
HorizontalAlignment="Center"
Name="ToggleSwitchSeewoDesktopAnnotationFloating" IsOn="True"
FontFamily="Microsoft YaHei UI" FontWeight="Bold"
Toggled="ToggleSwitchSeewoDesktopAnnotationFloating_Toggled"
Width="40" />
</ikw:SimpleStackPanel>
<!-- 希沃桌面侧栏 -->
<ikw:SimpleStackPanel Grid.Row="3" Grid.Column="0" Orientation="Vertical">
<Image Source="/Resources/Icons-png/SeewoPinco.png" Margin="0,0,0,4"
Width="42" Height="42" HorizontalAlignment="Center" />
<TextBlock Foreground="#fafafa" Text="{i18n:I18n Key=FloatingInterceptor_App_SeewoDesktopSideBar}" HorizontalAlignment="Center"
FontSize="14" Margin="0,0,0,4" />
<ui:ToggleSwitch OnContent="" OffContent="" MinWidth="0"
HorizontalAlignment="Center"
Name="ToggleSwitchSeewoDesktopSideBarFloating" IsOn="True"
FontFamily="Microsoft YaHei UI" FontWeight="Bold"
Toggled="ToggleSwitchSeewoDesktopSideBarFloating_Toggled"
Width="40" />
</ikw:SimpleStackPanel>
</Grid>
<!-- 状态信息 -->
<TextBlock Name="TextBlockFloatingWindowInterceptorStatus" Text="{i18n:I18n Key=FloatingInterceptor_StatusNotRunning}"
Foreground="#a1a1aa" FontSize="12" Margin="0,4,0,0" />
<ikw:SimpleStackPanel Orientation="Horizontal" HorizontalAlignment="Left">
<TextBlock Foreground="#fafafa" Text="{i18n:I18n Key=Storage_AutoScreenshotOnClear}" VerticalAlignment="Center"
FontSize="14" Margin="0,0,16,0" />
<ui:ToggleSwitch OnContent="" OffContent=""
Name="ToggleSwitchAutoSaveStrokesAtClear" IsOn="True"
FontFamily="Microsoft YaHei UI" FontWeight="Bold"
Toggled="ToggleSwitchAutoSaveStrokesAtClear_Toggled" />
</ikw:SimpleStackPanel>
<ikw:SimpleStackPanel Orientation="Horizontal" HorizontalAlignment="Left">
<TextBlock Foreground="#fafafa" Text="{i18n:I18n Key=Storage_ScreenshotsByDateFolder}" VerticalAlignment="Center"
FontSize="14" Margin="0,0,16,0" />
<ui:ToggleSwitch OnContent="" OffContent=""
Name="ToggleSwitchSaveScreenshotsInDateFolders" IsOn="True"
FontFamily="Microsoft YaHei UI" FontWeight="Bold"
Toggled="ToggleSwitchSaveScreenshotsInDateFolders_Toggled" />
</ikw:SimpleStackPanel>
<ikw:SimpleStackPanel Orientation="Horizontal" HorizontalAlignment="Left">
<TextBlock Foreground="#fafafa" Text="{i18n:I18n Key=Storage_AutoSaveInkOnScreenshot}" VerticalAlignment="Center"
FontSize="14" Margin="0,0,16,0" />
<ui:ToggleSwitch OnContent="" OffContent=""
Name="ToggleSwitchAutoSaveStrokesAtScreenshot" IsOn="True"
FontFamily="Microsoft YaHei UI" FontWeight="Bold"
Toggled="ToggleSwitchAutoSaveStrokesAtScreenshot_Toggled" />
</ikw:SimpleStackPanel>
<ikw:SimpleStackPanel Orientation="Horizontal" HorizontalAlignment="Left">
<TextBlock Foreground="#fafafa" Text="{i18n:I18n Key=Storage_AutoSaveInk}" VerticalAlignment="Center"
FontSize="14" Margin="0,0,16,0" />
<ui:ToggleSwitch OnContent="" OffContent=""
Name="ToggleSwitchEnableAutoSaveStrokes" IsOn="False"
FontFamily="Microsoft YaHei UI" FontWeight="Bold"
Toggled="ToggleSwitchEnableAutoSaveStrokes_Toggled" />
</ikw:SimpleStackPanel>
<ikw:SimpleStackPanel Orientation="Horizontal" HorizontalAlignment="Left">
<TextBlock Foreground="#a1a1aa" Text="{i18n:I18n Key=Storage_AutoSaveInterval}" VerticalAlignment="Center"
FontSize="12" Margin="0,0,16,0" />
<ComboBox Name="ComboBoxAutoSaveStrokesInterval" Width="120"
SelectionChanged="ComboBoxAutoSaveStrokesInterval_SelectionChanged">
<ComboBoxItem Content="{i18n:I18n Key=Storage_AutoSaveInterval_1Min}" Tag="1" />
<ComboBoxItem Content="{i18n:I18n Key=Storage_AutoSaveInterval_3Min}" Tag="3" />
<ComboBoxItem Content="{i18n:I18n Key=Storage_AutoSaveInterval_5Min}" Tag="5" />
<ComboBoxItem Content="{i18n:I18n Key=Storage_AutoSaveInterval_10Min}" Tag="10" />
<ComboBoxItem Content="{i18n:I18n Key=Storage_AutoSaveInterval_15Min}" Tag="15" />
<ComboBoxItem Content="{i18n:I18n Key=Storage_AutoSaveInterval_30Min}" Tag="30" />
<ComboBoxItem Content="{i18n:I18n Key=Storage_AutoSaveInterval_60Min}" Tag="60" />
</ComboBox>
</ikw:SimpleStackPanel>
<TextBlock Text="{i18n:I18n Key=Storage_AutoSaveHint}" TextWrapping="Wrap" Foreground="#a1a1aa" />
<ikw:SimpleStackPanel Orientation="Horizontal" HorizontalAlignment="Left">
<TextBlock Foreground="#fafafa" Text="{i18n:I18n Key=Storage_SaveFullPageStrokes}" VerticalAlignment="Center"
FontSize="14" Margin="0,0,16,0" />
<ui:ToggleSwitch OnContent="" OffContent=""
Name="ToggleSwitchSaveFullPageStrokes" IsOn="False"
FontFamily="Microsoft YaHei UI" FontWeight="Bold"
Toggled="ToggleSwitchSaveFullPageStrokes_Toggled" />
</ikw:SimpleStackPanel>
<TextBlock Text="{i18n:I18n Key=Storage_SaveFullPageHint}" TextWrapping="Wrap" Foreground="#a1a1aa" />
<ikw:SimpleStackPanel Orientation="Horizontal" HorizontalAlignment="Left">
<TextBlock Foreground="#fafafa" Text="{i18n:I18n Key=Storage_SaveAsXml}" VerticalAlignment="Center"
FontSize="14" Margin="0,0,16,0" />
<ui:ToggleSwitch OnContent="" OffContent=""
Name="ToggleSwitchSaveStrokesAsXML" IsOn="False"
FontFamily="Microsoft YaHei UI" FontWeight="Bold"
Toggled="ToggleSwitchSaveStrokesAsXML_Toggled" />
</ikw:SimpleStackPanel>
<TextBlock Text="{i18n:I18n Key=Storage_SaveAsXmlHint}" TextWrapping="Wrap" Foreground="#a1a1aa" />
<Line HorizontalAlignment="Center" X1="0" Y1="0" X2="400" Y2="0" Stroke="#3f3f46"
StrokeThickness="1" Margin="0,4,0,4" />
<ikw:SimpleStackPanel Orientation="Horizontal" HorizontalAlignment="Left">
<TextBlock Foreground="#fafafa" Text="{i18n:I18n Key=Storage_AutoScreenshotMinInk}" VerticalAlignment="Center"
FontSize="14" Margin="0,0,16,0" />
<Slider x:Name="SideControlMinimumAutomationSlider" Minimum="0.3"
Maximum="1" Width="168" FontFamily="Microsoft YaHei UI"
FontSize="20" IsSnapToTickEnabled="True" Value="1" TickFrequency="0.05"
TickPlacement="None" AutoToolTipPlacement="None"
ValueChanged="SideControlMinimumAutomationSlider_ValueChanged" />
<TextBlock
Text="{Binding ElementName=SideControlMinimumAutomationSlider, Path=Value, Converter={StaticResource IntNumberToString2} }"
VerticalAlignment="Center" FontSize="14" FontFamily="Consolas"
Margin="12,0,16,0" />
</ikw:SimpleStackPanel>
<Line HorizontalAlignment="Center" X1="0" Y1="0" X2="400" Y2="0" Stroke="#3f3f46"
StrokeThickness="1" Margin="0,4,0,4" />
<ikw:SimpleStackPanel Orientation="Vertical" HorizontalAlignment="Left" Spacing="8">
<TextBlock Foreground="#fafafa" Text="{i18n:I18n Key=Storage_PathTitle}" VerticalAlignment="Center"
FontSize="14" Margin="0,0,16,0" />
<ikw:SimpleStackPanel Orientation="Horizontal" Spacing="10">
<TextBox Width="320" x:Name="AutoSavedStrokesLocation" Text="D:\Ink Canvas"
TextWrapping="Wrap"
TextChanged="AutoSavedStrokesLocationTextBox_TextChanged" />
<Button Name="AutoSavedStrokesLocationButton" Content="{i18n:I18n Key=Storage_PathBrowse}"
Click="AutoSavedStrokesLocationButton_Click" />
</ikw:SimpleStackPanel>
<ikw:SimpleStackPanel Orientation="Horizontal" Spacing="12">
<Button Name="SetAutoSavedStrokesLocationToDiskDButton"
Content="{i18n:I18n Key=Storage_PathSetToD}"
Click="SetAutoSavedStrokesLocationToDiskDButton_Click" />
<Button Name="SetAutoSavedStrokesLocationToDocumentFolderButton"
Content="{i18n:I18n Key=Storage_PathSetToDocuments}"
Click="SetAutoSavedStrokesLocationToDocumentFolderButton_Click" />
</ikw:SimpleStackPanel>
<TextBlock Text="{i18n:I18n Key=Storage_PathPermissionHint}" TextWrapping="Wrap" Foreground="#a1a1aa" />
</ikw:SimpleStackPanel>
<Line HorizontalAlignment="Center" X1="0" Y1="0" X2="400" Y2="0" Stroke="#3f3f46"
StrokeThickness="1" Margin="0,4,0,4" />
<ikw:SimpleStackPanel Orientation="Horizontal" HorizontalAlignment="Left">
<TextBlock Foreground="#fafafa" Text="{i18n:I18n Key=Storage_AutoDeleteTitle}"
VerticalAlignment="Center" FontSize="14" Margin="0,0,16,0" />
<ui:ToggleSwitch OnContent="" OffContent=""
Name="ToggleSwitchAutoDelSavedFiles" IsOn="True"
FontFamily="Microsoft YaHei UI" FontWeight="Bold"
Toggled="ToggleSwitchAutoDelSavedFiles_Toggled" />
</ikw:SimpleStackPanel>
<TextBlock Text="{i18n:I18n Key=Storage_AutoDeleteHint}"
TextWrapping="Wrap" Foreground="#a1a1aa" />
<Line HorizontalAlignment="Center" X1="0" Y1="0" X2="400" Y2="0" Stroke="#3f3f46"
StrokeThickness="1" Margin="0,4,0,4" />
<ikw:SimpleStackPanel Orientation="Horizontal" HorizontalAlignment="Left">
<TextBlock Foreground="#fafafa" Text="{i18n:I18n Key=Storage_RetentionTitle}" VerticalAlignment="Center"
FontSize="14" Margin="0,0,16,0" />
<ComboBox Name="ComboBoxAutoDelSavedFilesDaysThreshold"
FontFamily="Microsoft YaHei UI"
SelectedIndex="4"
SelectionChanged="ComboBoxAutoDelSavedFilesDaysThreshold_SelectionChanged">
<ComboBoxItem Content="1" FontFamily="Microsoft YaHei UI" />
<ComboBoxItem Content="3" FontFamily="Microsoft YaHei UI" />
<ComboBoxItem Content="5" FontFamily="Microsoft YaHei UI" />
<ComboBoxItem Content="7" FontFamily="Microsoft YaHei UI" />
<ComboBoxItem Content="15" FontFamily="Microsoft YaHei UI" />
<ComboBoxItem Content="30" FontFamily="Microsoft YaHei UI" />
<ComboBoxItem Content="60" FontFamily="Microsoft YaHei UI" />
<ComboBoxItem Content="100" FontFamily="Microsoft YaHei UI" />
<ComboBoxItem Content="365" FontFamily="Microsoft YaHei UI" />
</ComboBox>
<TextBlock Foreground="#fafafa" Text="{i18n:I18n Key=Storage_RetentionUnitDays}" VerticalAlignment="Center"
FontSize="14" Margin="8,0,0,0" />
</ikw:SimpleStackPanel>
<Line HorizontalAlignment="Center" X1="0" Y1="0" X2="400" Y2="0" Stroke="#3f3f46"
StrokeThickness="1" Margin="0,8,0,8" />
<ikw:SimpleStackPanel Orientation="Horizontal" HorizontalAlignment="Left" Margin="0,8,0,0">
<Button Name="BtnDlassSettingsManage" Content="{i18n:I18n Key=CloudStorage_Manage}"
HorizontalAlignment="Left"
Click="BtnCloudStorageManagementSettingsManage_Click"
Padding="15,5"
Margin="0,0,0,0"/>
</ikw:SimpleStackPanel>
<Line HorizontalAlignment="Center" X1="0" Y1="0" X2="400" Y2="0" Stroke="#3f3f46"
StrokeThickness="1" Margin="0,8,0,8" />
<TextBlock Margin="0,0,0,8" Text="{i18n:I18n Key=FoldMode_Title}" FontWeight="Bold" Foreground="#fafafa"
FontSize="20" />
<ikw:SimpleStackPanel Orientation="Horizontal" HorizontalAlignment="Left">
<TextBlock Foreground="#fafafa" Text="{i18n:I18n Key=FoldMode_ExitToAnnotation}"
VerticalAlignment="Center" FontSize="14" Margin="0,0,16,0" />
<ui:ToggleSwitch OnContent="" OffContent=""
Name="ToggleSwitchAutoEnterAnnotationModeWhenExitFoldMode"
IsOn="False" FontFamily="Microsoft YaHei UI" FontWeight="Bold"
Toggled="ToggleSwitchAutoEnterAnnotationModeWhenExitFoldMode_Toggled" />
</ikw:SimpleStackPanel>
<TextBlock Text="{i18n:I18n Key=FoldMode_ExitToAnnotationHint}" TextWrapping="Wrap" Foreground="#a1a1aa" />
<ikw:SimpleStackPanel Orientation="Horizontal" HorizontalAlignment="Left">
<TextBlock Foreground="#fafafa" Text="{i18n:I18n Key=FoldMode_AutoFoldAfterPPT}"
VerticalAlignment="Center" FontSize="14" Margin="0,0,16,0" />
<ui:ToggleSwitch OnContent="" OffContent=""
Name="ToggleSwitchAutoFoldAfterPPTSlideShow"
IsOn="False" FontFamily="Microsoft YaHei UI" FontWeight="Bold"
Toggled="ToggleSwitchAutoFoldAfterPPTSlideShow_Toggled" />
</ikw:SimpleStackPanel>
<TextBlock Text="{i18n:I18n Key=FoldMode_AutoFoldAfterPPTHint}" TextWrapping="Wrap" Foreground="#a1a1aa" />
<ikw:SimpleStackPanel Orientation="Horizontal" HorizontalAlignment="Left">
<TextBlock Foreground="#fafafa" Text="{i18n:I18n Key=FoldMode_AutoFoldAfterWhiteboard}"
VerticalAlignment="Center" FontSize="14" Margin="0,0,16,0" />
<ui:ToggleSwitch OnContent="" OffContent=""
Name="ToggleSwitchAutoFoldWhenExitWhiteboard"
IsOn="False" FontFamily="Microsoft YaHei UI" FontWeight="Bold"
Toggled="ToggleSwitchAutoFoldWhenExitWhiteboard_Toggled" />
</ikw:SimpleStackPanel>
<TextBlock Text="{i18n:I18n Key=FoldMode_AutoFoldAfterWhiteboardHint}" TextWrapping="Wrap" Foreground="#a1a1aa" />
</ikw:SimpleStackPanel>
</GroupBox>
<GroupBox Name="GroupBoxRandWindow">
<GroupBox.Header>
<TextBlock Margin="0,12,0,0" Text="{i18n:I18n Key=Random_Title}" FontWeight="Bold" Foreground="#fafafa"
FontSize="26" />
</GroupBox.Header>
<ikw:SimpleStackPanel Spacing="12">
<ikw:SimpleStackPanel Orientation="Horizontal" HorizontalAlignment="Left">
<TextBlock Foreground="#fafafa" Text="{i18n:I18n Key=Random_ShowEditNamesButton}"
VerticalAlignment="Center" FontSize="14" Margin="0,0,16,0" />
<ui:ToggleSwitch OnContent="" OffContent=""
Name="ToggleSwitchDisplayRandWindowNamesInputBtn"
IsOn="True" FontFamily="Microsoft YaHei UI"
FontWeight="Bold"
Toggled="ToggleSwitchDisplayRandWindowNamesInputBtn_OnToggled" />
</ikw:SimpleStackPanel>
<TextBlock Foreground="#fafafa" Text="{i18n:I18n Key=Random_BackgroundSettingsTitle}"
FontSize="16" FontWeight="Bold" Margin="0,10,0,5" />
<ikw:SimpleStackPanel Orientation="Horizontal" HorizontalAlignment="Left" Margin="0,5,0,0">
<TextBlock Foreground="#fafafa" Text="{i18n:I18n Key=Random_BackgroundSelectLabel}" VerticalAlignment="Center"
FontSize="14" Margin="0,0,16,0" />
<ComboBox Name="ComboBoxPickNameBackground" FontFamily="Microsoft YaHei UI"
SelectedIndex="0" Width="180"
SelectionChanged="ComboBoxPickNameBackground_SelectionChanged">
<ComboBoxItem Content="{i18n:I18n Key=Random_Background_Default}" FontFamily="Microsoft YaHei UI" />
<!-- 自定义背景会在代码中动态添加 -->
</ComboBox>
</ikw:SimpleStackPanel>
<ikw:SimpleStackPanel Orientation="Horizontal" HorizontalAlignment="Left" Margin="0,5,0,0">
<TextBlock Foreground="#fafafa" Text="{i18n:I18n Key=Random_CustomBackgroundLabel}" VerticalAlignment="Center"
FontSize="14" Margin="0,0,16,0" />
<Button Name="ButtonAddCustomBackground" Content="{i18n:I18n Key=Random_CustomBackground_Upload}" FontFamily="Microsoft YaHei UI"
Click="ButtonAddCustomBackground_Click" Padding="10,3"/>
<Button Name="ButtonManageBackgrounds" Content="{i18n:I18n Key=Random_CustomBackground_Manage}" FontFamily="Microsoft YaHei UI"
Click="ButtonManageBackgrounds_Click" Padding="10,3" Margin="5,0,0,0"/>
</ikw:SimpleStackPanel>
<ikw:SimpleStackPanel Orientation="Horizontal" HorizontalAlignment="Left">
<TextBlock Foreground="#fafafa" Text="{i18n:I18n Key=Random_EnableButtons}"
VerticalAlignment="Center" FontSize="14" Margin="0,0,16,0" />
<ui:ToggleSwitch OnContent="" OffContent=""
Name="ToggleSwitchShowRandomAndSingleDraw"
IsOn="True" FontFamily="Microsoft YaHei UI"
FontWeight="Bold"
Toggled="ToggleSwitchShowRandomAndSingleDraw_Toggled" />
</ikw:SimpleStackPanel>
<ikw:SimpleStackPanel Orientation="Horizontal" HorizontalAlignment="Left">
<TextBlock Foreground="#fafafa" Text="{i18n:I18n Key=Random_EnableQuickButton}"
VerticalAlignment="Center" FontSize="14" Margin="0,0,16,0" />
<ui:ToggleSwitch OnContent="" OffContent=""
Name="ToggleSwitchEnableQuickDraw"
IsOn="True" FontFamily="Microsoft YaHei UI"
FontWeight="Bold"
Toggled="ToggleSwitchEnableQuickDraw_Toggled" />
</ikw:SimpleStackPanel>
<ikw:SimpleStackPanel Orientation="Horizontal" HorizontalAlignment="Left">
<TextBlock Foreground="#fafafa" Text="{i18n:I18n Key=Random_UseExternal}"
VerticalAlignment="Center" FontSize="14" Margin="0,0,16,0" />
<ui:ToggleSwitch OnContent="" OffContent=""
Name="ToggleSwitchExternalCaller"
IsOn="False" FontFamily="Microsoft YaHei UI"
FontWeight="Bold"
Toggled="ToggleSwitchExternalCaller_Toggled" />
</ikw:SimpleStackPanel>
<ikw:SimpleStackPanel Orientation="Horizontal" HorizontalAlignment="Left" Margin="0,8,0,0">
<TextBlock Foreground="#fafafa" Text="{i18n:I18n Key=Random_ExternalTypeLabel}"
VerticalAlignment="Center" FontSize="14" Margin="0,0,16,0" />
<ComboBox Name="ComboBoxExternalCallerType" Width="150" Height="30"
IsEditable="False" IsReadOnly="True" SelectedIndex="0"
SelectionChanged="ComboBoxExternalCallerType_SelectionChanged">
<ComboBoxItem Content="{i18n:I18n Key=Random_ExternalType_ClassIsland}" />
<ComboBoxItem Content="{i18n:I18n Key=Random_ExternalType_SecRandom}" />
<ComboBoxItem Content="{i18n:I18n Key=Random_ExternalType_NamePicker}" />
</ComboBox>
</ikw:SimpleStackPanel>
<Line HorizontalAlignment="Center" X1="0" Y1="0" X2="400" Y2="0"
Stroke="#3f3f46" StrokeThickness="1" Margin="0,4,0,4" />
<ikw:SimpleStackPanel Orientation="Horizontal" HorizontalAlignment="Left">
<TextBlock Foreground="#fafafa" Text="{i18n:I18n Key=Random_OnceCloseDelay}" VerticalAlignment="Center"
FontSize="14" Margin="0,0,16,0" />
<Slider x:Name="RandWindowOnceCloseLatencySlider" Minimum="0.5"
Maximum="8" Width="168" FontFamily="Microsoft YaHei UI"
FontSize="20" IsSnapToTickEnabled="True" Value="2.5"
TickFrequency="0.1"
ValueChanged="RandWindowOnceCloseLatencySlider_ValueChanged"
TickPlacement="None" AutoToolTipPlacement="None" />
<StackPanel Orientation="Horizontal" VerticalAlignment="Center"
Margin="12,0,16,0">
<TextBlock FontSize="14" FontFamily="Consolas"
Text="{Binding ElementName=RandWindowOnceCloseLatencySlider, Path=Value}" />
<TextBlock FontSize="14" FontFamily="Consolas">s</TextBlock>
</StackPanel>
</ikw:SimpleStackPanel>
<ikw:SimpleStackPanel Orientation="Horizontal" HorizontalAlignment="Left">
<TextBlock Foreground="#fafafa" Text="{i18n:I18n Key=Random_OnceMaxStudents}" VerticalAlignment="Center"
FontSize="14" Margin="0,0,16,0" />
<Slider x:Name="RandWindowOnceMaxStudentsSlider" Minimum="0"
Maximum="20" Width="168" FontFamily="Microsoft YaHei UI"
ValueChanged="RandWindowOnceMaxStudentsSlider_ValueChanged"
FontSize="20" IsSnapToTickEnabled="True" Value="10" TickFrequency="1"
TickPlacement="None" AutoToolTipPlacement="None" />
<TextBlock VerticalAlignment="Center" Margin="12,0,16,0" FontSize="14"
FontFamily="Consolas"
Text="{Binding ElementName=RandWindowOnceMaxStudentsSlider, Path=Value, Converter={StaticResource IntNumberToString}}" />
</ikw:SimpleStackPanel>
<!-- 新点名UI设置 -->
<Line HorizontalAlignment="Center" X1="0" Y1="0" X2="400" Y2="0"
Stroke="#3f3f46" StrokeThickness="1" Margin="0,4,0,4" />
<TextBlock Foreground="#fafafa" Text="{i18n:I18n Key=Random_NewUI_Title}"
FontSize="16" FontWeight="Bold" Margin="0,10,0,5" />
<ikw:SimpleStackPanel Orientation="Horizontal" HorizontalAlignment="Left">
<TextBlock Foreground="#fafafa" Text="{i18n:I18n Key=Random_NewUI_Enable}"
VerticalAlignment="Center" FontSize="14" Margin="0,0,16,0" />
<ui:ToggleSwitch OnContent="" OffContent=""
Name="ToggleSwitchUseNewRollCallUI"
IsOn="True" FontFamily="Microsoft YaHei UI"
FontWeight="Bold"
Toggled="ToggleSwitchUseNewRollCallUI_Toggled" />
</ikw:SimpleStackPanel>
<ikw:SimpleStackPanel Orientation="Horizontal" HorizontalAlignment="Left">
<TextBlock Foreground="#fafafa" Text="{i18n:I18n Key=Random_ML_AvoidRepeat}"
VerticalAlignment="Center" FontSize="14" Margin="0,0,16,0" />
<ui:ToggleSwitch OnContent="" OffContent=""
Name="ToggleSwitchEnableMLAvoidance"
IsOn="True" FontFamily="Microsoft YaHei UI"
FontWeight="Bold"
Toggled="ToggleSwitchEnableMLAvoidance_Toggled" />
</ikw:SimpleStackPanel>
<ikw:SimpleStackPanel Orientation="Horizontal" HorizontalAlignment="Left">
<TextBlock Foreground="#fafafa" Text="{i18n:I18n Key=Random_ML_HistoryCount}" VerticalAlignment="Center"
FontSize="14" Margin="0,0,12,0" Width="190"
Style="{StaticResource AutoFitSettingsOptionLabel14}" />
<Slider x:Name="MLAvoidanceHistorySlider" Minimum="5"
Maximum="50" Width="180" FontFamily="Microsoft YaHei UI"
ValueChanged="MLAvoidanceHistorySlider_ValueChanged"
FontSize="20" IsSnapToTickEnabled="True" Value="50" TickFrequency="5"
TickPlacement="None" AutoToolTipPlacement="None" />
<TextBlock VerticalAlignment="Center" Margin="8,0,0,0" FontSize="14" Width="48"
FontFamily="Consolas"
Text="{Binding ElementName=MLAvoidanceHistorySlider, Path=Value, Converter={StaticResource IntNumberToString}}" />
</ikw:SimpleStackPanel>
<ikw:SimpleStackPanel Orientation="Horizontal" HorizontalAlignment="Left">
<TextBlock Foreground="#fafafa" Text="{i18n:I18n Key=Random_ML_Weight}" VerticalAlignment="Center"
FontSize="14" Margin="0,0,12,0" Width="190"
Style="{StaticResource AutoFitSettingsOptionLabel14}" />
<Slider x:Name="MLAvoidanceWeightSlider" Minimum="0.1"
Maximum="1.0" Width="180" FontFamily="Microsoft YaHei UI"
ValueChanged="MLAvoidanceWeightSlider_ValueChanged"
FontSize="20" IsSnapToTickEnabled="True" Value="1.0" TickFrequency="0.1"
TickPlacement="None" AutoToolTipPlacement="None" />
<TextBlock VerticalAlignment="Center" Margin="8,0,0,0" FontSize="14" Width="48"
FontFamily="Consolas"
Text="{Binding ElementName=MLAvoidanceWeightSlider, Path=Value, StringFormat={}{0:P0}}" />
</ikw:SimpleStackPanel>
<TextBlock Text="{i18n:I18n Key=Random_ML_Hint}"
TextWrapping="Wrap" Foreground="#a1a1aa" Margin="0,5,0,0" />
<Line HorizontalAlignment="Center" X1="0" Y1="0" X2="400" Y2="0"
Stroke="#3f3f46" StrokeThickness="1" Margin="0,4,0,4" />
<TextBlock Foreground="#fafafa" Text="{i18n:I18n Key=Timer_Title}"
FontSize="16" FontWeight="Bold" Margin="0,10,0,5" />
<ikw:SimpleStackPanel Orientation="Horizontal" HorizontalAlignment="Left">
<TextBlock Foreground="#fafafa" Text="{i18n:I18n Key=Timer_UseLegacyButtons}"
VerticalAlignment="Center" FontSize="14" Margin="0,0,16,0" />
<ui:ToggleSwitch OnContent="" OffContent=""
Name="ToggleSwitchUseLegacyTimerUI"
IsOn="False" FontFamily="Microsoft YaHei UI"
FontWeight="Bold"
Toggled="ToggleSwitchUseLegacyTimerUI_Toggled" />
</ikw:SimpleStackPanel>
<ikw:SimpleStackPanel Orientation="Horizontal" HorizontalAlignment="Left">
<TextBlock Foreground="#fafafa" Text="{i18n:I18n Key=Timer_NewUI}"
VerticalAlignment="Center" FontSize="14" Margin="0,0,16,0" />
<ui:ToggleSwitch OnContent="" OffContent=""
Name="ToggleSwitchUseNewStyleUI"
IsOn="False" FontFamily="Microsoft YaHei UI"
FontWeight="Bold"
Toggled="ToggleSwitchUseNewStyleUI_Toggled" />
</ikw:SimpleStackPanel>
<ikw:SimpleStackPanel Orientation="Horizontal" HorizontalAlignment="Left">
<TextBlock Foreground="#fafafa" Text="{i18n:I18n Key=Timer_EnableCountUp}"
VerticalAlignment="Center" FontSize="14" Margin="0,0,16,0" />
<ui:ToggleSwitch OnContent="" OffContent=""
Name="ToggleSwitchEnableOvertimeCountUp"
IsOn="False" FontFamily="Microsoft YaHei UI"
FontWeight="Bold"
Toggled="ToggleSwitchEnableOvertimeCountUp_Toggled" />
</ikw:SimpleStackPanel>
<ikw:SimpleStackPanel Orientation="Horizontal" HorizontalAlignment="Left">
<TextBlock Foreground="#fafafa" Text="{i18n:I18n Key=Timer_OvertimeHighlight}"
VerticalAlignment="Center" FontSize="14" Margin="0,0,16,0" />
<ui:ToggleSwitch OnContent="" OffContent=""
Name="ToggleSwitchEnableOvertimeRedText"
IsOn="True" FontFamily="Microsoft YaHei UI"
FontWeight="Bold"
Toggled="ToggleSwitchEnableOvertimeRedText_Toggled" />
</ikw:SimpleStackPanel>
<ikw:SimpleStackPanel Orientation="Horizontal" HorizontalAlignment="Left">
<TextBlock Foreground="#fafafa" Text="{i18n:I18n Key=Timer_Volume}" VerticalAlignment="Center"
FontSize="14" Margin="0,0,16,0" />
<Slider x:Name="TimerVolumeSlider" Minimum="0"
Maximum="1" Width="168" FontFamily="Microsoft YaHei UI"
ValueChanged="TimerVolumeSlider_ValueChanged"
FontSize="20" IsSnapToTickEnabled="True" Value="1" TickFrequency="0.1"
TickPlacement="None" AutoToolTipPlacement="None" />
<TextBlock VerticalAlignment="Center" Margin="12,0,16,0" FontSize="14"
FontFamily="Consolas"
Text="{Binding ElementName=TimerVolumeSlider, Path=Value, StringFormat={}{0:P0}}" />
</ikw:SimpleStackPanel>
<ikw:SimpleStackPanel HorizontalAlignment="Left" Margin="0,5,0,0" Width="420">
<TextBlock Foreground="#fafafa" Text="{i18n:I18n Key=Timer_CustomSoundLabel}" VerticalAlignment="Center"
FontSize="14" Margin="0,0,0,4" Style="{StaticResource AutoFitSettingsOptionLabel14}" />
<WrapPanel Orientation="Horizontal" HorizontalAlignment="Left">
<Button Name="ButtonSelectCustomTimerSound" Content="{i18n:I18n Key=Timer_SelectFile}" FontFamily="Microsoft YaHei UI"
Click="ButtonSelectCustomTimerSound_Click" Padding="10,3" Width="130" Margin="0,0,6,0"/>
<Button Name="ButtonResetTimerSound" Content="{i18n:I18n Key=Timer_Reset}" FontFamily="Microsoft YaHei UI"
Click="ButtonResetTimerSound_Click" Padding="10,3" Width="90"/>
</WrapPanel>
</ikw:SimpleStackPanel>
<ikw:SimpleStackPanel Orientation="Horizontal" HorizontalAlignment="Left" Margin="0,5,0,0">
<TextBlock Foreground="#fafafa" Text="{i18n:I18n Key=Timer_Progressive}" VerticalAlignment="Center"
FontSize="14" Margin="0,0,16,0" />
<ui:ToggleSwitch OnContent="" OffContent=""
Name="ToggleSwitchEnableProgressiveReminder"
IsOn="False" FontFamily="Microsoft YaHei UI"
FontWeight="Bold"
Toggled="ToggleSwitchEnableProgressiveReminder_Toggled" />
</ikw:SimpleStackPanel>
<ikw:SimpleStackPanel Orientation="Horizontal" HorizontalAlignment="Left" Margin="0,5,0,0">
<TextBlock Foreground="#fafafa" Text="{i18n:I18n Key=Timer_ProgressiveVolume}" VerticalAlignment="Center"
FontSize="14" Margin="0,0,16,0" />
<Slider x:Name="ProgressiveReminderVolumeSlider" Minimum="0"
Maximum="1" Width="168" FontFamily="Microsoft YaHei UI"
ValueChanged="ProgressiveReminderVolumeSlider_ValueChanged"
FontSize="20" IsSnapToTickEnabled="True" Value="1" TickFrequency="0.1"
TickPlacement="None" AutoToolTipPlacement="None" />
<TextBlock VerticalAlignment="Center" Margin="12,0,16,0" FontSize="14"
FontFamily="Consolas"
Text="{Binding ElementName=ProgressiveReminderVolumeSlider, Path=Value, StringFormat={}{0:P0}}" />
</ikw:SimpleStackPanel>
<ikw:SimpleStackPanel HorizontalAlignment="Left" Margin="0,5,0,0" Width="420">
<TextBlock Foreground="#fafafa" Text="{i18n:I18n Key=Timer_ProgressiveCustomLabel}" VerticalAlignment="Center"
FontSize="14" Margin="0,0,0,4" Style="{StaticResource AutoFitSettingsOptionLabel14}" />
<WrapPanel Orientation="Horizontal" HorizontalAlignment="Left">
<Button Name="ButtonSelectCustomProgressiveReminderSound" Content="{i18n:I18n Key=Timer_ProgressiveSelectFile}" FontFamily="Microsoft YaHei UI"
Click="ButtonSelectCustomProgressiveReminderSound_Click" Padding="10,3" Width="130" Margin="0,0,6,0"/>
<Button Name="ButtonResetProgressiveReminderSound" Content="{i18n:I18n Key=Timer_ProgressiveReset}" FontFamily="Microsoft YaHei UI"
Click="ButtonResetProgressiveReminderSound_Click" Padding="10,3" Width="90"/>
</WrapPanel>
</ikw:SimpleStackPanel>
</ikw:SimpleStackPanel>
</GroupBox>
<GroupBox Name="GroupBoxAbout">
<GroupBox.Header>
<TextBlock Margin="0,12,0,0" Text="{i18n:I18n Key=About_Title}" FontWeight="Bold" Foreground="#fafafa"
FontSize="26" />
</GroupBox.Header>
<ikw:SimpleStackPanel Spacing="12">
<ikw:SimpleStackPanel Orientation="Horizontal">
<TextBlock FontSize="18" FontWeight="Bold" Text="{i18n:I18n Key=About_VersionLabel}" />
<TextBlock x:Name="AppVersionTextBlock" FontSize="18" FontWeight="Bold"
Text="1.X.X.X" />
</ikw:SimpleStackPanel>
<!-- 设备信息 -->
<Border BorderBrush="#a1a1aa" BorderThickness="1" CornerRadius="8"
Background="#18181b" Padding="12">
<ikw:SimpleStackPanel Spacing="8">
<TextBlock Text="{i18n:I18n Key=About_DeviceInfo}" FontWeight="Bold" Foreground="#fafafa" FontSize="14" />
<ikw:SimpleStackPanel Orientation="Horizontal">
<TextBlock Text="{i18n:I18n Key=About_DeviceIdLabel}" Foreground="#a1a1aa" FontSize="12" />
<TextBlock x:Name="DeviceIdTextBlock" Text="{i18n:I18n Key=About_DeviceInfo_Loading}" Foreground="#fafafa" FontSize="12" />
</ikw:SimpleStackPanel>
<ikw:SimpleStackPanel Orientation="Horizontal">
<TextBlock Text="{i18n:I18n Key=About_UsageFrequencyLabel}" Foreground="#a1a1aa" FontSize="12" />
<TextBlock x:Name="UsageFrequencyTextBlock" Text="{i18n:I18n Key=About_DeviceInfo_Loading}" Foreground="#fafafa" FontSize="12" />
</ikw:SimpleStackPanel>
<ikw:SimpleStackPanel Orientation="Horizontal">
<TextBlock Text="{i18n:I18n Key=About_UpdatePriorityLabel}" Foreground="#a1a1aa" FontSize="12" />
<TextBlock x:Name="UpdatePriorityTextBlock" Text="{i18n:I18n Key=About_DeviceInfo_Loading}" Foreground="#fafafa" FontSize="12" />
</ikw:SimpleStackPanel>
<ikw:SimpleStackPanel Orientation="Horizontal">
<TextBlock Text="{i18n:I18n Key=About_LaunchCountLabel}" Foreground="#a1a1aa" FontSize="12" />
<TextBlock x:Name="LaunchCountTextBlock" Text="{i18n:I18n Key=About_DeviceInfo_Loading}" Foreground="#fafafa" FontSize="12" />
</ikw:SimpleStackPanel>
<ikw:SimpleStackPanel Orientation="Horizontal">
<TextBlock Text="{i18n:I18n Key=About_TotalUsageLabel}" Foreground="#a1a1aa" FontSize="12" />
<TextBlock x:Name="TotalUsageTextBlock" Text="{i18n:I18n Key=About_DeviceInfo_Loading}" Foreground="#fafafa" FontSize="12" />
</ikw:SimpleStackPanel>
<Button x:Name="RefreshDeviceInfoButton" Content="{i18n:I18n Key=About_RefreshDeviceInfo}"
Width="120" Height="30" Margin="0,8,0,0"
Click="RefreshDeviceInfo_Click" />
<Line X1="0" Y1="0" X2="460" Y2="0" Stroke="#3f3f46"
StrokeThickness="1" Margin="0,6,0,6" />
<CheckBox x:Name="CheckBoxTelemetryPrivacyAccepted"
Margin="0,0,0,2"
Foreground="#a1a1aa"
FontSize="12"
Checked="CheckBoxTelemetryPrivacyAccepted_Checked"
Unchecked="CheckBoxTelemetryPrivacyAccepted_Checked">
<TextBlock Width="430" TextWrapping="Wrap">
<Run Text="{i18n:I18n Key=About_PrivacyCheckboxPrefix}" />
<Run Text="privacy" FontWeight="Bold" />
<Run Text="{i18n:I18n Key=About_PrivacyCheckboxSuffix}" />
</TextBlock>
</CheckBox>
<Grid Width="420" HorizontalAlignment="Left" Margin="0,2,0,0">
<Grid.ColumnDefinitions>
<ColumnDefinition Width="120" />
<ColumnDefinition Width="*" />
</Grid.ColumnDefinitions>
<TextBlock Grid.Column="0"
Text="{i18n:I18n Key=About_TelemetryLabel}"
Foreground="#a1a1aa"
FontSize="12"
VerticalAlignment="Center"
TextWrapping="Wrap" />
<ComboBox Grid.Column="1"
x:Name="ComboBoxTelemetryUploadLevel"
Margin="8,0,0,0"
Width="225"
HorizontalAlignment="Left"
SelectionChanged="ComboBoxTelemetryUploadLevel_SelectionChanged">
<ComboBoxItem Tag="0" Content="{i18n:I18n Key=About_Telemetry_Off}" />
<ComboBoxItem Tag="1" Content="{i18n:I18n Key=About_Telemetry_Basic}" />
<ComboBoxItem Tag="2" Content="{i18n:I18n Key=About_Telemetry_Optional}" />
</ComboBox>
</Grid>
</ikw:SimpleStackPanel>
</Border>
<TextBlock
Text="{i18n:I18n Key=About_LicenseHint}"
TextWrapping="Wrap" Foreground="#a1a1aa" />
<Border BorderBrush="#a1a1aa" BorderThickness="1" CornerRadius="8"
Background="#18181b">
<ikw:SimpleStackPanel Orientation="Vertical" Margin="8">
<ikw:SimpleStackPanel Orientation="Horizontal">
<Image Width="32" Height="32" VerticalAlignment="Top">
<Image.Source>
<DrawingImage>
<DrawingImage.Drawing>
<DrawingGroup ClipGeometry="M0,0 V24 H24 V0 H0 Z">
<GeometryDrawing Brush="White"
Geometry="F0 M24,24z M0,0z M12.875,3C12.875,2.51675 12.4832,2.125 12,2.125 11.5168,2.125 11.125,2.51675 11.125,3L11.125,4.25876 5.86249,5.13585C5.84299,5.13895 5.82367,5.1427 5.80454,5.14708 5.62042,5.1891 5.46195,5.28735 5.34446,5.4204 5.31167,5.45747 5.28185,5.49755 5.25544,5.54036 5.23979,5.56568 5.22542,5.59181 5.2124,5.61865L2.21738,11.6087C2.15663,11.7302 2.125,11.8642 2.125,12 2.125,13.0277 2.53326,14.0133 3.25996,14.74 3.98667,15.4667 4.97229,15.875 6,15.875 7.02771,15.875 8.01334,15.4667 8.74004,14.74 9.46674,14.0133 9.875,13.0277 9.875,12 9.875,11.8642 9.84337,11.7302 9.78262,11.6087L7.31244,6.66833 11.125,6.0329 11.125,19.125 7,19.125C6.51675,19.125 6.125,19.5168 6.125,20 6.125,20.4832 6.51675,20.875 7,20.875L17,20.875C17.4832,20.875 17.875,20.4832 17.875,20 17.875,19.5168 17.4832,19.125 17,19.125L12.875,19.125 12.875,6.0329 16.6876,6.66833 14.2174,11.6087C14.1566,11.7302 14.125,11.8642 14.125,12 14.125,13.0277 14.5333,14.0133 15.26,14.74 15.9867,15.4667 16.9723,15.875 18,15.875 19.0277,15.875 20.0133,15.4667 20.74,14.74 21.4667,14.0133 21.875,13.0277 21.875,12 21.875,11.8642 21.8434,11.7302 21.7826,11.6087L18.7876,5.61864C18.7746,5.5918 18.7602,5.56567 18.7446,5.54036 18.7182,5.49755 18.6883,5.45747 18.6555,5.4204 18.538,5.28735 18.3796,5.1891 18.1955,5.14708 18.1763,5.1427 18.157,5.13895 18.1375,5.13585L12.875,4.25876 12.875,3z M3.88347,12.1896C3.92772,12.6837 4.14382,13.149 4.4974,13.5026 4.89591,13.9011 5.43641,14.125 6,14.125 6.56359,14.125 7.10409,13.9011 7.5026,13.5026 7.85618,13.149 8.07228,12.6837 8.11653,12.1896L6,7.95656 3.88347,12.1896z M16.4974,13.5026C16.1438,13.149,15.9277,12.6837,15.8835,12.1896L18,7.95656 20.1165,12.1896C20.0723,12.6837 19.8562,13.149 19.5026,13.5026 19.1041,13.9011 18.5636,14.125 18,14.125 17.4364,14.125 16.8959,13.9011 16.4974,13.5026z" />
</DrawingGroup>
</DrawingImage.Drawing>
</DrawingImage>
</Image.Source>
</Image>
<StackPanel Orientation="Vertical" Margin="4,0,0,0">
<TextBlock
Text="{i18n:I18n Key=About_LicenseTitle}" Margin="0,0,0,-1"
TextWrapping="Wrap" Foreground="#a1a1aa" FontWeight="Bold" />
<TextBlock
Text="GNU General Public License v3.0" FontSize="20"
TextWrapping="Wrap" Foreground="White" />
</StackPanel>
</ikw:SimpleStackPanel>
<TextBlock
Text="{i18n:I18n Key=About_LicenseBody}"
Margin="0,2,0,1" TextWrapping="Wrap" Foreground="#a1a1aa" FontSize="11" />
</ikw:SimpleStackPanel>
</Border>
<TextBlock FontSize="18" FontWeight="Bold" Margin="0,0,0,4" Text="{i18n:I18n Key=About_DevelopersLabel}" />
<Grid>
<Grid.ColumnDefinitions>
<ColumnDefinition />
<ColumnDefinition />
</Grid.ColumnDefinitions>
<Grid.RowDefinitions>
<RowDefinition />
<RowDefinition />
</Grid.RowDefinitions>
<ikw:SimpleStackPanel Grid.Column="0" Grid.Row="0" Orientation="Vertical">
<Image Source="/Resources/DeveloperAvatars/CJKmkp.jpg"
VerticalAlignment="Center" HorizontalAlignment="Center"
RenderOptions.BitmapScalingMode="HighQuality" Width="128"
Margin="0,0,0,6" Height="128">
<Image.Clip>
<EllipseGeometry Center="64,64" RadiusX="64" RadiusY="64" />
</Image.Clip>
</Image>
<TextBlock Margin="0,0,0,2" VerticalAlignment="Center"
HorizontalAlignment="Center" FontSize="18" Foreground="#fde047"
FontWeight="Bold">
CJK_mkp
</TextBlock>
<TextBlock VerticalAlignment="Center" HorizontalAlignment="Center"
FontSize="12" Foreground="White" Text="{i18n:I18n Key=About_Dev_ICCCE}" />
</ikw:SimpleStackPanel>
<ikw:SimpleStackPanel Grid.Column="1" Grid.Row="0" Orientation="Vertical">
<Image Source="/Resources/DeveloperAvatars/dubi906w.jpg"
VerticalAlignment="Center" HorizontalAlignment="Center"
RenderOptions.BitmapScalingMode="HighQuality" Width="128"
Margin="0,0,0,6" Height="128">
<Image.Clip>
<EllipseGeometry Center="64,64" RadiusX="64" RadiusY="64" />
</Image.Clip>
</Image>
<TextBlock Margin="0,0,0,2" VerticalAlignment="Center"
HorizontalAlignment="Center" FontSize="18" Foreground="#fde047"
FontWeight="Bold">
Dubi906w
</TextBlock>
<TextBlock VerticalAlignment="Center" HorizontalAlignment="Center"
FontSize="12" Foreground="White" Text="{i18n:I18n Key=About_Dev_ICC}" />
</ikw:SimpleStackPanel>
<ikw:SimpleStackPanel Grid.Column="0" Grid.Row="1" Orientation="Vertical">
<Image Source="/Resources/DeveloperAvatars/ChangSakura.png"
VerticalAlignment="Center" HorizontalAlignment="Center"
RenderOptions.BitmapScalingMode="HighQuality" Width="128"
Margin="0,0,0,6" Height="128">
<Image.Clip>
<EllipseGeometry Center="64,64" RadiusX="64" RadiusY="64" />
</Image.Clip>
</Image>
<TextBlock Margin="0,0,0,2" VerticalAlignment="Center"
HorizontalAlignment="Center" FontSize="18" Foreground="#fde047"
FontWeight="Bold">
ChangSakura
</TextBlock>
<TextBlock VerticalAlignment="Center" HorizontalAlignment="Center"
FontSize="12" Foreground="White" Text="{i18n:I18n Key=About_Dev_ICA}" />
</ikw:SimpleStackPanel>
<ikw:SimpleStackPanel Grid.Column="1" Grid.Row="1" Orientation="Vertical">
<Image Source="/Resources/DeveloperAvatars/WXRIW.png"
VerticalAlignment="Center" HorizontalAlignment="Center"
RenderOptions.BitmapScalingMode="HighQuality" Width="128"
Margin="0,0,0,6" Height="128">
<Image.Clip>
<EllipseGeometry Center="64,64" RadiusX="64" RadiusY="64" />
</Image.Clip>
</Image>
<TextBlock Margin="0,0,0,2" VerticalAlignment="Center"
HorizontalAlignment="Center" FontSize="18" Foreground="#fde047"
FontWeight="Bold">
WXRIW
</TextBlock>
<TextBlock VerticalAlignment="Center" HorizontalAlignment="Center"
FontSize="12" Foreground="White" Text="{i18n:I18n Key=About_Dev_InkCanvas}" />
</ikw:SimpleStackPanel>
</Grid>
<Line HorizontalAlignment="Center" X1="0" Y1="0" X2="400" Y2="0" Stroke="#3f3f46"
StrokeThickness="1" Margin="0,4,0,4" />
<TextBlock FontSize="15">
<Bold>
<Run Text="{i18n:I18n Key=About_Source_ICC}" />
</Bold>
<Hyperlink Click="HyperlinkSourceToICCRepository_Click">
<TextBlock Margin="2,0" Text="gitea:kriastans/InkCanvasForClass"
TextWrapping="Wrap" />
</Hyperlink>
</TextBlock>
<TextBlock FontSize="15">
<Bold>
<Run Text="{i18n:I18n Key=About_Source_ICA}" />
</Bold>
<Hyperlink Click="HyperlinkSourceToPresentRepository_Click">
<TextBlock Margin="2,0" Text="ChangSakura/Ink-Canvas" TextWrapping="Wrap" />
</Hyperlink>
</TextBlock>
<TextBlock FontSize="15">
<Bold>
<Run Text="{i18n:I18n Key=About_Source_InkCanvas}" />
</Bold>
<Hyperlink Click="HyperlinkSourceToOringinalRepository_Click">
<TextBlock Margin="2,0" Text="WXRIW/Ink-Canvas" />
</Hyperlink>
</TextBlock>
<Line HorizontalAlignment="Center" X1="0" Y1="0" X2="400" Y2="0" Stroke="#3f3f46"
StrokeThickness="1" Margin="0,4,0,4" />
<TextBlock FontSize="18" FontWeight="Bold" Margin="0,0,0,4" Text="{i18n:I18n Key=About_ThanksContributors}" />
<Grid Margin="8,0">
<Grid.ColumnDefinitions>
<ColumnDefinition />
<ColumnDefinition />
<ColumnDefinition />
<ColumnDefinition />
</Grid.ColumnDefinitions>
<Grid.RowDefinitions>
<RowDefinition />
<RowDefinition />
<RowDefinition />
<RowDefinition />
</Grid.RowDefinitions>
<ikw:SimpleStackPanel Grid.Column="0" Grid.Row="0" Orientation="Vertical">
<Image Source="/Resources/DeveloperAvatars/RaspberryKan.jpg"
VerticalAlignment="Center" HorizontalAlignment="Center"
RenderOptions.BitmapScalingMode="HighQuality" Width="48"
Margin="0,0,0,6" Height="48">
<Image.Clip>
<EllipseGeometry Center="24,24" RadiusX="24" RadiusY="24" />
</Image.Clip>
</Image>
<TextBlock Margin="0,0,0,2" VerticalAlignment="Center"
HorizontalAlignment="Center" FontSize="12" Foreground="White">
Raspberry Kan
</TextBlock>
</ikw:SimpleStackPanel>
<ikw:SimpleStackPanel Grid.Column="1" Grid.Row="0" Orientation="Vertical">
<Image Source="/Resources/DeveloperAvatars/kengwang.png"
VerticalAlignment="Center" HorizontalAlignment="Center"
RenderOptions.BitmapScalingMode="HighQuality" Width="48"
Margin="0,0,0,6" Height="48">
<Image.Clip>
<EllipseGeometry Center="24,24" RadiusX="24" RadiusY="24" />
</Image.Clip>
</Image>
<TextBlock Margin="0,0,0,2" VerticalAlignment="Center"
HorizontalAlignment="Center" FontSize="12" Foreground="White">
Kengwang
</TextBlock>
</ikw:SimpleStackPanel>
<ikw:SimpleStackPanel Grid.Column="2" Grid.Row="0" Orientation="Vertical">
<Image Source="/Resources/DeveloperAvatars/jiajiaxd.jpg"
VerticalAlignment="Center" HorizontalAlignment="Center"
RenderOptions.BitmapScalingMode="HighQuality" Width="48"
Margin="0,0,0,6" Height="48">
<Image.Clip>
<EllipseGeometry Center="24,24" RadiusX="24" RadiusY="24" />
</Image.Clip>
</Image>
<TextBlock Margin="0,0,0,2" VerticalAlignment="Center"
HorizontalAlignment="Center" FontSize="12" Foreground="White">
Charles Jia
</TextBlock>
</ikw:SimpleStackPanel>
<ikw:SimpleStackPanel Grid.Column="3" Grid.Row="0" Orientation="Vertical">
<Image Source="/Resources/DeveloperAvatars/clover-yan.png"
VerticalAlignment="Center" HorizontalAlignment="Center"
RenderOptions.BitmapScalingMode="HighQuality" Width="48"
Margin="0,0,0,6" Height="48">
<Image.Clip>
<EllipseGeometry Center="24,24" RadiusX="24" RadiusY="24" />
</Image.Clip>
</Image>
<TextBlock Margin="0,0,0,2" VerticalAlignment="Center"
HorizontalAlignment="Center" FontSize="12" Foreground="White">
clover_yan
</TextBlock>
</ikw:SimpleStackPanel>
<ikw:SimpleStackPanel Grid.Column="0" Grid.Row="1" Orientation="Vertical"
Margin="0,16,0,0">
<Image Source="/Resources/DeveloperAvatars/NetheriteBowl.png"
VerticalAlignment="Center" HorizontalAlignment="Center"
RenderOptions.BitmapScalingMode="HighQuality" Width="48"
Margin="0,0,0,6" Height="48">
<Image.Clip>
<EllipseGeometry Center="24,24" RadiusX="24" RadiusY="24" />
</Image.Clip>
</Image>
<TextBlock Margin="0,0,0,2" VerticalAlignment="Center"
HorizontalAlignment="Center" FontSize="12" Foreground="White">
Netherite_Bowl
</TextBlock>
</ikw:SimpleStackPanel>
<ikw:SimpleStackPanel Grid.Column="1" Grid.Row="1" Orientation="Vertical"
Margin="0,16,0,0">
<Image Source="/Resources/DeveloperAvatars/NotYoojun.png"
VerticalAlignment="Center" HorizontalAlignment="Center"
RenderOptions.BitmapScalingMode="HighQuality" Width="48"
Margin="0,0,0,6" Height="48">
<Image.Clip>
<EllipseGeometry Center="24,24" RadiusX="24" RadiusY="24" />
</Image.Clip>
</Image>
<TextBlock Margin="0,0,0,2" VerticalAlignment="Center"
HorizontalAlignment="Center" FontSize="12" Foreground="White">
Yoojun Zhou
</TextBlock>
</ikw:SimpleStackPanel>
<ikw:SimpleStackPanel Grid.Column="2" Grid.Row="1" Orientation="Vertical"
Margin="0,16,0,0">
<Image Source="/Resources/DeveloperAvatars/yuwenhui2020.png"
VerticalAlignment="Center" HorizontalAlignment="Center"
RenderOptions.BitmapScalingMode="HighQuality" Width="48"
Margin="0,0,0,6" Height="48">
<Image.Clip>
<EllipseGeometry Center="24,24" RadiusX="24" RadiusY="24" />
</Image.Clip>
</Image>
<TextBlock Margin="0,0,0,2" VerticalAlignment="Center"
HorizontalAlignment="Center" FontSize="12" Foreground="White">
YuWenHui2020
</TextBlock>
</ikw:SimpleStackPanel>
<ikw:SimpleStackPanel Grid.Column="3" Grid.Row="1" Orientation="Vertical"
Margin="0,16,0,0">
<Image Source="/Resources/DeveloperAvatars/STBBRD.png"
VerticalAlignment="Center" HorizontalAlignment="Center"
RenderOptions.BitmapScalingMode="HighQuality" Width="48"
Margin="0,0,0,6" Height="48">
<Image.Clip>
<EllipseGeometry Center="24,24" RadiusX="24" RadiusY="24" />
</Image.Clip>
</Image>
<TextBlock Margin="0,0,0,2" VerticalAlignment="Center"
HorizontalAlignment="Center" FontSize="12" Foreground="White">
ZongziTEK
</TextBlock>
</ikw:SimpleStackPanel>
<ikw:SimpleStackPanel Grid.Column="0" Grid.Row="2" Orientation="Vertical"
Margin="0,16,0,0">
<Image Source="/Resources/DeveloperAvatars/aaaaaaccd.jpg"
VerticalAlignment="Center" HorizontalAlignment="Center"
RenderOptions.BitmapScalingMode="HighQuality" Width="48"
Margin="0,0,0,6" Height="48">
<Image.Clip>
<EllipseGeometry Center="24,24" RadiusX="24" RadiusY="24" />
</Image.Clip>
</Image>
<TextBlock Margin="0,0,0,2" VerticalAlignment="Center"
HorizontalAlignment="Center" FontSize="12" Foreground="White">
Aesthed
</TextBlock>
</ikw:SimpleStackPanel>
<ikw:SimpleStackPanel Grid.Column="1" Grid.Row="2" Orientation="Vertical"
Margin="0,16,0,0">
<Image Source="/Resources/DeveloperAvatars/wwei.png"
VerticalAlignment="Center" HorizontalAlignment="Center"
RenderOptions.BitmapScalingMode="HighQuality" Width="48"
Margin="0,0,0,6" Height="48">
<Image.Clip>
<EllipseGeometry Center="24,24" RadiusX="24" RadiusY="24" />
</Image.Clip>
</Image>
<TextBlock Margin="0,0,0,2" VerticalAlignment="Center"
HorizontalAlignment="Center" FontSize="12" Foreground="White">
Wei
</TextBlock>
</ikw:SimpleStackPanel>
<ikw:SimpleStackPanel Grid.Column="2" Grid.Row="2" Orientation="Vertical"
Margin="0,16,0,0">
<Image Source="/Resources/DeveloperAvatars/Alan-CRL.png"
VerticalAlignment="Center" HorizontalAlignment="Center"
RenderOptions.BitmapScalingMode="HighQuality" Width="48"
Margin="0,0,0,6" Height="48">
<Image.Clip>
<EllipseGeometry Center="24,24" RadiusX="24" RadiusY="24" />
</Image.Clip>
</Image>
<TextBlock Margin="0,0,0,2" VerticalAlignment="Center"
HorizontalAlignment="Center" FontSize="12" Foreground="White">
Alan-CRL
</TextBlock>
</ikw:SimpleStackPanel>
<ikw:SimpleStackPanel Grid.Column="3" Grid.Row="2" Orientation="Vertical"
Margin="0,16,0,0">
<Image Source="/Resources/DeveloperAvatars/PrefacedCorg.jpg"
VerticalAlignment="Center" HorizontalAlignment="Center"
RenderOptions.BitmapScalingMode="HighQuality" Width="48"
Margin="0,0,0,6" Height="48">
<Image.Clip>
<EllipseGeometry Center="24,24" RadiusX="24" RadiusY="24" />
</Image.Clip>
</Image>
<TextBlock Margin="0,0,0,2" VerticalAlignment="Center"
HorizontalAlignment="Center" FontSize="12" Foreground="White">
PrefacedCorg
</TextBlock>
</ikw:SimpleStackPanel>
<ikw:SimpleStackPanel Grid.Column="0" Grid.Row="3" Orientation="Vertical"
Margin="0,16,0,0">
<Image Source="/Resources/DeveloperAvatars/PANDA-JSR.jpg"
VerticalAlignment="Center" HorizontalAlignment="Center"
RenderOptions.BitmapScalingMode="HighQuality" Width="48"
Margin="0,0,0,6" Height="48">
<Image.Clip>
<EllipseGeometry Center="24,24" RadiusX="24" RadiusY="24" />
</Image.Clip>
</Image>
<TextBlock Margin="0,0,0,2" VerticalAlignment="Center"
HorizontalAlignment="Center" FontSize="12" Foreground="White">
PANDA-JSR
</TextBlock>
</ikw:SimpleStackPanel>
</Grid>
<ikw:SimpleStackPanel Spacing="3" Orientation="Vertical">
<TextBlock
Text="{i18n:I18n Key=About_Copyright}" FontWeight="Bold"
TextWrapping="Wrap" Foreground="White" />
<TextBlock
Text="{i18n:I18n Key=About_OpenSourceSlogan}" FontWeight="Bold"
TextWrapping="Wrap" Foreground="#a1a1aa" />
</ikw:SimpleStackPanel>
</ikw:SimpleStackPanel>
</GroupBox>
</StackPanel>
</ui:ScrollViewerEx>
<!-- 底部按钮区域 -->
<Grid Grid.Row="2" VerticalAlignment="Bottom" Height="65">
<Button FontFamily="Microsoft YaHei UI"
Width="120" Margin="10"
HorizontalAlignment="Right"
Click="BtnCloseSettings_Click">
<ikw:SimpleStackPanel Orientation="Horizontal" VerticalAlignment="Center"
HorizontalAlignment="Center" Spacing="0">
<Image RenderOptions.BitmapScalingMode="HighQuality"
Margin="0,0,6,0" Height="20" Width="20">
<Image.Source>
<DrawingImage>
<DrawingImage.Drawing>
<DrawingGroup ClipGeometry="M0,0 V24 H24 V0 H0 Z">
<GeometryDrawing Brush="White"
Geometry="M19,6.41 L17.59,5 L12,10.59 L6.41,5 L5,6.41 L10.59,12 L5,17.59 L6.41,19 L12,13.41 L17.59,19 L19,17.59 L13.41,12 Z" />
</DrawingGroup>
</DrawingImage.Drawing>
</DrawingImage>
</Image.Source>
</Image>
<Label FontSize="16" Foreground="#fafafa" VerticalAlignment="Center"
FontFamily="Microsoft YaHei UI" FontWeight="Bold"
Content="{i18n:I18n Key=Common_Close}" />
</ikw:SimpleStackPanel>
</Button>
</Grid>
</Grid></Grid>
</Border>
</Grid>
<!--// 黑/白 板幕布 //-->
<Grid Name="GridBackgroundCoverHolder">
<Grid Name="GridBackgroundCover" Visibility="Collapsed" Background="#1F1F1F">
<Image Name="ICCWaterMarkWhite" Source="Resources/Icons-png/icc-transparent.png" Width="648"
Height="648" Opacity="0.035" />
<Image Name="ICCWaterMarkDark" Source="Resources/Icons-png/icc-transparent-dark.png" Width="648"
Height="648" Opacity="0.055" />
</Grid>
</Grid>
<Grid Name="GridTransparencyFakeBackground" Opacity="0" />
<Label Name="Label" Visibility="Collapsed" Foreground="Gray" Content="0" />
<Grid Name="InkCanvasGridForInkReplay">
<InkCanvas x:Name="inkCanvas" ForceCursor="True" UseCustomCursor="True"
TouchDown="Main_Grid_TouchDown"
TouchMove="inkCanvas_TouchMove"
ManipulationDelta="Main_Grid_ManipulationDelta"
ManipulationCompleted="Main_Grid_ManipulationCompleted"
ManipulationInertiaStarting="InkCanvas_ManipulationInertiaStarting"
IsManipulationEnabled="True"
EditingModeChanged="inkCanvas_EditingModeChanged"
PreviewTouchDown="InkCanvas_PreviewTouchDown"
PreviewTouchMove="InkCanvas_PreviewTouchMove"
PreviewTouchUp="InkCanvas_PreviewTouchUp"
MouseDown="inkCanvas_MouseDown"
MouseMove="inkCanvas_MouseMove"
MouseUp="inkCanvas_MouseUp"
ManipulationStarting="InkCanvas_ManipulationStarting"
SelectionChanged="inkCanvas_SelectionChanged"
StrokeCollected="inkCanvas_StrokeCollected"
ClipToBounds="False"
Background="Transparent" />
<Canvas x:Name="EraserOverlayCanvas"
Background="Transparent"
IsHitTestVisible="False"
Loaded="EraserOverlayCanvas_Loaded"
Panel.ZIndex="1000">
<!-- 橡皮擦视觉反馈图像 -->
<Image x:Name="EraserFeedback"
Canvas.Left="0"
Canvas.Top="0"
RenderTransformOrigin="0,0"
Width="0"
Height="0"
Visibility="Collapsed">
<Image.RenderTransform>
<TranslateTransform x:Name="EraserFeedbackTranslateTransform"/>
</Image.RenderTransform>
</Image>
</Canvas>
<!-- 快抽悬浮按钮 -->
<controls:QuickDrawFloatingButtonControl x:Name="QuickDrawFloatingButton"
HorizontalAlignment="Right"
VerticalAlignment="Bottom"
Margin="0,0,0,200"
Visibility="Collapsed"
Panel.ZIndex="1001"/>
</Grid>
<Canvas IsHitTestVisible="False">
<ikw:SimpleStackPanel Canvas.Left="25" Canvas.Top="15" Orientation="Vertical">
<TextBlock Text="{Binding nowTime}" Name="WaterMarkTime" Visibility="Collapsed" FontSize="30"
FontWeight="Bold" Foreground="White" Opacity="0.6" />
<TextBlock Text="{Binding nowDate}" Name="WaterMarkDate" Visibility="Collapsed" Margin="2,0,0,0"
FontSize="16" Foreground="White" Opacity="0.45" />
</ikw:SimpleStackPanel>
<TextBlock Canvas.Right="25" Canvas.Top="15" Text="多一份理解,少一份抱怨" Name="BlackBoardWaterMark"
Visibility="Collapsed" FontSize="24" FontWeight="Bold" Foreground="White" Opacity="0.5" />
</Canvas>
<Grid Visibility="{Binding ElementName=inkCanvas, Path=Visibility}">
<Grid Name="GridInkCanvasSelectionCover"
MouseDown="GridInkCanvasSelectionCover_MouseDown"
MouseMove="GridInkCanvasSelectionCover_MouseMove"
MouseUp="GridInkCanvasSelectionCover_MouseUp"
IsManipulationEnabled="True"
ManipulationStarting="GridInkCanvasSelectionCover_ManipulationStarting"
ManipulationCompleted="GridInkCanvasSelectionCover_ManipulationCompleted"
ManipulationDelta="GridInkCanvasSelectionCover_ManipulationDelta"
TouchDown="GridInkCanvasSelectionCover_TouchDown"
TouchUp="GridInkCanvasSelectionCover_TouchUp"
TouchMove="GridInkCanvasSelectionCover_TouchMove"
Background="#01FFFFFF" Opacity="0.01" Visibility="Visible" Margin="1,0,-1,0">
<!-- 选择框 -->
<Rectangle Name="SelectionRectangle"
Stroke="Blue"
StrokeThickness="2"
StrokeDashArray="5,5"
Fill="Transparent"
Visibility="Collapsed"
IsHitTestVisible="False"
HorizontalAlignment="Left"
VerticalAlignment="Top" />
<!-- 选择点容器 -->
<Canvas Name="SelectionHandlesCanvas" Visibility="Collapsed">
<!-- 四个角选择点 -->
<Rectangle Name="TopLeftHandle" Width="8" Height="8" Fill="LightBlue" Stroke="Blue" StrokeThickness="1"
Cursor="SizeNWSE" MouseDown="SelectionHandle_MouseDown" MouseMove="SelectionHandle_MouseMove" MouseUp="SelectionHandle_MouseUp"
TouchDown="SelectionHandle_TouchDown" TouchMove="SelectionHandle_TouchMove" TouchUp="SelectionHandle_TouchUp" />
<Rectangle Name="TopRightHandle" Width="8" Height="8" Fill="LightBlue" Stroke="Blue" StrokeThickness="1"
Cursor="SizeNESW" MouseDown="SelectionHandle_MouseDown" MouseMove="SelectionHandle_MouseMove" MouseUp="SelectionHandle_MouseUp"
TouchDown="SelectionHandle_TouchDown" TouchMove="SelectionHandle_TouchMove" TouchUp="SelectionHandle_TouchUp" />
<Rectangle Name="BottomLeftHandle" Width="8" Height="8" Fill="LightBlue" Stroke="Blue" StrokeThickness="1"
Cursor="SizeNESW" MouseDown="SelectionHandle_MouseDown" MouseMove="SelectionHandle_MouseMove" MouseUp="SelectionHandle_MouseUp"
TouchDown="SelectionHandle_TouchDown" TouchMove="SelectionHandle_TouchMove" TouchUp="SelectionHandle_TouchUp" />
<Rectangle Name="BottomRightHandle" Width="8" Height="8" Fill="LightBlue" Stroke="Blue" StrokeThickness="1"
Cursor="SizeNWSE" MouseDown="SelectionHandle_MouseDown" MouseMove="SelectionHandle_MouseMove" MouseUp="SelectionHandle_MouseUp"
TouchDown="SelectionHandle_TouchDown" TouchMove="SelectionHandle_TouchMove" TouchUp="SelectionHandle_TouchUp" />
<!-- 四个边选择点 -->
<Rectangle Name="TopHandle" Width="8" Height="8" Fill="LightBlue" Stroke="Blue" StrokeThickness="1"
Cursor="SizeNS" MouseDown="SelectionHandle_MouseDown" MouseMove="SelectionHandle_MouseMove" MouseUp="SelectionHandle_MouseUp"
TouchDown="SelectionHandle_TouchDown" TouchMove="SelectionHandle_TouchMove" TouchUp="SelectionHandle_TouchUp" />
<Rectangle Name="BottomHandle" Width="8" Height="8" Fill="LightBlue" Stroke="Blue" StrokeThickness="1"
Cursor="SizeNS" MouseDown="SelectionHandle_MouseDown" MouseMove="SelectionHandle_MouseMove" MouseUp="SelectionHandle_MouseUp"
TouchDown="SelectionHandle_TouchDown" TouchMove="SelectionHandle_TouchMove" TouchUp="SelectionHandle_TouchUp" />
<Rectangle Name="LeftHandle" Width="8" Height="8" Fill="LightBlue" Stroke="Blue" StrokeThickness="1"
Cursor="SizeWE" MouseDown="SelectionHandle_MouseDown" MouseMove="SelectionHandle_MouseMove" MouseUp="SelectionHandle_MouseUp"
TouchDown="SelectionHandle_TouchDown" TouchMove="SelectionHandle_TouchMove" TouchUp="SelectionHandle_TouchUp" />
<Rectangle Name="RightHandle" Width="8" Height="8" Fill="LightBlue" Stroke="Blue" StrokeThickness="1"
Cursor="SizeWE" MouseDown="SelectionHandle_MouseDown" MouseMove="SelectionHandle_MouseMove" MouseUp="SelectionHandle_MouseUp"
TouchDown="SelectionHandle_TouchDown" TouchMove="SelectionHandle_TouchMove" TouchUp="SelectionHandle_TouchUp" />
</Canvas>
</Grid>
<Border Name="BorderStrokeSelectionControl"
HorizontalAlignment="Left" VerticalAlignment="Top" Margin="800,900,0,0"
CornerRadius="5" Height="80"
Background="{DynamicResource FloatBarBackground}"
Visibility="{Binding ElementName=GridInkCanvasSelectionCover, Path=Visibility}"
BorderThickness="1" BorderBrush="{DynamicResource FloatBarBorderBrush}">
<Viewbox Margin="0,-2.5">
<ikw:SimpleStackPanel Orientation="Horizontal" Spacing="10" Height="60">
<Border Name="BorderStrokeSelectionClone" Margin="0,2,-9,2" Background="Transparent"
CornerRadius="{Binding ElementName=BorderStrokeSelectionControl, Path=CornerRadius}"
Width="40" MouseDown="Border_MouseDown" MouseUp="BorderStrokeSelectionClone_MouseUp">
<ikw:SimpleStackPanel VerticalAlignment="Center" HorizontalAlignment="Center">
<Image Source="{DynamicResource StrokeSelectionCloneIcon}"
RenderOptions.BitmapScalingMode="HighQuality" Height="25" Width="25" />
<TextBlock Text="克隆" FontSize="10" Foreground="{DynamicResource FloatBarForeground}"
HorizontalAlignment="Center" />
</ikw:SimpleStackPanel>
</Border>
<Border Name="BorderStrokeSelectionCloneToNewBoard" Margin="0,2,-9,2" Background="Transparent"
CornerRadius="{Binding ElementName=BorderStrokeSelectionControl, Path=CornerRadius}"
Width="40" MouseDown="Border_MouseDown"
MouseUp="BorderStrokeSelectionCloneToNewBoard_MouseUp"
Visibility="{Binding Visibility, ElementName=GridBackgroundCover}">
<ikw:SimpleStackPanel VerticalAlignment="Center" HorizontalAlignment="Center">
<Image Source="{DynamicResource StrokeSelectionCloneToNewBoardIcon}"
RenderOptions.BitmapScalingMode="HighQuality" Height="25" Width="25" />
<TextBlock Text="克隆至新页" FontSize="8" Foreground="{DynamicResource FloatBarForeground}"
HorizontalAlignment="Center" />
</ikw:SimpleStackPanel>
</Border>
<Border Width="1" Height="45" BorderBrush="{DynamicResource FloatBarForeground}"
Background="{DynamicResource FloatBarForeground}" />
<Border CornerRadius="{Binding ElementName=BorderStrokeSelectionControl, Path=CornerRadius}"
Height="40">
<ikw:SimpleStackPanel VerticalAlignment="Center" Spacing="5" Margin="0,-10">
<ikw:SimpleStackPanel Orientation="Horizontal" Spacing="10">
<Image Source="{DynamicResource Rotate45DrawingImage}" Height="22"
MouseDown="Border_MouseDown" MouseUp="ImageRotate45_MouseUp" />
<Image Source="{DynamicResource Rotate90DrawingImage}" Height="22"
MouseDown="Border_MouseDown" MouseUp="ImageRotate90_MouseUp" />
</ikw:SimpleStackPanel>
<TextBlock Text="旋转" FontSize="10" HorizontalAlignment="Center"
Foreground="{DynamicResource FloatBarForeground}" />
</ikw:SimpleStackPanel>
</Border>
<Border Width="1" Height="45" BorderBrush="{DynamicResource FloatBarForeground}"
Background="{DynamicResource FloatBarForeground}" />
<Border CornerRadius="{Binding ElementName=BorderStrokeSelectionControl, Path=CornerRadius}"
Height="40">
<ikw:SimpleStackPanel VerticalAlignment="Center" Margin="0,-10">
<ikw:SimpleStackPanel Orientation="Horizontal">
<Image MouseDown="Border_MouseDown" MouseUp="ImageFlipHorizontal_MouseUp"
Source="{DynamicResource StrokeSelectionFlipHorizontalIcon}"
RenderOptions.BitmapScalingMode="HighQuality" Height="30" Width="30" />
<Image MouseDown="Border_MouseDown" MouseUp="ImageFlipVertical_MouseUp"
Source="{DynamicResource StrokeSelectionFlipVerticalIcon}"
RenderOptions.BitmapScalingMode="HighQuality" Height="30" Width="30" />
</ikw:SimpleStackPanel>
<TextBlock Text="翻转" FontSize="10" HorizontalAlignment="Center"
Foreground="{DynamicResource FloatBarForeground}" />
</ikw:SimpleStackPanel>
</Border>
<Border Width="1" Height="45" BorderBrush="{DynamicResource FloatBarForeground}"
Background="{DynamicResource FloatBarForeground}" />
<Border CornerRadius="{Binding ElementName=BorderStrokeSelectionControl, Path=CornerRadius}"
Height="40">
<ikw:SimpleStackPanel VerticalAlignment="Center" Spacing="5" Margin="0,-10">
<ikw:SimpleStackPanel Orientation="Horizontal" Spacing="5">
<Grid MouseDown="Border_MouseDown" MouseUp="GridPenWidthDecrease_MouseUp">
<Image Source="{DynamicResource StrokeSelectionPenWidthIcon}"
RenderOptions.BitmapScalingMode="HighQuality" Height="25" Width="25" />
<TextBlock Text="-" Foreground="{DynamicResource FloatBarForeground}"
VerticalAlignment="Bottom" HorizontalAlignment="Right"
Margin="0,0,-2,-7" FontSize="15" />
</Grid>
<Grid MouseDown="Border_MouseDown" MouseUp="GridPenWidthIncrease_MouseUp">
<Image Source="{DynamicResource StrokeSelectionPenWidthIcon}"
RenderOptions.BitmapScalingMode="HighQuality" Height="25" Width="25" />
<TextBlock Text="+" Foreground="{DynamicResource FloatBarForeground}"
VerticalAlignment="Bottom" HorizontalAlignment="Right"
Margin="0,0,-3,-4" FontSize="11" />
</Grid>
<Grid MouseDown="Border_MouseDown" MouseUp="GridPenWidthRestore_MouseUp">
<Image Source="{DynamicResource StrokeSelectionPenWidthIcon}"
RenderOptions.BitmapScalingMode="HighQuality" Height="25" Width="25" />
<Image Source="{DynamicResource AndroidRefreshDrawingImage}"
VerticalAlignment="Bottom" HorizontalAlignment="Right"
Margin="0,0,-2,-2" Width="8" />
</Grid>
</ikw:SimpleStackPanel>
<TextBlock Text="画笔粗细" FontSize="10" HorizontalAlignment="Center"
Foreground="{DynamicResource FloatBarForeground}" />
</ikw:SimpleStackPanel>
</Border>
<Border Width="1" Height="45" BorderBrush="{DynamicResource FloatBarForeground}"
Background="{DynamicResource FloatBarForeground}" />
<Border Margin="-8,0,0,0"
CornerRadius="{Binding ElementName=BorderStrokeSelectionControl, Path=CornerRadius}"
Width="40" MouseDown="Border_MouseDown" MouseUp="BorderStrokeSelectionDelete_MouseUp">
<ikw:SimpleStackPanel VerticalAlignment="Center" HorizontalAlignment="Center">
<Image Source="{DynamicResource StrokeSelectionDeleteIcon}"
RenderOptions.BitmapScalingMode="HighQuality" Height="25" Width="25" />
<TextBlock Margin="0,5,0,0" Text="删除" FontSize="10"
Foreground="{DynamicResource FloatBarForeground}"
HorizontalAlignment="Center" />
</ikw:SimpleStackPanel>
</Border>
</ikw:SimpleStackPanel>
</Viewbox>
</Border>
<!-- 图片选择工具栏 -->
<Border Name="BorderImageSelectionControl"
HorizontalAlignment="Left" VerticalAlignment="Top" Margin="0,0,0,0"
CornerRadius="5" Height="80"
Background="{DynamicResource FloatBarBackground}"
Visibility="Collapsed"
BorderThickness="1" BorderBrush="{DynamicResource FloatBarBorderBrush}">
<Viewbox Margin="0,-2.5">
<ikw:SimpleStackPanel Orientation="Horizontal" Spacing="10" Height="60">
<Border Name="BorderImageClone" Margin="0,2,-9,2" Background="Transparent"
CornerRadius="{Binding ElementName=BorderImageSelectionControl, Path=CornerRadius}"
Width="40" MouseDown="Border_MouseDown" MouseUp="BorderImageClone_MouseUp">
<ikw:SimpleStackPanel VerticalAlignment="Center" HorizontalAlignment="Center">
<Image Source="{DynamicResource ImageSelectionCloneIcon}"
RenderOptions.BitmapScalingMode="HighQuality" Height="25" Width="25" />
<TextBlock Text="克隆" FontSize="10" Foreground="{DynamicResource FloatBarForeground}"
HorizontalAlignment="Center" />
</ikw:SimpleStackPanel>
</Border>
<Border Name="BorderImageCloneToNewBoard"
Margin="0,2,-9,2"
Background="Transparent"
CornerRadius="{Binding ElementName=BorderImageSelectionControl, Path=CornerRadius}"
Width="40"
MouseDown="Border_MouseDown"
MouseUp="BorderImageCloneToNewBoard_MouseUp"
Visibility="{Binding Visibility, ElementName=GridBackgroundCover}">
<ikw:SimpleStackPanel VerticalAlignment="Center"
HorizontalAlignment="Center">
<Image Source="{DynamicResource ImageSelectionCloneToNewBoardIcon}"
RenderOptions.BitmapScalingMode="HighQuality"
Height="25"
Width="25" />
<TextBlock Text="克隆至新页"
FontSize="8"
Foreground="{DynamicResource FloatBarForeground}"
HorizontalAlignment="Center" />
</ikw:SimpleStackPanel>
</Border>
<Border Width="1"
Height="45"
BorderBrush="{DynamicResource FloatBarForeground}"
Background="{DynamicResource FloatBarForeground}" />
<Border CornerRadius="{Binding ElementName=BorderImageSelectionControl, Path=CornerRadius}"
Height="40">
<ikw:SimpleStackPanel VerticalAlignment="Center"
Spacing="5"
Margin="0,-10">
<ikw:SimpleStackPanel Orientation="Horizontal"
Spacing="10">
<Image Source="{DynamicResource Rotate45DrawingImage}"
Height="22"
MouseDown="Border_MouseDown"
MouseUp="BorderImageRotateLeft_MouseUp" />
<Image Source="{DynamicResource Rotate90DrawingImage}"
Height="22"
MouseDown="Border_MouseDown"
MouseUp="BorderImageRotateRight_MouseUp" />
</ikw:SimpleStackPanel>
<TextBlock Text="旋转"
FontSize="10"
HorizontalAlignment="Center"
Foreground="{DynamicResource FloatBarForeground}" />
</ikw:SimpleStackPanel>
</Border>
<Border Width="1" Height="45" BorderBrush="{DynamicResource FloatBarForeground}"
Background="{DynamicResource FloatBarForeground}" />
<Border CornerRadius="{Binding ElementName=BorderImageSelectionControl, Path=CornerRadius}"
Height="40">
<ikw:SimpleStackPanel VerticalAlignment="Center" Spacing="5" Margin="0,-10">
<ikw:SimpleStackPanel Orientation="Horizontal" Spacing="10">
<Grid MouseDown="Border_MouseDown" MouseUp="GridImageScaleDecrease_MouseUp">
<Image Source="{DynamicResource ImageSelectionScaleIcon1}"
RenderOptions.BitmapScalingMode="HighQuality" Height="25" Width="25" />
<TextBlock Text="-" Foreground="{DynamicResource FloatBarForeground}"
VerticalAlignment="Bottom" HorizontalAlignment="Right"
Margin="0,0,-2,-7" FontSize="15" />
</Grid>
<Grid MouseDown="Border_MouseDown" MouseUp="GridImageScaleIncrease_MouseUp">
<Image Source="{DynamicResource ImageSelectionScaleIcon2}"
RenderOptions.BitmapScalingMode="HighQuality" Height="25" Width="25" />
<TextBlock Text="+" Foreground="{DynamicResource FloatBarForeground}"
VerticalAlignment="Bottom" HorizontalAlignment="Right"
Margin="0,0,-3,-4" FontSize="11" />
</Grid>
</ikw:SimpleStackPanel>
<TextBlock Text="缩放" FontSize="10" HorizontalAlignment="Center"
Foreground="{DynamicResource FloatBarForeground}" />
</ikw:SimpleStackPanel>
</Border>
<Border Width="1" Height="45" BorderBrush="{DynamicResource FloatBarForeground}"
Background="{DynamicResource FloatBarForeground}" />
<Border Margin="-8,0,0,0"
CornerRadius="{Binding ElementName=BorderImageSelectionControl, Path=CornerRadius}"
Width="40" MouseDown="Border_MouseDown" MouseUp="BorderImageDelete_MouseUp">
<ikw:SimpleStackPanel VerticalAlignment="Center" HorizontalAlignment="Center">
<Image Source="{DynamicResource ImageSelectionDeleteIcon}"
RenderOptions.BitmapScalingMode="HighQuality" Height="25" Width="25" />
<TextBlock Margin="0,5,0,0" Text="删除" FontSize="10"
Foreground="{DynamicResource FloatBarForeground}"
HorizontalAlignment="Center" />
</ikw:SimpleStackPanel>
</Border>
</ikw:SimpleStackPanel>
</Viewbox>
</Border>
<!-- 图片缩放选择点 -->
<Canvas Name="ImageResizeHandlesCanvas"
Visibility="Collapsed"
Panel.ZIndex="1000">
<!-- 四个角控制点 -->
<Ellipse Name="ImageTopLeftHandle"
Width="8" Height="8"
Fill="White"
Stroke="#0078D4"
StrokeThickness="1"
Cursor="SizeNWSE"
MouseLeftButtonDown="ImageResizeHandle_MouseLeftButtonDown"
MouseLeftButtonUp="ImageResizeHandle_MouseLeftButtonUp"
MouseMove="ImageResizeHandle_MouseMove" />
<Ellipse Name="ImageTopRightHandle"
Width="8" Height="8"
Fill="White"
Stroke="#0078D4"
StrokeThickness="1"
Cursor="SizeNESW"
MouseLeftButtonDown="ImageResizeHandle_MouseLeftButtonDown"
MouseLeftButtonUp="ImageResizeHandle_MouseLeftButtonUp"
MouseMove="ImageResizeHandle_MouseMove" />
<Ellipse Name="ImageBottomLeftHandle"
Width="8" Height="8"
Fill="White"
Stroke="#0078D4"
StrokeThickness="1"
Cursor="SizeNESW"
MouseLeftButtonDown="ImageResizeHandle_MouseLeftButtonDown"
MouseLeftButtonUp="ImageResizeHandle_MouseLeftButtonUp"
MouseMove="ImageResizeHandle_MouseMove" />
<Ellipse Name="ImageBottomRightHandle"
Width="8" Height="8"
Fill="White"
Stroke="#0078D4"
StrokeThickness="1"
Cursor="SizeNWSE"
MouseLeftButtonDown="ImageResizeHandle_MouseLeftButtonDown"
MouseLeftButtonUp="ImageResizeHandle_MouseLeftButtonUp"
MouseMove="ImageResizeHandle_MouseMove" />
<!-- 四个边控制点 -->
<Ellipse Name="ImageTopHandle"
Width="8" Height="8"
Fill="White"
Stroke="#0078D4"
StrokeThickness="1"
Cursor="SizeNS"
MouseLeftButtonDown="ImageResizeHandle_MouseLeftButtonDown"
MouseLeftButtonUp="ImageResizeHandle_MouseLeftButtonUp"
MouseMove="ImageResizeHandle_MouseMove" />
<Ellipse Name="ImageBottomHandle"
Width="8" Height="8"
Fill="White"
Stroke="#0078D4"
StrokeThickness="1"
Cursor="SizeNS"
MouseLeftButtonDown="ImageResizeHandle_MouseLeftButtonDown"
MouseLeftButtonUp="ImageResizeHandle_MouseLeftButtonUp"
MouseMove="ImageResizeHandle_MouseMove" />
<Ellipse Name="ImageLeftHandle"
Width="8" Height="8"
Fill="White"
Stroke="#0078D4"
StrokeThickness="1"
Cursor="SizeWE"
MouseLeftButtonDown="ImageResizeHandle_MouseLeftButtonDown"
MouseLeftButtonUp="ImageResizeHandle_MouseLeftButtonUp"
MouseMove="ImageResizeHandle_MouseMove" />
<Ellipse Name="ImageRightHandle"
Width="8" Height="8"
Fill="White"
Stroke="#0078D4"
StrokeThickness="1"
Cursor="SizeWE"
MouseLeftButtonDown="ImageResizeHandle_MouseLeftButtonDown"
MouseLeftButtonUp="ImageResizeHandle_MouseLeftButtonUp"
MouseMove="ImageResizeHandle_MouseMove" />
</Canvas>
</Grid>
<Grid Visibility="Collapsed">
<Grid Visibility="{Binding ElementName=GridBackgroundCoverHolder, Path=Visibility}">
<Viewbox Margin="10" Height="50" HorizontalAlignment="Right" VerticalAlignment="Bottom">
<ikw:SimpleStackPanel Orientation="Horizontal" Spacing="5">
<Border Width="36" Height="36" CornerRadius="5"
Background="{DynamicResource FloatBarBackground}" BorderThickness="1"
BorderBrush="{DynamicResource FloatBarBorderBrush}">
<Grid Margin="6" MouseUp="GridPPTControlPrevious_MouseUp">
<Image
Source="{DynamicResource ResourceKey=SeewoImageSource.HorizontalPreviousSlideNormal}" />
</Grid>
</Border>
<Border Visibility="{Binding ElementName=PptNavigationBtn, Path=Visibility}" Width="36"
Height="36" CornerRadius="5" Background="{DynamicResource FloatBarBackground}"
BorderThickness="1" BorderBrush="{DynamicResource FloatBarBorderBrush}">
<Grid MouseUp="PPTNavigationBtn_MouseUp">
<TextBlock HorizontalAlignment="Center" VerticalAlignment="Center"
Foreground="{Binding ElementName=PptNavigationTextBlock, Path=Foreground}"
FontSize="{Binding ElementName=PptNavigationTextBlock, Path=FontSize}"
Text="{Binding ElementName=PptNavigationTextBlock, Path=Text}" />
</Grid>
</Border>
<Border Width="36" Height="36" CornerRadius="5"
Background="{DynamicResource FloatBarBackground}" BorderThickness="1"
BorderBrush="{DynamicResource FloatBarBorderBrush}">
<Grid Margin="6" MouseUp="GridPPTControlNext_MouseUp">
<Image
Source="{DynamicResource ResourceKey=SeewoImageSource.HorizontalNextSlideNormal}" />
</Grid>
</Border>
</ikw:SimpleStackPanel>
</Viewbox>
</Grid>
</Grid>
<!--// BlackBoard 界面 //-->
<Grid Name="BlackboardUIGridForInkReplay">
<Grid Visibility="{Binding ElementName=GridBackgroundCoverHolder, Path=Visibility}">
<!-- 左下角 -->
<Viewbox x:Name="ViewboxBlackboardLeftSide" Margin="3,0,0,0" Height="55" HorizontalAlignment="Left"
VerticalAlignment="Bottom">
<Grid Name="BlackboardLeftSide" Visibility="Visible" Margin="0,0,0,3" Height="50"
HorizontalAlignment="Center" VerticalAlignment="Bottom">
<ikw:SimpleStackPanel Orientation="Horizontal" Spacing="5">
<Border CornerRadius="5,5,5,5" Background="{DynamicResource BoardFloatBarBackground}" Margin="0,0,0,0">
<ikw:SimpleStackPanel Orientation="Horizontal">
<Border Width="60" Height="50"
IsEnabled="{Binding ElementName=BtnWhiteBoardSwitchPrevious, Path=IsEnabled}"
BorderThickness="1,1,0,1" BorderBrush="{DynamicResource BoardFloatBarBorderBrush}"
MouseUp="BtnWhiteBoardSwitchPrevious_Click" CornerRadius="5,0,0,5"
Background="{DynamicResource BoardFloatBarBackground}"
Opacity="1">
<Grid Margin="6,6,6,4">
<Image VerticalAlignment="Top"
RenderOptions.BitmapScalingMode="HighQuality" Height="20" Width="20">
<Image.Source>
<DrawingImage>
<DrawingImage.Drawing>
<DrawingGroup ClipGeometry="M0,0 V24 H24 V0 H0 Z">
<GeometryDrawing Brush="{DynamicResource IconForeground}"
x:Name="BtnLeftWhiteBoardSwitchPreviousGeometry"
Geometry="F1 M24,24z M0,0z M7.40091,10.456L14.5033,3.35357 12.3198,1.17001 1.48978,12 12.3198,22.83 14.5033,20.6465 7.40089,13.544 22.5102,13.544 22.5102,10.456 7.40091,10.456z" />
</DrawingGroup>
</DrawingImage.Drawing>
</DrawingImage>
</Image.Source>
</Image>
<TextBlock Text="上一页" Foreground="{DynamicResource FloatBarForeground}" VerticalAlignment="Bottom"
HorizontalAlignment="Center" FontSize="12"
x:Name="BtnLeftWhiteBoardSwitchPreviousLabel" />
</Grid>
</Border>
<Border Width="75" Height="50" MouseUp="BtnWhiteBoardPageIndex_Click"
Name="BtnLeftPageListWB"
BorderThickness="1,1,1,1" BorderBrush="{DynamicResource BoardFloatBarBorderBrush}" Background="{DynamicResource BoardFloatBarBackground}"
Opacity="1">
<Grid Margin="6,6,6,4">
<TextBlock HorizontalAlignment="Center"
Text="{Binding ElementName=TextBlockWhiteBoardIndexInfo, Path=Text}"
Margin="0,-1,0,0" FontSize="17" FontWeight="Bold"
TextAlignment="Center" />
<TextBlock Text="页面" Foreground="{DynamicResource FloatBarForeground}" VerticalAlignment="Bottom"
HorizontalAlignment="Center" FontSize="12" />
</Grid>
</Border>
<Grid Width="0" Margin="0,0,0,5">
<Border ClipToBounds="True" Name="BoardBorderLeftPageListView"
Margin="-134,-465,-60,50"
CornerRadius="8"
Background="{DynamicResource FloatBarBackground}" Opacity="1" BorderBrush="{DynamicResource BoardFloatBarBorderBrush}"
BorderThickness="1">
<ui:ScrollViewerEx Name="BlackBoardLeftSidePageListScrollViewer"
Height="460"
VerticalScrollBarVisibility="Hidden"
ForceUseSmoothScroll="True"
PanningMode="VerticalOnly"
IsManipulationEnabled="True">
<ListView ScrollViewer.CanContentScroll="False" SelectionMode="Single"
ScrollViewer.HorizontalScrollBarVisibility="Disabled"
ScrollViewer.VerticalScrollBarVisibility="Disabled"
Name="BlackBoardLeftSidePageListView">
<ListView.ItemTemplate>
<DataTemplate>
<ikw:SimpleStackPanel Orientation="Vertical"
MouseUp="BlackBoardLeftSidePageListView_OnMouseUp">
<Border Margin="0,4" Width="160" BorderBrush="{DynamicResource BoardFloatBarBorderBrush}"
BorderThickness="1">
<Grid>
<Viewbox Width="160" Height="120" Stretch="Uniform">
<InkCanvas EditingMode="None"
Background="{Binding ElementName=GridBackgroundCover, Path=Background}"
Strokes="{Binding Strokes}"
Width="{Binding ElementName=inkCanvas, Path=ActualWidth}"
Height="{Binding ElementName=inkCanvas, Path=ActualHeight}">
</InkCanvas>
</Viewbox>
<Border Margin="4" Width="36" Height="20"
CornerRadius="3" HorizontalAlignment="Left"
VerticalAlignment="Top"
Background="#cc09090b">
<TextBlock FontSize="14"
HorizontalAlignment="Center"
VerticalAlignment="Center"
FontFamily="Consolas"
Foreground="White"
Text="{Binding Index}">
</TextBlock>
</Border>
<Button Width="24" Height="24" HorizontalAlignment="Right" VerticalAlignment="Top" Margin="4"
ToolTip="删除此页"
Click="WhiteBoardPageListItem_DeleteClick"
Background="#CC000000" Foreground="White"
BorderThickness="0" Padding="0" Cursor="Hand">
<ui:FontIcon Icon="{x:Static ui:SegoeFluentIcons.Delete}" />
</Button>
</Grid>
</Border>
</ikw:SimpleStackPanel>
</DataTemplate>
</ListView.ItemTemplate>
</ListView>
</ui:ScrollViewerEx>
</Border>
</Grid>
<Border Width="60" Height="50" MouseUp="BtnWhiteBoardSwitchNext_Click"
CornerRadius="0,5,5,0"
IsEnabled="{Binding ElementName=BtnWhiteBoardSwitchNext, Path=IsEnabled}"
BorderThickness="0,1,1,1" BorderBrush="{DynamicResource BoardFloatBarBorderBrush}"
Background="{DynamicResource BoardFloatBarBackground}" Opacity="1">
<Grid Margin="6,6,6,4">
<Image VerticalAlignment="Top"
RenderOptions.BitmapScalingMode="HighQuality" Height="20" Width="20">
<Image.Source>
<DrawingImage>
<DrawingImage.Drawing>
<DrawingGroup ClipGeometry="M0,0 V24 H24 V0 H0 Z">
<GeometryDrawing Brush="{DynamicResource IconForeground}"
x:Name="BtnLeftWhiteBoardSwitchNextGeometry"
Geometry="F1 M24,24z M0,0z M16.5991,10.456L9.49667,3.35357 11.6802,1.17001 22.5102,12 11.6802,22.83 9.49667,20.6465 16.5991,13.544 1.48978,13.544 1.48978,10.456 16.5991,10.456z" />
</DrawingGroup>
</DrawingImage.Drawing>
</DrawingImage>
</Image.Source>
</Image>
<TextBlock Text="下一页" Foreground="{DynamicResource FloatBarForeground}" VerticalAlignment="Bottom"
HorizontalAlignment="Center" FontSize="12"
x:Name="BtnLeftWhiteBoardSwitchNextLabel" />
</Grid>
</Border>
</ikw:SimpleStackPanel>
</Border>
<Border Width="60" Height="50"
BorderThickness="1"
BorderBrush="{DynamicResource BoardFloatBarBorderBrush}"
MouseUp="BtnToggleVideoPresenter_Click"
CornerRadius="5"
Background="{DynamicResource BoardFloatBarBackground}"
Opacity="1">
<Grid Margin="6,6,6,4">
<Path
VerticalAlignment="Top"
HorizontalAlignment="Center"
Margin="0,0,0,2"
Width="22"
Height="22"
Stroke="{DynamicResource IconForeground}"
StrokeThickness="2"
StrokeStartLineCap="Round"
StrokeEndLineCap="Round"
StrokeLineJoin="Round"
Data="M15 10 L19.553 7.724 C19.7054 7.64783 19.8748 7.61188 20.045 7.61954 C20.2152 7.62721 20.3806 7.67824 20.5256 7.7678 C20.6706 7.85736 20.7902 7.98247 20.8733 8.13127 C20.9563 8.28006 20.9999 8.44761 21 8.618 V15.382 C20.9999 15.5524 20.9563 15.7199 20.8733 15.8687 C20.7902 16.0175 20.6706 16.1426 20.5256 16.2322 C20.3806 16.3218 20.2152 16.3728 20.045 16.3805 C19.8748 16.3881 19.7054 16.3522 19.553 16.276 L15 14 Z M3 8 C3 7.46957 3.21071 6.96086 3.58579 6.58579 C3.96086 6.21071 4.46957 6 5 6 H13 C13.5304 6 14.0391 6.21071 14.4142 6.58579 C14.7893 6.96086 15 7.46957 15 8 V16 C15 16.5304 14.7893 17.0391 14.4142 17.4142 C14.0391 17.7893 13.5304 18 13 18 H5 C4.46957 18 3.96086 17.7893 3.58579 17.4142 C3.21071 17.0391 3 16.5304 3 16 Z" />
<TextBlock
Text="{i18n:I18n Key=Booth_Title}"
Foreground="{DynamicResource FloatBarForeground}"
VerticalAlignment="Bottom"
HorizontalAlignment="Center"
FontSize="12" />
</Grid>
</Border>
</ikw:SimpleStackPanel>
</Grid>
</Viewbox>
<!-- 中间 -->
<Viewbox Margin="3,0,0,0" Height="56" HorizontalAlignment="Center"
VerticalAlignment="Bottom">
<Viewbox.LayoutTransform>
<ScaleTransform x:Name="ViewboxBlackboardCenterSideScaleTransform" ScaleX="1" ScaleY="1" />
</Viewbox.LayoutTransform>
<Grid x:Name="BlackboardCenterSide" Visibility="Visible" Margin="0,0,0,3" Height="50"
HorizontalAlignment="Center" VerticalAlignment="Bottom">
<ikw:SimpleStackPanel Orientation="Horizontal">
<Border CornerRadius="5,5,5,5" Background="{DynamicResource BoardFloatBarBackground}" Margin="0,0,5,0">
<ikw:SimpleStackPanel Orientation="Horizontal">
<Border Width="60" Height="50" MouseDown="Border_MouseDown" Name="BoardGesture"
MouseUp="TwoFingerGestureBorder_MouseUp" CornerRadius="5,0,0,5"
Background="{DynamicResource BoardFloatBarBackground}"
Opacity="1" BorderThickness="1,1,0,1" BorderBrush="{DynamicResource BoardFloatBarBorderBrush}">
<Grid Margin="6,6,6,4">
<Image VerticalAlignment="Top"
RenderOptions.BitmapScalingMode="HighQuality" Height="20" Width="20">
<Image.Source>
<DrawingImage>
<DrawingImage.Drawing>
<DrawingGroup ClipGeometry="M0,0 V24 H24 V0 H0 Z">
<GeometryDrawing x:Name="BoardGestureGeometry"
Brush="{DynamicResource IconForeground}"
Geometry="F0 M24,24z M0,0z M7.82154,10.0753L7.82154,3.74613C7.82154,3.06603 8.08946,2.40655 8.57377,1.92224 9.05808,1.43793 9.70726,1.17001 10.3977,1.17001 11.0881,1.17001 11.7372,1.43793 12.2216,1.92224 12.7059,2.40655 12.9738,3.05573 12.9738,3.74613L12.9738,6.37308C13.1415,6.33947 13.3139,6.32225 13.489,6.32225 14.1794,6.32225 14.8286,6.59016 15.3129,7.07447 15.4484,7.21001 15.567,7.35845 15.6675,7.5171 15.9551,7.40916 16.2634,7.35269 16.5803,7.35269 17.2707,7.35269 17.9199,7.62061 18.4042,8.10492 18.5461,8.24683 18.6695,8.4029 18.7729,8.57001 19.6856,8.26338 20.7674,8.45871 21.4647,9.15599 21.949,9.6403 22.2169,10.2998 22.2169,10.9799L22.2169,15.6169C22.2169,17.5438 21.4647,19.3574 20.1045,20.7176 18.7443,22.0778 16.9307,22.83 15.0038,22.83L13.149,22.83 13.1799,22.8094 12.8398,22.8094C11.7682,22.7579 10.7068,22.4694 9.75878,21.9541 8.70773,21.3874 7.81124,20.563 7.15175,19.5738L6.94566,19.2647C6.60562,18.7494 5.49273,16.8019 3.52458,13.3087 3.19484,12.7213 3.1021,12.0412 3.27727,11.3818 3.45245,10.7326 3.86463,10.1761 4.44168,9.83608 5.00842,9.49604 5.66791,9.35177 6.31709,9.43421 6.86548,9.50385 7.39181,9.7279 7.82154,10.0753z M10.037,3.38547C10.1297,3.28243 10.2637,3.23091 10.3977,3.23091 10.5316,3.23091 10.6656,3.29273 10.7583,3.38547 10.8614,3.47821 10.9129,3.61217 10.9129,3.74613L10.9129,11.4745C10.9129,12.0412 11.3766,12.5049 11.9433,12.5049 12.5101,12.5049 12.9738,12.0412 12.9738,11.4745L12.9738,8.89836C12.9738,8.7644 13.0356,8.63045 13.1283,8.53771 13.2211,8.43466 13.355,8.38314 13.489,8.38314 13.623,8.38314 13.7569,8.44497 13.8497,8.53771 13.9527,8.63045 14.0042,8.7644 14.0042,8.89836L14.0042,11.4745C14.0042,12.0412 14.4679,12.5049 15.0347,12.5049 15.6014,12.5049 16.0651,12.0412 16.0651,11.4745L16.0651,9.92881C16.0651,9.79485 16.1269,9.66089 16.2197,9.56815 16.3124,9.46511 16.4464,9.41359 16.5803,9.41359 16.7143,9.41359 16.8483,9.47541 16.941,9.56815 17.044,9.66089 17.0956,9.79485 17.0956,9.92881L17.0956,10.5869C17.0752,10.7163 17.0646,10.8477 17.0646,10.9799 17.0646,11.0661 17.0754,11.1499 17.0956,11.2301L17.0956,11.4745C17.0956,12.0412 17.5593,12.5049 18.126,12.5049 18.6928,12.5049 19.1565,12.0412 19.1565,11.4745L19.1565,10.8128C19.1834,10.7399 19.2266,10.6727 19.2801,10.6192 19.4759,10.4234 19.8159,10.4234 20.0117,10.6192 20.1148,10.712 20.1663,10.8459 20.1663,10.9799L20.1663,15.6169C20.1663,16.9977 19.6408,18.296 18.6618,19.2647 17.6829,20.2333 16.3949,20.7691 15.0141,20.7691L13.1593,20.7691C12.3143,20.7691 11.4796,20.5527 10.7274,20.1509 9.98548,19.749 9.3363,19.1616 8.8726,18.4506L8.66651,18.1415C8.35737,17.6675 7.23419,15.7096 5.31756,12.2988 5.24543,12.1752 5.23512,12.0412 5.26604,11.9073 5.30725,11.7733 5.38969,11.6703 5.50304,11.5981 5.66791,11.4951 5.874,11.4539 6.06978,11.4745 6.26557,11.5054 6.45105,11.5878 6.59531,11.7321L8.11007,13.2469C8.49419,13.631 9.10425,13.648 9.50833,13.2978 9.73651,13.1084 9.88244,12.8229 9.88244,12.5049L9.88244,3.74613C9.88244,3.61217,9.94426,3.47821,10.037,3.38547z M2.99905,6.31195L1.78313,4.65293 2.61779,4.04497C3.46275,3.4267,4.37985,2.89087,5.33817,2.46838L6.27587,2.0459 7.12084,3.93162 6.18313,4.3541C5.35878,4.72506,4.56533,5.17846,3.83372,5.71429L2.99905,6.32225 2.99905,6.31195z M18.2806,5.20935L19.1565,5.75549 20.259,4.01404 19.3831,3.4679C18.1157,2.67446,16.7452,2.0768,15.3026,1.68523L14.303,1.41731 13.7672,3.40607 14.7667,3.67399C16.0033,4.00373,17.1883,4.51895,18.2806,5.20935z" />
<GeometryDrawing x:Name="BoardGestureGeometry2"
Brush="{DynamicResource IconForeground}"
Geometry="F0 M24,24z M0,0z " />
</DrawingGroup>
</DrawingImage.Drawing>
</DrawingImage>
</Image.Source>
</Image>
<TextBlock Text="{i18n:I18n Key=Board_Gesture}" Foreground="{DynamicResource FloatBarForeground}" VerticalAlignment="Bottom"
Name="BoardGestureLabel"
HorizontalAlignment="Center" FontSize="12" />
</Grid>
</Border>
<Border>
<Grid Width="0" Margin="0,0,0,5" RenderTransformOrigin="0,1">
<Border ClipToBounds="True" x:Name="BoardTwoFingerGestureBorder"
Margin="-115,-161,-55,50"
CornerRadius="8"
Background="{DynamicResource FloatBarBackground}" Opacity="1" BorderBrush="#2563eb"
BorderThickness="1">
<ikw:SimpleStackPanel Margin="0">
<Border BorderBrush="#1e3a8a" BorderThickness="0,0,0,1"
CornerRadius="8,8,0,0"
Background="#2563eb" Margin="-1,-1,-1,1">
<Canvas Height="36" ClipToBounds="True">
<TextBlock Text="{i18n:I18n Key=Board_GestureOptions}" Canvas.Left="12" Foreground="White"
Padding="0,7"
FontSize="17" FontWeight="Bold"
TextAlignment="Center" />
<Image Margin="144,10,0,0"
Source="/Resources/new-icons/close-white.png"
RenderOptions.BitmapScalingMode="HighQuality"
Height="16"
Width="16" MouseDown="Border_MouseDown"
MouseUp="CloseBordertools_MouseUp" />
</Canvas>
</Border>
<Viewbox Margin="8,0,8,0">
<ikw:SimpleStackPanel Margin="0">
<ikw:SimpleStackPanel Orientation="Horizontal" Spacing="2"
VerticalAlignment="Center"
HorizontalAlignment="Center"
Margin="0,3,0,0">
<Image Source="{DynamicResource MultiTouchIcon}"
RenderOptions.BitmapScalingMode="HighQuality"
Height="16"
Width="16" />
<Label Content="{i18n:I18n Key=Board_MultiTouchWriting}" FontSize="8"
VerticalAlignment="Center" Width="56"
Style="{StaticResource AutoFitGestureOptionLabel10}" />
<Viewbox Width="36" Height="18" Margin="2,0,0,0">
<ui:ToggleSwitch MinWidth="0" Margin="0,-6,0,-6"
x:Name="BoardToggleSwitchEnableMultiTouchMode"
FontFamily="Microsoft YaHei UI"
IsOn="False"
OnContent=""
OffContent=""
Toggled="ToggleSwitchEnableMultiTouchMode_Toggled"
RenderTransformOrigin="0.5,0.5">
<ui:ToggleSwitch.RenderTransform>
<TransformGroup>
<ScaleTransform />
<SkewTransform />
<RotateTransform />
<TranslateTransform X="8" />
</TransformGroup>
</ui:ToggleSwitch.RenderTransform>
</ui:ToggleSwitch>
</Viewbox>
</ikw:SimpleStackPanel>
<ikw:SimpleStackPanel
Opacity="{Binding Opacity, ElementName=TwoFingerGestureSimpleStackPanel}"
Orientation="Horizontal" Spacing="2"
VerticalAlignment="Center"
HorizontalAlignment="Center">
<Image Source="{DynamicResource HandMoveIcon}"
RenderOptions.BitmapScalingMode="HighQuality"
Height="16"
Width="16" />
<Label Content="{i18n:I18n Key=Board_TwoFingerMove}" FontSize="8"
VerticalAlignment="Center" Width="56"
Style="{StaticResource AutoFitGestureOptionLabel10}" />
<Viewbox Width="36" Height="18" Margin="2,0,0,0">
<ui:ToggleSwitch MinWidth="0" Margin="0,-6,0,-6"
x:Name="BoardToggleSwitchEnableTwoFingerTranslate"
FontFamily="Microsoft YaHei UI"
IsOn="False"
OnContent=""
OffContent=""
Toggled="ToggleSwitchEnableTwoFingerTranslate_Toggled"
RenderTransformOrigin="0.5,0.5">
<ui:ToggleSwitch.RenderTransform>
<TransformGroup>
<ScaleTransform />
<SkewTransform />
<RotateTransform />
<TranslateTransform X="8" />
</TransformGroup>
</ui:ToggleSwitch.RenderTransform>
</ui:ToggleSwitch>
</Viewbox>
</ikw:SimpleStackPanel>
<ikw:SimpleStackPanel
Opacity="{Binding Opacity, ElementName=TwoFingerGestureSimpleStackPanel}"
Orientation="Horizontal" Spacing="2"
VerticalAlignment="Center"
HorizontalAlignment="Center">
<Image Source="{DynamicResource ZoomIcon}"
RenderOptions.BitmapScalingMode="HighQuality"
Height="16"
Width="16" />
<Label Content="{i18n:I18n Key=Board_TwoFingerZoom}" FontSize="8"
VerticalAlignment="Center" Width="56"
Style="{StaticResource AutoFitGestureOptionLabel10}" />
<Viewbox Width="36" Height="18" Margin="2,0,0,0">
<ui:ToggleSwitch MinWidth="0" Margin="0,-6,0,-6"
FontFamily="Microsoft YaHei UI"
IsOn="False" OnContent="" OffContent=""
x:Name="BoardToggleSwitchEnableTwoFingerZoom"
Toggled="ToggleSwitchEnableTwoFingerZoom_Toggled"
RenderTransformOrigin="0.5,0.5">
<ui:ToggleSwitch.RenderTransform>
<TransformGroup>
<ScaleTransform />
<SkewTransform />
<RotateTransform />
<TranslateTransform X="8" />
</TransformGroup>
</ui:ToggleSwitch.RenderTransform>
</ui:ToggleSwitch>
</Viewbox>
</ikw:SimpleStackPanel>
<ikw:SimpleStackPanel
Opacity="{Binding Opacity, ElementName=TwoFingerGestureSimpleStackPanel}"
Orientation="Horizontal" Spacing="2"
VerticalAlignment="Center"
HorizontalAlignment="Center">
<Image Source="{DynamicResource RotateIcon}"
RenderOptions.BitmapScalingMode="HighQuality"
Height="16"
Width="16" />
<Label Content="{i18n:I18n Key=Board_TwoFingerRotate}" FontSize="8"
VerticalAlignment="Center" Width="56"
Style="{StaticResource AutoFitGestureOptionLabel10}" />
<Viewbox Width="36" Height="18" Margin="2,0,0,0">
<ui:ToggleSwitch MinWidth="0" Margin="0,-6,0,-6"
FontFamily="Microsoft YaHei UI"
IsOn="False" OnContent="" OffContent=""
x:Name="BoardToggleSwitchEnableTwoFingerRotation"
Toggled="ToggleSwitchEnableTwoFingerRotation_Toggled"
RenderTransformOrigin="0.5,0.5">
<ui:ToggleSwitch.RenderTransform>
<TransformGroup>
<ScaleTransform />
<SkewTransform />
<RotateTransform />
<TranslateTransform X="8" />
</TransformGroup>
</ui:ToggleSwitch.RenderTransform>
</ui:ToggleSwitch>
</Viewbox>
</ikw:SimpleStackPanel>
</ikw:SimpleStackPanel>
</Viewbox>
</ikw:SimpleStackPanel>
</Border>
</Grid>
</Border>
<Border Width="60" Height="50" MouseDown="Border_MouseDown"
MouseUp="BoardChangeBackgroundColorBtn_MouseUp" CornerRadius="0,5,5,0"
Background="{DynamicResource BoardFloatBarBackground}" Opacity="1" BorderThickness="0,1,1,1"
BorderBrush="{DynamicResource BoardFloatBarBorderBrush}">
<Grid Margin="6,6,6,4">
<Image VerticalAlignment="Top"
RenderOptions.BitmapScalingMode="HighQuality" Height="20" Width="20">
<Image.Source>
<DrawingImage>
<DrawingImage.Drawing>
<DrawingGroup ClipGeometry="M0,0 V24 H24 V0 H0 Z">
<GeometryDrawing Brush="{DynamicResource IconForeground}"
Geometry="F0 M24,24z M0,0z M4.71815,3.98345C6.64142,2.23541 9.19629,1.17001 12,1.17001 17.9812,1.17001 22.83,6.01877 22.83,12 22.83,17.9813 17.9812,22.83 12,22.83 11.6262,22.83 11.2568,22.8111 10.8927,22.7741 5.8167,22.2586 1.77699,18.2377 1.2325,13.1703 1.22536,13.1039 1.21882,13.0373 1.21289,12.9705 1.20871,12.9234 1.20483,12.8762 1.20125,12.8289 1.18054,12.5553 1.17,12.2789 1.17,12 1.17,9.41057 2.07878,7.03339 3.59479,5.17001 3.9391,4.74681 4.31473,4.35011 4.71815,3.98345z M12,20.83C16.8767,20.83 20.83,16.8767 20.83,12 20.83,7.12334 16.8767,3.17001 12,3.17001L12,20.83z" />
</DrawingGroup>
</DrawingImage.Drawing>
</DrawingImage>
</Image.Source>
</Image>
<TextBlock Text="{i18n:I18n Key=Board_Background}" Foreground="{DynamicResource FloatBarForeground}" VerticalAlignment="Bottom"
HorizontalAlignment="Center" FontSize="12" />
</Grid>
</Border>
</ikw:SimpleStackPanel>
</Border>
<Border CornerRadius="5,5,5,5" Background="{DynamicResource BoardFloatBarBackground}" Margin="0,0,5,0">
<ikw:SimpleStackPanel Orientation="Horizontal">
<Border x:Name="BoardSelect" Width="60" Height="50" MouseDown="Border_MouseDown"
BorderThickness="1,1,0,1" BorderBrush="{DynamicResource BoardFloatBarBorderBrush}"
MouseUp="SymbolIconSelect_MouseUp" CornerRadius="5,0,0,5"
Background="{DynamicResource BoardFloatBarBackground}"
Opacity="1">
<Grid Margin="6,6,6,4">
<Image VerticalAlignment="Top"
RenderOptions.BitmapScalingMode="HighQuality" Height="20" Width="20">
<Image.Source>
<DrawingImage>
<DrawingImage.Drawing>
<DrawingGroup ClipGeometry="M0,0 V24 H24 V0 H0 Z">
<GeometryDrawing x:Name="BoardSelectGeometry"
Brush="{DynamicResource IconForeground}"
Geometry="F1 M24,24z M0,0z M22.7989,10.1653L1.14304,1.14304 10.1653,22.7989 12.8305,14.9518 19.6892,21.8105 21.8105,19.6892 14.9518,12.8305 22.7989,10.1653z" />
</DrawingGroup>
</DrawingImage.Drawing>
</DrawingImage>
</Image.Source>
</Image>
<TextBlock Text="{i18n:I18n Key=Board_Select}" Foreground="{DynamicResource FloatBarForeground}" VerticalAlignment="Bottom"
Name="BoardSelectLabel"
HorizontalAlignment="Center" FontSize="12" />
</Grid>
</Border>
<Border x:Name="BoardPen" Width="60" Height="50" MouseDown="Border_MouseDown"
BorderThickness="0,1,0,1" BorderBrush="{DynamicResource BoardFloatBarBorderBrush}"
MouseUp="PenIcon_Click" Background="{DynamicResource BoardFloatBarBackground}" Opacity="1">
<Grid Margin="6,6,6,4">
<Image x:Name="BoardPenIcon" VerticalAlignment="Top"
RenderOptions.BitmapScalingMode="HighQuality" Height="20" Width="20">
<Image.Source>
<DrawingImage>
<DrawingImage.Drawing>
<DrawingGroup ClipGeometry="M0,0 V24 H24 V0 H0 Z">
<GeometryDrawing x:Name="BoardPenGeometry"
Brush="{DynamicResource IconForeground}"
Geometry="F1 M24,24z M0,0z M20.4786,1.42438C19.9985,1.23743 19.4847,1.15194 18.9698,1.17319 18.4549,1.19444 17.9499,1.32197 17.4869,1.54789 17.0368,1.76752 16.6358,2.07554 16.3083,2.45361L3.85516,14.9067 9.08243,20.134 21.5311,7.68529C21.9113,7.36382 22.223,6.96912 22.447,6.52438 22.6786,6.06462 22.8113,5.56167 22.8365,5.04763 22.8616,4.5336 22.7787,4.02012 22.593,3.54002 22.4073,3.05994 22.1232,2.62403 21.759,2.25988 21.3949,1.89574 20.9587,1.61132 20.4786,1.42438z M7.28056,21.1605L2.8286,16.7086 1.15912,22.83 7.28056,21.1605z" />
</DrawingGroup>
</DrawingImage.Drawing>
</DrawingImage>
</Image.Source>
</Image>
<TextBlock Text="{i18n:I18n Key=Board_Pen}" Foreground="{DynamicResource FloatBarForeground}" VerticalAlignment="Bottom"
Name="BoardPenLabel"
HorizontalAlignment="Center" FontSize="12" />
</Grid>
</Border>
<Border>
<Grid Margin="0,5,0,5" Width="0">
<Grid Name="BoardPenPaletteGrid" Margin="-160,-200,-53,50"
RenderTransformOrigin="0,1">
<Grid.RenderTransform>
<TransformGroup>
<ScaleTransform ScaleX="1.5" ScaleY="1.5" />
<SkewTransform />
<RotateTransform />
<TranslateTransform />
</TransformGroup>
</Grid.RenderTransform>
<Border x:Name="BoardPenPalette" Visibility="Visible"
Background="{DynamicResource FloatBarBackground}"
Opacity="1" BorderBrush="#2563eb"
BorderThickness="1" CornerRadius="8">
<ikw:SimpleStackPanel Margin="0,-20,0,0">
<Border BorderBrush="#1e3a8a" Height="32"
BorderThickness="0,0,0,1"
CornerRadius="8,8,0,0" Background="#2563eb"
Margin="-1,-1,-1,0"
Padding="1,1,1,0">
<ikw:SimpleStackPanel Orientation="Vertical"
VerticalAlignment="Center">
<ikw:SimpleStackPanel Orientation="Horizontal"
HorizontalAlignment="Stretch"
Margin="8,0,0,0" Spacing="2">
<Border x:Name="BoardDefaultPenTabButton"
MouseDown="SwitchToDefaultPen"
Background="#48dbeafe" Height="20"
Width="36"
CornerRadius="3">
<Canvas>
<ikw:SimpleStackPanel
x:Name="BoardDefaultPenTabButtonIndicator"
Visibility="Visible"
Orientation="Horizontal"
Canvas.Left="9" Canvas.Right="9"
Canvas.Bottom="0">
<Border Width="18" Height="2"
Background="{DynamicResource FloatBarBackground}"
CornerRadius="1" />
</ikw:SimpleStackPanel>
<ikw:SimpleStackPanel Orientation="Vertical"
Height="20" Width="36">
<ikw:SimpleStackPanel
VerticalAlignment="Center"
Orientation="Horizontal"
HorizontalAlignment="Center"
Margin="0,3">
<Image
Source="/Resources/new-icons/pen-white.png"
RenderOptions.BitmapScalingMode="HighQuality"
Height="13" Width="13" />
<TextBlock
x:Name="BoardDefaultPenTabButtonText"
Foreground="White"
FontWeight="Medium"
FontSize="9"
TextAlignment="Center"
Text="{i18n:I18n Key=Board_Pen}" Margin="2,1,0,0" />
</ikw:SimpleStackPanel>
</ikw:SimpleStackPanel>
</Canvas>
</Border>
<Border x:Name="BoardHighlightPenTabButton"
MouseDown="SwitchToHighlighterPen"
Background="Transparent" Height="20"
Width="52"
CornerRadius="3">
<Canvas>
<ikw:SimpleStackPanel Visibility="Collapsed"
x:Name="BoardHighlightPenTabButtonIndicator"
Orientation="Horizontal"
Canvas.Left="14"
Canvas.Right="14" Canvas.Bottom="0">
<Border Width="24" Height="2"
Background="{DynamicResource FloatBarBackground}"
CornerRadius="1" />
</ikw:SimpleStackPanel>
<ikw:SimpleStackPanel Orientation="Vertical"
Height="20" Width="52">
<ikw:SimpleStackPanel
VerticalAlignment="Center"
Orientation="Horizontal"
HorizontalAlignment="Center"
Margin="0,3">
<Image
Source="/Resources/new-icons/highlighter-white.png"
RenderOptions.BitmapScalingMode="HighQuality"
Height="13" Width="13" />
<TextBlock
x:Name="BoardHighlightPenTabButtonText"
Foreground="White"
FontWeight="Medium"
FontSize="9"
TextAlignment="Center"
Text="{i18n:I18n Key=Board_Highlighter}" Margin="2,1,0,0"
Width="35"
Style="{StaticResource AutoFitPenTabLabel9}" />
</ikw:SimpleStackPanel>
</ikw:SimpleStackPanel>
</Canvas>
</Border>
<Image Margin="66,0,0,0"
Source="/Resources/new-icons/close-white.png"
RenderOptions.BitmapScalingMode="HighQuality"
Height="16" Width="16"
MouseDown="Border_MouseDown"
MouseUp="CloseBordertools_MouseUp" />
</ikw:SimpleStackPanel>
</ikw:SimpleStackPanel>
</Border>
<Viewbox Name="BoardDefaultPenPropsPanel"
Visibility="Collapsed"
Margin="12,8,12,0" HorizontalAlignment="Center"
VerticalAlignment="Center" Stretch="Fill">
<ikw:SimpleStackPanel>
<ikw:SimpleStackPanel Orientation="Horizontal"
Height="35" Margin="0,0,0,8">
<Label Content="笔锋" Margin="0,0,6,0"
Foreground="{DynamicResource FloatBarForeground}"
FontSize="16" FontWeight="Bold"
VerticalAlignment="Center" />
<ComboBox Height="30"
VerticalAlignment="Center"
Name="BoardComboBoxPenStyle"
FontFamily="Microsoft YaHei UI"
SelectedIndex="1"
SelectionChanged="ComboBoxPenStyle_SelectionChanged">
<ComboBoxItem Content="实时笔锋"
FontFamily="Microsoft YaHei UI" />
<ComboBoxItem Content="基于点集"
FontFamily="Microsoft YaHei UI" />
<ComboBoxItem Content="基于速率"
FontFamily="Microsoft YaHei UI" />
<ComboBoxItem Content="关闭笔锋"
FontFamily="Microsoft YaHei UI" />
</ComboBox>
</ikw:SimpleStackPanel>
<Controls:UniformGrid Columns="3" Width="300"
Height="55">
<ikw:SimpleStackPanel
x:Name="BoardNibModeSimpleStackPanel"
Orientation="Horizontal" Width="100">
<Label Content="笔尖模式" FontSize="12"
VerticalAlignment="Center" />
<ui:ToggleSwitch
x:Name="BoardToggleSwitchEnableNibMode"
MinWidth="0"
FontFamily="Microsoft YaHei UI"
Width="80" Margin="10,0,0,0"
Toggled="ToggleSwitchEnableNibMode_Toggled"
IsOn="True" />
</ikw:SimpleStackPanel>
<ikw:SimpleStackPanel Orientation="Horizontal"
Width="100">
<Label Margin="0,0,10,0" Content="墨迹纠正"
Foreground="{DynamicResource FloatBarForeground}"
FontSize="12"
VerticalAlignment="Center" />
<ui:ToggleSwitch
Foreground="{DynamicResource FloatBarForeground}"
FontFamily="Microsoft YaHei UI"
Width="80"
Toggled="ToggleSwitchEnableInkToShape_Toggled"
MinWidth="0"
IsOn="{Binding ElementName=ToggleSwitchEnableInkToShape, Path=IsOn}" />
</ikw:SimpleStackPanel>
<ikw:SimpleStackPanel Orientation="Horizontal"
Width="100" x:Name="InkFadeControlPanel1">
<Label Margin="0,0,10,0" Content="墨迹渐隐"
Foreground="{DynamicResource FloatBarForeground}"
FontSize="12"
VerticalAlignment="Center" />
<ui:ToggleSwitch
x:Name="ToggleSwitchInkFadeInPanel"
Foreground="{DynamicResource FloatBarForeground}"
FontFamily="Microsoft YaHei UI"
Width="90"
Toggled="ToggleSwitchInkFadeInPanel_Toggled"
MinWidth="0"
IsOn="False" />
</ikw:SimpleStackPanel>
</Controls:UniformGrid>
<StackPanel Orientation="Horizontal" Height="30">
<Label Margin="0,0,10,0" Content="粗细"
FontWeight="Bold"
Foreground="{DynamicResource FloatBarForeground}"
FontSize="17" VerticalAlignment="Center" />
<Slider x:Name="BoardInkWidthSlider" Minimum="1"
Maximum="20"
Width="208" FontFamily="Microsoft YaHei UI"
FontSize="20" IsSnapToTickEnabled="True"
Value="5"
TickFrequency="0.1" TickPlacement="None"
ValueChanged="InkWidthSlider_ValueChanged" />
<TextBlock
Text="{Binding Value, ElementName=InkWidthSlider, Mode=OneWay}"
FontFamily="Consolas"
VerticalAlignment="Bottom"
Margin="10,0,0,4.5" FontSize="15" />
</StackPanel>
<StackPanel Orientation="Horizontal" Height="30">
<Label Margin="0,0,10,0" Content="透明"
FontWeight="Bold"
Foreground="{DynamicResource FloatBarForeground}"
FontSize="17" VerticalAlignment="Center" />
<Slider x:Name="BoardInkAlphaSlider"
Margin="0,0,0,0"
Minimum="1" Maximum="255" Width="208"
FontFamily="Microsoft YaHei UI"
FontSize="20"
IsSnapToTickEnabled="True" Value="255"
TickFrequency="1"
TickPlacement="None"
ValueChanged="InkAlphaSlider_ValueChanged" />
<TextBlock
Text="{Binding Value, ElementName=InkAlphaSlider, Mode=OneWay}"
FontFamily="Consolas"
VerticalAlignment="Bottom"
Margin="10,0,0,4.5" FontSize="15" />
</StackPanel>
</ikw:SimpleStackPanel>
</Viewbox>
<Viewbox Name="BoardHighlighterPenPropsPanel"
Margin="12,8,12,0"
HorizontalAlignment="Center"
VerticalAlignment="Center"
Stretch="Fill">
<ikw:SimpleStackPanel>
<StackPanel Orientation="Horizontal" Height="30">
<Label Margin="0,0,10,0" Content="粗细"
FontWeight="Bold"
Foreground="{DynamicResource FloatBarForeground}"
FontSize="17" VerticalAlignment="Center" />
<Slider x:Name="BoardHighlighterWidthSlider"
Minimum="15"
Maximum="45" Width="208"
FontFamily="Microsoft YaHei UI"
FontSize="20"
IsSnapToTickEnabled="True" Value="20"
TickFrequency="1" TickPlacement="None"
ValueChanged="HighlighterWidthSlider_ValueChanged" />
<TextBlock
Text="{Binding Value, ElementName=BoardHighlighterWidthSlider, Mode=OneWay}"
FontFamily="Consolas"
VerticalAlignment="Bottom"
Margin="10,0,0,4.5" FontSize="15" />
</StackPanel>
</ikw:SimpleStackPanel>
</Viewbox>
<Viewbox x:Name="BoardDefaultPenColorsPanel"
Visibility="Collapsed"
Margin="0,8,0,0" Stretch="Fill">
<ikw:SimpleStackPanel Width="300" Margin="0,0,0,0">
<!--<TextBlock FontSize="25">画笔颜色</TextBlock>-->
<Border Width="300" Height="100" BorderBrush="{DynamicResource IconForeground}"
BorderThickness="0" CornerRadius="5">
<Controls:UniformGrid Rows="2" Height="100">
<ikw:SimpleStackPanel Height="45"
Orientation="Horizontal" Width="270">
<Controls:UniformGrid Columns="5"
Width="270"
Margin="0">
<Border BorderBrush="{DynamicResource FloatBarBorderBrush}"
BorderThickness="1"
CornerRadius="100" Width="45"
MouseDown="Border_MouseDown"
MouseUp="ColorThemeSwitch_MouseUp">
<Grid Margin="3">
<Image
x:Name="BoardColorThemeSwitchIcon"
Source="/Resources/Icons-Fluent/ic_fluent_weather_sunny_24_regular.png"
RenderOptions.BitmapScalingMode="HighQuality"
VerticalAlignment="Top"
Width="23"
Height="23"
Margin="0,0,0,0" />
<TextBlock Margin="0,0,0,2"
x:Name="BoardColorThemeSwitchTextBlock"
Text="亮系"
Foreground="{DynamicResource FloatBarForeground}"
VerticalAlignment="Bottom"
HorizontalAlignment="Center"
FontSize="11" />
</Grid>
</Border>
<Border
x:Name="BoardBorderPenColorBlack"
Background="Black"
BorderBrush="#D3D3D3"
BorderThickness="1.5"
CornerRadius="100"
Width="45"
MouseUp="BtnColorBlack_Click">
<Viewbox
Name="BoardViewboxBtnColorBlackContent"
Visibility="Collapsed"
Margin="8">
<Image
Source="/Resources/new-icons/checked-white.png"
RenderOptions.BitmapScalingMode="HighQuality"
VerticalAlignment="Top"
Width="24"
Height="24"
Margin="0,0,0,0" />
</Viewbox>
</Border>
<Border
x:Name="BoardBorderPenColorWhite"
Background="White"
BorderBrush="#71717a"
BorderThickness="1.5"
CornerRadius="100"
Width="45"
MouseUp="BtnColorWhite_Click">
<Viewbox
x:Name="BoardViewboxBtnColorWhiteContent"
Visibility="Collapsed"
Margin="8">
<Image
Source="/Resources/new-icons/checked-black.png"
RenderOptions.BitmapScalingMode="HighQuality"
VerticalAlignment="Top"
Width="24"
Height="24"
Margin="0,0,0,0" />
</Viewbox>
</Border>
<Border x:Name="BoardBorderPenColorRed"
Background="#dc2626"
BorderBrush="#7f1d1d"
BorderThickness="1.5"
CornerRadius="100"
Width="45"
MouseUp="BtnColorRed_Click">
<Viewbox
Name="BoardViewboxBtnColorRedContent"
Visibility="Collapsed"
Margin="8">
<Image
Source="/Resources/new-icons/checked-white.png"
RenderOptions.BitmapScalingMode="HighQuality"
VerticalAlignment="Top"
Width="24"
Height="24"
Margin="0,0,0,0" />
</Viewbox>
</Border>
<Border
x:Name="BoardBorderPenColorYellow"
Background="#eab308"
BorderBrush="#713f12"
BorderThickness="1.5"
CornerRadius="100"
Width="45"
MouseUp="BtnColorYellow_Click">
<Viewbox
x:Name="BoardViewboxBtnColorYellowContent"
Visibility="Collapsed"
Margin="8">
<Image
Source="/Resources/new-icons/checked-white.png"
RenderOptions.BitmapScalingMode="HighQuality"
VerticalAlignment="Top"
Width="24"
Height="24"
Margin="0,0,0,0" />
</Viewbox>
</Border>
</Controls:UniformGrid>
</ikw:SimpleStackPanel>
<ikw:SimpleStackPanel Height="45"
Orientation="Horizontal" Width="270">
<Controls:UniformGrid Columns="5"
Width="270"
Margin="0">
<Border
x:Name="BoardBorderPenColorGreen"
Background="#16a34a"
BorderBrush="#14532d"
BorderThickness="1.5"
CornerRadius="100"
Width="45"
MouseUp="BtnColorGreen_Click">
<Viewbox
x:Name="BoardViewboxBtnColorGreenContent"
Visibility="Collapsed"
Margin="8">
<Image
Source="/Resources/new-icons/checked-white.png"
RenderOptions.BitmapScalingMode="HighQuality"
VerticalAlignment="Top"
Width="24"
Height="24"
Margin="0,0,0,0" />
</Viewbox>
</Border>
<Border
x:Name="BoardBorderPenColorBlue"
Background="#2563eb"
BorderBrush="#1e3a8a"
BorderThickness="1.5"
CornerRadius="100"
Width="45"
MouseUp="BtnColorBlue_Click">
<Viewbox
x:Name="BoardViewboxBtnColorBlueContent"
Visibility="Collapsed"
Margin="8">
<Image
Source="/Resources/new-icons/checked-white.png"
RenderOptions.BitmapScalingMode="HighQuality"
VerticalAlignment="Top"
Width="24"
Height="24"
Margin="0,0,0,0" />
</Viewbox>
</Border>
<Border
x:Name="BoardBorderPenColorPink"
Background="#db2777"
BorderBrush="#831843"
BorderThickness="1.5"
CornerRadius="100"
Width="45"
MouseUp="BtnColorPink_Click">
<Viewbox
x:Name="BoardViewboxBtnColorPinkContent"
Visibility="Collapsed"
Margin="8">
<Image
Source="/Resources/new-icons/checked-white.png"
RenderOptions.BitmapScalingMode="HighQuality"
VerticalAlignment="Top"
Width="24"
Height="24"
Margin="0,0,0,0" />
</Viewbox>
</Border>
<Border
x:Name="BoardBorderPenColorTeal"
Background="#0d9488"
BorderBrush="#134e4a"
BorderThickness="1.5"
CornerRadius="100"
Width="45"
MouseUp="BtnColorTeal_Click">
<Viewbox
x:Name="BoardViewboxBtnColorTealContent"
Visibility="Collapsed"
Margin="8">
<Image
Source="/Resources/new-icons/checked-white.png"
RenderOptions.BitmapScalingMode="HighQuality"
VerticalAlignment="Top"
Width="24"
Height="24"
Margin="0,0,0,0" />
</Viewbox>
</Border>
<Border
x:Name="BoardBorderPenColorOrange"
Background="#ea580c"
BorderBrush="#7c2d12"
BorderThickness="1.5"
CornerRadius="100"
Width="45"
MouseUp="BtnColorOrange_Click">
<Viewbox
x:Name="BoardViewboxBtnColorOrangeContent"
Visibility="Collapsed"
Margin="8">
<Image
Source="/Resources/new-icons/checked-white.png"
RenderOptions.BitmapScalingMode="HighQuality"
VerticalAlignment="Top"
Width="24"
Height="24"
Margin="0,0,0,0" />
</Viewbox>
</Border>
</Controls:UniformGrid>
</ikw:SimpleStackPanel>
</Controls:UniformGrid>
</Border>
</ikw:SimpleStackPanel>
</Viewbox>
<Viewbox x:Name="BoardHighlighterPenColorsPanel"
Visibility="Visible"
Margin="0,8,0,0" Stretch="Fill">
<ikw:SimpleStackPanel Width="300" Margin="0,0,0,0">
<!--<TextBlock FontSize="25">画笔颜色</TextBlock>-->
<Border Width="300" Height="110" BorderBrush="Black"
BorderThickness="0" CornerRadius="5">
<Controls:UniformGrid Rows="2" Height="110">
<ikw:SimpleStackPanel Height="45"
Orientation="Horizontal" Width="270">
<Controls:UniformGrid Columns="5"
Width="270"
Margin="0">
<Border
x:Name="BoardHighlighterPenColorBlack"
BorderBrush="#e4e4e7"
BorderThickness="1.5"
CornerRadius="100" Width="45"
MouseUp="BtnHighlighterColorBlack_Click">
<Canvas>
<Image
Source="/Resources/Icons-png/transparent-grid.png"
Width="42" Height="42">
<Image.Clip>
<EllipseGeometry
Center="21,21"
RadiusX="21"
RadiusY="21" />
</Image.Clip>
</Image>
<Border Background="Black"
Width="42"
Height="42"
CornerRadius="21"
Opacity="0.75" />
<Viewbox
Name="BoardHighlighterPenViewboxBtnColorBlackContent"
Visibility="Visible"
Canvas.Top="9"
Canvas.Left="9">
<Image
Source="/Resources/new-icons/checked-white.png"
RenderOptions.BitmapScalingMode="HighQuality"
VerticalAlignment="Top"
Width="24" Height="24"
Margin="0,0,0,0" />
</Viewbox>
</Canvas>
</Border>
<Border
x:Name="BoardHighlighterPenColorWhite"
Background="White"
BorderBrush="#dddddd"
BorderThickness="1.5"
CornerRadius="100"
Width="45"
MouseUp="BtnHighlighterColorWhite_Click">
<Canvas>
<Image
Source="/Resources/Icons-png/transparent-grid.png"
Width="42" Height="42">
<Image.Clip>
<EllipseGeometry
Center="21,21"
RadiusX="21"
RadiusY="21" />
</Image.Clip>
</Image>
<Border Background="White"
Width="42"
Height="42"
CornerRadius="21"
Opacity="0.75" />
<Viewbox
Name="BoardHighlighterPenViewboxBtnColorWhiteContent"
Visibility="Visible"
Canvas.Top="9"
Canvas.Left="9">
<Image
Source="/Resources/new-icons/checked-black.png"
RenderOptions.BitmapScalingMode="HighQuality"
VerticalAlignment="Top"
Width="24" Height="24"
Margin="0,0,0,0" />
</Viewbox>
</Canvas>
</Border>
<Border
x:Name="BoardHighlighterPenColorRed"
BorderBrush="#fecaca"
BorderThickness="1.5"
CornerRadius="100" Width="45"
MouseUp="BtnHighlighterColorRed_Click">
<Canvas>
<Image
Source="/Resources/Icons-png/transparent-grid.png"
Width="42" Height="42">
<Image.Clip>
<EllipseGeometry
Center="21,21"
RadiusX="21"
RadiusY="21" />
</Image.Clip>
</Image>
<Border Background="#ef4444"
Width="42"
Height="42"
CornerRadius="21"
Opacity="0.75" />
<Viewbox
Name="BoardHighlighterPenViewboxBtnColorRedContent"
Visibility="Visible"
Canvas.Top="9"
Canvas.Left="9">
<Image
Source="/Resources/new-icons/checked-white.png"
RenderOptions.BitmapScalingMode="HighQuality"
VerticalAlignment="Top"
Width="24" Height="24"
Margin="0,0,0,0" />
</Viewbox>
</Canvas>
</Border>
<Border
x:Name="BoardHighlighterPenColorYellow"
BorderBrush="#fef08a"
BorderThickness="1.5"
CornerRadius="100" Width="45"
MouseUp="BtnHighlighterColorYellow_Click">
<Canvas>
<Image
Source="/Resources/Icons-png/transparent-grid.png"
Width="42" Height="42">
<Image.Clip>
<EllipseGeometry
Center="21,21"
RadiusX="21"
RadiusY="21" />
</Image.Clip>
</Image>
<Border Background="#eab308"
Width="42"
Height="42"
CornerRadius="21"
Opacity="0.75" />
<Viewbox
Name="BoardHighlighterPenViewboxBtnColorYellowContent"
Visibility="Visible"
Canvas.Top="9"
Canvas.Left="9">
<Image
Source="/Resources/new-icons/checked-black.png"
RenderOptions.BitmapScalingMode="HighQuality"
VerticalAlignment="Top"
Width="24" Height="24"
Margin="0,0,0,0" />
</Viewbox>
</Canvas>
</Border>
<Border
x:Name="BoardHighlighterPenColorGreen"
BorderBrush="#bbf7d0"
BorderThickness="1.5"
CornerRadius="100" Width="45"
MouseUp="BtnHighlighterColorGreen_Click">
<Canvas>
<Image
Source="/Resources/Icons-png/transparent-grid.png"
Width="42" Height="42">
<Image.Clip>
<EllipseGeometry
Center="21,21"
RadiusX="21"
RadiusY="21" />
</Image.Clip>
</Image>
<Border Background="#22c55e"
Width="42"
Height="42"
CornerRadius="21"
Opacity="0.75" />
<Viewbox
Name="BoardHighlighterPenViewboxBtnColorGreenContent"
Visibility="Visible"
Canvas.Top="9"
Canvas.Left="9">
<Image
Source="/Resources/new-icons/checked-black.png"
RenderOptions.BitmapScalingMode="HighQuality"
VerticalAlignment="Top"
Width="24" Height="24"
Margin="0,0,0,0" />
</Viewbox>
</Canvas>
</Border>
</Controls:UniformGrid>
</ikw:SimpleStackPanel>
<ikw:SimpleStackPanel Height="45"
Orientation="Horizontal" Width="270">
<Controls:UniformGrid Columns="5"
Width="270"
Margin="0">
<Border
x:Name="BoardHighlighterPenColorZinc"
BorderBrush="#e4e4e7"
BorderThickness="1.5"
CornerRadius="100" Width="45"
MouseUp="BtnHighlighterColorZinc_Click">
<Canvas>
<Image
Source="/Resources/Icons-png/transparent-grid.png"
Width="42" Height="42">
<Image.Clip>
<EllipseGeometry
Center="21,21"
RadiusX="21"
RadiusY="21" />
</Image.Clip>
</Image>
<Border Background="#71717a"
Width="42"
Height="42"
CornerRadius="21"
Opacity="0.75" />
<Viewbox
Name="BoardHighlighterPenViewboxBtnColorZincContent"
Visibility="Visible"
Canvas.Top="9"
Canvas.Left="9">
<Image
Source="/Resources/new-icons/checked-white.png"
RenderOptions.BitmapScalingMode="HighQuality"
VerticalAlignment="Top"
Width="24" Height="24"
Margin="0,0,0,0" />
</Viewbox>
</Canvas>
</Border>
<Border
x:Name="BoardHighlighterPenColorBlue"
BorderBrush="#bfdbfe"
BorderThickness="1.5"
CornerRadius="100" Width="45"
MouseUp="BtnHighlighterColorBlue_Click">
<Canvas>
<Image
Source="/Resources/Icons-png/transparent-grid.png"
Width="42" Height="42">
<Image.Clip>
<EllipseGeometry
Center="21,21"
RadiusX="21"
RadiusY="21" />
</Image.Clip>
</Image>
<Border Background="#3b82f6"
Width="42"
Height="42"
CornerRadius="21"
Opacity="0.75" />
<Viewbox
Name="BoardHighlighterPenViewboxBtnColorBlueContent"
Visibility="Visible"
Canvas.Top="9"
Canvas.Left="9">
<Image
Source="/Resources/new-icons/checked-white.png"
RenderOptions.BitmapScalingMode="HighQuality"
VerticalAlignment="Top"
Width="24" Height="24"
Margin="0,0,0,0" />
</Viewbox>
</Canvas>
</Border>
<Border
x:Name="BoardHighlighterPenPenColorPurple"
BorderBrush="#e9d5ff"
BorderThickness="1.5"
CornerRadius="100" Width="45"
MouseUp="BtnHighlighterColorPurple_Click">
<Canvas>
<Image
Source="/Resources/Icons-png/transparent-grid.png"
Width="42" Height="42">
<Image.Clip>
<EllipseGeometry
Center="21,21"
RadiusX="21"
RadiusY="21" />
</Image.Clip>
</Image>
<Border Background="#a855f7"
Width="42"
Height="42"
CornerRadius="21"
Opacity="0.75" />
<Viewbox
Name="BoardHighlighterPenViewboxBtnColorPurpleContent"
Visibility="Visible"
Canvas.Top="9"
Canvas.Left="9">
<Image
Source="/Resources/new-icons/checked-white.png"
RenderOptions.BitmapScalingMode="HighQuality"
VerticalAlignment="Top"
Width="24" Height="24"
Margin="0,0,0,0" />
</Viewbox>
</Canvas>
</Border>
<Border
x:Name="BoardHighlighterPenColorTeal"
BorderBrush="#99f6e4"
BorderThickness="1.5"
CornerRadius="100" Width="45"
MouseUp="BtnHighlighterColorTeal_Click">
<Canvas>
<Image
Source="/Resources/Icons-png/transparent-grid.png"
Width="42" Height="42">
<Image.Clip>
<EllipseGeometry
Center="21,21"
RadiusX="21"
RadiusY="21" />
</Image.Clip>
</Image>
<Border Background="#14b8a6"
Width="42"
Height="42"
CornerRadius="21"
Opacity="0.75" />
<Viewbox
Name="BoardHighlighterPenViewboxBtnColorTealContent"
Visibility="Visible"
Canvas.Top="9"
Canvas.Left="9">
<Image
Source="/Resources/new-icons/checked-black.png"
RenderOptions.BitmapScalingMode="HighQuality"
VerticalAlignment="Top"
Width="24" Height="24"
Margin="0,0,0,0" />
</Viewbox>
</Canvas>
</Border>
<Border
x:Name="BoardHighlighterPenColorOrange"
BorderBrush="#fed7aa"
BorderThickness="1.5"
CornerRadius="100" Width="45"
MouseUp="BtnHighlighterColorOrange_Click">
<Canvas>
<Image
Source="/Resources/Icons-png/transparent-grid.png"
Width="42" Height="42">
<Image.Clip>
<EllipseGeometry
Center="21,21"
RadiusX="21"
RadiusY="21" />
</Image.Clip>
</Image>
<Border Background="#f97316"
Width="42"
Height="42"
CornerRadius="21"
Opacity="0.75" />
<Viewbox
Name="BoardHighlighterPenViewboxBtnColorOrangeContent"
Visibility="Visible"
Canvas.Top="9"
Canvas.Left="9">
<Image
Source="/Resources/new-icons/checked-white.png"
RenderOptions.BitmapScalingMode="HighQuality"
VerticalAlignment="Top"
Width="24" Height="24"
Margin="0,0,0,0" />
</Viewbox>
</Canvas>
</Border>
</Controls:UniformGrid>
</ikw:SimpleStackPanel>
</Controls:UniformGrid>
</Border>
</ikw:SimpleStackPanel>
</Viewbox>
</ikw:SimpleStackPanel>
</Border>
</Grid>
</Grid>
</Border>
<Border x:Name="BoardEraser" Width="60" Height="50" MouseDown="Border_MouseDown"
BorderThickness="0,1,1,1" BorderBrush="{DynamicResource BoardFloatBarBorderBrush}"
MouseUp="BoardEraserIcon_Click" Background="{DynamicResource BoardFloatBarBackground}" Opacity="1">
<Grid Margin="6,6,6,4">
<Image VerticalAlignment="Top"
RenderOptions.BitmapScalingMode="HighQuality" Height="20" Width="20">
<Image.Source>
<DrawingImage>
<DrawingImage.Drawing>
<DrawingGroup ClipGeometry="M0,0 V24 H24 V0 H0 Z">
<GeometryDrawing x:Name="BoardEraserGeometry"
Brush="{DynamicResource IconForeground}"
Geometry="F1 M24,24z M0,0z M15.6314,20.7262L22.7921,13.5655C24.3494,12.141,24.2819,9.81776,22.8105,8.34633L16.7793,2.31508C15.3547,0.757753,13.0315,0.825236,11.5601,2.29666L4.38099,9.47574 15.6314,20.7262z M14.2172,22.1404L2.96677,10.89 1.20761,12.6491C-0.34971,14.0737,-0.281711,16.3974,1.18971,17.8688L6.15089,22.83 13.5276,22.83 14.2172,22.1404z" />
</DrawingGroup>
</DrawingImage.Drawing>
</DrawingImage>
</Image.Source>
</Image>
<TextBlock Text="{i18n:I18n Key=Board_Eraser}" Foreground="{DynamicResource FloatBarForeground}" VerticalAlignment="Bottom"
Name="BoardEraserLabel"
HorizontalAlignment="Center" FontSize="12" />
</Grid>
</Border>
<Border>
<Grid RenderTransformOrigin="0,1" Margin="-133,-172,13,55">
<Grid.RenderTransform>
<TransformGroup>
<ScaleTransform ScaleX="1.5" ScaleY="1.5" />
<SkewTransform />
<RotateTransform />
<TranslateTransform />
</TransformGroup>
</Grid.RenderTransform>
<Border Visibility="Visible" ClipToBounds="True"
Name="BoardEraserSizePanel"
CornerRadius="5" Background="{DynamicResource FloatBarBackground}"
Opacity="1"
BorderBrush="#2563eb" BorderThickness="1">
<ikw:SimpleStackPanel Margin="0">
<Border BorderBrush="#1e3a8a" BorderThickness="0,0,0,1"
CornerRadius="6,6,0,0"
Background="#2563eb" Margin="-1,-1,-1,1">
<Canvas Height="24" ClipToBounds="True">
<TextBlock Text="{i18n:I18n Key=FloatingBar_GesturePanelTitle}" Canvas.Left="8" Foreground="White"
Padding="0,5"
FontSize="11" FontWeight="Bold"
TextAlignment="Center" />
<Image Margin="100,4,0,0"
Source="/Resources/new-icons/close-white.png"
RenderOptions.BitmapScalingMode="HighQuality"
Height="16"
Width="16" MouseDown="Border_MouseDown"
MouseUp="CloseBordertools_MouseUp" />
</Canvas>
</Border>
<ikw:SimpleStackPanel Orientation="Horizontal" Margin="0,6,0,0"
Spacing="-2"
VerticalAlignment="Center"
HorizontalAlignment="Center">
<Label Margin="0,0,0,0" Content="{i18n:I18n Key=Board_Size}" FontWeight="Bold"
Foreground="{DynamicResource FloatBarForeground}"
FontSize="10"
VerticalAlignment="Center" />
<Viewbox Margin="8,0,0,0" Height="20" Width="52">
<ComboBox Name="BoardComboBoxEraserSize"
FontFamily="Microsoft YaHei UI" SelectedIndex="2"
SelectionChanged="ComboBoxEraserSizeFloatingBar_SelectionChanged">
<ComboBoxItem Content="{i18n:I18n Key=Canvas_EraserSize_VerySmall}"
FontFamily="Microsoft YaHei UI" />
<ComboBoxItem Content="{i18n:I18n Key=Canvas_EraserSize_Small}"
FontFamily="Microsoft YaHei UI" />
<ComboBoxItem Content="{i18n:I18n Key=Canvas_EraserSize_Medium}"
FontFamily="Microsoft YaHei UI" />
<ComboBoxItem Content="{i18n:I18n Key=Canvas_EraserSize_Large}"
FontFamily="Microsoft YaHei UI" />
<ComboBoxItem Content="{i18n:I18n Key=Canvas_EraserSize_VeryLarge}"
FontFamily="Microsoft YaHei UI" />
</ComboBox>
</Viewbox>
</ikw:SimpleStackPanel>
<TextBlock HorizontalAlignment="Center" Margin="0,8,0,6"
Text="{i18n:I18n Key=Board_EraserShape}"
FontWeight="Bold"
Foreground="{DynamicResource FloatBarForeground}"
FontSize="10" VerticalAlignment="Center" />
<ikw:SimpleStackPanel Orientation="Horizontal"
HorizontalAlignment="Center"
Margin="0,0,0,0" Spacing="4">
<Border x:Name="BoardCircleEraserTabButton"
MouseDown="SwitchToCircleEraser"
Background="{DynamicResource BoardFloatBarButtonBackgroundPointerOverKey}" Height="20" Width="40"
CornerRadius="3">
<Canvas>
<ikw:SimpleStackPanel
x:Name="BoardCircleEraserTabButtonIndicator"
Visibility="Visible" Orientation="Horizontal"
Canvas.Left="11" Canvas.Right="11"
Canvas.Bottom="0">
<Border Width="18" Height="2" Background="{DynamicResource BoardFloatBarButtonButtonBackgroundPressedKey}"
CornerRadius="1" />
</ikw:SimpleStackPanel>
<ikw:SimpleStackPanel Orientation="Vertical" Height="20"
Width="40">
<ikw:SimpleStackPanel VerticalAlignment="Center"
Orientation="Horizontal"
HorizontalAlignment="Center" Margin="0,3">
<TextBlock
x:Name="BoardCircleEraserTabButtonText"
Foreground="{DynamicResource FloatBarForeground}" FontWeight="Medium"
FontSize="9" TextAlignment="Center"
Text="{i18n:I18n Key=Board_EraserShape_Circle}" />
</ikw:SimpleStackPanel>
</ikw:SimpleStackPanel>
</Canvas>
</Border>
<Border x:Name="BoardRectangleEraserTabButton"
MouseDown="SwitchToRectangleEraser"
Background="{DynamicResource BoardFloatBarButtonBackgroundKey}"
Height="20" Width="40" CornerRadius="3">
<Canvas>
<ikw:SimpleStackPanel Visibility="Collapsed"
x:Name="BoardRectangleEraserTabButtonIndicator"
Orientation="Horizontal" Canvas.Left="11"
Canvas.Right="11" Canvas.Bottom="0">
<Border Width="18" Height="2" Background="{DynamicResource BoardFloatBarButtonButtonBackgroundPressedKey}"
CornerRadius="1" />
</ikw:SimpleStackPanel>
<ikw:SimpleStackPanel Orientation="Vertical" Height="20"
Width="40">
<ikw:SimpleStackPanel VerticalAlignment="Center"
Orientation="Horizontal"
HorizontalAlignment="Center" Margin="0,3">
<TextBlock
x:Name="BoardRectangleEraserTabButtonText"
Foreground="{DynamicResource FloatBarForeground}" FontWeight="Medium"
FontSize="9" TextAlignment="Center"
Text="{i18n:I18n Key=Board_EraserShape_Blackboard}" />
</ikw:SimpleStackPanel>
</ikw:SimpleStackPanel>
</Canvas>
</Border>
</ikw:SimpleStackPanel>
<Button Click="BoardSymbolIconDelete_MouseUp" Foreground="White"
HorizontalAlignment="Center" Margin="0,6,0,0">
<Button.Resources>
<SolidColorBrush
x:Key="{x:Static ui:ThemeKeys.ButtonBackgroundKey}"
Color="#b91c1c" />
<SolidColorBrush
x:Key="{x:Static ui:ThemeKeys.ButtonBackgroundPointerOverKey}"
Color="#b91c1c" />
<SolidColorBrush
x:Key="{x:Static ui:ThemeKeys.ButtonBackgroundPressedKey}"
Color="#991b1b" />
</Button.Resources>
<Button.Content>
<ikw:SimpleStackPanel Orientation="Horizontal" Spacing="4">
<Image RenderOptions.BitmapScalingMode="HighQuality"
Height="15">
<Image.Source>
<DrawingImage>
<DrawingImage.Drawing>
<DrawingGroup
ClipGeometry="M0,0 V24 H24 V0 H0 Z">
<GeometryDrawing Brush="White"
Geometry="F0 M24,24z M0,0z M10.1573,10.0421C10.7298,10.0421,11.1938,10.5062,11.1938,11.0787L11.1938,16.6067C11.1938,17.1792 10.7298,17.6433 10.1573,17.6433 9.58485,17.6433 9.12079,17.1792 9.12079,16.6067L9.12079,11.0787C9.12079,10.5062,9.58485,10.0421,10.1573,10.0421z M13.8427,10.0421C14.4151,10.0421,14.8792,10.5062,14.8792,11.0787L14.8792,16.6067C14.8792,17.1792 14.4151,17.6433 13.8427,17.6433 13.2702,17.6433 12.8062,17.1792 12.8062,16.6067L12.8062,11.0787C12.8062,10.5062,13.2702,10.0421,13.8427,10.0421z M3.70787,5.43539C3.13541,5.43539 2.67135,5.89946 2.67135,6.47191 2.67135,7.04436 3.13541,7.50843 3.70787,7.50843L4.51405,7.50843 4.51405,19.3708C4.51405,20.1686 4.9025,20.8796 5.39348,21.3706 5.88445,21.8615 6.59548,22.25 7.39326,22.25L16.6067,22.25C17.4045,22.25 18.1155,21.8615 18.6065,21.3706 19.0975,20.8796 19.486,20.1686 19.486,19.3708L19.486,7.50843 20.2921,7.50843C20.8646,7.50843 21.3287,7.04436 21.3287,6.47191 21.3287,5.89946 20.8646,5.43539 20.2921,5.43539L16.7219,5.43539 16.7219,4.62921C16.7219,3.83143 16.3335,3.12041 15.8425,2.62943 15.3515,2.13845 14.6405,1.75 13.8427,1.75L10.1573,1.75C9.35952,1.75 8.6485,2.13845 8.15752,2.62943 7.66654,3.12041 7.27809,3.83143 7.27809,4.62921L7.27809,5.43539 3.70787,5.43539z M6.58708,19.3708C6.58708,19.4944 6.6593,19.7047 6.85933,19.9047 7.05937,20.1047 7.26969,20.177 7.39326,20.177L16.6067,20.177C16.7303,20.177 16.9406,20.1047 17.1407,19.9047 17.3407,19.7047 17.4129,19.4944 17.4129,19.3708L17.4129,7.50843 6.58708,7.50843 6.58708,19.3708z M9.62338,4.09529C9.42334,4.29532,9.35112,4.50565,9.35112,4.62921L9.35112,5.43539 14.6489,5.43539 14.6489,4.62921C14.6489,4.50565 14.5767,4.29532 14.3766,4.09529 14.1766,3.89525 13.9663,3.82303 13.8427,3.82303L10.1573,3.82303C10.0337,3.82303,9.82341,3.89525,9.62338,4.09529z" />
</DrawingGroup>
</DrawingImage.Drawing>
</DrawingImage>
</Image.Source>
</Image>
<TextBlock FontSize="11" VerticalAlignment="Center"
Foreground="White" FontWeight="Bold"
Text="{i18n:I18n Key=Board_ClearInk}" />
</ikw:SimpleStackPanel>
</Button.Content>
</Button>
<Button Click="BoardSymbolIconDeleteInkAndHistories_MouseUp"
Foreground="White" HorizontalAlignment="Center"
Margin="0,4,0,0">
<Button.Resources>
<SolidColorBrush
x:Key="{x:Static ui:ThemeKeys.ButtonBackgroundKey}"
Color="#b91c1c" />
<SolidColorBrush
x:Key="{x:Static ui:ThemeKeys.ButtonBackgroundPointerOverKey}"
Color="#b91c1c" />
<SolidColorBrush
x:Key="{x:Static ui:ThemeKeys.ButtonBackgroundPressedKey}"
Color="#991b1b" />
</Button.Resources>
<Button.Content>
<ikw:SimpleStackPanel Orientation="Horizontal" Spacing="4"
Margin="-4,-1">
<Image RenderOptions.BitmapScalingMode="HighQuality"
Height="12">
<Image.Source>
<DrawingImage>
<DrawingImage.Drawing>
<DrawingGroup
ClipGeometry="M0,0 V24 H24 V0 H0 Z">
<GeometryDrawing Brush="White"
Geometry="F0 M24,24z M0,0z M10.1573,10.0421C10.7298,10.0421,11.1938,10.5062,11.1938,11.0787L11.1938,16.6067C11.1938,17.1792 10.7298,17.6433 10.1573,17.6433 9.58485,17.6433 9.12079,17.1792 9.12079,16.6067L9.12079,11.0787C9.12079,10.5062,9.58485,10.0421,10.1573,10.0421z M13.8427,10.0421C14.4151,10.0421,14.8792,10.5062,14.8792,11.0787L14.8792,16.6067C14.8792,17.1792 14.4151,17.6433 13.8427,17.6433 13.2702,17.6433 12.8062,17.1792 12.8062,16.6067L12.8062,11.0787C12.8062,10.5062,13.2702,10.0421,13.8427,10.0421z M3.70787,5.43539C3.13541,5.43539 2.67135,5.89946 2.67135,6.47191 2.67135,7.04436 3.13541,7.50843 3.70787,7.50843L4.51405,7.50843 4.51405,19.3708C4.51405,20.1686 4.9025,20.8796 5.39348,21.3706 5.88445,21.8615 6.59548,22.25 7.39326,22.25L16.6067,22.25C17.4045,22.25 18.1155,21.8615 18.6065,21.3706 19.0975,20.8796 19.486,20.1686 19.486,19.3708L19.486,7.50843 20.2921,7.50843C20.8646,7.50843 21.3287,7.04436 21.3287,6.47191 21.3287,5.89946 20.8646,5.43539 20.2921,5.43539L16.7219,5.43539 16.7219,4.62921C16.7219,3.83143 16.3335,3.12041 15.8425,2.62943 15.3515,2.13845 14.6405,1.75 13.8427,1.75L10.1573,1.75C9.35952,1.75 8.6485,2.13845 8.15752,2.62943 7.66654,3.12041 7.27809,3.83143 7.27809,4.62921L7.27809,5.43539 3.70787,5.43539z M6.58708,19.3708C6.58708,19.4944 6.6593,19.7047 6.85933,19.9047 7.05937,20.1047 7.26969,20.177 7.39326,20.177L16.6067,20.177C16.7303,20.177 16.9406,20.1047 17.1407,19.9047 17.3407,19.7047 17.4129,19.4944 17.4129,19.3708L17.4129,7.50843 6.58708,7.50843 6.58708,19.3708z M9.62338,4.09529C9.42334,4.29532,9.35112,4.50565,9.35112,4.62921L9.35112,5.43539 14.6489,5.43539 14.6489,4.62921C14.6489,4.50565 14.5767,4.29532 14.3766,4.09529 14.1766,3.89525 13.9663,3.82303 13.8427,3.82303L10.1573,3.82303C10.0337,3.82303,9.82341,3.89525,9.62338,4.09529z" />
</DrawingGroup>
</DrawingImage.Drawing>
</DrawingImage>
</Image.Source>
</Image>
<TextBlock FontSize="9" VerticalAlignment="Center"
Foreground="White"
Text="{i18n:I18n Key=Board_ClearInkAndHistory}" />
</ikw:SimpleStackPanel>
</Button.Content>
</Button>
</ikw:SimpleStackPanel>
</Border>
</Grid>
</Border>
<Border x:Name="BoardEraserByStrokes" Width="60" Height="55"
MouseDown="Border_MouseDown"
Visibility="Collapsed"
MouseUp="BoardEraserIconByStrokes_Click" Background="{DynamicResource BoardFloatBarBackground}"
Opacity="1">
<Grid Margin="6,6,6,4">
<Image VerticalAlignment="Top"
Source="/Resources/Icons-png/eraser-line.png"
RenderOptions.BitmapScalingMode="HighQuality" Height="28" Width="28" />
<TextBlock Text="{i18n:I18n Key=Board_StrokeEraser}" Foreground="{DynamicResource FloatBarForeground}" VerticalAlignment="Bottom"
HorizontalAlignment="Center" FontSize="12" />
</Grid>
</Border>
<Border x:Name="BoardGeometry" Width="60" Height="50" MouseDown="Border_MouseDown"
BorderThickness="0,1,1,1" BorderBrush="{DynamicResource BoardFloatBarBorderBrush}"
MouseUp="ImageDrawShape_MouseUp" Background="{DynamicResource BoardFloatBarBackground}" Opacity="1">
<Grid Margin="6,6,6,4">
<Image VerticalAlignment="Top"
RenderOptions.BitmapScalingMode="HighQuality" Height="20" Width="20">
<Image.Source>
<DrawingImage>
<DrawingImage.Drawing>
<DrawingGroup ClipGeometry="M0,0 V24 H24 V0 H0 Z">
<GeometryDrawing Brush="{DynamicResource IconForeground}"
Geometry="F1 M24,24z M0,0z M17.8604,10.7597L12.0068,1.17001 6.13961,10.7597 17.8604,10.7597z" />
<GeometryDrawing Brush="{DynamicResource IconForeground}"
Geometry="F1 M24,24z M0,0z M10.9345,13.2403L1.34476,13.2403 1.34476,22.83 10.9345,22.83 10.9345,13.2403z" />
<GeometryDrawing Brush="{DynamicResource IconForeground}"
Geometry="F1 M24,24z M0,0z M17.8604,13.2403C15.2122,13.2403 13.0655,15.387 13.0655,18.0352 13.0655,20.6833 15.2122,22.83 17.8604,22.83 20.5085,22.83 22.6552,20.6833 22.6552,18.0352 22.6552,15.387 20.5085,13.2403 17.8604,13.2403z" />
</DrawingGroup>
</DrawingImage.Drawing>
</DrawingImage>
</Image.Source>
</Image>
<TextBlock Text="{i18n:I18n Key=Board_Shape}" Foreground="{DynamicResource FloatBarForeground}" VerticalAlignment="Bottom"
HorizontalAlignment="Center" FontSize="12" />
</Grid>
</Border>
<Border Width="0">
<Border x:Name="BoardBorderDrawShape" Visibility="Visible"
Background="{DynamicResource FloatBarBackground}"
Opacity="1" BorderBrush="{DynamicResource FloatBarBorderBrush}" BorderThickness="1" CornerRadius="5"
Margin="-147,-286,-89,55">
<Viewbox>
<ikw:SimpleStackPanel Spacing="-8" Orientation="Vertical">
<TextBlock FontSize="16"
Foreground="{DynamicResource FloatBarForeground}"
HorizontalAlignment="Left" Margin="10,8">
<Run Text="{i18n:I18n Key=Board_Shape}" />
<Run Text="{i18n:I18n Key=Board_ShapeHintLongPress}" FontSize="10" />
</TextBlock>
<ui:FontIcon Margin="0,-20,8,15" Icon="{x:Static ui:SegoeFluentIcons.Pin}"
MouseDown="Border_MouseDown"
MouseUp="SymbolIconPinBorderDrawShape_MouseUp"
Foreground="{DynamicResource FloatBarForeground}"
HorizontalAlignment="Right" />
<ikw:SimpleStackPanel Margin="20,0,0,0" Orientation="Horizontal">
<ikw:SimpleStackPanel Visibility="Collapsed" Margin="58,6,5,6"
Width="54">
<Label Margin="0,0,0,-2" Content="{i18n:I18n Key=Board_AutoHide}"
Foreground="{DynamicResource FloatBarForeground}"
FontSize="13"
VerticalAlignment="Center" />
<Viewbox Height="25">
<ui:ToggleSwitch
Name="ToggleSwitchDrawShapeBorderAutoHide"
Foreground="{DynamicResource FloatBarForeground}"
FontFamily="Microsoft YaHei UI" Width="70"
IsOn="True" />
</Viewbox>
</ikw:SimpleStackPanel>
</ikw:SimpleStackPanel>
<ikw:SimpleStackPanel Height="50" Spacing="14"
Orientation="Horizontal">
<Image Name="ImageDrawLine" Margin="16,12,0,12"
MouseDown="Image_MouseDown"
MouseUp="BtnDrawLine_Click"
Source="{DynamicResource DrawShapeImageSource.Line}" />
<Image Name="ImageDrawDashedLine" Margin="0,12,0,12"
MouseDown="Image_MouseDown"
MouseUp="BtnDrawDashedLine_Click"
Source="{DynamicResource DrawShapeImageSource.DashedLine}" />
<Image Name="ImageDrawDotLine" Margin="0,12,0,12"
MouseDown="Image_MouseDown"
MouseUp="BtnDrawDotLine_Click"
Source="{DynamicResource DrawShapeImageSource.DotLine}" />
<Image Name="ImageDrawArrow" Margin="0,12,0,12"
MouseDown="Image_MouseDown"
MouseUp="BtnDrawArrow_Click"
Source="{DynamicResource DrawShapeImageSource.ArrowLine}" />
<Image Name="ImageDrawParallelLine" Margin="0,11.5,16,11.5"
MouseDown="Image_MouseDown"
MouseUp="BtnDrawParallelLine_Click"
Source="{DynamicResource DrawShapeImageSource.ParallelLine}" />
</ikw:SimpleStackPanel>
<ikw:SimpleStackPanel Height="50" Spacing="15"
Orientation="Horizontal">
<Image Margin="16,12,0,12" MouseUp="BtnDrawCoordinate1_Click"
Source="{DynamicResource DrawShapeImageSource.Coordinate1}" />
<Image Margin="0,12" MouseUp="BtnDrawCoordinate2_Click"
Source="{DynamicResource DrawShapeImageSource.Coordinate2}" />
<Image Margin="0,12" MouseUp="BtnDrawCoordinate3_Click"
Source="{DynamicResource DrawShapeImageSource.Coordinate3}" />
<Image Margin="0,12" MouseUp="BtnDrawCoordinate4_Click"
Source="{DynamicResource DrawShapeImageSource.Coordinate4}" />
<Image Margin="-1,11.5" MouseUp="BtnDrawCoordinate5_Click"
Source="{DynamicResource DrawShapeImageSource.Coordinate5}" />
</ikw:SimpleStackPanel>
<ikw:SimpleStackPanel Height="50" Spacing="10"
Orientation="Horizontal">
<Image Margin="16,11,2,11"
MouseUp="BtnDrawRectangleCenter_Click"
Source="{DynamicResource DrawShapeImageSource.RectangleCenter}" />
<Image Visibility="Collapsed" Margin="0,10"
MouseUp="BtnDrawEllipse_Click"
Source="{DynamicResource DrawShapeImageSource.Ellipse}" />
<Image Margin="0,10" MouseUp="BtnDrawCircle_Click"
Source="{DynamicResource DrawShapeImageSource.Circle}" />
<Image Margin="0,10" MouseUp="BtnDrawDashedCircle_Click"
Source="{DynamicResource DrawShapeImageSource.DashedCircle}" />
<Image Margin="0,10" MouseUp="BtnDrawCenterEllipse_Click"
Source="{DynamicResource DrawShapeImageSource.EllipseCenter}"
Width="30" />
<Image Margin="0,10"
MouseUp="BtnDrawCenterEllipseWithFocalPoint_Click"
Source="{DynamicResource DrawShapeImageSource.EllipseCenterWithFocalPoint}"
Width="30" />
</ikw:SimpleStackPanel>
<ikw:SimpleStackPanel Height="50" Spacing="10"
Orientation="Horizontal">
<Image Margin="16,10,2,10" MouseUp="BtnDrawHyperbola_Click"
Width="26"
Source="{DynamicResource DrawShapeImageSource.Hyperbola}" />
<Image Margin="4,10,2,10"
MouseUp="BtnDrawHyperbolaWithFocalPoint_Click"
Width="26"
Source="{DynamicResource DrawShapeImageSource.HyperbolaWithFocalPoint}" />
<Image Margin="2.5,10,2,10" MouseUp="BtnDrawParabola1_Click"
Width="26"
Source="{DynamicResource DrawShapeImageSource.Parabola}" />
<Image Margin="1,10,2,10"
MouseUp="BtnDrawParabolaWithFocalPoint_Click"
Width="26"
Source="{DynamicResource DrawShapeImageSource.ParabolaWithFocalPoint}"
RenderTransformOrigin="0.5,0.5">
<Image.RenderTransform>
<TransformGroup>
<ScaleTransform />
<SkewTransform />
<RotateTransform Angle="90" />
<TranslateTransform />
</TransformGroup>
</Image.RenderTransform>
</Image>
<Image Margin="2,10,2,10" MouseUp="BtnDrawParabola2_Click"
Width="26"
Source="{DynamicResource DrawShapeImageSource.Parabola}"
RenderTransformOrigin="0.5,0.5">
<Image.RenderTransform>
<TransformGroup>
<ScaleTransform />
<SkewTransform />
<RotateTransform Angle="90"/>
<TranslateTransform />
</TransformGroup>
</Image.RenderTransform>
</Image>
</ikw:SimpleStackPanel>
<ikw:SimpleStackPanel Height="50" Spacing="10"
Orientation="Horizontal">
<Image Margin="15,11,2,11" MouseUp="BtnDrawRectangle_Click"
Source="{DynamicResource DrawShapeImageSource.Rectangle}" />
<Image Margin="6,10,2,10" MouseUp="BtnDrawCylinder_Click"
Source="{DynamicResource DrawShapeImageSource.Cylinder}" />
<Image Margin="8,12.5,0,10" MouseUp="BtnDrawCone_Click"
Source="{DynamicResource DrawShapeImageSource.Cone}" />
<Image Margin="5.5,12.5,2.5,10" MouseUp="BtnDrawCuboid_Click"
Source="{DynamicResource DrawShapeImageSource.Cuboid}" />
<Image Visibility="Collapsed" Margin="0,11.5,2.5,9.5"
MouseUp="BtnDrawCuboid_Click"
Source="{DynamicResource DrawShapeImageSource.Tetrahedron}" />
</ikw:SimpleStackPanel>
</ikw:SimpleStackPanel>
</Viewbox>
</Border>
</Border>
<Border x:Name="BoardInsertImage" Width="60" Height="50" MouseDown="Border_MouseDown"
BorderThickness="0,1,0,1" BorderBrush="{DynamicResource BoardFloatBarBorderBrush}"
MouseUp="InsertImageOptions_MouseUp" Background="{DynamicResource BoardFloatBarBackground}" Opacity="1">
<Grid Margin="6,6,6,4">
<Image VerticalAlignment="Top"
RenderOptions.BitmapScalingMode="HighQuality" Height="20" Width="20">
<Image.Source>
<DrawingImage>
<DrawingImage.Drawing>
<DrawingGroup ClipGeometry="M0,0 V24 H24 V0 H0 Z">
<GeometryDrawing Brush="{DynamicResource IconForeground}"
Geometry="F1 M24,24z M0,0z M19,3H5C3.9,3 3,3.9 3,5v14c0,1.1 0.9,2 2,2h14c1.1,0 2-0.9 2-2V5C21,3.9 20.1,3 19,3zM19,19H5V5h14V19z M17,7c-1.1,0-2,0.9-2,2s0.9,2 2,2 2-0.9 2-2S18.1,7 17,7zM7,17l2.5-3.01 1.96,2.36 2.54-3.21L17,17H7z"/>
</DrawingGroup>
</DrawingImage.Drawing>
</DrawingImage>
</Image.Source>
</Image>
<TextBlock Text="{i18n:I18n Key=Board_InsertImage}" Foreground="{DynamicResource FloatBarForeground}" VerticalAlignment="Bottom"
HorizontalAlignment="Center" FontSize="12" />
</Grid>
</Border>
<Border>
<!-- Image Insertion Options Panel -->
<Grid RenderTransformOrigin="0,1" Margin="-110,-92,13,55">
<Grid.RenderTransform>
<TransformGroup>
<ScaleTransform ScaleX="1.5" ScaleY="1.5" />
<SkewTransform />
<RotateTransform />
<TranslateTransform />
</TransformGroup>
</Grid.RenderTransform>
<Border Name="BoardImageOptionsPanel" Visibility="Visible" ClipToBounds="True" CornerRadius="5" Background="{DynamicResource FloatBarBackground}" Opacity="1" BorderThickness="1" BorderBrush="#2563eb">
<ikw:SimpleStackPanel Margin="0">
<Border BorderBrush="#1e3a8a" BorderThickness="0,0,0,1" Margin="-1,-1,-1,1" CornerRadius="6,6,0,0" Background="#2563eb">
<Canvas Height="24" ClipToBounds="True">
<TextBlock Text="{i18n:I18n Key=Board_SelectImage}" Foreground="White" Padding="0,5" FontSize="11" FontWeight="Bold" Canvas.Left="8" TextAlignment="Center" />
<Image Margin="77,4,0,0" Source="/Resources/new-icons/close-white.png" RenderOptions.BitmapScalingMode="HighQuality" Height="16" Width="16" MouseDown="Border_MouseDown" MouseUp="CloseImageOptionsPanel_MouseUp" />
</Canvas>
</Border>
<ikw:SimpleStackPanel Margin="6,4,6,4" Spacing="2">
<!-- Screenshot Option -->
<Border MouseDown="Border_MouseDown" MouseUp="ImageOptionScreenshot_MouseUp"
Background="Transparent" CornerRadius="3" Padding="6,4">
<Border.Style>
<Style TargetType="Border">
<Setter Property="Background" Value="Transparent"/>
<Style.Triggers>
<Trigger Property="IsMouseOver" Value="True">
<Setter Property="Background" Value="#f0f9ff"/>
</Trigger>
</Style.Triggers>
</Style>
</Border.Style>
<ikw:SimpleStackPanel Orientation="Horizontal" Spacing="6">
<Image Height="16" Width="16">
<Image.Source>
<DrawingImage>
<DrawingImage.Drawing>
<DrawingGroup ClipGeometry="M0,0 V24 H24 V0 H0 Z">
<GeometryDrawing Brush="#2563eb"
Geometry="F0 M24,24z M0,0z M9,3C8.46957,3 7.96086,3.21071 7.58579,3.58579 7.21071,3.96086 7,4.46957 7,5 7,5.26522 6.89464,5.51957 6.70711,5.70711 6.51957,5.89464 6.26522,6 6,6L5,6C4.20435,6 3.44129,6.31607 2.87868,6.87868 2.31607,7.44129 2,8.20435 2,9L2,18C2,18.7956 2.31607,19.5587 2.87868,20.1213 3.44129,20.6839 4.20435,21 5,21L19,21C19.7957,21 20.5587,20.6839 21.1213,20.1213 21.6839,19.5587 22,18.7957 22,18L22,9C22,8.20435 21.6839,7.44129 21.1213,6.87868 20.5587,6.31607 19.7957,6 19,6L18,6C17.7348,6 17.4804,5.89464 17.2929,5.70711 17.1054,5.51957 17,5.26522 17,5 17,4.46957 16.7893,3.96086 16.4142,3.58579 16.0391,3.21071 15.5304,3 15,3L9,3z M9,5L15,5C15,5.79565 15.3161,6.55871 15.8787,7.12132 16.4413,7.68393 17.2044,8 18,8L19,8C19.2652,8 19.5196,8.10536 19.7071,8.29289 19.8946,8.48043 20,8.73478 20,9L20,18C20,18.2652 19.8946,18.5196 19.7071,18.7071 19.5196,18.8946 19.2652,19 19,19L5,19C4.73478,19 4.48043,18.8946 4.29289,18.7071 4.10536,18.5196 4,18.2652 4,18L4,9C4,8.73478 4.10536,8.48043 4.29289,8.29289 4.48043,8.10536 4.73478,8 5,8L6,8C6.79565,8 7.55871,7.68393 8.12132,7.12132 8.68393,6.55871 9,5.79565 9,5z M12,9C10.9391,9 9.92172,9.42143 9.17157,10.1716 8.42143,10.9217 8,11.9391 8,13 8,14.0609 8.42143,15.0783 9.17157,15.8284 9.92172,16.5786 10.9391,17 12,17 13.0609,17 14.0783,16.5786 14.8284,15.8284 15.5786,15.0783 16,14.0609 16,13 16,11.9391 15.5786,10.9217 14.8284,10.1716 14.0783,9.42143 13.0609,9 12,9z M10.5858,11.5858C10.9609,11.2107 11.4696,11 12,11 12.5304,11 13.0391,11.2107 13.4142,11.5858 13.7893,11.9609 14,12.4696 14,13 14,13.5304 13.7893,14.0391 13.4142,14.4142 13.0391,14.7893 12.5304,15 12,15 11.4696,15 10.9609,14.7893 10.5858,14.4142 10.2107,14.0391 10,13.5304 10,13 10,12.4696 10.2107,11.9609 10.5858,11.5858z" />
</DrawingGroup>
</DrawingImage.Drawing>
</DrawingImage>
</Image.Source>
</Image>
<TextBlock Text="{i18n:I18n Key=Board_Screenshot}" FontSize="10"
Foreground="{DynamicResource TextForeground}" VerticalAlignment="Center"/>
</ikw:SimpleStackPanel>
</Border>
<!-- Select Image Option -->
<Border MouseDown="Border_MouseDown" MouseUp="ImageOptionSelectFile_MouseUp"
Background="Transparent" CornerRadius="3" Padding="6,4">
<Border.Style>
<Style TargetType="Border">
<Setter Property="Background" Value="Transparent"/>
<Style.Triggers>
<Trigger Property="IsMouseOver" Value="True">
<Setter Property="Background" Value="#f0f9ff"/>
</Trigger>
</Style.Triggers>
</Style>
</Border.Style>
<ikw:SimpleStackPanel Orientation="Horizontal" Spacing="6">
<Image Height="16" Width="16">
<Image.Source>
<DrawingImage>
<DrawingImage.Drawing>
<DrawingGroup ClipGeometry="M0,0 V24 H24 V0 H0 Z">
<GeometryDrawing Brush="#2563eb"
Geometry="F1 M24,24z M0,0z M19,3H5C3.9,3 3,3.9 3,5v14c0,1.1 0.9,2 2,2h14c1.1,0 2-0.9 2-2V5C21,3.9 20.1,3 19,3zM19,19H5V5h14V19z M17,7c-1.1,0-2,0.9-2,2s0.9,2 2,2 2-0.9 2-2S18.1,7 17,7zM7,17l2.5-3.01 1.96,2.36 2.54-3.21L17,17H7z"/>
</DrawingGroup>
</DrawingImage.Drawing>
</DrawingImage>
</Image.Source>
</Image>
<TextBlock Text="{i18n:I18n Key=Board_SelectImage}" FontSize="10"
Foreground="{DynamicResource TextForeground}" VerticalAlignment="Center"/>
</ikw:SimpleStackPanel>
</Border>
</ikw:SimpleStackPanel>
</ikw:SimpleStackPanel>
</Border>
</Grid>
</Border>
<Border x:Name="BoardUndo" Width="60" Height="50" MouseDown="Border_MouseDown" MouseUp="SymbolIconUndo_MouseUp" BorderThickness="0,1,0,1" BorderBrush="{DynamicResource BoardFloatBarBorderBrush}" IsEnabled="{Binding ElementName=BtnUndo, Path=IsEnabled}" Background="{DynamicResource BoardFloatBarBackground}" Opacity="1">
<Grid Margin="6,6,6,4">
<Image VerticalAlignment="Top"
RenderOptions.BitmapScalingMode="HighQuality" Height="20" Width="20" Opacity="{Binding ElementName=BtnUndo, Path=IsEnabled, Converter={StaticResource IsEnabledToOpacityConverter}}">
<Image.Source>
<DrawingImage>
<DrawingImage.Drawing>
<DrawingGroup ClipGeometry="M0,0 V24 H24 V0 H0 Z">
<GeometryDrawing Brush="{DynamicResource IconForeground}"
Geometry="F1 M24,24z M0,0z M8.71408,16.8493L0.874451,9.00964 8.71408,1.17001 8.71408,7.42358 15.7239,7.42358C16.7074,7.42358 17.6791,7.62744 18.583,8.02124 19.4866,8.41493 20.3023,8.98966 20.9857,9.70849 21.6689,10.4271 22.2069,11.276 22.5726,12.2047 22.9383,13.1333 23.1256,14.126 23.1256,15.1268 23.1256,16.1276 22.9383,17.1203 22.5726,18.0489 22.2069,18.9776 21.6689,19.8264 20.9857,20.5451 20.3023,21.2639 19.4866,21.8387 18.583,22.2324 17.6791,22.6262 16.7074,22.83 15.7239,22.83L10.437,22.83 10.437,19.6579 15.7239,19.6579C16.2679,19.6579 16.8086,19.5453 17.3159,19.3243 17.8235,19.1031 18.29,18.7767 18.6867,18.3594 19.0835,17.942 19.4023,17.4422 19.6211,16.8866 19.8399,16.3308 19.9534,15.7326 19.9534,15.1268 19.9534,14.5209 19.8399,13.9227 19.6211,13.367 19.4023,12.8114 19.0835,12.3115 18.6867,11.8941 18.29,11.4769 17.8235,11.1505 17.3159,10.9293 16.8086,10.7083 16.2679,10.5957 15.7239,10.5957L8.71408,10.5957 8.71408,16.8493z" />
</DrawingGroup>
</DrawingImage.Drawing>
</DrawingImage>
</Image.Source>
</Image>
<TextBlock Text="{i18n:I18n Key=Board_Undo}" Foreground="{DynamicResource FloatBarForeground}" VerticalAlignment="Bottom" HorizontalAlignment="Center" FontSize="12"
Style="{StaticResource AutoFitFloatBarLabel12}" />
</Grid>
</Border>
<Border x:Name="BoardRedo" Width="60" Height="50" CornerRadius="0,5,5,0" MouseDown="Border_MouseDown" MouseUp="SymbolIconRedo_MouseUp" BorderThickness="0,1,1,1" BorderBrush="{DynamicResource BoardFloatBarBorderBrush}" IsEnabled="{Binding ElementName=BtnRedo, Path=IsEnabled}" Background="{DynamicResource BoardFloatBarBackground}" Opacity="1">
<Grid Margin="6,6,6,4">
<Image VerticalAlignment="Top" RenderOptions.BitmapScalingMode="HighQuality" Height="20" Width="20" Opacity="{Binding ElementName=BtnRedo, Path=IsEnabled, Converter={StaticResource IsEnabledToOpacityConverter}}">
<Image.Source>
<DrawingImage>
<DrawingImage.Drawing>
<DrawingGroup ClipGeometry="M0,0 V24 H24 V0 H0 Z">
<GeometryDrawing Brush="{DynamicResource IconForeground}"
Geometry="F1 M24,24z M0,0z M15.2859,16.8493L23.1255,9.00964 15.2859,1.17001 15.2859,7.42358 8.27607,7.42358C7.29262,7.42358 6.32086,7.62744 5.41703,8.02124 4.51341,8.41493 3.69773,8.98966 3.01434,9.70849 2.33111,10.4271 1.79312,11.276 1.42741,12.2047 1.06174,13.1333 0.874422,14.126 0.874422,15.1268 0.874422,16.1276 1.06174,17.1203 1.42741,18.0489 1.79312,18.9776 2.33111,19.8264 3.01434,20.5451 3.69773,21.2639 4.51341,21.8387 5.41703,22.2324 6.32086,22.6262 7.29262,22.83 8.27607,22.83L13.563,22.83 13.563,19.6579 8.27607,19.6579C7.7321,19.6579 7.19139,19.5453 6.68406,19.3243 6.17652,19.1031 5.70999,18.7767 5.31333,18.3594 4.91651,17.942 4.59775,17.4422 4.37894,16.8866 4.1601,16.3308 4.04656,15.7326 4.04656,15.1268 4.04656,14.5209 4.1601,13.9227 4.37894,13.367 4.59775,12.8114 4.91651,12.3115 5.31333,11.8941 5.70999,11.4769 6.17652,11.1505 6.68406,10.9293 7.19139,10.7083 7.7321,10.5957 8.27607,10.5957L15.2859,10.5957 15.2859,16.8493z" />
</DrawingGroup>
</DrawingImage.Drawing>
</DrawingImage>
</Image.Source>
</Image>
<TextBlock Text="{i18n:I18n Key=Board_Redo}" Foreground="{DynamicResource FloatBarForeground}" VerticalAlignment="Bottom"
HorizontalAlignment="Center" FontSize="12" Style="{StaticResource AutoFitFloatBarLabel12}" />
</Grid>
</Border>
</ikw:SimpleStackPanel>
</Border>
<Border CornerRadius="5,5,5,5" Background="{DynamicResource BoardFloatBarBackground}">
<ikw:SimpleStackPanel Orientation="Horizontal">
<Border Width="60" Height="50" MouseDown="Border_MouseDown"
MouseUp="SymbolIconTools_MouseUp" Background="{DynamicResource BoardFloatBarBackground}" Opacity="1"
BorderThickness="1,1,0,1" BorderBrush="{DynamicResource BoardFloatBarBorderBrush}"
CornerRadius="5,0,0,5">
<Grid Margin="6,6,6,4">
<Image VerticalAlignment="Top"
RenderOptions.BitmapScalingMode="HighQuality" Height="20" Width="20">
<Image.Source>
<DrawingImage>
<DrawingImage.Drawing>
<DrawingGroup ClipGeometry="M0,0 V24 H24 V0 H0 Z">
<GeometryDrawing Brush="{DynamicResource IconForeground}"
Geometry="F1 M24,24z M0,0z M3.336,1.17001C2.13975,1.17001,1.17,2.13976,1.17,3.33601L1.17,8.75101C1.17,9.94726,2.13975,10.917,3.336,10.917L8.751,10.917C9.94725,10.917,10.917,9.94726,10.917,8.75101L10.917,3.33601C10.917,2.13976,9.94725,1.17001,8.751,1.17001L3.336,1.17001z M15.249,1.17001C14.0527,1.17001,13.083,2.13976,13.083,3.33601L13.083,8.75101C13.083,9.94726,14.0527,10.917,15.249,10.917L20.664,10.917C21.8602,10.917,22.83,9.94726,22.83,8.75101L22.83,3.33601C22.83,2.13976,21.8602,1.17001,20.664,1.17001L15.249,1.17001z M3.336,13.083C2.13975,13.083,1.17,14.0528,1.17,15.249L1.17,20.664C1.17,21.8603,2.13975,22.83,3.336,22.83L8.751,22.83C9.94725,22.83,10.917,21.8603,10.917,20.664L10.917,15.249C10.917,14.0528,9.94725,13.083,8.751,13.083L3.336,13.083z M15.249,13.083C14.0527,13.083,13.083,14.0528,13.083,15.249L13.083,20.664C13.083,21.8603,14.0527,22.83,15.249,22.83L20.664,22.83C21.8602,22.83,22.83,21.8603,22.83,20.664L22.83,15.249C22.83,14.0528,21.8602,13.083,20.664,13.083L15.249,13.083z" />
</DrawingGroup>
</DrawingImage.Drawing>
</DrawingImage>
</Image.Source>
</Image>
<TextBlock Text="{i18n:I18n Key=Board_Tools}" Foreground="{DynamicResource FloatBarForeground}" VerticalAlignment="Bottom"
HorizontalAlignment="Center" FontSize="12" Style="{StaticResource AutoFitFloatBarLabel12}" />
</Grid>
</Border>
<Border>
<Grid Width="0" Margin="0,0,0,5" RenderTransformOrigin="0,1">
<Grid.RenderTransform>
<TransformGroup>
<ScaleTransform ScaleX="1.5" ScaleY="1.5" />
<SkewTransform />
<RotateTransform />
<TranslateTransform />
</TransformGroup>
</Grid.RenderTransform>
<Border ClipToBounds="True" Name="BoardBorderTools"
Margin="-80,-138.5,-39,33.5"
CornerRadius="5" Background="{DynamicResource SettingsPageBackground}" Opacity="1"
BorderThickness="1"
BorderBrush="#2563eb">
<ikw:SimpleStackPanel Margin="-1,0,0,0">
<Border BorderBrush="#1e3a8a" BorderThickness="0,0,0,1"
CornerRadius="6,6,0,0" Background="#2563eb"
Margin="-1,-1,-1,0"
Padding="1,1,1,0">
<ikw:SimpleStackPanel Orientation="Horizontal"
HorizontalAlignment="Stretch">
<TextBlock Text="{i18n:I18n Key=Tools_MoreFeaturesTitle}" Foreground="White"
Padding="8,5,44,5"
FontSize="11" FontWeight="Bold"
TextAlignment="Center" />
<Image Margin="0,0,0,0"
Source="/Resources/new-icons/close-white.png"
RenderOptions.BitmapScalingMode="HighQuality"
Height="16"
Width="16" MouseDown="Border_MouseDown"
MouseUp="CloseBordertools_MouseUp" />
</ikw:SimpleStackPanel>
</Border>
<!---->
<ikw:SimpleStackPanel Margin="10,3,10,2" Spacing="-2">
<ikw:SimpleStackPanel.Resources>
<Style TargetType="Label" BasedOn="{StaticResource AutoFitToolPopupLabel8}" />
</ikw:SimpleStackPanel.Resources>
<ikw:SimpleStackPanel Margin="0,0,0,0" Height="40" Spacing="0"
Orientation="Horizontal">
<ikw:SimpleStackPanel MouseDown="Border_MouseDown"
MouseUp="ImageCountdownTimer_MouseUp"
Margin="0,0,0,0" Height="38" Width="32"
Orientation="Vertical">
<Image Margin="0,4,0,2" Height="19" Width="19">
<Image.Source>
<DrawingImage>
<DrawingImage.Drawing>
<DrawingGroup
ClipGeometry="M0,0 V24 H24 V0 H0 Z">
<GeometryDrawing Brush="{DynamicResource IconForeground}"
Geometry="F0 M24,24z M0,0z M12,3C11.7613,3 11.5324,3.09482 11.3636,3.2636 11.1948,3.43239 11.1,3.6613 11.1,3.9L11.1,6.6C11.1,7.09705 11.5029,7.5 12,7.5 12.4971,7.5 12.9,7.09705 12.9,6.6L12.9,4.85646C14.3196,5.0353 15.6613,5.63436 16.7472,6.58675 18.0606,7.73848 18.9104,9.32838 19.1384,11.0602 19.3664,12.792 18.957,14.5477 17.9865,16.0001 17.0162,17.4525 15.5508,18.5026 13.8635,18.9547 12.1762,19.4067 10.3822,19.2301 8.81552,18.4575 7.24888,17.6849 6.01653,16.3691 5.34806,14.7554 4.67961,13.1415 4.62062,11.3397 5.1821,9.68563 5.49617,8.76044 5.99235,7.91676 6.63344,7.2 6.96481,6.8295 6.93309,6.26054 6.5626,5.92917 6.19212,5.59781 5.62315,5.62952 5.29179,6.00001 4.49049,6.8959 3.87021,7.95054 3.47763,9.10704 2.77577,11.1746 2.84951,13.4269 3.68509,15.4441 4.52067,17.4614 6.0611,19.1061 8.0194,20.0718 9.97769,21.0375 12.2203,21.2585 14.3294,20.6933 16.4384,20.1282 18.2701,18.8156 19.4832,17.0001 20.6963,15.1847 21.208,12.9901 20.923,10.8252 20.638,8.66047 19.5758,6.67311 17.9341,5.23344 16.2925,3.79377 14.1835,3 12,3z M9.0364,7.7636C8.68492,7.41213 8.11508,7.41213 7.7636,7.7636 7.41213,8.11508 7.41213,8.68492 7.7636,9.0364L10.2609,11.5338C10.2212,11.6825 10.2,11.8387 10.2,12 10.2,12.9941 11.0059,13.8 12,13.8 12.9941,13.8 13.8,12.9941 13.8,12 13.8,11.0059 12.9941,10.2 12,10.2 11.8387,10.2 11.6825,10.2212 11.5338,10.2609L9.0364,7.7636z" />
</DrawingGroup>
</DrawingImage.Drawing>
</DrawingImage>
</Image.Source>
</Image>
<Label Content="{i18n:I18n Key=Tools_Timer}" FontSize="8"
HorizontalAlignment="Center" />
</ikw:SimpleStackPanel>
<ikw:SimpleStackPanel x:Name="RandomDrawPanel" Visibility="Collapsed" MouseDown="Border_MouseDown"
MouseUp="SymbolIconRand_MouseUp"
Margin="0,0,0,0" Height="38" Width="32"
Orientation="Vertical">
<Image Margin="0,4,0,2" Height="19" Width="19">
<Image.Source>
<DrawingImage>
<DrawingImage.Drawing>
<DrawingGroup
ClipGeometry="M0,0 V24 H24 V0 H0 Z">
<GeometryDrawing Brush="{DynamicResource IconForeground}"
Geometry="F0 M24,24z M0,0z M15.9475,4.75965C15.7358,5.18305,15.9074,5.69791,16.3308,5.90961L16.9034,6.19589C14.0673,6.82039 11.7039,8.89176 10.7582,11.729 9.8511,14.4502 7.3045,16.2857 4.43608,16.2857L3.85713,16.2857C3.38376,16.2857 3,16.6694 3,17.1428 3,17.6162 3.38376,17.9999 3.85713,17.9999L4.43608,17.9999C8.04237,17.9999 11.2441,15.6923 12.3845,12.271 13.2915,9.54985 15.8381,7.71436 18.7066,7.71436L20.124,7.71436C20.1661,7.71524 20.208,7.71301 20.2494,7.70777 20.4903,7.67729 20.7143,7.54515 20.8554,7.33338 20.9116,7.24952 20.9533,7.15519 20.9771,7.05396 21.001,6.95301 21.0059,6.85024 20.9932,6.75036 20.9627,6.50938 20.8304,6.28523 20.6184,6.14418 20.5838,6.12101 20.5474,6.1003 20.5094,6.08229L17.0974,4.37632C16.674,4.16462,16.1592,4.33624,15.9475,4.75965z M20.8557,16.667C20.9116,16.7507 20.9533,16.8447 20.977,16.9456 21.001,17.0467 21.0059,17.1497 20.9932,17.2498 20.9626,17.4908 20.8303,17.7148 20.6185,17.8558 20.5838,17.8791 20.5474,17.8997 20.5094,17.9177L17.0975,19.6237C16.674,19.8354 16.1592,19.6638 15.9475,19.2404 15.7358,18.817 15.9074,18.3022 16.3308,18.0904L17.0491,17.7313C15.7728,17.4079 14.5941,16.8029 13.5952,15.9737 13.231,15.6713 13.1809,15.1308 13.4833,14.7667 13.7857,14.4025 14.3261,14.3523 14.6903,14.6547 15.9326,15.6862 17.5188,16.2857 19.2067,16.2857L20.1241,16.2857C20.1662,16.2848 20.2081,16.287 20.2495,16.2923 20.4905,16.3228 20.7146,16.455 20.8557,16.667z M3,6.85722C3,6.38384,3.38376,6.00009,3.85713,6.00009L4.36455,6.00009C6.25231,6.00009 8.03834,6.60414 9.50119,7.6588 9.88517,7.93565 9.972,8.47136 9.69519,8.85534 9.41835,9.23934 8.88264,9.32619 8.49866,9.04935 7.32072,8.2001 5.88391,7.71436 4.36455,7.71436L3.85713,7.71436C3.38376,7.71436,3,7.3306,3,6.85722z" />
</DrawingGroup>
</DrawingImage.Drawing>
</DrawingImage>
</Image.Source>
</Image>
<Label Content="{i18n:I18n Key=Tools_RandomDraw}" FontSize="8"
HorizontalAlignment="Center" />
</ikw:SimpleStackPanel>
<ikw:SimpleStackPanel x:Name="SingleDrawPanel" Visibility="Collapsed" MouseDown="Border_MouseDown"
MouseUp="SymbolIconRandOne_MouseUp"
Margin="0,0,0,0" Height="38" Width="32"
Orientation="Vertical">
<Image Margin="0,4,0,2" Height="19" Width="19">
<Image.Source>
<DrawingImage>
<DrawingImage.Drawing>
<DrawingGroup
ClipGeometry="M0,0 V24 H24 V0 H0 Z">
<GeometryDrawing Brush="{DynamicResource IconForeground}"
Geometry="F0 M24,24z M0,0z M3.9,9.3C4.39706,9.3,4.8,8.89706,4.8,8.4L4.8,4.8 8.4,4.8C8.89705,4.8 9.3,4.39706 9.3,3.9 9.3,3.40295 8.89705,3 8.4,3L3.9,3C3.6613,3 3.43239,3.09482 3.2636,3.2636 3.09482,3.43239 3,3.6613 3,3.9L3,8.4C3,8.89706,3.40295,9.3,3.9,9.3z M3.9,14.7C4.39706,14.7,4.8,15.1029,4.8,15.6L4.8,19.2 8.4,19.2C8.89705,19.2 9.3,19.6029 9.3,20.1 9.3,20.5971 8.89705,21 8.4,21L3.9,21C3.6613,21 3.43239,20.9051 3.2636,20.7364 3.09482,20.5676 3,20.3387 3,20.1L3,15.6C3,15.1029,3.40295,14.7,3.9,14.7z M20.1,9.3C19.6029,9.3,19.2,8.89706,19.2,8.4L19.2,4.8 15.6,4.8C15.1029,4.8 14.7,4.39706 14.7,3.9 14.7,3.40295 15.1029,3 15.6,3L20.1,3C20.3387,3 20.5676,3.09482 20.7364,3.2636 20.9051,3.43239 21,3.6613 21,3.9L21,8.4C21,8.89706,20.5971,9.3,20.1,9.3z M20.1,14.7C19.6029,14.7,19.2,15.1029,19.2,15.6L19.2,19.2 15.6,19.2C15.1029,19.2 14.7,19.6029 14.7,20.1 14.7,20.5971 15.1029,21 15.6,21L20.1,21C20.3387,21 20.5676,20.9051 20.7364,20.7364 20.9051,20.5676 21,20.3387 21,20.1L21,15.6C21,15.1029,20.5971,14.7,20.1,14.7z M8.4,10.2C8.4,8.21177 10.0118,6.6 12,6.6 13.9882,6.6 15.6,8.21177 15.6,10.2 15.6,12.1882 13.9882,13.8 12,13.8 10.0118,13.8 8.4,12.1882 8.4,10.2z M12,8.4C11.0059,8.4 10.2,9.20589 10.2,10.2 10.2,11.1941 11.0059,12 12,12 12.9941,12 13.8,11.1941 13.8,10.2 13.8,9.20589 12.9941,8.4 12,8.4z M7.5,16.5C7.5,16.0029,7.90295,15.6,8.4,15.6L15.6,15.6C16.0971,15.6 16.5,16.0029 16.5,16.5 16.5,16.9971 16.0971,17.4 15.6,17.4L8.4,17.4C7.90295,17.4,7.5,16.9971,7.5,16.5z" />
</DrawingGroup>
</DrawingImage.Drawing>
</DrawingImage>
</Image.Source>
</Image>
<Label Content="{i18n:I18n Key=Tools_SingleDraw}" FontSize="8"
HorizontalAlignment="Center" />
</ikw:SimpleStackPanel>
</ikw:SimpleStackPanel>
<ikw:SimpleStackPanel Margin="0,0,0,0" Height="40" Spacing="0"
Orientation="Horizontal">
<ikw:SimpleStackPanel MouseDown="Border_MouseDown"
MouseUp="SymbolIconSaveStrokes_MouseUp"
Margin="0,0,0,0" Height="38" Width="32"
Orientation="Vertical">
<Image Margin="0,4,0,2" Height="19" Width="19">
<Image.Source>
<DrawingImage>
<DrawingImage.Drawing>
<DrawingGroup
ClipGeometry="M0,0 V24 H24 V0 H0 Z">
<GeometryDrawing Brush="{DynamicResource IconForeground}"
Geometry="F0 M24,24z M0,0z M6,5C5.73478,5 5.48043,5.10536 5.29289,5.29289 5.10536,5.48043 5,5.73478 5,6L5,18C5,18.2652 5.10536,18.5196 5.29289,18.7071 5.48043,18.8946 5.73478,19 6,19L18,19C18.2652,19 18.5196,18.8946 18.7071,18.7071 18.8946,18.5196 19,18.2652 19,18L19,8.41421 15.5858,5 15,5 15,8C15,8.55228,14.5523,9,14,9L8,9C7.44772,9,7,8.55228,7,8L7,5 6,5z M8,3L6,3C5.20435,3 4.44129,3.31607 3.87868,3.87868 3.31607,4.44129 3,5.20435 3,6L3,18C3,18.7956 3.31607,19.5587 3.87868,20.1213 4.44129,20.6839 5.20435,21 6,21L18,21C18.7957,21 19.5587,20.6839 20.1213,20.1213 20.6839,19.5587 21,18.7957 21,18L21,8C21,7.73478,20.8946,7.48043,20.7071,7.29289L16.7071,3.29289C16.5196,3.10536,16.2652,3,16,3L14,3 8,3z M9,5L9,7 13,7 13,5 9,5z M9.87868,11.8787C10.4413,11.3161 11.2043,11 12,11 12.7957,11 13.5587,11.3161 14.1213,11.8787 14.6839,12.4413 15,13.2043 15,14 15,14.7957 14.6839,15.5587 14.1213,16.1213 13.5587,16.6839 12.7957,17 12,17 11.2043,17 10.4413,16.6839 9.87868,16.1213 9.31607,15.5587 9,14.7957 9,14 9,13.2043 9.31607,12.4413 9.87868,11.8787z M12,13C11.7348,13 11.4804,13.1054 11.2929,13.2929 11.1054,13.4804 11,13.7348 11,14 11,14.2652 11.1054,14.5196 11.2929,14.7071 11.4804,14.8946 11.7348,15 12,15 12.2652,15 12.5196,14.8946 12.7071,14.7071 12.8946,14.5196 13,14.2652 13,14 13,13.7348 12.8946,13.4804 12.7071,13.2929 12.5196,13.1054 12.2652,13 12,13z" />
</DrawingGroup>
</DrawingImage.Drawing>
</DrawingImage>
</Image.Source>
</Image>
<Label Content="{i18n:I18n Key=Tools_Save}" FontSize="8"
HorizontalAlignment="Center" />
</ikw:SimpleStackPanel>
<ikw:SimpleStackPanel MouseDown="Border_MouseDown"
MouseUp="SymbolIconOpenStrokes_MouseUp"
Margin="0,0,0,0" Height="38" Width="32"
Orientation="Vertical">
<Image Margin="0,4,0,2" Height="19" Width="19">
<Image.Source>
<DrawingImage>
<DrawingImage.Drawing>
<DrawingGroup
ClipGeometry="M0,0 V24 H24 V0 H0 Z">
<GeometryDrawing Brush="{DynamicResource IconForeground}"
Geometry="F0 M24,24z M0,0z M5,5C4.73478,5 4.48043,5.10536 4.29289,5.29289 4.10536,5.48043 4,5.73478 4,6L4,17C4,17.2652 4.10536,17.5196 4.29289,17.7071 4.32236,17.7366 4.35349,17.764 4.38604,17.7893L6.82062,11.298C6.82065,11.2979 6.8206,11.2981 6.82062,11.298 6.96351,10.9169 7.21932,10.5883 7.55377,10.3564 7.88827,10.1245 8.28558,10.0002 8.69262,10L20,10 20,9C20,8.73478 19.8946,8.48043 19.7071,8.29289 19.5196,8.10536 19.2652,8 19,8L12,8C11.7348,8,11.4804,7.89464,11.2929,7.70711L8.58579,5 5,5z M20.9992,12L8.69338,12 6.44307,18 19.0257,18C19.0258,18 19.0256,18 19.0257,18 19.2583,17.9999 19.4838,17.9187 19.663,17.7705 19.8422,17.6222 19.9641,17.416 20.0077,17.1875L20.9992,12z M22,10.2682C22.1988,10.383 22.3767,10.5315 22.5256,10.7073 22.7133,10.9288 22.8504,11.1885 22.9276,11.4684 23.0048,11.7483 23.0201,12.0416 22.9725,12.328L22.9682,12.3517 21.9723,17.5625C21.8414,18.248 21.4756,18.8665 20.9379,19.3114 20.4002,19.7563 19.7242,19.9998 19.0263,20L5,20C4.20435,20 3.44129,19.6839 2.87868,19.1213 2.31607,18.5587 2,17.7956 2,17L2,6C2,5.20435 2.31607,4.44129 2.87868,3.87868 3.44129,3.31607 4.20435,3 5,3L9,3C9.26522,3,9.51957,3.10536,9.70711,3.29289L12.4142,6 19,6C19.7957,6 20.5587,6.31607 21.1213,6.87868 21.6839,7.44129 22,8.20435 22,9L22,10.2682z" />
</DrawingGroup>
</DrawingImage.Drawing>
</DrawingImage>
</Image.Source>
</Image>
<Label Content="{i18n:I18n Key=Tools_Open}" FontSize="8"
HorizontalAlignment="Center" />
</ikw:SimpleStackPanel>
<ikw:SimpleStackPanel MouseDown="Border_MouseDown"
MouseUp="GridInkReplayButton_MouseUp"
Margin="0,0,0,0" Height="38" Width="32"
Orientation="Vertical">
<Image Margin="0,4,0,2" Height="19" Width="19">
<Image.Source>
<DrawingImage>
<DrawingImage.Drawing>
<DrawingGroup
ClipGeometry="M0,0 V24 H24 V0 H0 Z">
<GeometryDrawing Brush="{DynamicResource IconForeground}"
Geometry="F0 M24,24z M0,0z M11,4.99999C11,4.60761 10.7705,4.25149 10.4132,4.08935 10.0559,3.92722 9.63679,3.98903 9.3415,4.24741L1.3415,11.2474C1.12448,11.4373 1,11.7116 1,12 1,12.2883 1.12448,12.5627 1.3415,12.7526L9.3415,19.7526C9.63679,20.0109 10.0559,20.0728 10.4132,19.9106 10.7705,19.7485 11,19.3924 11,19L11,4.99999z M9,16.7962L3.51859,12 9,7.20375 9,16.7962z M22,4.99999C22,4.60761 21.7705,4.25149 21.4132,4.08935 21.0559,3.92722 20.6368,3.98903 20.3415,4.24741L12.3415,11.2474C12.1245,11.4373 12,11.7116 12,12 12,12.2883 12.1245,12.5627 12.3415,12.7526L20.3415,19.7526C20.6368,20.0109 21.0559,20.0728 21.4132,19.9106 21.7705,19.7485 22,19.3924 22,19L22,4.99999z M20,16.7962L14.5186,12 20,7.20375 20,16.7962z" />
</DrawingGroup>
</DrawingImage.Drawing>
</DrawingImage>
</Image.Source>
</Image>
<Label Content="{i18n:I18n Key=Tools_Replay}" FontSize="8"
HorizontalAlignment="Center" />
</ikw:SimpleStackPanel>
</ikw:SimpleStackPanel>
<ikw:SimpleStackPanel Margin="0,0,0,0" Height="40" Spacing="0"
Orientation="Horizontal">
<ikw:SimpleStackPanel MouseDown="Border_MouseDown"
MouseUp="SymbolIconScreenshot_MouseUp"
Margin="0,0,0,0" Height="38" Width="32"
Orientation="Vertical">
<Image Margin="0,4,0,2" Height="19" Width="19">
<Image.Source>
<DrawingImage>
<DrawingImage.Drawing>
<DrawingGroup
ClipGeometry="M0,0 V24 H24 V0 H0 Z">
<GeometryDrawing Brush="{DynamicResource IconForeground}"
Geometry="F0 M24,24z M0,0z M9,3C8.46957,3 7.96086,3.21071 7.58579,3.58579 7.21071,3.96086 7,4.46957 7,5 7,5.26522 6.89464,5.51957 6.70711,5.70711 6.51957,5.89464 6.26522,6 6,6L5,6C4.20435,6 3.44129,6.31607 2.87868,6.87868 2.31607,7.44129 2,8.20435 2,9L2,18C2,18.7956 2.31607,19.5587 2.87868,20.1213 3.44129,20.6839 4.20435,21 5,21L19,21C19.7957,21 20.5587,20.6839 21.1213,20.1213 21.6839,19.5587 22,18.7957 22,18L22,9C22,8.20435 21.6839,7.44129 21.1213,6.87868 20.5587,6.31607 19.7957,6 19,6L18,6C17.7348,6 17.4804,5.89464 17.2929,5.70711 17.1054,5.51957 17,5.26522 17,5 17,4.46957 16.7893,3.96086 16.4142,3.58579 16.0391,3.21071 15.5304,3 15,3L9,3z M9,5L15,5C15,5.79565 15.3161,6.55871 15.8787,7.12132 16.4413,7.68393 17.2044,8 18,8L19,8C19.2652,8 19.5196,8.10536 19.7071,8.29289 19.8946,8.48043 20,8.73478 20,9L20,18C20,18.2652 19.8946,18.5196 19.7071,18.7071 19.5196,18.8946 19.2652,19 19,19L5,19C4.73478,19 4.48043,18.8946 4.29289,18.7071 4.10536,18.5196 4,18.2652 4,18L4,9C4,8.73478 4.10536,8.48043 4.29289,8.29289 4.48043,8.10536 4.73478,8 5,8L6,8C6.79565,8 7.55871,7.68393 8.12132,7.12132 8.68393,6.55871 9,5.79565 9,5z M12,9C10.9391,9 9.92172,9.42143 9.17157,10.1716 8.42143,10.9217 8,11.9391 8,13 8,14.0609 8.42143,15.0783 9.17157,15.8284 9.92172,16.5786 10.9391,17 12,17 13.0609,17 14.0783,16.5786 14.8284,15.8284 15.5786,15.0783 16,14.0609 16,13 16,11.9391 15.5786,10.9217 14.8284,10.1716 14.0783,9.42143 13.0609,9 12,9z M10.5858,11.5858C10.9609,11.2107 11.4696,11 12,11 12.5304,11 13.0391,11.2107 13.4142,11.5858 13.7893,11.9609 14,12.4696 14,13 14,13.5304 13.7893,14.0391 13.4142,14.4142 13.0391,14.7893 12.5304,15 12,15 11.4696,15 10.9609,14.7893 10.5858,14.4142 10.2107,14.0391 10,13.5304 10,13 10,12.4696 10.2107,11.9609 10.5858,11.5858z" />
</DrawingGroup>
</DrawingImage.Drawing>
</DrawingImage>
</Image.Source>
</Image>
<Label Content="{i18n:I18n Key=Tools_Screenshot}" FontSize="8"
HorizontalAlignment="Center" />
</ikw:SimpleStackPanel>
<ikw:SimpleStackPanel MouseDown="Border_MouseDown"
MouseUp="OperatingGuideWindowIcon_MouseUp"
Margin="0,0,0,0" Height="38" Width="32"
Orientation="Vertical">
<Image Margin="0,4,0,2" Height="19" Width="19">
<Image.Source>
<DrawingImage>
<DrawingImage.Drawing>
<DrawingGroup
ClipGeometry="M0,0 V24 H24 V0 H0 Z">
<GeometryDrawing Brush="{DynamicResource IconForeground}"
Geometry="F0 M24,24z M0,0z M8.17317,2.7612C9.38642,2.25866 10.6868,2 12,2 13.3132,2 14.6136,2.25866 15.8268,2.7612 17.0401,3.26375 18.1425,4.00035 19.0711,4.92893 19.9997,5.85752 20.7362,6.95991 21.2388,8.17317 21.7413,9.38642 22,10.6868 22,12 22,13.3132 21.7413,14.6136 21.2388,15.8268 20.7362,17.0401 19.9997,18.1425 19.0711,19.0711 18.1425,19.9997 17.0401,20.7362 15.8268,21.2388 14.6136,21.7413 13.3132,22 12,22 10.6868,22 9.38642,21.7413 8.17317,21.2388 6.95991,20.7362 5.85752,19.9997 4.92893,19.0711 4.00035,18.1425 3.26375,17.0401 2.7612,15.8268 2.25866,14.6136 2,13.3132 2,12 2,10.6868 2.25866,9.38642 2.7612,8.17317 3.26375,6.95991 4.00035,5.85752 4.92893,4.92893 5.85752,4.00035 6.95991,3.26375 8.17317,2.7612z M12,4C10.9494,4 9.90914,4.20693 8.93853,4.60896 7.96793,5.011 7.08601,5.60028 6.34315,6.34315 5.60028,7.08601 5.011,7.96793 4.60896,8.93853 4.20693,9.90914 4,10.9494 4,12 4,13.0506 4.20693,14.0909 4.60896,15.0615 5.011,16.0321 5.60028,16.914 6.34315,17.6569 7.08601,18.3997 7.96793,18.989 8.93853,19.391 9.90914,19.7931 10.9494,20 12,20 13.0506,20 14.0909,19.7931 15.0615,19.391 16.0321,18.989 16.914,18.3997 17.6569,17.6569 18.3997,16.914 18.989,16.0321 19.391,15.0615 19.7931,14.0909 20,13.0506 20,12 20,10.9494 19.7931,9.90914 19.391,8.93853 18.989,7.96793 18.3997,7.08602 17.6569,6.34315 16.914,5.60028 16.0321,5.011 15.0615,4.60896 14.0909,4.20693 13.0506,4 12,4z M12,16C12.5523,16,13,16.4477,13,17L13,17.01C13,17.5623 12.5523,18.01 12,18.01 11.4477,18.01 11,17.5623 11,17.01L11,17C11,16.4477,11.4477,16,12,16z M12.0813,5.97153C11.5241,5.96998 10.9742,6.09779 10.4748,6.3449 9.97535,6.59201 9.54013,6.95167 9.20334,7.39557 8.86952,7.83555 8.95559,8.46284 9.39557,8.79666 9.83555,9.13047 10.4628,9.04441 10.7967,8.60443 10.9463,8.40714 11.1398,8.24729 11.3617,8.13746 11.5837,8.02764 11.8281,7.97083 12.0758,7.97152 12.3234,7.97221 12.5675,8.03037 12.7888,8.14142 13.0102,8.25248 13.2027,8.4134 13.3513,8.61151 13.4999,8.80963 13.6005,9.03953 13.6451,9.28311 13.6897,9.5267 13.6772,9.77732 13.6086,10.0152 13.5399,10.2532 13.4169,10.4719 13.2493,10.6542 13.084,10.8341 12.8798,10.9736 12.6524,11.0623 12.1479,11.2435 11.7149,11.5821 11.4175,12.0283 11.1169,12.4792 10.9709,13.0156 11.0016,13.5566 11.0329,14.108 11.5052,14.5297 12.0566,14.4984 12.608,14.4671 13.0297,13.9948 12.9984,13.4434 12.9923,13.3352 13.0214,13.2279 13.0816,13.1377 13.1417,13.0475 13.2295,12.9793 13.3317,12.9434 13.3403,12.9404 13.3487,12.9373 13.3572,12.934 13.8776,12.735 14.3448,12.4179 14.7218,12.0077 15.0989,11.5974 15.3756,11.1053 15.5301,10.5699 15.6846,10.0346 15.7128,9.47068 15.6124,8.92261 15.5119,8.37454 15.2856,7.85727 14.9513,7.41151 14.617,6.96576 14.1838,6.60369 13.6857,6.35381 13.1877,6.10393 12.6385,5.97307 12.0813,5.97153z" />
</DrawingGroup>
</DrawingImage.Drawing>
</DrawingImage>
</Image.Source>
</Image>
<Label Content="{i18n:I18n Key=Tools_Manual}" FontSize="8"
HorizontalAlignment="Center" />
</ikw:SimpleStackPanel>
<ikw:SimpleStackPanel MouseDown="Border_MouseDown"
MouseUp="SymbolIconSettings_Click"
Margin="0,0,0,0" Height="38" Width="32"
Orientation="Vertical">
<Image Margin="0,4,0,2" Height="19" Width="19">
<Image.Source>
<DrawingImage>
<DrawingImage.Drawing>
<DrawingGroup
ClipGeometry="M0,0 V24 H24 V0 H0 Z">
<GeometryDrawing Brush="{DynamicResource IconForeground}"
Geometry="F0 M24,24z M0,0z M4.66591,7.13141L11.4017,3.15976C11.5957,3.0552 11.8126,3.00041 12.033,3.00041 12.2534,3.00041 12.4704,3.0552 12.6643,3.15977L19.2182,7.02415C19.2676,7.06721 19.3219,7.10586 19.3806,7.13926 19.5699,7.24687 19.727,7.40296 19.8358,7.59146 19.9447,7.77997 20.0014,7.99407 20,8.21175L20,8.21175 20,8.218 20,15.502C20,15.943 19.7585,16.3548 19.3603,16.5737 19.3424,16.5835 19.3247,16.5939 19.3074,16.6049L12.5874,20.8559C12.4062,20.9506 12.2047,21.0001 12,21.0001 11.7953,21.0001 11.5938,20.9506 11.4126,20.8559L4.69261,16.6049C4.6746,16.5935 4.65624,16.5827 4.63755,16.5725 4.44494,16.4672 4.28416,16.3122 4.172,16.1235 4.05999,15.9351 4.00059,15.72 4,15.5008L4,8.217C4,7.77653 4.24107,7.36544 4.63968,7.14635 4.6485,7.1415 4.65724,7.13652 4.66591,7.13141z M20.4159,5.40859C20.4791,5.44583 20.5369,5.4892 20.589,5.53759 20.9895,5.81003 21.3244,6.16988 21.5678,6.59125 21.8538,7.08656 22.003,7.649 22,8.22093L22,15.502C22,16.6678,21.3677,17.7387,20.353,18.31L13.6266,22.5651C13.6092,22.5761 13.5914,22.5866 13.5733,22.5966 13.0911,22.8613 12.55,23.0001 12,23.0001 11.45,23.0001 10.9089,22.8613 10.4267,22.5966 10.4086,22.5866 10.3908,22.5761 10.3734,22.5651L3.64791,18.3106C3.15439,18.0339 2.74214,17.6322 2.45282,17.1455 2.15755,16.6488 2.00116,16.0818 2,15.504L2,15.502 2,8.217C2,7.04497,2.63892,5.97063,3.6619,5.40163L10.4001,1.42859C10.4084,1.4237 10.4167,1.41894 10.4252,1.41429 10.9176,1.1428 11.4707,1.00041 12.033,1.00041 12.5953,1.00041 13.1484,1.1428 13.6408,1.41429 13.6493,1.41894 13.6576,1.4237 13.6659,1.42859L20.4159,5.40859z M12,8C10.9391,8 9.92172,8.42143 9.17157,9.17157 8.42143,9.92172 8,10.9391 8,12 8,13.0609 8.42143,14.0783 9.17157,14.8284 9.92172,15.5786 10.9391,16 12,16 13.0609,16 14.0783,15.5786 14.8284,14.8284 15.5786,14.0783 16,13.0609 16,12 16,10.9391 15.5786,9.92172 14.8284,9.17157 14.0783,8.42143 13.0609,8 12,8z M10.5858,10.5858C10.9609,10.2107 11.4696,10 12,10 12.5304,10 13.0391,10.2107 13.4142,10.5858 13.7893,10.9609 14,11.4696 14,12 14,12.5304 13.7893,13.0391 13.4142,13.4142 13.0391,13.7893 12.5304,14 12,14 11.4696,14 10.9609,13.7893 10.5858,13.4142 10.2107,13.0391 10,12.5304 10,12 10,11.4696 10.2107,10.9609 10.5858,10.5858z" />
</DrawingGroup>
</DrawingImage.Drawing>
</DrawingImage>
</Image.Source>
</Image>
<Label Content="{i18n:I18n Key=Tools_Settings}" FontSize="8"
HorizontalAlignment="Center" />
</ikw:SimpleStackPanel>
</ikw:SimpleStackPanel>
</ikw:SimpleStackPanel>
</ikw:SimpleStackPanel>
</Border>
</Grid>
</Border>
<Border Width="60" Height="50" MouseDown="Border_MouseDown"
MouseUp="ImageBlackboard_MouseUp"
CornerRadius="0,5,5,0" Background="{DynamicResource BoardFloatBarBackground}" Opacity="1"
BorderThickness="0,1,1,1"
BorderBrush="{DynamicResource BoardFloatBarBorderBrush}">
<Grid Margin="6,6,6,4">
<Image VerticalAlignment="Top"
RenderOptions.BitmapScalingMode="HighQuality" Height="20" Width="20">
<Image.Source>
<DrawingImage>
<DrawingImage.Drawing>
<DrawingGroup ClipGeometry="M0,0 V24 H24 V0 H0 Z">
<GeometryDrawing Brush="{DynamicResource IconForeground}"
Geometry="F0 M24,24z M0,0z M12,23.4102C18.3017,23.4102 23.4102,18.3017 23.4102,12 23.4102,5.69834 18.3017,0.589813 12,0.589813 5.69834,0.589813 0.589813,5.69834 0.589813,12 0.589813,18.3017 5.69834,23.4102 12,23.4102z M8.25212,6.38964C7.73781,5.87533 6.90395,5.87533 6.38964,6.38964 5.87533,6.90395 5.87533,7.73781 6.38964,8.25212L10.1375,12 6.38964,15.7479C5.87533,16.2622 5.87533,17.0961 6.38964,17.6104 6.90395,18.1247 7.73781,18.1247 8.25212,17.6104L12,13.8625 15.7479,17.6104C16.2622,18.1247 17.0961,18.1247 17.6104,17.6104 18.1247,17.0961 18.1247,16.2622 17.6104,15.7479L13.8625,12 17.6104,8.25212C18.1247,7.73781 18.1247,6.90395 17.6104,6.38964 17.0961,5.87533 16.2622,5.87533 15.7479,6.38964L12,10.1375 8.25212,6.38964z" />
</DrawingGroup>
</DrawingImage.Drawing>
</DrawingImage>
</Image.Source>
</Image>
<TextBlock Text="{i18n:I18n Key=Board_Exit}" Foreground="{DynamicResource FloatBarForeground}" VerticalAlignment="Bottom"
HorizontalAlignment="Center" FontSize="12" Style="{StaticResource AutoFitFloatBarLabel12}" />
</Grid>
</Border>
</ikw:SimpleStackPanel>
</Border>
</ikw:SimpleStackPanel>
</Grid>
</Viewbox>
<!-- 右下角 -->
<Viewbox x:Name="ViewboxBlackboardRightSide" Margin="3,0,0,0" Height="55" HorizontalAlignment="Right"
VerticalAlignment="Bottom">
<Grid Name="BlackboardRightSide" Visibility="Visible" Margin="0,0,0,3" Height="50"
HorizontalAlignment="Center" VerticalAlignment="Bottom">
<ikw:SimpleStackPanel Orientation="Horizontal" Spacing="5">
<Border Width="60" Height="50"
BorderThickness="1" BorderBrush="{DynamicResource BoardFloatBarBorderBrush}"
MouseUp="BtnWhiteBoardAdd_Click" CornerRadius="5" Background="{DynamicResource BoardFloatBarBackground}"
Opacity="1">
<Grid Margin="6,6,6,4">
<Image VerticalAlignment="Top"
RenderOptions.BitmapScalingMode="HighQuality" Height="20" Width="20">
<Image.Source>
<DrawingImage>
<DrawingImage.Drawing>
<DrawingGroup ClipGeometry="M0,0 V24 H24 V0 H0 Z">
<GeometryDrawing Brush="{DynamicResource IconForeground}"
Geometry="F0 M24,24z M0,0z M7.39778,13.723L10.7693,13.723 10.7693,10.3514 13.2307,10.3514 13.2307,13.723 16.6022,13.723 16.6022,16.1843 13.2307,16.1843 13.2307,19.5559 10.7693,19.5559 10.7693,16.1843 7.39778,16.1843 7.39778,13.723z M3.1391,1.17001L3.1391,22.83 20.8609,22.83 20.8609,6.66948 15.3614,1.17002 3.1391,1.17001z M12.9846,3.13911L5.10819,3.1391 5.10819,20.8609 18.8918,20.8609 18.8918,9.04638 12.9846,9.04638 12.9846,3.13911z M18.484,7.07729L14.9536,3.54692 14.9536,7.07729 18.484,7.07729z" />
</DrawingGroup>
</DrawingImage.Drawing>
</DrawingImage>
</Image.Source>
</Image>
<TextBlock Text="{i18n:I18n Key=Board_NewPage}" Foreground="{DynamicResource FloatBarForeground}" VerticalAlignment="Bottom"
HorizontalAlignment="Center" FontSize="12" Style="{StaticResource AutoFitFloatBarLabel12}" />
</Grid>
</Border>
<Border CornerRadius="5,5,5,5" Background="{DynamicResource BoardFloatBarBackground}" Margin="0,0,0,0">
<ikw:SimpleStackPanel Orientation="Horizontal">
<Border Width="60" Height="50"
IsEnabled="{Binding ElementName=BtnWhiteBoardSwitchPrevious, Path=IsEnabled}"
BorderThickness="1,1,0,1" BorderBrush="{DynamicResource BoardFloatBarBorderBrush}"
MouseUp="BtnWhiteBoardSwitchPrevious_Click" CornerRadius="5,0,0,5"
Background="{DynamicResource BoardFloatBarBackground}"
Opacity="1">
<Grid Margin="6,6,6,4">
<Image VerticalAlignment="Top"
RenderOptions.BitmapScalingMode="HighQuality" Height="20" Width="20">
<Image.Source>
<DrawingImage>
<DrawingImage.Drawing>
<DrawingGroup ClipGeometry="M0,0 V24 H24 V0 H0 Z">
<GeometryDrawing Brush="{DynamicResource IconForeground}"
x:Name="BtnRightWhiteBoardSwitchPreviousGeometry"
Geometry="F1 M24,24z M0,0z M7.40091,10.456L14.5033,3.35357 12.3198,1.17001 1.48978,12 12.3198,22.83 14.5033,20.6465 7.40089,13.544 22.5102,13.544 22.5102,10.456 7.40091,10.456z" />
</DrawingGroup>
</DrawingImage.Drawing>
</DrawingImage>
</Image.Source>
</Image>
<TextBlock Text="{i18n:I18n Key=Board_PreviousPage}" Foreground="{DynamicResource FloatBarForeground}" VerticalAlignment="Bottom"
HorizontalAlignment="Center" FontSize="12"
Name="BtnRightWhiteBoardSwitchPreviousLabel"
Style="{StaticResource AutoFitFloatBarLabel12}" />
</Grid>
</Border>
<Border Width="75" Height="50" MouseUp="BtnWhiteBoardPageIndex_Click"
Name="BtnRightPageListWB"
BorderThickness="1,1,1,1" BorderBrush="{DynamicResource BoardFloatBarBorderBrush}" Background="{DynamicResource BoardFloatBarBackground}"
Opacity="1">
<Grid Margin="6,6,6,4">
<TextBlock HorizontalAlignment="Center"
Text="{Binding ElementName=TextBlockWhiteBoardIndexInfo, Path=Text}"
Margin="0,-1,0,0" FontSize="17" FontWeight="Bold"
TextAlignment="Center" />
<TextBlock Text="{i18n:I18n Key=Board_Page}" Foreground="{DynamicResource FloatBarForeground}" VerticalAlignment="Bottom"
HorizontalAlignment="Center" FontSize="12" Style="{StaticResource AutoFitFloatBarLabel12}" />
</Grid>
</Border>
<Grid Width="0" Margin="0,0,0,5">
<Border ClipToBounds="True" Name="BoardBorderRightPageListView"
Margin="-138,-465,-56,50"
CornerRadius="8"
Background="{DynamicResource FloatBarBackground}" Opacity="1" BorderBrush="{DynamicResource BoardFloatBarBorderBrush}"
BorderThickness="1">
<ui:ScrollViewerEx Name="BlackBoardRightSidePageListScrollViewer"
Height="460"
VerticalScrollBarVisibility="Hidden"
ForceUseSmoothScroll="True"
PanningMode="VerticalOnly"
IsManipulationEnabled="True">
<ListView ScrollViewer.CanContentScroll="False" SelectionMode="Single"
ScrollViewer.HorizontalScrollBarVisibility="Disabled"
ScrollViewer.VerticalScrollBarVisibility="Disabled"
Name="BlackBoardRightSidePageListView">
<ListView.ItemTemplate>
<DataTemplate>
<ikw:SimpleStackPanel Orientation="Vertical"
MouseUp="BlackBoardRightSidePageListView_OnMouseUp">
<Border Margin="0,4" Width="160" BorderBrush="{DynamicResource BoardFloatBarBorderBrush}"
BorderThickness="1">
<Grid>
<Viewbox Width="160" Height="120" Stretch="Uniform">
<InkCanvas EditingMode="None"
Background="{Binding ElementName=GridBackgroundCover, Path=Background}"
Strokes="{Binding Strokes}"
Width="{Binding ElementName=inkCanvas, Path=ActualWidth}"
Height="{Binding ElementName=inkCanvas, Path=ActualHeight}">
</InkCanvas>
</Viewbox>
<Border Margin="4" Width="36" Height="20"
CornerRadius="3" HorizontalAlignment="Left"
VerticalAlignment="Top"
Background="#cc09090b">
<TextBlock FontSize="14"
HorizontalAlignment="Center"
VerticalAlignment="Center"
FontFamily="Consolas"
Foreground="White"
Text="{Binding Index}">
</TextBlock>
</Border>
<Button Width="24" Height="24" HorizontalAlignment="Right" VerticalAlignment="Top" Margin="4"
ToolTip="{i18n:I18n Key=Board_DeleteThisPage}"
Click="WhiteBoardPageListItem_DeleteClick"
Background="#CC000000" Foreground="White"
BorderThickness="0" Padding="0" Cursor="Hand">
<ui:FontIcon Icon="{x:Static ui:SegoeFluentIcons.Delete}" />
</Button>
</Grid>
</Border>
</ikw:SimpleStackPanel>
</DataTemplate>
</ListView.ItemTemplate>
</ListView>
</ui:ScrollViewerEx>
</Border>
</Grid>
<Border Width="60" Height="50" MouseUp="BtnWhiteBoardSwitchNext_Click"
IsEnabled="{Binding ElementName=BtnWhiteBoardSwitchNext, Path=IsEnabled}"
CornerRadius="0,5,5,0"
BorderThickness="0,1,1,1" BorderBrush="{DynamicResource BoardFloatBarBorderBrush}"
Background="{DynamicResource BoardFloatBarBackground}" Opacity="1">
<Grid Margin="6,6,6,4">
<Image VerticalAlignment="Top"
RenderOptions.BitmapScalingMode="HighQuality" Height="20" Width="20">
<Image.Source>
<DrawingImage>
<DrawingImage.Drawing>
<DrawingGroup ClipGeometry="M0,0 V24 H24 V0 H0 Z">
<GeometryDrawing Brush="{DynamicResource IconForeground}"
x:Name="BtnRightWhiteBoardSwitchNextGeometry"
Geometry="F1 M24,24z M0,0z M16.5991,10.456L9.49667,3.35357 11.6802,1.17001 22.5102,12 11.6802,22.83 9.49667,20.6465 16.5991,13.544 1.48978,13.544 1.48978,10.456 16.5991,10.456z" />
</DrawingGroup>
</DrawingImage.Drawing>
</DrawingImage>
</Image.Source>
</Image>
<TextBlock Text="{i18n:I18n Key=Board_NextPage}" Foreground="{DynamicResource FloatBarForeground}" VerticalAlignment="Bottom"
HorizontalAlignment="Center" FontSize="12"
Name="BtnRightWhiteBoardSwitchNextLabel"
Style="{StaticResource AutoFitFloatBarLabel12}" />
</Grid>
</Border>
</ikw:SimpleStackPanel>
</Border>
</ikw:SimpleStackPanel>
</Grid>
</Viewbox>
<ikw:SimpleStackPanel Spacing="10" Orientation="Horizontal"
VerticalAlignment="Bottom"
HorizontalAlignment="Right"
Height="50" Margin="10"
Visibility="Collapsed">
<Button Name="BtnWhiteBoardAdd" FontFamily="Microsoft YaHei UI"
Width="50" Height="48" FontSize="26" Click="BtnWhiteBoardAdd_Click"
Foreground="{Binding ElementName=BtnExit, Path=Foreground}"
Background="{Binding ElementName=BtnExit, Path=Background}">
<ui:FontIcon Icon="{x:Static ui:SegoeFluentIcons.Add}" />
</Button>
<Button Name="BtnWhiteBoardSwitchPrevious" FontFamily="Symbol"
Width="50" Height="48" FontSize="25" Click="BtnWhiteBoardSwitchPrevious_Click"
Foreground="{Binding ElementName=BtnExit, Path=Foreground}"
Background="{Binding ElementName=BtnExit, Path=Background}"
VerticalContentAlignment="Center"
IsEnabled="False" IsEnabledChanged="Btn_IsEnabledChanged">
<Image RenderTransformOrigin="0.5,0.5" Opacity="0.25">
<Image.RenderTransform>
<TransformGroup>
<ScaleTransform />
<SkewTransform />
<RotateTransform Angle="-90" />
<TranslateTransform />
</TransformGroup>
</Image.RenderTransform>
<Image.Source>
<DrawingImage>
<DrawingImage.Drawing>
<DrawingGroup ClipGeometry="M0,0 V64 H64 V0 H0 Z">
<DrawingGroup Opacity="1">
<GeometryDrawing Brush="{Binding ElementName=BtnExit, Path=Foreground}"
Geometry="F1 M64,64z M0,0z M32,26.41L16.566,41.844 14.439,39.717 32,22.156 49.561,39.717 47.434,41.844 32,26.41z" />
</DrawingGroup>
</DrawingGroup>
</DrawingImage.Drawing>
</DrawingImage>
</Image.Source>
</Image>
</Button>
<Border Height="48" CornerRadius="2" Margin="3,0">
<TextBlock Name="TextBlockWhiteBoardIndexInfo"
Text="1/1"
Foreground="{Binding ElementName=BtnExit, Path=Foreground}"
VerticalAlignment="Center" HorizontalAlignment="Center"
FontFamily="Microsoft YaHei UI"
FontSize="18" />
</Border>
<Button Name="BtnWhiteBoardSwitchNext" FontFamily="Symbol"
Width="50" Height="48" FontSize="25" Click="BtnWhiteBoardSwitchNext_Click"
Foreground="{Binding ElementName=BtnExit, Path=Foreground}"
Background="{Binding ElementName=BtnExit, Path=Background}"
VerticalContentAlignment="Center"
IsEnabled="True" IsEnabledChanged="Btn_IsEnabledChanged">
<Image RenderTransformOrigin="0.5,0.5" Opacity="0.25">
<Image.RenderTransform>
<TransformGroup>
<ScaleTransform />
<SkewTransform />
<RotateTransform Angle="90" />
<TranslateTransform />
</TransformGroup>
</Image.RenderTransform>
<Image.Source>
<DrawingImage>
<DrawingImage.Drawing>
<DrawingGroup ClipGeometry="M0,0 V64 H64 V0 H0 Z">
<DrawingGroup Opacity="1">
<GeometryDrawing Brush="{Binding ElementName=BtnExit, Path=Foreground}"
Geometry="F1 M64,64z M0,0z M32,26.41L16.566,41.844 14.439,39.717 32,22.156 49.561,39.717 47.434,41.844 32,26.41z" />
</DrawingGroup>
</DrawingGroup>
</DrawingImage.Drawing>
</DrawingImage>
</Image.Source>
</Image>
</Button>
<Button Name="BtnWhiteBoardDelete" Click="BtnWhiteBoardDelete_Click"
FontFamily="Microsoft YaHei UI" Width="50" Height="48" FontSize="26"
Foreground="{Binding ElementName=BtnExit, Path=Foreground}"
Background="{Binding ElementName=BtnExit, Path=Background}"
IsEnabled="False">
<ui:FontIcon Icon="{x:Static ui:SegoeFluentIcons.Delete}" />
</Button>
</ikw:SimpleStackPanel>
</Grid>
</Grid>
<!-- 通知弹窗 -->
<Grid Name="GridNotifications" Margin="0,110" Visibility="Collapsed" HorizontalAlignment="Center"
VerticalAlignment="Bottom">
<Border CornerRadius="6" MaxHeight="200" Padding="20 10" Background="{DynamicResource SettingsPageBackground}" Opacity="0.95"
BorderBrush="#b91c1c" BorderThickness="1.5">
<TextBlock Name="TextBlockNotice" Text="{i18n:I18n Key=Notification_TestText}" VerticalAlignment="Center" HorizontalAlignment="Center"
FontSize="16" Foreground="{DynamicResource SettingsPageForeground}" />
</Border>
</Grid>
<!--// Old UI //-->
<Viewbox Name="ViewBoxStackPanelMain" Visibility="Collapsed" Margin="10,10,10,55" HorizontalAlignment="Right"
VerticalAlignment="Bottom" Width="46">
<StackPanel Name="StackPanelMain" Width="46">
<StackPanel Name="StackPanelControl">
<Button Name="BtnExit" Content="{i18n:I18n Key=OldUI_Exit}" FontFamily="Microsoft YaHei UI"
Margin="0,10,0,0" Width="{Binding ElementName=StackPanelMain, Path=ActualWidth}"
Click="BtnExit_Click" Background="#7F909090" />
<Button Name="BtnThickness" Content="{i18n:I18n Key=OldUI_Thickness}" Visibility="Collapsed" FontFamily="Microsoft YaHei UI"
Margin="0,10,0,0" Width="{Binding ElementName=StackPanelMain, Path=ActualWidth}"
Click="BtnThickness_Click" Foreground="{Binding ElementName=BtnExit, Path=Foreground}"
Background="{Binding ElementName=BtnExit, Path=Background}" />
<Button Name="BtnSwitchTheme" Content="{i18n:I18n Key=OldUI_Dark}" FontFamily="Microsoft YaHei UI"
Margin="0,10,0,0" Width="{Binding ElementName=StackPanelMain, Path=ActualWidth}"
Foreground="{Binding ElementName=BtnExit, Path=Foreground}"
Background="{Binding ElementName=BtnExit, Path=Background}" />
<!-- Click="BtnSwitchTheme_Click" -->
<Button Name="BtnSwitch" Content="{i18n:I18n Key=OldUI_Background}" FontFamily="Microsoft YaHei UI"
Margin="0,10,0,0" Width="{Binding ElementName=StackPanelMain, Path=ActualWidth}"
Click="BtnSwitch_Click" Foreground="{Binding ElementName=BtnExit, Path=Foreground}"
Background="{Binding ElementName=BtnExit, Path=Background}" />
<Button x:Name="BtnHideInkCanvas" Content="{i18n:I18n Key=OldUI_HideCanvas}" FontFamily="Microsoft YaHei UI"
Margin="0,10,0,0" Width="{Binding ElementName=StackPanelMain, Path=ActualWidth}"
Click="BtnHideInkCanvas_Click" Foreground="{Binding ElementName=BtnExit, Path=Foreground}"
Background="{Binding ElementName=BtnExit, Path=Background}" />
<Button x:Name="BtnCheckPPT" Visibility="Collapsed" Content="{i18n:I18n Key=OldUI_Check}" FontFamily="Microsoft YaHei UI"
Margin="0,10,0,0" Width="{Binding ElementName=StackPanelMain, Path=ActualWidth}"
Click="BtnCheckPPT_Click" Foreground="{Binding ElementName=BtnExit, Path=Foreground}"
Background="{Binding ElementName=BtnExit, Path=Background}" />
<StackPanel Name="StackPanelPPTButtons">
<Button x:Name="BtnPPTSlideShow" Visibility="Collapsed" Content="{i18n:I18n Key=OldUI_SlideshowFromStart}"
FontFamily="Microsoft YaHei UI"
Margin="0,10,0,0" Width="{Binding ElementName=StackPanelMain, Path=ActualWidth}"
Click="BtnPPTSlideShow_Click"
Foreground="{Binding ElementName=BtnExit, Path=Foreground}"
Background="{Binding ElementName=BtnExit, Path=Background}" />
<Button x:Name="BtnPPTSlideShowEnd" Visibility="Collapsed" Content="{i18n:I18n Key=OldUI_SlideshowEnd}"
FontFamily="Microsoft YaHei UI"
Margin="0,10,0,0" Width="{Binding ElementName=StackPanelMain, Path=ActualWidth}"
Click="BtnPPTSlideShowEnd_Click"
Foreground="{Binding ElementName=BtnExit, Path=Foreground}"
Background="{Binding ElementName=BtnExit, Path=Background}" />
<StackPanel Name="StackPanelPPTControls" Visibility="Collapsed">
<Button x:Name="BtnPPTSlidesUp" Content="↑" FontFamily="Microsoft YaHei UI"
Margin="0,10,0,0" Width="{Binding ElementName=StackPanelMain, Path=ActualWidth}"
Click="BtnPPTSlidesUp_Click"
Foreground="{Binding ElementName=BtnExit, Path=Foreground}"
Background="{Binding ElementName=BtnExit, Path=Background}" />
<Button x:Name="BtnPPTSlidesDown" Content="↓" FontFamily="Microsoft YaHei UI"
Margin="0,10,0,0" Width="{Binding ElementName=StackPanelMain, Path=ActualWidth}"
Click="BtnPPTSlidesDown_Click"
Foreground="{Binding ElementName=BtnExit, Path=Foreground}"
Background="{Binding ElementName=BtnExit, Path=Background}" />
</StackPanel>
</StackPanel>
<Button x:Name="BtnSwitchSide" Content="⇆" FontFamily="Microsoft YaHei UI"
Margin="0,10,0,0" Width="{Binding ElementName=StackPanelMain, Path=ActualWidth}"
Click="BtnSwitchSide_Click" Foreground="{Binding ElementName=BtnExit, Path=Foreground}"
Background="{Binding ElementName=BtnExit, Path=Background}" />
</StackPanel>
<Button x:Name="BtnHideControl" Content="⇅" FontFamily="Microsoft YaHei UI"
Margin="0,10,0,0" Width="{Binding ElementName=StackPanelMain, Path=ActualWidth}"
Click="BtnHideControl_Click" Foreground="{Binding ElementName=BtnExit, Path=Foreground}"
Background="{Binding ElementName=BtnExit, Path=Background}" />
</StackPanel>
</Viewbox>
<Viewbox Name="ViewBoxStackPanelShapes" Margin="{Binding ElementName=ViewBoxStackPanelMain, Path=Margin}"
Width="46" HorizontalAlignment="Left" VerticalAlignment="Bottom" Visibility="Collapsed">
<StackPanel Name="StackPanelShapes" Width="46">
<Button Name="BtnFingerDragMode" Content="{i18n:I18n Key=OldUI_SingleFingerDrag}" Visibility="Visible"
FontFamily="Microsoft YaHei UI"
Margin="0,25,0,0" Width="{Binding ElementName=StackPanelMain, Path=ActualWidth}"
Click="BtnFingerDragMode_Click" Foreground="{Binding ElementName=BtnExit, Path=Foreground}"
Background="{Binding ElementName=BtnExit, Path=Background}" />
<StackPanel IsVisibleChanged="StackPanel_IsVisibleChanged"
Visibility="{Binding ElementName=StackPanelPPTButtons, Path=Visibility}">
<StackPanel Visibility="{Binding ElementName=StackPanelPPTControls, Path=Visibility}">
<Button Content="↑" FontFamily="Microsoft YaHei UI"
Margin="0,10,0,0" Width="{Binding ElementName=StackPanelMain, Path=ActualWidth}"
Click="BtnPPTSlidesUp_Click"
Foreground="{Binding ElementName=BtnExit, Path=Foreground}"
Background="{Binding ElementName=BtnExit, Path=Background}" />
<Button Content="↓" FontFamily="Microsoft YaHei UI"
Margin="0,10,0,15" Width="{Binding ElementName=StackPanelMain, Path=ActualWidth}"
Click="BtnPPTSlidesDown_Click"
Foreground="{Binding ElementName=BtnExit, Path=Foreground}"
Background="{Binding ElementName=BtnExit, Path=Background}" />
</StackPanel>
</StackPanel>
<Button x:Name="BtnUndo" FontFamily="Microsoft YaHei UI"
Margin="0,10,0,0" Width="{Binding ElementName=StackPanelMain, Path=ActualWidth}"
Click="BtnUndo_Click" Foreground="{Binding ElementName=BtnExit, Path=Foreground}"
Background="{Binding ElementName=BtnExit, Path=Background}"
IsEnabled="False" Visibility="Collapsed" IsEnabledChanged="Btn_IsEnabledChanged">
<StackPanel Opacity="0.2">
<ui:FontIcon Icon="{x:Static ui:SegoeFluentIcons.Undo}" />
<TextBlock Text="{i18n:I18n Key=Board_Undo}" Margin="0,4,0,0" />
</StackPanel>
</Button>
<Button x:Name="BtnRedo" FontFamily="Microsoft YaHei UI"
Margin="0,10,0,0" Width="{Binding ElementName=StackPanelMain, Path=ActualWidth}"
Click="BtnRedo_Click" Foreground="{Binding ElementName=BtnExit, Path=Foreground}"
Background="{Binding ElementName=BtnExit, Path=Background}"
IsEnabled="False" Visibility="Collapsed" IsEnabledChanged="Btn_IsEnabledChanged">
<StackPanel Opacity="0.2">
<ui:FontIcon Icon="{x:Static ui:SegoeFluentIcons.Redo}" />
<TextBlock Text="{i18n:I18n Key=OldUI_Restore}" Margin="0,4,0,0" />
</StackPanel>
</Button>
<Button Name="BtnClearAndHideCanvas" Content="{i18n:I18n Key=OldUI_ClearAndHide}" Visibility="Collapsed"
FontFamily="Microsoft YaHei UI"
Margin="0,10,0,0" Width="{Binding ElementName=StackPanelMain, Path=ActualWidth}"
Block.TextAlignment="Center"
Click="BtnSelect_Click" Foreground="{Binding ElementName=BtnExit, Path=Foreground}"
Background="{Binding ElementName=BtnExit, Path=Background}" />
<Grid Name="GridForLeftSideReservedSpace"
Height="{Binding ElementName=StackPanelInfo, Path=ActualHeight}" />
</StackPanel>
</Viewbox>
<!--// PPT 工具栏 //-->
<Grid>
<Grid Visibility="Visible">
<Viewbox x:Name="LeftBottomPanelForPPTNavigation" Visibility="Collapsed" Margin="6,0,0,6" Height="50"
HorizontalAlignment="Left" VerticalAlignment="Bottom">
<Border BorderThickness="1" BorderBrush="#a1a1aa" Name="PPTBtnLBBorder"
Background="#f4f4f5" Opacity="1" CornerRadius="6">
<ikw:SimpleStackPanel Orientation="Horizontal">
<Border Width="50" Height="50" MouseUp="GridPPTControlPrevious_MouseUp"
Name="PPTLBPreviousButtonBorder"
MouseDown="GridPPTControlPrevious_MouseDown"
MouseLeave="GridPPTControlPrevious_MouseLeave"
CornerRadius="5 5 0 0" Background="Transparent">
<Grid>
<Border Margin="3" CornerRadius="5" Name="PPTLBPreviousButtonFeedbackBorder"
Background="#18181b" Opacity="0" />
<Image Height="28" Width="28">
<Image.Source>
<DrawingImage>
<DrawingImage.Drawing>
<DrawingGroup ClipGeometry="M0,0 V24 H24 V0 H0 Z">
<GeometryDrawing Brush="#27272a"
x:Name="PPTLBPreviousButtonGeometry"
Geometry="F0 M24,24z M0,0z M3.3994,12.9642C2.86687,12.4317,2.86687,11.5683,3.3994,11.0358L9.94485,4.49031C10.4774,3.95777 11.3408,3.95777 11.8733,4.49031 12.4059,5.02284 12.4059,5.88625 11.8733,6.41878L7.65575,10.6364 19.6364,10.6364C20.3895,10.6364 21,11.2469 21,12 21,12.7531 20.3895,13.3636 19.6364,13.3636L7.65575,13.3636 11.8733,17.5812C12.4059,18.1137 12.4059,18.9772 11.8733,19.5097 11.3408,20.0422 10.4774,20.0422 9.94485,19.5097L3.3994,12.9642z" />
</DrawingGroup>
</DrawingImage.Drawing>
</DrawingImage>
</Image.Source>
</Image>
</Grid>
</Border>
<Border Visibility="Visible" Name="PPTLBPageButton" TextBlock.Foreground="#171717"
MouseUp="PPTNavigationBtn_MouseUp" MouseDown="PPTNavigationBtn_MouseDown"
MouseLeave="PPTNavigationBtn_MouseLeave" Width="auto" MinWidth="50" Height="50"
Background="Transparent">
<Grid>
<Border Margin="0,3" CornerRadius="5" Name="PPTLBPageButtonFeedbackBorder"
Background="#18181b" Opacity="0" />
<ikw:SimpleStackPanel VerticalAlignment="Center" Orientation="Vertical"
Spacing="0.5" Margin="12,0">
<TextBlock HorizontalAlignment="Center" VerticalAlignment="Center"
FontSize="17" FontWeight="Bold"
Text="{Binding ElementName=PPTBtnPageNow, Path=Text}" />
<TextBlock HorizontalAlignment="Center" VerticalAlignment="Center"
FontSize="10"
Text="{Binding ElementName=PPTBtnPageTotal, Path=Text}" />
</ikw:SimpleStackPanel>
</Grid>
</Border>
<Border Width="50" Height="50" MouseUp="GridPPTControlNext_MouseUp"
MouseDown="GridPPTControlNext_MouseDown" MouseLeave="GridPPTControlNext_MouseLeave"
CornerRadius="0 0 5 5" Background="Transparent" Name="PPTLBNextButtonBorder">
<Grid>
<Border Margin="3" CornerRadius="5" Name="PPTLBNextButtonFeedbackBorder"
Background="#18181b" Opacity="0" />
<Image VerticalAlignment="Center" HorizontalAlignment="Center" Height="28"
Width="28">
<Image.Source>
<DrawingImage>
<DrawingImage.Drawing>
<DrawingGroup ClipGeometry="M0,0 V24 H24 V0 H0 Z">
<GeometryDrawing Brush="#27272a"
x:Name="PPTLBNextButtonGeometry"
Geometry="F0 M24,24z M0,0z M20.6006,12.9642C21.1331,12.4317,21.1331,11.5683,20.6006,11.0358L14.0551,4.49031C13.5226,3.95777 12.6592,3.95777 12.1267,4.49031 11.5941,5.02284 11.5941,5.88625 12.1267,6.41878L16.3443,10.6364 4.36364,10.6364C3.61052,10.6364 3,11.2469 3,12 3,12.7531 3.61052,13.3636 4.36364,13.3636L16.3443,13.3636 12.1267,17.5812C11.5941,18.1137 11.5941,18.9772 12.1267,19.5097 12.6592,20.0422 13.5226,20.0422 14.0551,19.5097L20.6006,12.9642z" />
</DrawingGroup>
</DrawingImage.Drawing>
</DrawingImage>
</Image.Source>
</Image>
</Grid>
</Border>
</ikw:SimpleStackPanel>
</Border>
</Viewbox>
<Viewbox x:Name="RightBottomPanelForPPTNavigation" Visibility="Collapsed" Margin="0,0,6,6" Height="50"
HorizontalAlignment="Right" VerticalAlignment="Bottom">
<Border BorderThickness="1" BorderBrush="#a1a1aa" Name="PPTBtnRBBorder"
Background="#f4f4f5" Opacity="1" CornerRadius="6">
<ikw:SimpleStackPanel Orientation="Horizontal">
<Border Width="50" Height="50" MouseUp="GridPPTControlPrevious_MouseUp"
Name="PPTRBPreviousButtonBorder"
MouseDown="GridPPTControlPrevious_MouseDown"
MouseLeave="GridPPTControlPrevious_MouseLeave"
CornerRadius="5 5 0 0" Background="Transparent">
<Grid>
<Border Margin="3" CornerRadius="5" Name="PPTRBPreviousButtonFeedbackBorder"
Background="#18181b" Opacity="0" />
<Image Height="28" Width="28">
<Image.Source>
<DrawingImage>
<DrawingImage.Drawing>
<DrawingGroup ClipGeometry="M0,0 V24 H24 V0 H0 Z">
<GeometryDrawing Brush="#27272a"
x:Name="PPTRBPreviousButtonGeometry"
Geometry="F0 M24,24z M0,0z M3.3994,12.9642C2.86687,12.4317,2.86687,11.5683,3.3994,11.0358L9.94485,4.49031C10.4774,3.95777 11.3408,3.95777 11.8733,4.49031 12.4059,5.02284 12.4059,5.88625 11.8733,6.41878L7.65575,10.6364 19.6364,10.6364C20.3895,10.6364 21,11.2469 21,12 21,12.7531 20.3895,13.3636 19.6364,13.3636L7.65575,13.3636 11.8733,17.5812C12.4059,18.1137 12.4059,18.9772 11.8733,19.5097 11.3408,20.0422 10.4774,20.0422 9.94485,19.5097L3.3994,12.9642z" />
</DrawingGroup>
</DrawingImage.Drawing>
</DrawingImage>
</Image.Source>
</Image>
</Grid>
</Border>
<Border Visibility="Visible" Name="PPTRBPageButton" TextBlock.Foreground="#171717"
MouseUp="PPTNavigationBtn_MouseUp" MouseDown="PPTNavigationBtn_MouseDown"
MouseLeave="PPTNavigationBtn_MouseLeave" Width="auto" MinWidth="50" Height="50"
Background="Transparent">
<Grid>
<Border Margin="0,3" CornerRadius="5" Name="PPTRBPageButtonFeedbackBorder"
Background="#18181b" Opacity="0" />
<ikw:SimpleStackPanel VerticalAlignment="Center" Orientation="Vertical"
Spacing="0.5" Margin="12,0">
<TextBlock HorizontalAlignment="Center" VerticalAlignment="Center"
FontSize="17" FontWeight="Bold"
Text="{Binding ElementName=PPTBtnPageNow, Path=Text}" />
<TextBlock HorizontalAlignment="Center" VerticalAlignment="Center"
FontSize="10"
Text="{Binding ElementName=PPTBtnPageTotal, Path=Text}" />
</ikw:SimpleStackPanel>
</Grid>
</Border>
<Border Width="50" Height="50" MouseUp="GridPPTControlNext_MouseUp"
MouseDown="GridPPTControlNext_MouseDown" MouseLeave="GridPPTControlNext_MouseLeave"
CornerRadius="0 0 5 5" Background="Transparent" Name="PPTRBNextButtonBorder">
<Grid>
<Border Margin="3" CornerRadius="5" Name="PPTRBNextButtonFeedbackBorder"
Background="#18181b" Opacity="0" />
<Image VerticalAlignment="Center" HorizontalAlignment="Center" Height="28"
Width="28">
<Image.Source>
<DrawingImage>
<DrawingImage.Drawing>
<DrawingGroup ClipGeometry="M0,0 V24 H24 V0 H0 Z">
<GeometryDrawing Brush="#27272a"
x:Name="PPTRBNextButtonGeometry"
Geometry="F0 M24,24z M0,0z M20.6006,12.9642C21.1331,12.4317,21.1331,11.5683,20.6006,11.0358L14.0551,4.49031C13.5226,3.95777 12.6592,3.95777 12.1267,4.49031 11.5941,5.02284 11.5941,5.88625 12.1267,6.41878L16.3443,10.6364 4.36364,10.6364C3.61052,10.6364 3,11.2469 3,12 3,12.7531 3.61052,13.3636 4.36364,13.3636L16.3443,13.3636 12.1267,17.5812C11.5941,18.1137 11.5941,18.9772 12.1267,19.5097 12.6592,20.0422 13.5226,20.0422 14.0551,19.5097L20.6006,12.9642z" />
</DrawingGroup>
</DrawingImage.Drawing>
</DrawingImage>
</Image.Source>
</Image>
</Grid>
</Border>
</ikw:SimpleStackPanel>
</Border>
</Viewbox>
</Grid>
</Grid>
<!--// PPT 侧边翻页按钮 //-->
<Viewbox x:Name="LeftSidePanelForPPTNavigation" Visibility="Visible" Width="56"
HorizontalAlignment="Left" VerticalAlignment="Center">
<Border BorderThickness="1" BorderBrush="#a1a1aa" Name="PPTBtnLSBorder"
Background="#f4f4f5" Opacity="1" CornerRadius="6" Margin="6,0,0,0">
<ikw:SimpleStackPanel Orientation="Vertical">
<Border Width="50" Height="50" MouseUp="GridPPTControlPrevious_MouseUp"
Name="PPTLSPreviousButtonBorder"
MouseDown="GridPPTControlPrevious_MouseDown" MouseLeave="GridPPTControlPrevious_MouseLeave"
CornerRadius="5 5 0 0" Background="Transparent">
<Grid>
<Border Margin="3" CornerRadius="5" Name="PPTLSPreviousButtonFeedbackBorder"
Background="#18181b" Opacity="0" />
<Image Height="28" Width="28">
<Image.Source>
<DrawingImage>
<DrawingImage.Drawing>
<DrawingGroup ClipGeometry="M0,0 V24 H24 V0 H0 Z">
<GeometryDrawing Brush="#27272a" x:Name="PPTLSPreviousButtonGeometry"
Geometry="F0 M24,24z M0,0z M11.0357,3.3994C11.5682,2.86687,12.4316,2.86687,12.9641,3.3994L19.5096,9.94485C20.0421,10.4774 20.0421,11.3408 19.5096,11.8733 18.9771,12.4059 18.1137,12.4059 17.5811,11.8733L13.3635,7.65575 13.3635,19.6364C13.3635,20.3895 12.753,21 11.9999,21 11.2468,21 10.6363,20.3895 10.6363,19.6364L10.6363,7.65575 6.41869,11.8733C5.88616,12.4059 5.02275,12.4059 4.49022,11.8733 3.95769,11.3408 3.95769,10.4774 4.49022,9.94485L11.0357,3.3994z" />
</DrawingGroup>
</DrawingImage.Drawing>
</DrawingImage>
</Image.Source>
</Image>
</Grid>
</Border>
<Border Visibility="Visible" Name="PPTLSPageButton" TextBlock.Foreground="#171717"
MouseUp="PPTNavigationBtn_MouseUp" MouseDown="PPTNavigationBtn_MouseDown"
MouseLeave="PPTNavigationBtn_MouseLeave" Width="50" Height="50"
Background="Transparent">
<Grid>
<Border Margin="3,0" CornerRadius="5" Name="PPTLSPageButtonFeedbackBorder"
Background="#18181b" Opacity="0" />
<ikw:SimpleStackPanel VerticalAlignment="Center" Orientation="Vertical" Spacing="0.5">
<TextBlock HorizontalAlignment="Center" VerticalAlignment="Center"
FontSize="17" FontWeight="Bold"
Text="999" Name="PPTBtnPageNow" />
<TextBlock HorizontalAlignment="Center" VerticalAlignment="Center"
FontSize="10" Text="/ 999" Name="PPTBtnPageTotal" />
</ikw:SimpleStackPanel>
</Grid>
</Border>
<Border Width="50" Height="50" MouseUp="GridPPTControlNext_MouseUp"
MouseDown="GridPPTControlNext_MouseDown" MouseLeave="GridPPTControlNext_MouseLeave"
CornerRadius="0 0 5 5" Background="Transparent" Name="PPTLSNextButtonBorder">
<Grid>
<Border Margin="3" CornerRadius="5" Name="PPTLSNextButtonFeedbackBorder"
Background="#18181b" Opacity="0" />
<Image VerticalAlignment="Center" HorizontalAlignment="Center" Height="28" Width="28">
<Image.Source>
<DrawingImage>
<DrawingImage.Drawing>
<DrawingGroup ClipGeometry="M0,0 V24 H24 V0 H0 Z">
<GeometryDrawing Brush="#27272a" x:Name="PPTLSNextButtonGeometry"
Geometry="F0 M24,24z M0,0z M11.0357,20.6006C11.5682,21.1331,12.4316,21.1331,12.9641,20.6006L19.5096,14.0551C20.0421,13.5226 20.0421,12.6592 19.5096,12.1267 18.9771,11.5941 18.1137,11.5941 17.5811,12.1267L13.3635,16.3443 13.3635,4.36364C13.3635,3.61052 12.753,3 11.9999,3 11.2468,3 10.6363,3.61052 10.6363,4.36364L10.6363,16.3443 6.41869,12.1267C5.88616,11.5941 5.02275,11.5941 4.49022,12.1267 3.95769,12.6592 3.95769,13.5226 4.49022,14.0551L11.0357,20.6006z" />
</DrawingGroup>
</DrawingImage.Drawing>
</DrawingImage>
</Image.Source>
</Image>
</Grid>
</Border>
</ikw:SimpleStackPanel>
</Border>
</Viewbox>
<Viewbox x:Name="RightSidePanelForPPTNavigation" Visibility="Visible" Width="56"
HorizontalAlignment="Right" VerticalAlignment="Center">
<Border BorderThickness="1" BorderBrush="#a1a1aa" Name="PPTBtnRSBorder"
Background="#f4f4f5" Opacity="1" CornerRadius="6" Margin="0,0,6,0">
<ikw:SimpleStackPanel Orientation="Vertical">
<Border Width="50" Height="50" MouseUp="GridPPTControlPrevious_MouseUp"
Name="PPTRSPreviousButtonBorder"
MouseDown="GridPPTControlPrevious_MouseDown" MouseLeave="GridPPTControlPrevious_MouseLeave"
CornerRadius="5 5 0 0" Background="Transparent">
<Grid>
<Border Margin="3" CornerRadius="5" Name="PPTRSPreviousButtonFeedbackBorder"
Background="#18181b" Opacity="0" />
<Image Height="28" Width="28">
<Image.Source>
<DrawingImage>
<DrawingImage.Drawing>
<DrawingGroup ClipGeometry="M0,0 V24 H24 V0 H0 Z">
<GeometryDrawing Brush="#27272a" x:Name="PPTRSPreviousButtonGeometry"
Geometry="F0 M24,24z M0,0z M11.0357,3.3994C11.5682,2.86687,12.4316,2.86687,12.9641,3.3994L19.5096,9.94485C20.0421,10.4774 20.0421,11.3408 19.5096,11.8733 18.9771,12.4059 18.1137,12.4059 17.5811,11.8733L13.3635,7.65575 13.3635,19.6364C13.3635,20.3895 12.753,21 11.9999,21 11.2468,21 10.6363,20.3895 10.6363,19.6364L10.6363,7.65575 6.41869,11.8733C5.88616,12.4059 5.02275,12.4059 4.49022,11.8733 3.95769,11.3408 3.95769,10.4774 4.49022,9.94485L11.0357,3.3994z" />
</DrawingGroup>
</DrawingImage.Drawing>
</DrawingImage>
</Image.Source>
</Image>
</Grid>
</Border>
<Border Visibility="Visible" Name="PPTRSPageButton"
MouseUp="PPTNavigationBtn_MouseUp" MouseDown="PPTNavigationBtn_MouseDown"
MouseLeave="PPTNavigationBtn_MouseLeave" Width="50" Height="50"
Background="Transparent" TextBlock.Foreground="#171717">
<Grid>
<Border Margin="3,0" CornerRadius="5" Name="PPTRSPageButtonFeedbackBorder"
Background="#18181b" Opacity="0" />
<ikw:SimpleStackPanel VerticalAlignment="Center" Orientation="Vertical" Spacing="0.5">
<TextBlock HorizontalAlignment="Center" VerticalAlignment="Center"
FontSize="17" FontWeight="Bold"
Text="{Binding ElementName=PPTBtnPageNow, Path=Text}" />
<TextBlock HorizontalAlignment="Center" VerticalAlignment="Center"
FontSize="10"
Text="{Binding ElementName=PPTBtnPageTotal, Path=Text}" />
</ikw:SimpleStackPanel>
</Grid>
</Border>
<Border Width="50" Height="50" MouseUp="GridPPTControlNext_MouseUp"
MouseDown="GridPPTControlNext_MouseDown" MouseLeave="GridPPTControlNext_MouseLeave"
CornerRadius="0 0 5 5" Background="Transparent" Name="PPTRSNextButtonBorder">
<Grid>
<Border Margin="3" CornerRadius="5" Name="PPTRSNextButtonFeedbackBorder"
Background="#18181b" Opacity="0" />
<Image VerticalAlignment="Center" HorizontalAlignment="Center" Height="28" Width="28">
<Image.Source>
<DrawingImage>
<DrawingImage.Drawing>
<DrawingGroup ClipGeometry="M0,0 V24 H24 V0 H0 Z">
<GeometryDrawing Brush="#27272a" x:Name="PPTRSNextButtonGeometry"
Geometry="F0 M24,24z M0,0z M11.0357,20.6006C11.5682,21.1331,12.4316,21.1331,12.9641,20.6006L19.5096,14.0551C20.0421,13.5226 20.0421,12.6592 19.5096,12.1267 18.9771,11.5941 18.1137,11.5941 17.5811,12.1267L13.3635,16.3443 13.3635,4.36364C13.3635,3.61052 12.753,3 11.9999,3 11.2468,3 10.6363,3.61052 10.6363,4.36364L10.6363,16.3443 6.41869,12.1267C5.88616,11.5941 5.02275,11.5941 4.49022,12.1267 3.95769,12.6592 3.95769,13.5226 4.49022,14.0551L11.0357,20.6006z" />
</DrawingGroup>
</DrawingImage.Drawing>
</DrawingImage>
</Image.Source>
</Image>
</Grid>
</Border>
</ikw:SimpleStackPanel>
</Border>
</Viewbox>
<Grid Name="FloatingbarUIForInkReplay">
<Viewbox Name="ViewboxFloatingBar" Margin="100,5,0,0" Cursor="Arrow"
HorizontalAlignment="Left" Height="58" VerticalAlignment="Top" Width="1200"
UseLayoutRounding="True" SnapsToDevicePixels="True"
RenderTransformOrigin="0.5,0.5">
<Viewbox.LayoutTransform>
<ScaleTransform x:Name="ViewboxFloatingBarScaleTransform" ScaleX="1" ScaleY="1" />
</Viewbox.LayoutTransform>
<ikw:SimpleStackPanel Orientation="Horizontal">
<Border x:Name="BorderFloatingBarMoveControls" Width="36" Height="36" CornerRadius="5"
Background="{DynamicResource FloatBarBackground}" BorderThickness="1" BorderBrush="{DynamicResource FloatBarBorderBrush}"
MouseDown="SymbolIconEmoji_MouseDown" MouseUp="SymbolIconEmoji_MouseUp">
<ikw:SimpleStackPanel Margin="0,2,0,2" Orientation="Horizontal"
HorizontalAlignment="Center">
<Image Margin="0"
Name="FloatingbarHeadIconImg"
SnapsToDevicePixels="True"
RenderOptions.BitmapScalingMode="Fant"
Source="/Resources/Icons-png/icc.png" />
</ikw:SimpleStackPanel>
</Border>
<Border Margin="2,0,0,0" Padding="2" Visibility="Visible" Height="36"
Name="BorderFloatingBarMainControls" Background="{DynamicResource FloatBarBackground}" CornerRadius="5"
BorderThickness="1"
BorderBrush="{DynamicResource FloatBarBorderBrush}"
HorizontalAlignment="Left">
<Grid>
<Canvas Name="FloatingbarSelectionBGCanvas" Margin="2,0,2,0">
<Border Name="FloatingbarSelectionBG" Visibility="Hidden" Width="28" Height="34"
Canvas.Left="28" Margin="0,-2,0,-2" Background="#153b82f6">
<Canvas>
<Border Canvas.Bottom="0" Canvas.Left="8" Width="12" Height="2"
CornerRadius="1,1,0,0" Background="#2563eb" />
</Canvas>
</Border>
</Canvas>
<ikw:SimpleStackPanel Margin="2,0" Name="StackPanelFloatingBar" Orientation="Horizontal" Cursor="Arrow" HorizontalAlignment="Left">
<!--<ikw:SimpleStackPanel Name="Cursor_Icon" MouseDown="Border_MouseDown" MouseUp="CursorIcon_Click"-->
<ikw:SimpleStackPanel Name="Cursor_Icon"
MouseDown="FloatingBarToolBtnMouseDownFeedback_Panel"
MouseLeave="FloatingBarToolBtnMouseLeaveFeedback_Panel"
MouseUp="CursorIcon_Click"
Background="Transparent" Orientation="Vertical"
HorizontalAlignment="Center" Width="28" Margin="0,-2">
<Image RenderOptions.BitmapScalingMode="HighQuality" Height="17" Margin="0,3,0,0"
x:Name="CursorToolbarIconImage">
<Image.Source>
<DrawingImage>
<DrawingImage.Drawing>
<DrawingGroup ClipGeometry="M0,0 V24 H24 V0 H0 Z">
<GeometryDrawing x:Name="CursorIconGeometry" />
</DrawingGroup>
</DrawingImage.Drawing>
</DrawingImage>
</Image.Source>
</Image>
<TextBlock x:Name="SelectionToolBarTextBlock" Text="{i18n:I18n Key=FloatingBar_Mouse}" Foreground="{DynamicResource FloatBarForeground}"
FontSize="8"
Margin="0,1,0,0" TextAlignment="Center"
Style="{StaticResource AutoFitMainToolbarLabel8}" />
</ikw:SimpleStackPanel>
<ikw:SimpleStackPanel Name="Pen_Icon"
MouseDown="FloatingBarToolBtnMouseDownFeedback_Panel"
MouseLeave="FloatingBarToolBtnMouseLeaveFeedback_Panel"
MouseUp="PenIcon_Click"
Background="Transparent" Orientation="Vertical"
HorizontalAlignment="Center" Width="28" Margin="0,-2">
<Image x:Name="PenIcon"
RenderOptions.BitmapScalingMode="HighQuality" Height="17" Margin="0,3,0,0">
<Image.Source>
<DrawingImage>
<DrawingImage.Drawing>
<DrawingGroup ClipGeometry="M0,0 V24 H24 V0 H0 Z">
<GeometryDrawing x:Name="PenIconGeometry" Brush="{DynamicResource IconForeground}"
Geometry="" />
</DrawingGroup>
</DrawingImage.Drawing>
</DrawingImage>
</Image.Source>
</Image>
<TextBlock x:Name="PenToolbarTextBlock" Text="{i18n:I18n Key=FloatingBar_Annotate}" Foreground="{DynamicResource FloatBarForeground}" FontSize="8"
Margin="0,1,0,0" TextAlignment="Center"
Style="{StaticResource AutoFitMainToolbarLabel8}" />
</ikw:SimpleStackPanel>
<!-- 快捷调色盘 - 双行显示模式 -->
<ikw:SimpleStackPanel Name="QuickColorPalettePanel"
Visibility="Collapsed"
Orientation="Vertical"
HorizontalAlignment="Center"
Margin="4,0,4,0"
Width="60"
Height="42"
MaxWidth="60"
MaxHeight="42"
MinWidth="60">
<!-- 第一行:黑、白、红、橙 -->
<ikw:SimpleStackPanel Orientation="Horizontal" Margin="0,0,0,2">
<!-- 黑色 -->
<Border Name="QuickColorBlack"
Width="13" Height="13"
Background="Black"
BorderBrush="#CCCCCC"
BorderThickness="1"
CornerRadius="3"
Margin="1,0,1,0"
MouseDown="FloatingBarToolBtnMouseDownFeedback_Panel"
MouseLeave="FloatingBarToolBtnMouseLeaveFeedback_Panel"
MouseUp="QuickColorBlack_Click"
ToolTip="{i18n:I18n Key=Canvas_Color_Black}">
<Border.Style>
<Style TargetType="Border">
<Style.Triggers>
<Trigger Property="IsMouseOver" Value="True">
<Setter Property="BorderThickness" Value="2"/>
<Setter Property="BorderBrush" Value="#666666"/>
</Trigger>
</Style.Triggers>
</Style>
</Border.Style>
<!-- Check图标容器 -->
<Grid>
<!-- Check图标 -->
<Path Name="QuickColorBlackCheck"
Data="M9,20.42L2.79,14.21L5.62,11.38L9,14.77L18.88,4.88L21.71,7.71L9,20.42Z"
Fill="White"
Stretch="Uniform"
Width="8"
Height="8"
Opacity="1.0"
Visibility="Collapsed"
HorizontalAlignment="Center"
VerticalAlignment="Center"/>
</Grid>
</Border>
<!-- 白色 -->
<Border Name="QuickColorWhite"
Width="13" Height="13"
Background="White"
BorderBrush="#CCCCCC"
BorderThickness="1"
CornerRadius="3"
Margin="1,0,1,0"
MouseDown="FloatingBarToolBtnMouseDownFeedback_Panel"
MouseLeave="FloatingBarToolBtnMouseLeaveFeedback_Panel"
MouseUp="QuickColorWhite_Click"
ToolTip="{i18n:I18n Key=Canvas_Color_White}">
<Border.Style>
<Style TargetType="Border">
<Style.Triggers>
<Trigger Property="IsMouseOver" Value="True">
<Setter Property="BorderThickness" Value="2"/>
<Setter Property="BorderBrush" Value="#666666"/>
</Trigger>
</Style.Triggers>
</Style>
</Border.Style>
<!-- Check图标容器 -->
<Grid>
<!-- Check图标 -->
<Path Name="QuickColorWhiteCheck"
Data="M9,20.42L2.79,14.21L5.62,11.38L9,14.77L18.88,4.88L21.71,7.71L9,20.42Z"
Fill="Black"
Stretch="Uniform"
Width="8"
Height="8"
Opacity="1.0"
Visibility="Collapsed"
HorizontalAlignment="Center"
VerticalAlignment="Center"/>
</Grid>
</Border>
<!-- 红色 -->
<Border Name="QuickColorRed"
Width="13" Height="13"
Background="#FF0000"
BorderBrush="#CCCCCC"
BorderThickness="1"
CornerRadius="3"
Margin="1,0,1,0"
MouseDown="FloatingBarToolBtnMouseDownFeedback_Panel"
MouseLeave="FloatingBarToolBtnMouseLeaveFeedback_Panel"
MouseUp="QuickColorRed_Click"
ToolTip="{i18n:I18n Key=Canvas_Color_Red}">
<Border.Style>
<Style TargetType="Border">
<Style.Triggers>
<Trigger Property="IsMouseOver" Value="True">
<Setter Property="BorderThickness" Value="2"/>
<Setter Property="BorderBrush" Value="#666666"/>
</Trigger>
</Style.Triggers>
</Style>
</Border.Style>
<!-- Check图标容器 -->
<Grid>
<!-- Check图标 -->
<Path Name="QuickColorRedCheck"
Data="M9,20.42L2.79,14.21L5.62,11.38L9,14.77L18.88,4.88L21.71,7.71L9,20.42Z"
Fill="White"
Stretch="Uniform"
Width="8"
Height="8"
Opacity="1.0"
Visibility="Collapsed"
HorizontalAlignment="Center"
VerticalAlignment="Center"/>
</Grid>
</Border>
<!-- 橙色 -->
<Border Name="QuickColorOrange"
Width="13" Height="13"
Background="#FFA500"
BorderBrush="#CCCCCC"
BorderThickness="1"
CornerRadius="3"
Margin="1,0,1,0"
MouseDown="FloatingBarToolBtnMouseDownFeedback_Panel"
MouseLeave="FloatingBarToolBtnMouseLeaveFeedback_Panel"
MouseUp="QuickColorOrange_Click"
ToolTip="{i18n:I18n Key=Canvas_Color_Orange}">
<Border.Style>
<Style TargetType="Border">
<Style.Triggers>
<Trigger Property="IsMouseOver" Value="True">
<Setter Property="BorderThickness" Value="2"/>
<Setter Property="BorderBrush" Value="#666666"/>
</Trigger>
</Style.Triggers>
</Style>
</Border.Style>
<!-- Check图标容器 -->
<Grid>
<!-- Check图标 -->
<Path Name="QuickColorOrangeCheck"
Data="M9,20.42L2.79,14.21L5.62,11.38L9,14.77L18.88,4.88L21.71,7.71L9,20.42Z"
Fill="Black"
Stretch="Uniform"
Width="8"
Height="8"
Opacity="1.0"
Visibility="Collapsed"
HorizontalAlignment="Center"
VerticalAlignment="Center"/>
</Grid>
</Border>
</ikw:SimpleStackPanel>
<!-- 第二行:黄、绿、蓝、紫 -->
<ikw:SimpleStackPanel Orientation="Horizontal" Margin="0,2,0,0">
<!-- 黄色 -->
<Border Name="QuickColorYellow"
Width="13" Height="13"
Background="#FFFF00"
BorderBrush="#CCCCCC"
BorderThickness="1"
CornerRadius="3"
Margin="1,0,1,0"
MouseDown="FloatingBarToolBtnMouseDownFeedback_Panel"
MouseLeave="FloatingBarToolBtnMouseLeaveFeedback_Panel"
MouseUp="QuickColorYellow_Click"
ToolTip="{i18n:I18n Key=Canvas_Color_Yellow}">
<Border.Style>
<Style TargetType="Border">
<Style.Triggers>
<Trigger Property="IsMouseOver" Value="True">
<Setter Property="BorderThickness" Value="2"/>
<Setter Property="BorderBrush" Value="#666666"/>
</Trigger>
</Style.Triggers>
</Style>
</Border.Style>
<!-- Check图标容器 -->
<Grid>
<!-- Check图标 -->
<Path Name="QuickColorYellowCheck"
Data="M9,20.42L2.79,14.21L5.62,11.38L9,14.77L18.88,4.88L21.71,7.71L9,20.42Z"
Fill="Black"
Stretch="Uniform"
Width="8"
Height="8"
Opacity="1.0"
Visibility="Collapsed"
HorizontalAlignment="Center"
VerticalAlignment="Center"/>
</Grid>
</Border>
<!-- 绿色 -->
<Border Name="QuickColorGreen"
Width="13" Height="13"
Background="#16A34A"
BorderBrush="#CCCCCC"
BorderThickness="1"
CornerRadius="3"
Margin="1,0,1,0"
MouseDown="FloatingBarToolBtnMouseDownFeedback_Panel"
MouseLeave="FloatingBarToolBtnMouseLeaveFeedback_Panel"
MouseUp="QuickColorGreen_Click"
ToolTip="{i18n:I18n Key=Canvas_Color_Green}">
<Border.Style>
<Style TargetType="Border">
<Style.Triggers>
<Trigger Property="IsMouseOver" Value="True">
<Setter Property="BorderThickness" Value="2"/>
<Setter Property="BorderBrush" Value="#666666"/>
</Trigger>
</Style.Triggers>
</Style>
</Border.Style>
<!-- Check图标容器 -->
<Grid>
<!-- Check图标 -->
<Path Name="QuickColorGreenCheck"
Data="M9,20.42L2.79,14.21L5.62,11.38L9,14.77L18.88,4.88L21.71,7.71L9,20.42Z"
Fill="Black"
Stretch="Uniform"
Width="8"
Height="8"
Opacity="1.0"
Visibility="Collapsed"
HorizontalAlignment="Center"
VerticalAlignment="Center"/>
</Grid>
</Border>
<!-- 蓝色 -->
<Border Name="QuickColorBlue"
Width="13" Height="13"
Background="#2563EB"
BorderBrush="#CCCCCC"
BorderThickness="1"
CornerRadius="3"
Margin="1,0,1,0"
MouseDown="FloatingBarToolBtnMouseDownFeedback_Panel"
MouseLeave="FloatingBarToolBtnMouseLeaveFeedback_Panel"
MouseUp="QuickColorBlue_Click"
ToolTip="{i18n:I18n Key=Canvas_Color_Blue}">
<Border.Style>
<Style TargetType="Border">
<Style.Triggers>
<Trigger Property="IsMouseOver" Value="True">
<Setter Property="BorderThickness" Value="2"/>
<Setter Property="BorderBrush" Value="#666666"/>
</Trigger>
</Style.Triggers>
</Style>
</Border.Style>
<!-- Check图标容器 -->
<Grid>
<!-- Check图标 -->
<Path Name="QuickColorBlueCheck"
Data="M9,20.42L2.79,14.21L5.62,11.38L9,14.77L18.88,4.88L21.71,7.71L9,20.42Z"
Fill="White"
Stretch="Uniform"
Width="8"
Height="8"
Opacity="1.0"
Visibility="Collapsed"
HorizontalAlignment="Center"
VerticalAlignment="Center"/>
</Grid>
</Border>
<!-- 紫色 -->
<Border Name="QuickColorPurple"
Width="13" Height="13"
Background="#9333EA"
BorderBrush="#CCCCCC"
BorderThickness="1"
CornerRadius="3"
Margin="1,0,1,0"
MouseDown="FloatingBarToolBtnMouseDownFeedback_Panel"
MouseLeave="FloatingBarToolBtnMouseLeaveFeedback_Panel"
MouseUp="QuickColorPurple_Click"
ToolTip="{i18n:I18n Key=Canvas_Color_Purple}">
<Border.Style>
<Style TargetType="Border">
<Style.Triggers>
<Trigger Property="IsMouseOver" Value="True">
<Setter Property="BorderThickness" Value="2"/>
<Setter Property="BorderBrush" Value="#666666"/>
</Trigger>
</Style.Triggers>
</Style>
</Border.Style>
<!-- Check图标容器 -->
<Grid>
<!-- Check图标 -->
<Path Name="QuickColorPurpleCheck"
Data="M9,20.42L2.79,14.21L5.62,11.38L9,14.77L18.88,4.88L21.71,7.71L9,20.42Z"
Fill="White"
Stretch="Uniform"
Width="8"
Height="8"
Opacity="1.0"
Visibility="Collapsed"
HorizontalAlignment="Center"
VerticalAlignment="Center"/>
</Grid>
</Border>
</ikw:SimpleStackPanel>
</ikw:SimpleStackPanel>
<!-- 快捷调色盘 - 单行显示模式 -->
<ikw:SimpleStackPanel Name="QuickColorPaletteSingleRowPanel"
Visibility="Collapsed"
Orientation="Horizontal"
HorizontalAlignment="Center"
Margin="4,0,4,0"
Height="24"
MaxHeight="24"
MinWidth="120">
<!-- 单行显示:黑、白、红、橙、黄、绿 -->
<!-- 黑色 -->
<Border Name="QuickColorBlackSingle"
MinWidth="16" MinHeight="16"
MaxWidth="20" MaxHeight="20"
Background="Black"
BorderBrush="#CCCCCC"
BorderThickness="1"
CornerRadius="3"
Margin="2,0,2,0"
VerticalAlignment="Center"
MouseDown="FloatingBarToolBtnMouseDownFeedback_Panel"
MouseLeave="FloatingBarToolBtnMouseLeaveFeedback_Panel"
MouseUp="QuickColorBlack_Click"
ToolTip="{i18n:I18n Key=Canvas_Color_Black}">
<Border.Style>
<Style TargetType="Border">
<Style.Triggers>
<Trigger Property="IsMouseOver" Value="True">
<Setter Property="BorderThickness" Value="2"/>
<Setter Property="BorderBrush" Value="#666666"/>
</Trigger>
</Style.Triggers>
</Style>
</Border.Style>
<!-- Check图标容器 -->
<Grid>
<!-- Check图标 -->
<Path Name="QuickColorBlackCheckSingle"
Data="M9,20.42L2.79,14.21L5.62,11.38L9,14.77L18.88,4.88L21.71,7.71L9,20.42Z"
Fill="White"
Stretch="Uniform"
Width="10"
Height="10"
Opacity="1.0"
Visibility="Collapsed"
HorizontalAlignment="Center"
VerticalAlignment="Center"/>
</Grid>
</Border>
<!-- 白色 -->
<Border Name="QuickColorWhiteSingle"
MinWidth="16" MinHeight="16"
MaxWidth="20" MaxHeight="20"
Background="White"
BorderBrush="#CCCCCC"
BorderThickness="1"
CornerRadius="3"
Margin="2,0,2,0"
VerticalAlignment="Center"
MouseDown="FloatingBarToolBtnMouseDownFeedback_Panel"
MouseLeave="FloatingBarToolBtnMouseLeaveFeedback_Panel"
MouseUp="QuickColorWhite_Click"
ToolTip="{i18n:I18n Key=Canvas_Color_White}">
<Border.Style>
<Style TargetType="Border">
<Style.Triggers>
<Trigger Property="IsMouseOver" Value="True">
<Setter Property="BorderThickness" Value="2"/>
<Setter Property="BorderBrush" Value="#666666"/>
</Trigger>
</Style.Triggers>
</Style>
</Border.Style>
<!-- Check图标容器 -->
<Grid>
<!-- Check图标 -->
<Path Name="QuickColorWhiteCheckSingle"
Data="M9,20.42L2.79,14.21L5.62,11.38L9,14.77L18.88,4.88L21.71,7.71L9,20.42Z"
Fill="Black"
Stretch="Uniform"
Width="10"
Height="10"
Opacity="1.0"
Visibility="Collapsed"
HorizontalAlignment="Center"
VerticalAlignment="Center"/>
</Grid>
</Border>
<!-- 红色 -->
<Border Name="QuickColorRedSingle"
MinWidth="16" MinHeight="16"
MaxWidth="20" MaxHeight="20"
Background="#FF0000"
BorderBrush="#CCCCCC"
BorderThickness="1"
CornerRadius="3"
Margin="2,0,2,0"
VerticalAlignment="Center"
MouseDown="FloatingBarToolBtnMouseDownFeedback_Panel"
MouseLeave="FloatingBarToolBtnMouseLeaveFeedback_Panel"
MouseUp="QuickColorRed_Click"
ToolTip="{i18n:I18n Key=Canvas_Color_Red}">
<Border.Style>
<Style TargetType="Border">
<Style.Triggers>
<Trigger Property="IsMouseOver" Value="True">
<Setter Property="BorderThickness" Value="2"/>
<Setter Property="BorderBrush" Value="#666666"/>
</Trigger>
</Style.Triggers>
</Style>
</Border.Style>
<!-- Check图标容器 -->
<Grid>
<!-- Check图标 -->
<Path Name="QuickColorRedCheckSingle"
Data="M9,20.42L2.79,14.21L5.62,11.38L9,14.77L18.88,4.88L21.71,7.71L9,20.42Z"
Fill="White"
Stretch="Uniform"
Width="10"
Height="10"
Opacity="1.0"
Visibility="Collapsed"
HorizontalAlignment="Center"
VerticalAlignment="Center"/>
</Grid>
</Border>
<!-- 橙色 -->
<Border Name="QuickColorOrangeSingle"
MinWidth="16" MinHeight="16"
MaxWidth="20" MaxHeight="20"
Background="#FFA500"
BorderBrush="#CCCCCC"
BorderThickness="1"
CornerRadius="3"
Margin="2,0,2,0"
VerticalAlignment="Center"
MouseDown="FloatingBarToolBtnMouseDownFeedback_Panel"
MouseLeave="FloatingBarToolBtnMouseLeaveFeedback_Panel"
MouseUp="QuickColorOrange_Click"
ToolTip="{i18n:I18n Key=Canvas_Color_Orange}">
<Border.Style>
<Style TargetType="Border">
<Style.Triggers>
<Trigger Property="IsMouseOver" Value="True">
<Setter Property="BorderThickness" Value="2"/>
<Setter Property="BorderBrush" Value="#666666"/>
</Trigger>
</Style.Triggers>
</Style>
</Border.Style>
<!-- Check图标容器 -->
<Grid>
<!-- Check图标 -->
<Path Name="QuickColorOrangeCheckSingle"
Data="M9,20.42L2.79,14.21L5.62,11.38L9,14.77L18.88,4.88L21.71,7.71L9,20.42Z"
Fill="Black"
Stretch="Uniform"
Width="10"
Height="10"
Opacity="1.0"
Visibility="Collapsed"
HorizontalAlignment="Center"
VerticalAlignment="Center"/>
</Grid>
</Border>
<!-- 黄色 -->
<Border Name="QuickColorYellowSingle"
MinWidth="16" MinHeight="16"
MaxWidth="20" MaxHeight="20"
Background="#FFFF00"
BorderBrush="#CCCCCC"
BorderThickness="1"
CornerRadius="3"
Margin="2,0,2,0"
VerticalAlignment="Center"
MouseDown="FloatingBarToolBtnMouseDownFeedback_Panel"
MouseLeave="FloatingBarToolBtnMouseLeaveFeedback_Panel"
MouseUp="QuickColorYellow_Click"
ToolTip="{i18n:I18n Key=Canvas_Color_Yellow}">
<Border.Style>
<Style TargetType="Border">
<Style.Triggers>
<Trigger Property="IsMouseOver" Value="True">
<Setter Property="BorderThickness" Value="2"/>
<Setter Property="BorderBrush" Value="#666666"/>
</Trigger>
</Style.Triggers>
</Style>
</Border.Style>
<!-- Check图标容器 -->
<Grid>
<!-- Check图标 -->
<Path Name="QuickColorYellowCheckSingle"
Data="M9,20.42L2.79,14.21L5.62,11.38L9,14.77L18.88,4.88L21.71,7.71L9,20.42Z"
Fill="Black"
Stretch="Uniform"
Width="10"
Height="10"
Opacity="1.0"
Visibility="Collapsed"
HorizontalAlignment="Center"
VerticalAlignment="Center"/>
</Grid>
</Border>
<!-- 绿色 -->
<Border Name="QuickColorGreenSingle"
MinWidth="16" MinHeight="16"
MaxWidth="20" MaxHeight="20"
Background="#16A34A"
BorderBrush="#CCCCCC"
BorderThickness="1"
CornerRadius="3"
Margin="2,0,2,0"
VerticalAlignment="Center"
MouseDown="FloatingBarToolBtnMouseDownFeedback_Panel"
MouseLeave="FloatingBarToolBtnMouseLeaveFeedback_Panel"
MouseUp="QuickColorGreen_Click"
ToolTip="{i18n:I18n Key=Canvas_Color_Green}">
<Border.Style>
<Style TargetType="Border">
<Style.Triggers>
<Trigger Property="IsMouseOver" Value="True">
<Setter Property="BorderThickness" Value="2"/>
<Setter Property="BorderBrush" Value="#666666"/>
</Trigger>
</Style.Triggers>
</Style>
</Border.Style>
<!-- Check图标容器 -->
<Grid>
<!-- Check图标 -->
<Path Name="QuickColorGreenCheckSingle"
Data="M9,20.42L2.79,14.21L5.62,11.38L9,14.77L18.88,4.88L21.71,7.71L9,20.42Z"
Fill="Black"
Stretch="Uniform"
Width="10"
Height="10"
Opacity="1.0"
Visibility="Collapsed"
HorizontalAlignment="Center"
VerticalAlignment="Center"/>
</Grid>
</Border>
</ikw:SimpleStackPanel>
<ikw:SimpleStackPanel Name="SymbolIconDelete"
MouseDown="FloatingBarToolBtnMouseDownFeedback_Panel"
MouseLeave="FloatingBarToolBtnMouseLeaveFeedback_Panel"
MouseUp="SymbolIconDelete_MouseUp"
Background="Transparent" Orientation="Vertical"
HorizontalAlignment="Center" Width="28" Margin="0,-2">
<Image RenderOptions.BitmapScalingMode="HighQuality" Height="17" Margin="0,3,0,0">
<Image.Source>
<DrawingImage>
<DrawingImage.Drawing>
<DrawingGroup ClipGeometry="M0,0 V24 H24 V0 H0 Z">
<GeometryDrawing x:Name="ClearIconGeometry" Brush="{DynamicResource RedBrush}"
Geometry="F1 M24,24z M0,0z M8.53333,2.37333L7.92,4.21333 2.56,4.21333C2.4,4.21333 2.26667,4.27556 2.16,4.4 2.05333,4.50667 2,4.63111 2,4.77333L2,5.89333C2,6.03556 2.05333,6.16889 2.16,6.29333 2.26667,6.4 2.4,6.45333 2.56,6.45333L21.44,6.45333C21.6,6.45333 21.7333,6.4 21.84,6.29333 21.9467,6.16889 22,6.03556 22,5.89333L22,4.77333C22,4.63111 21.9467,4.50667 21.84,4.4 21.7333,4.27556 21.6,4.21333 21.44,4.21333L16.08,4.21333 15.4667,2.37333C15.4311,2.26667 15.36,2.17778 15.2533,2.10667 15.1644,2.03556 15.0578,2 14.9333,2L9.06667,2C8.94222,2 8.82667,2.03556 8.72,2.10667 8.63111,2.17778 8.56889,2.26667 8.53333,2.37333z M19.7867,8.10667L18.7467,20.9867C18.7111,21.2711 18.5867,21.5111 18.3733,21.7067 18.1778,21.9022 17.9378,22 17.6533,22L6.37333,22C6.08889,22 5.84,21.9022 5.62667,21.7067 5.41333,21.5111 5.28889,21.2711 5.25333,20.9867L4.21333,8.10667 19.7867,8.10667z M8.66667,12.56L8.66667,16.9867C8.66667,17.1467 8.72,17.28 8.82667,17.3867 8.93333,17.4933 9.06667,17.5467 9.22667,17.5467L9.78667,17.5467C9.92889,17.5467 10.0533,17.4933 10.16,17.3867 10.2844,17.28 10.3467,17.1467 10.3467,16.9867L10.3467,12.56C10.3467,12.4 10.2844,12.2667 10.16,12.16 10.0533,12.0533 9.92889,12 9.78667,12L9.22667,12C9.06667,12 8.93333,12.0533 8.82667,12.16 8.72,12.2667 8.66667,12.4 8.66667,12.56z M14.2133,12C14.0711,12 13.9467,12.0533 13.84,12.16 13.7333,12.2667 13.68,12.4 13.68,12.56L13.68,16.9867C13.68,17.1467 13.7333,17.28 13.84,17.3867 13.9467,17.4933 14.0711,17.5467 14.2133,17.5467L14.7733,17.5467C14.9333,17.5467 15.0667,17.4933 15.1733,17.3867 15.28,17.28 15.3333,17.1467 15.3333,16.9867L15.3333,12.56C15.3333,12.4 15.28,12.2667 15.1733,12.16 15.0667,12.0533 14.9333,12 14.7733,12L14.2133,12z" />
</DrawingGroup>
</DrawingImage.Drawing>
</DrawingImage>
</Image.Source>
</Image>
<TextBlock x:Name="TrashBinToolbarTextBlock" Text="{i18n:I18n Key=FloatingBar_Clear}" Foreground="{DynamicResource RedBrush}"
FontWeight="Bold" FontSize="8" Margin="0,1,0,0" TextAlignment="Center"
Style="{StaticResource AutoFitMainToolbarLabel8}" />
</ikw:SimpleStackPanel>
<ikw:SimpleStackPanel Name="StackPanelCanvasControls" Visibility="Visible"
Orientation="{Binding ElementName=StackPanelFloatingBar, Path=Orientation}">
<ikw:SimpleStackPanel Width="0"
Orientation="{Binding ElementName=StackPanelFloatingBar, Path=Orientation}">
<Grid Margin="0,5,0,5" Width="0" RenderTransformOrigin="0.5,0.5">
<Border x:Name="PenPalette" Visibility="Visible" Background="{DynamicResource FloatBarBackground}"
Opacity="1" BorderBrush="#2563eb"
BorderThickness="1" CornerRadius="8" Margin="-160,-200,-33,32">
<ikw:SimpleStackPanel Margin="0,-20,0,0">
<Border BorderBrush="#1e3a8a" Height="32" BorderThickness="0,0,0,1"
CornerRadius="8,8,0,0" Background="#2563eb"
Margin="-1,-1,-1,0"
Padding="1,1,1,0">
<ikw:SimpleStackPanel Orientation="Vertical"
VerticalAlignment="Center">
<ikw:SimpleStackPanel Orientation="Horizontal"
HorizontalAlignment="Stretch"
Margin="8,0,0,0" Spacing="2">
<Border x:Name="DefaultPenTabButton"
MouseDown="SwitchToDefaultPen"
Background="#48dbeafe" Height="20" Width="36"
CornerRadius="3">
<Canvas>
<ikw:SimpleStackPanel
x:Name="DefaultPenTabButtonIndicator"
Visibility="Visible"
Orientation="Horizontal"
Canvas.Left="9" Canvas.Right="9"
Canvas.Bottom="0">
<Border Width="18" Height="2"
Background="{DynamicResource FloatBarBackground}" CornerRadius="1" />
</ikw:SimpleStackPanel>
<ikw:SimpleStackPanel Orientation="Vertical"
Height="20" Width="36">
<ikw:SimpleStackPanel
VerticalAlignment="Center"
Orientation="Horizontal"
HorizontalAlignment="Center"
Margin="0,3">
<Image
Source="/Resources/new-icons/pen-white.png"
RenderOptions.BitmapScalingMode="HighQuality"
Height="13" Width="13" />
<TextBlock
x:Name="DefaultPenTabButtonText"
Foreground="White"
FontWeight="Medium"
FontSize="9" TextAlignment="Center"
Text="{i18n:I18n Key=Board_Pen}" Margin="2,1,0,0" />
</ikw:SimpleStackPanel>
</ikw:SimpleStackPanel>
</Canvas>
</Border>
<Border x:Name="HighlightPenTabButton"
MouseDown="SwitchToHighlighterPen"
Background="Transparent" Height="20" Width="52"
CornerRadius="3">
<Canvas>
<ikw:SimpleStackPanel Visibility="Collapsed"
x:Name="HighlightPenTabButtonIndicator"
Orientation="Horizontal" Canvas.Left="14"
Canvas.Right="14" Canvas.Bottom="0">
<Border Width="24" Height="2"
Background="{DynamicResource FloatBarBackground}" CornerRadius="1" />
</ikw:SimpleStackPanel>
<ikw:SimpleStackPanel Orientation="Vertical"
Height="20" Width="52">
<ikw:SimpleStackPanel
VerticalAlignment="Center"
Orientation="Horizontal"
HorizontalAlignment="Center"
Margin="0,3">
<Image
Source="/Resources/new-icons/highlighter-white.png"
RenderOptions.BitmapScalingMode="HighQuality"
Height="13" Width="13" />
<TextBlock
x:Name="HighlightPenTabButtonText"
Foreground="White"
FontWeight="Medium"
FontSize="9" TextAlignment="Center"
Text="{i18n:I18n Key=Board_Highlighter}" Margin="2,1,0,0"
Width="35"
Style="{StaticResource AutoFitPenTabLabel9}" />
</ikw:SimpleStackPanel>
</ikw:SimpleStackPanel>
</Canvas>
</Border>
<Image Margin="66,0,0,0"
Source="/Resources/new-icons/close-white.png"
RenderOptions.BitmapScalingMode="HighQuality"
Height="16" Width="16"
MouseDown="Border_MouseDown"
MouseUp="CloseBordertools_MouseUp" />
</ikw:SimpleStackPanel>
</ikw:SimpleStackPanel>
</Border>
<Viewbox Name="DefaultPenPropsPanel" Visibility="Collapsed"
Margin="12,8,12,0" HorizontalAlignment="Center"
VerticalAlignment="Center" Stretch="Fill">
<ikw:SimpleStackPanel>
<ikw:SimpleStackPanel Orientation="Horizontal"
Height="35" Margin="0,0,0,8">
<Label Content="笔锋" Margin="0,0,6,0"
Foreground="{DynamicResource FloatBarForeground}"
FontSize="16" FontWeight="Bold"
VerticalAlignment="Center" />
<ComboBox Height="30" VerticalAlignment="Center"
Name="ComboBoxPenStyle"
FontFamily="Microsoft YaHei UI"
SelectedIndex="1"
SelectionChanged="ComboBoxPenStyle_SelectionChanged">
<ComboBoxItem Content="实时笔锋"
FontFamily="Microsoft YaHei UI" />
<ComboBoxItem Content="基于点集"
FontFamily="Microsoft YaHei UI" />
<ComboBoxItem Content="基于速率"
FontFamily="Microsoft YaHei UI" />
<ComboBoxItem Content="关闭笔锋"
FontFamily="Microsoft YaHei UI" />
</ComboBox>
</ikw:SimpleStackPanel>
<Controls:UniformGrid Columns="3" Width="300" Height="55">
<ikw:SimpleStackPanel
x:Name="NibModeSimpleStackPanel"
Orientation="Horizontal" Width="100">
<Label Content="笔尖模式" FontSize="12"
VerticalAlignment="Center" />
<ui:ToggleSwitch
x:Name="ToggleSwitchEnableNibMode"
MinWidth="0"
FontFamily="Microsoft YaHei UI"
Width="80" Margin="10,0,0,0"
Toggled="ToggleSwitchEnableNibMode_Toggled"
IsOn="True" />
</ikw:SimpleStackPanel>
<ikw:SimpleStackPanel Orientation="Horizontal"
Width="100">
<Label Margin="0,0,10,0" Content="墨迹纠正"
Foreground="{DynamicResource FloatBarForeground}"
FontSize="12" VerticalAlignment="Center" />
<ui:ToggleSwitch
Foreground="{DynamicResource FloatBarForeground}"
FontFamily="Microsoft YaHei UI" Width="80"
Toggled="ToggleSwitchEnableInkToShape_Toggled"
MinWidth="0"
IsOn="{Binding ElementName=ToggleSwitchEnableInkToShape, Path=IsOn}" />
</ikw:SimpleStackPanel>
<ikw:SimpleStackPanel Orientation="Horizontal"
Width="100" x:Name="InkFadeControlPanel2">
<Label Margin="0,0,10,0" Content="墨迹渐隐"
Foreground="{DynamicResource FloatBarForeground}"
FontSize="12" VerticalAlignment="Center" />
<ui:ToggleSwitch
x:Name="ToggleSwitchInkFadeInPanel2"
Foreground="{DynamicResource FloatBarForeground}"
FontFamily="Microsoft YaHei UI" Width="90"
Toggled="ToggleSwitchInkFadeInPanel_Toggled"
MinWidth="0"
IsOn="{Binding ElementName=ToggleSwitchInkFadeInPanel, Path=IsOn}" />
</ikw:SimpleStackPanel>
</Controls:UniformGrid>
<StackPanel Orientation="Horizontal" Height="30">
<Label Margin="0,0,10,0" Content="粗细" FontWeight="Bold"
Foreground="{DynamicResource FloatBarForeground}"
FontSize="17" VerticalAlignment="Center" />
<Slider x:Name="InkWidthSlider" Minimum="1"
Maximum="20"
Width="200" FontFamily="Microsoft YaHei UI"
FontSize="20" IsSnapToTickEnabled="True"
Value="5"
TickFrequency="0.1" TickPlacement="None"
ValueChanged="InkWidthSlider_ValueChanged" />
<TextBlock Width="36" TextAlignment="Right"
Text="{Binding Value, ElementName=InkWidthSlider, Mode=OneWay}"
FontFamily="Consolas" VerticalAlignment="Center"
Margin="10,0,0,0" FontSize="15" />
<Button x:Name="BoardBrushModeButton" Width="24" Height="24" Margin="8,0,0,0"
Style="{StaticResource NavButton}"
VerticalAlignment="Center"
Click="BoardBrushModeButton_Click"
ToolTip="板刷模式">
<Viewbox Margin="4" Stretch="Uniform">
<Path x:Name="BoardBrushModeIcon" Fill="{DynamicResource FloatBarForeground}" Stretch="Fill">
<Path.Data>
<PathGeometry Figures="M6.7812 6.9375C6.81411 7.06468 6.87172 7.18413 6.95081 7.28903C7.0299 7.39392 7.12891 7.4822 7.24213 7.54882C7.47058 7.68347 7.74313 7.72187 7.99989 7.65557C8.25664 7.58928 8.47657 7.42372 8.61128 7.19531L11.9238 1.57031C12.0584 1.34186 12.0968 1.06928 12.0305 0.812526C11.9642 0.555772 11.7987 0.335869 11.5703 0.201167C11.3418 0.0665197 11.0693 0.028121 10.8125 0.0944166C10.5558 0.160712 10.3358 0.326268 10.2011 0.554683L6.88862 6.17968C6.82183 6.29276 6.77796 6.41788 6.75953 6.54791C6.7411 6.67793 6.74847 6.81031 6.7812 6.9375Z M5.21875 5.09375L10.1662 8.14759C10.7697 8.46231 10.9861 9.26072 10.3308 9.74464L9.70892 9.96117L3.6897 6.43971L3.7074 5.53239C3.99623 4.94715 4.46209 4.71653 5.21875 5.09375Z M3.05377 7.48846L9.04364 10.9631L7.99908 12.5052C7.77811 12.7482 7.86648 13.0797 8.08746 13.2123L9.03766 14.0298H3.66809C1.47755 14.0298 0.471255 11.9653 1.52466 10.1408L3.05377 7.48846Z" />
</Path.Data>
</Path>
</Viewbox>
</Button>
</StackPanel>
<StackPanel Orientation="Horizontal" Height="30">
<Label Margin="0,0,10,0" Content="透明" FontWeight="Bold"
Foreground="{DynamicResource FloatBarForeground}"
FontSize="17" VerticalAlignment="Center" />
<Slider x:Name="InkAlphaSlider" Margin="0,0,0,0"
Minimum="1" Maximum="255" Width="200"
FontFamily="Microsoft YaHei UI" FontSize="20"
IsSnapToTickEnabled="True" Value="255"
TickFrequency="1"
TickPlacement="None"
ValueChanged="InkAlphaSlider_ValueChanged" />
<TextBlock Width="36" TextAlignment="Right"
Text="{Binding Value, ElementName=InkAlphaSlider, Mode=OneWay}"
FontFamily="Consolas" VerticalAlignment="Center"
Margin="10,0,0,0" FontSize="15" />
</StackPanel>
</ikw:SimpleStackPanel>
</Viewbox>
<Viewbox Name="HighlighterPenPropsPanel" Margin="12,8,12,0"
HorizontalAlignment="Center" VerticalAlignment="Center"
Stretch="Fill">
<ikw:SimpleStackPanel>
<StackPanel Orientation="Horizontal" Height="30">
<Label Margin="0,0,10,0" Content="粗细" FontWeight="Bold"
Foreground="{DynamicResource FloatBarForeground}"
FontSize="17" VerticalAlignment="Center" />
<Slider x:Name="HighlighterWidthSlider" Minimum="15"
Maximum="45" Width="208"
FontFamily="Microsoft YaHei UI" FontSize="20"
IsSnapToTickEnabled="True" Value="20"
TickFrequency="1" TickPlacement="None"
ValueChanged="HighlighterWidthSlider_ValueChanged" />
<TextBlock
Text="{Binding Value, ElementName=HighlighterWidthSlider, Mode=OneWay}"
FontFamily="Consolas" VerticalAlignment="Bottom"
Margin="10,0,0,4.5" FontSize="15" />
</StackPanel>
</ikw:SimpleStackPanel>
</Viewbox>
<Viewbox x:Name="DefaultPenColorsPanel" Visibility="Collapsed"
Margin="0,8,0,0" Stretch="Fill">
<ikw:SimpleStackPanel Width="300" Margin="0,0,0,0">
<!--<TextBlock FontSize="25">画笔颜色</TextBlock>-->
<Border Width="300" Height="100" BorderBrush="Black"
BorderThickness="0" CornerRadius="5">
<Controls:UniformGrid Rows="2" Height="100">
<ikw:SimpleStackPanel Height="45"
Orientation="Horizontal" Width="270">
<Controls:UniformGrid Columns="5" Width="270"
Margin="0">
<Border BorderBrush="{DynamicResource FloatBarBorderBrush}"
BorderThickness="1"
CornerRadius="100" Width="45"
MouseDown="Border_MouseDown"
MouseUp="ColorThemeSwitch_MouseUp">
<Grid Margin="3">
<Image
x:Name="ColorThemeSwitchIcon"
Source="/Resources/Icons-Fluent/ic_fluent_weather_sunny_24_regular.png"
RenderOptions.BitmapScalingMode="HighQuality"
VerticalAlignment="Top"
Width="23"
Height="23" Margin="0,0,0,0" />
<TextBlock Margin="0,0,0,2"
x:Name="ColorThemeSwitchTextBlock"
Text="亮系" Foreground="{DynamicResource FloatBarForeground}"
VerticalAlignment="Bottom"
HorizontalAlignment="Center"
FontSize="11" />
</Grid>
</Border>
<Border x:Name="BorderPenColorBlack"
Background="Black" BorderBrush="#D3D3D3"
BorderThickness="1.5"
CornerRadius="100"
Width="45"
MouseUp="BtnColorBlack_Click">
<Viewbox
Name="ViewboxBtnColorBlackContent"
Visibility="Collapsed" Margin="8">
<Image
Source="/Resources/new-icons/checked-white.png"
RenderOptions.BitmapScalingMode="HighQuality"
VerticalAlignment="Top"
Width="24"
Height="24" Margin="0,0,0,0" />
</Viewbox>
</Border>
<Border x:Name="BorderPenColorWhite"
Background="White"
BorderBrush="#71717a"
BorderThickness="1.5"
CornerRadius="100"
Width="45"
MouseUp="BtnColorWhite_Click">
<Viewbox
x:Name="ViewboxBtnColorWhiteContent"
Visibility="Collapsed" Margin="8">
<Image
Source="/Resources/new-icons/checked-black.png"
RenderOptions.BitmapScalingMode="HighQuality"
VerticalAlignment="Top"
Width="24"
Height="24" Margin="0,0,0,0" />
</Viewbox>
</Border>
<Border x:Name="BorderPenColorRed"
Background="#dc2626"
BorderBrush="#7f1d1d"
BorderThickness="1.5"
CornerRadius="100"
Width="45" MouseUp="BtnColorRed_Click">
<Viewbox
Name="ViewboxBtnColorRedContent"
Visibility="Collapsed" Margin="8">
<Image
Source="/Resources/new-icons/checked-white.png"
RenderOptions.BitmapScalingMode="HighQuality"
VerticalAlignment="Top"
Width="24"
Height="24" Margin="0,0,0,0" />
</Viewbox>
</Border>
<Border x:Name="BorderPenColorYellow"
Background="#eab308"
BorderBrush="#713f12"
BorderThickness="1.5"
CornerRadius="100"
Width="45"
MouseUp="BtnColorYellow_Click">
<Viewbox
x:Name="ViewboxBtnColorYellowContent"
Visibility="Collapsed" Margin="8">
<Image
Source="/Resources/new-icons/checked-white.png"
RenderOptions.BitmapScalingMode="HighQuality"
VerticalAlignment="Top"
Width="24"
Height="24" Margin="0,0,0,0" />
</Viewbox>
</Border>
</Controls:UniformGrid>
</ikw:SimpleStackPanel>
<ikw:SimpleStackPanel Height="45"
Orientation="Horizontal" Width="270">
<Controls:UniformGrid Columns="5" Width="270"
Margin="0">
<Border x:Name="BorderPenColorGreen"
Background="#16a34a"
BorderBrush="#14532d"
BorderThickness="1.5"
CornerRadius="100"
Width="45"
MouseUp="BtnColorGreen_Click">
<Viewbox
x:Name="ViewboxBtnColorGreenContent"
Visibility="Collapsed" Margin="8">
<Image
Source="/Resources/new-icons/checked-white.png"
RenderOptions.BitmapScalingMode="HighQuality"
VerticalAlignment="Top"
Width="24"
Height="24" Margin="0,0,0,0" />
</Viewbox>
</Border>
<Border x:Name="BorderPenColorBlue"
Background="#2563eb"
BorderBrush="#1e3a8a"
BorderThickness="1.5"
CornerRadius="100"
Width="45" MouseUp="BtnColorBlue_Click">
<Viewbox
x:Name="ViewboxBtnColorBlueContent"
Visibility="Collapsed" Margin="8">
<Image
Source="/Resources/new-icons/checked-white.png"
RenderOptions.BitmapScalingMode="HighQuality"
VerticalAlignment="Top"
Width="24"
Height="24" Margin="0,0,0,0" />
</Viewbox>
</Border>
<Border x:Name="BorderPenColorPink"
Background="#db2777"
BorderBrush="#831843"
BorderThickness="1.5"
CornerRadius="100"
Width="45" MouseUp="BtnColorPink_Click">
<Viewbox
x:Name="ViewboxBtnColorPinkContent"
Visibility="Collapsed" Margin="8">
<Image
Source="/Resources/new-icons/checked-white.png"
RenderOptions.BitmapScalingMode="HighQuality"
VerticalAlignment="Top"
Width="24"
Height="24" Margin="0,0,0,0" />
</Viewbox>
</Border>
<Border x:Name="BorderPenColorTeal"
Background="#0d9488"
BorderBrush="#134e4a"
BorderThickness="1.5"
CornerRadius="100"
Width="45" MouseUp="BtnColorTeal_Click">
<Viewbox
x:Name="ViewboxBtnColorTealContent"
Visibility="Collapsed" Margin="8">
<Image
Source="/Resources/new-icons/checked-white.png"
RenderOptions.BitmapScalingMode="HighQuality"
VerticalAlignment="Top"
Width="24"
Height="24" Margin="0,0,0,0" />
</Viewbox>
</Border>
<Border x:Name="BorderPenColorOrange"
Background="#ea580c"
BorderBrush="#7c2d12"
BorderThickness="1.5"
CornerRadius="100"
Width="45"
MouseUp="BtnColorOrange_Click">
<Viewbox
x:Name="ViewboxBtnColorOrangeContent"
Visibility="Collapsed" Margin="8">
<Image
Source="/Resources/new-icons/checked-white.png"
RenderOptions.BitmapScalingMode="HighQuality"
VerticalAlignment="Top"
Width="24"
Height="24" Margin="0,0,0,0" />
</Viewbox>
</Border>
</Controls:UniformGrid>
</ikw:SimpleStackPanel>
</Controls:UniformGrid>
</Border>
</ikw:SimpleStackPanel>
</Viewbox>
<Viewbox x:Name="HighlighterPenColorsPanel" Visibility="Visible"
Margin="0,8,0,0" Stretch="Fill">
<ikw:SimpleStackPanel Width="300" Margin="0,0,0,0">
<!--<TextBlock FontSize="25">画笔颜色</TextBlock>-->
<Border Width="300" Height="110" BorderBrush="Black"
BorderThickness="0" CornerRadius="5">
<Controls:UniformGrid Rows="2" Height="110">
<ikw:SimpleStackPanel Height="45"
Orientation="Horizontal" Width="270">
<Controls:UniformGrid Columns="5" Width="270"
Margin="0">
<Border x:Name="HighlighterPenColorBlack"
BorderBrush="#e4e4e7"
BorderThickness="1.5"
CornerRadius="100" Width="45"
MouseUp="BtnHighlighterColorBlack_Click">
<Canvas>
<Image
Source="/Resources/Icons-png/transparent-grid.png"
Width="42" Height="42">
<Image.Clip>
<EllipseGeometry
Center="21,21"
RadiusX="21"
RadiusY="21" />
</Image.Clip>
</Image>
<Border Background="Black"
Width="42"
Height="42" CornerRadius="21"
Opacity="0.75" />
<Viewbox
Name="HighlighterPenViewboxBtnColorBlackContent"
Visibility="Visible"
Canvas.Top="9"
Canvas.Left="9">
<Image
Source="/Resources/new-icons/checked-white.png"
RenderOptions.BitmapScalingMode="HighQuality"
VerticalAlignment="Top"
Width="24" Height="24"
Margin="0,0,0,0" />
</Viewbox>
</Canvas>
</Border>
<Border x:Name="HighlighterPenColorWhite"
Background="White"
BorderBrush="#dddddd"
BorderThickness="1.5"
CornerRadius="100"
Width="45"
MouseUp="BtnHighlighterColorWhite_Click">
<Canvas>
<Image
Source="/Resources/Icons-png/transparent-grid.png"
Width="42" Height="42">
<Image.Clip>
<EllipseGeometry
Center="21,21"
RadiusX="21"
RadiusY="21" />
</Image.Clip>
</Image>
<Border Background="White"
Width="42"
Height="42" CornerRadius="21"
Opacity="0.75" />
<Viewbox
Name="HighlighterPenViewboxBtnColorWhiteContent"
Visibility="Visible"
Canvas.Top="9"
Canvas.Left="9">
<Image
Source="/Resources/new-icons/checked-black.png"
RenderOptions.BitmapScalingMode="HighQuality"
VerticalAlignment="Top"
Width="24" Height="24"
Margin="0,0,0,0" />
</Viewbox>
</Canvas>
</Border>
<Border x:Name="HighlighterPenColorRed"
BorderBrush="#fecaca"
BorderThickness="1.5"
CornerRadius="100" Width="45"
MouseUp="BtnHighlighterColorRed_Click">
<Canvas>
<Image
Source="/Resources/Icons-png/transparent-grid.png"
Width="42" Height="42">
<Image.Clip>
<EllipseGeometry
Center="21,21"
RadiusX="21"
RadiusY="21" />
</Image.Clip>
</Image>
<Border Background="#ef4444"
Width="42"
Height="42" CornerRadius="21"
Opacity="0.75" />
<Viewbox
Name="HighlighterPenViewboxBtnColorRedContent"
Visibility="Visible"
Canvas.Top="9"
Canvas.Left="9">
<Image
Source="/Resources/new-icons/checked-white.png"
RenderOptions.BitmapScalingMode="HighQuality"
VerticalAlignment="Top"
Width="24" Height="24"
Margin="0,0,0,0" />
</Viewbox>
</Canvas>
</Border>
<Border x:Name="HighlighterPenColorYellow"
BorderBrush="#fef08a"
BorderThickness="1.5"
CornerRadius="100" Width="45"
MouseUp="BtnHighlighterColorYellow_Click">
<Canvas>
<Image
Source="/Resources/Icons-png/transparent-grid.png"
Width="42" Height="42">
<Image.Clip>
<EllipseGeometry
Center="21,21"
RadiusX="21"
RadiusY="21" />
</Image.Clip>
</Image>
<Border Background="#eab308"
Width="42"
Height="42" CornerRadius="21"
Opacity="0.75" />
<Viewbox
Name="HighlighterPenViewboxBtnColorYellowContent"
Visibility="Visible"
Canvas.Top="9"
Canvas.Left="9">
<Image
Source="/Resources/new-icons/checked-black.png"
RenderOptions.BitmapScalingMode="HighQuality"
VerticalAlignment="Top"
Width="24" Height="24"
Margin="0,0,0,0" />
</Viewbox>
</Canvas>
</Border>
<Border x:Name="HighlighterPenColorGreen"
BorderBrush="#bbf7d0"
BorderThickness="1.5"
CornerRadius="100" Width="45"
MouseUp="BtnHighlighterColorGreen_Click">
<Canvas>
<Image
Source="/Resources/Icons-png/transparent-grid.png"
Width="42" Height="42">
<Image.Clip>
<EllipseGeometry
Center="21,21"
RadiusX="21"
RadiusY="21" />
</Image.Clip>
</Image>
<Border Background="#22c55e"
Width="42"
Height="42" CornerRadius="21"
Opacity="0.75" />
<Viewbox
Name="HighlighterPenViewboxBtnColorGreenContent"
Visibility="Visible"
Canvas.Top="9"
Canvas.Left="9">
<Image
Source="/Resources/new-icons/checked-black.png"
RenderOptions.BitmapScalingMode="HighQuality"
VerticalAlignment="Top"
Width="24" Height="24"
Margin="0,0,0,0" />
</Viewbox>
</Canvas>
</Border>
</Controls:UniformGrid>
</ikw:SimpleStackPanel>
<ikw:SimpleStackPanel Height="45"
Orientation="Horizontal" Width="270">
<Controls:UniformGrid Columns="5" Width="270"
Margin="0">
<Border x:Name="HighlighterPenColorZinc"
BorderBrush="#e4e4e7"
BorderThickness="1.5"
CornerRadius="100" Width="45"
MouseUp="BtnHighlighterColorZinc_Click">
<Canvas>
<Image
Source="/Resources/Icons-png/transparent-grid.png"
Width="42" Height="42">
<Image.Clip>
<EllipseGeometry
Center="21,21"
RadiusX="21"
RadiusY="21" />
</Image.Clip>
</Image>
<Border Background="#71717a"
Width="42"
Height="42" CornerRadius="21"
Opacity="0.75" />
<Viewbox
Name="HighlighterPenViewboxBtnColorZincContent"
Visibility="Visible"
Canvas.Top="9"
Canvas.Left="9">
<Image
Source="/Resources/new-icons/checked-white.png"
RenderOptions.BitmapScalingMode="HighQuality"
VerticalAlignment="Top"
Width="24" Height="24"
Margin="0,0,0,0" />
</Viewbox>
</Canvas>
</Border>
<Border x:Name="HighlighterPenColorBlue"
BorderBrush="#bfdbfe"
BorderThickness="1.5"
CornerRadius="100" Width="45"
MouseUp="BtnHighlighterColorBlue_Click">
<Canvas>
<Image
Source="/Resources/Icons-png/transparent-grid.png"
Width="42" Height="42">
<Image.Clip>
<EllipseGeometry
Center="21,21"
RadiusX="21"
RadiusY="21" />
</Image.Clip>
</Image>
<Border Background="#3b82f6"
Width="42"
Height="42" CornerRadius="21"
Opacity="0.75" />
<Viewbox
Name="HighlighterPenViewboxBtnColorBlueContent"
Visibility="Visible"
Canvas.Top="9"
Canvas.Left="9">
<Image
Source="/Resources/new-icons/checked-white.png"
RenderOptions.BitmapScalingMode="HighQuality"
VerticalAlignment="Top"
Width="24" Height="24"
Margin="0,0,0,0" />
</Viewbox>
</Canvas>
</Border>
<Border
x:Name="HighlighterPenPenColorPurple"
BorderBrush="#e9d5ff"
BorderThickness="1.5"
CornerRadius="100" Width="45"
MouseUp="BtnHighlighterColorPurple_Click">
<Canvas>
<Image
Source="/Resources/Icons-png/transparent-grid.png"
Width="42" Height="42">
<Image.Clip>
<EllipseGeometry
Center="21,21"
RadiusX="21"
RadiusY="21" />
</Image.Clip>
</Image>
<Border Background="#a855f7"
Width="42"
Height="42" CornerRadius="21"
Opacity="0.75" />
<Viewbox
Name="HighlighterPenViewboxBtnColorPurpleContent"
Visibility="Visible"
Canvas.Top="9"
Canvas.Left="9">
<Image
Source="/Resources/new-icons/checked-white.png"
RenderOptions.BitmapScalingMode="HighQuality"
VerticalAlignment="Top"
Width="24" Height="24"
Margin="0,0,0,0" />
</Viewbox>
</Canvas>
</Border>
<Border x:Name="HighlighterPenColorTeal"
BorderBrush="#99f6e4"
BorderThickness="1.5"
CornerRadius="100" Width="45"
MouseUp="BtnHighlighterColorTeal_Click">
<Canvas>
<Image
Source="/Resources/Icons-png/transparent-grid.png"
Width="42" Height="42">
<Image.Clip>
<EllipseGeometry
Center="21,21"
RadiusX="21"
RadiusY="21" />
</Image.Clip>
</Image>
<Border Background="#14b8a6"
Width="42"
Height="42" CornerRadius="21"
Opacity="0.75" />
<Viewbox
Name="HighlighterPenViewboxBtnColorTealContent"
Visibility="Visible"
Canvas.Top="9"
Canvas.Left="9">
<Image
Source="/Resources/new-icons/checked-black.png"
RenderOptions.BitmapScalingMode="HighQuality"
VerticalAlignment="Top"
Width="24" Height="24"
Margin="0,0,0,0" />
</Viewbox>
</Canvas>
</Border>
<Border x:Name="HighlighterPenColorOrange"
BorderBrush="#fed7aa"
BorderThickness="1.5"
CornerRadius="100" Width="45"
MouseUp="BtnHighlighterColorOrange_Click">
<Canvas>
<Image
Source="/Resources/Icons-png/transparent-grid.png"
Width="42" Height="42">
<Image.Clip>
<EllipseGeometry
Center="21,21"
RadiusX="21"
RadiusY="21" />
</Image.Clip>
</Image>
<Border Background="#f97316"
Width="42"
Height="42" CornerRadius="21"
Opacity="0.75" />
<Viewbox
Name="HighlighterPenViewboxBtnColorOrangeContent"
Visibility="Visible"
Canvas.Top="9"
Canvas.Left="9">
<Image
Source="/Resources/new-icons/checked-white.png"
RenderOptions.BitmapScalingMode="HighQuality"
VerticalAlignment="Top"
Width="24" Height="24"
Margin="0,0,0,0" />
</Viewbox>
</Canvas>
</Border>
</Controls:UniformGrid>
</ikw:SimpleStackPanel>
</Controls:UniformGrid>
</Border>
</ikw:SimpleStackPanel>
</Viewbox>
</ikw:SimpleStackPanel>
</Border>
</Grid>
</ikw:SimpleStackPanel>
<ikw:SimpleStackPanel Name="Eraser_Icon"
MouseDown="FloatingBarToolBtnMouseDownFeedback_Panel"
MouseLeave="FloatingBarToolBtnMouseLeaveFeedback_Panel"
MouseUp="EraserIcon_Click"
Background="Transparent" Orientation="Vertical"
HorizontalAlignment="Center" Margin="0,-2" Width="28">
<Image x:Name="CircleEraserToolbarIconImage"
RenderOptions.BitmapScalingMode="HighQuality" Height="17"
Margin="0,3,0,0">
<Image.Source>
<DrawingImage>
<DrawingImage.Drawing>
<DrawingGroup ClipGeometry="M0,0 V24 H24 V0 H0 Z">
<GeometryDrawing x:Name="CircleEraserIconGeometry"
Geometry="" />
</DrawingGroup>
</DrawingImage.Drawing>
</DrawingImage>
</Image.Source>
</Image>
<TextBlock x:Name="CircleEraserToolbarTextBlock" Text="{i18n:I18n Key=FloatingBar_AreaEraser}" Foreground="{DynamicResource FloatBarForeground}"
FontSize="8" Margin="0,1,0,0" TextAlignment="Center"
Style="{StaticResource AutoFitMainToolbarLabel8}" />
</ikw:SimpleStackPanel>
<ikw:SimpleStackPanel Name="EraserByStrokes_Icon"
MouseDown="FloatingBarToolBtnMouseDownFeedback_Panel"
MouseLeave="FloatingBarToolBtnMouseLeaveFeedback_Panel"
MouseUp="EraserIconByStrokes_Click"
Background="Transparent" Orientation="Vertical" Width="28"
Margin="0,-2" HorizontalAlignment="Center">
<Image x:Name="StrokeEraserToolbarIconImage"
RenderOptions.BitmapScalingMode="HighQuality" Height="17"
Margin="0,3,0,0">
<Image.Source>
<DrawingImage>
<DrawingImage.Drawing>
<DrawingGroup ClipGeometry="M0,0 V24 H24 V0 H0 Z">
<GeometryDrawing x:Name="StrokeEraserIconGeometry"
Geometry="" />
</DrawingGroup>
</DrawingImage.Drawing>
</DrawingImage>
</Image.Source>
</Image>
<TextBlock x:Name="InkEraserToolbarTextBlock" Text="{i18n:I18n Key=FloatingBar_StrokeEraser}" Foreground="{DynamicResource FloatBarForeground}"
FontSize="8" Margin="0,1,0,0" TextAlignment="Center"
Style="{StaticResource AutoFitMainToolbarLabel8}" />
</ikw:SimpleStackPanel>
<ikw:SimpleStackPanel Name="SymbolIconSelect"
MouseDown="FloatingBarToolBtnMouseDownFeedback_Panel"
MouseLeave="FloatingBarToolBtnMouseLeaveFeedback_Panel"
MouseUp="SymbolIconSelect_MouseUp" Background="Transparent"
Orientation="Vertical" Margin="0,-2" Width="28"
HorizontalAlignment="Center">
<Image x:Name="LassoSelect" RenderOptions.BitmapScalingMode="HighQuality"
Height="17" Margin="0,3,0,0">
<Image.Source>
<DrawingImage>
<DrawingImage.Drawing>
<DrawingGroup ClipGeometry="M0,0 V24 H24 V0 H0 Z">
<GeometryDrawing x:Name="LassoSelectIconGeometry"
Geometry="" />
</DrawingGroup>
</DrawingImage.Drawing>
</DrawingImage>
</Image.Source>
</Image>
<TextBlock x:Name="LassoToolToolbarTextBlock" Text="{i18n:I18n Key=FloatingBar_LassoSelect}" Foreground="{DynamicResource FloatBarForeground}"
FontSize="8" Margin="0,1,0,0" TextAlignment="Center"
Style="{StaticResource AutoFitMainToolbarLabel8}" />
</ikw:SimpleStackPanel>
<ikw:SimpleStackPanel
Name="ShapeDrawFloatingBarBtn"
MouseDown="FloatingBarToolBtnMouseDownFeedback_Panel"
MouseLeave="FloatingBarToolBtnMouseLeaveFeedback_Panel"
MouseUp="ImageDrawShape_MouseUp" Background="Transparent"
Orientation="Vertical" HorizontalAlignment="Center" Margin="0,-2"
Width="28">
<Image RenderOptions.BitmapScalingMode="HighQuality" Height="17"
Margin="0,3,0,0">
<Image.Source>
<DrawingImage>
<DrawingImage.Drawing>
<DrawingGroup ClipGeometry="M0,0 V24 H24 V0 H0 Z">
<GeometryDrawing x:Name="ShapesIconGeometry"
Brush="{DynamicResource IconForeground}"
Geometry="F1 M24,24z M0,0z M8.7269,2.9067C8.84872,2.70875 9.00852,2.57931 9.20647,2.5184 9.41966,2.44227 9.62541,2.43465 9.82337,2.49556 10.0365,2.55647 10.2039,2.67829 10.3257,2.86102L13.9118,8.13731C12.9068,8.47231 12.0084,8.99766 11.2165,9.71334 10.4247,10.4138 9.8157,11.2513 9.38933,12.2259 8.93251,13.2156 8.70413,14.2587 8.70413,15.3551L8.7269,15.9946 2.46851,15.9946C2.22487,15.9946 2.01158,15.9185 1.82885,15.7662 1.66135,15.614 1.55481,15.4236 1.50913,15.1952 1.47868,14.9668 1.5244,14.746 1.64622,14.5328L8.7269,2.9067z M16.3329,21.545C15.2061,21.545 14.1632,21.2633 13.2038,20.6999 12.275,20.1517 11.5288,19.4056 10.9654,18.4615 10.4172,17.5022 10.1431,16.4667 10.1431,15.3551 10.1431,14.2283 10.4172,13.1928 10.9654,12.2487 11.5288,11.3046 12.2825,10.5585 13.2266,10.0103 14.1707,9.44687 15.1986,9.16516 16.3102,9.16516 17.437,9.16516 18.4724,9.44687 19.4165,10.0103 20.3606,10.5585 21.1068,11.3046 21.6549,12.2487 22.2184,13.1928 22.5,14.2283 22.5,15.3551 22.5,16.4667 22.2184,17.5022 21.6549,18.4615 21.1068,19.4056 20.3683,20.1517 19.4395,20.6999 18.4801,21.2633 17.4445,21.545 16.3329,21.545z" />
</DrawingGroup>
</DrawingImage.Drawing>
</DrawingImage>
</Image.Source>
</Image>
<TextBlock x:Name="ShapesToolbarTextBlock" Text="{i18n:I18n Key=FloatingBar_Geometry}" Foreground="{DynamicResource FloatBarForeground}"
FontSize="8" Margin="0,1,0,0" TextAlignment="Center"
Style="{StaticResource AutoFitMainToolbarLabel8}" />
</ikw:SimpleStackPanel>
<Grid Width="0">
<Border x:Name="BorderDrawShape" Background="{DynamicResource FloatBarBackground}" Opacity="1"
Visibility="Visible" BorderBrush="#2563eb"
BorderThickness="1"
CornerRadius="5" Margin="-170,-140,-147,37">
<ikw:SimpleStackPanel Spacing="0" Orientation="Vertical">
<!--<TextBlock FontSize="16" Foreground="{DynamicResource FloatBarForeground}" HorizontalAlignment="Left" Margin="10,8">
<Run Text="图形"/>
<Run Text="(第一行支持长按保持选中)" FontSize="10"/>
</TextBlock>
<ui:SymbolIcon Margin="0,-20,8,15" Symbol="Pin" MouseDown="Border_MouseDown" MouseUp="SymbolIconPinBorderDrawShape_MouseUp" Foreground="{DynamicResource FloatBarForeground}" HorizontalAlignment="Right"/>-->
<Border BorderBrush="#1e3a8a" BorderThickness="0,0,0,1"
CornerRadius="8,8,0,0" Background="#2563eb" Margin="-1,-1,-1,0"
Padding="1,1,1,0">
<ikw:SimpleStackPanel Orientation="Horizontal"
HorizontalAlignment="Stretch">
<Canvas Height="24" Width="315" ClipToBounds="True">
<TextBlock Text="{i18n:I18n Key=FloatingBar_GesturePanelTitle}" Canvas.Left="8" Foreground="White"
Padding="0,5" FontSize="11" FontWeight="Bold"
TextAlignment="Center" />
<Image Margin="295,3.5,0,0"
Source="/Resources/new-icons/close-white.png"
RenderOptions.BitmapScalingMode="HighQuality"
Height="16"
Width="16" MouseDown="Border_MouseDown"
MouseUp="CloseBordertools_MouseUp" />
</Canvas>
</ikw:SimpleStackPanel>
</Border>
<ikw:SimpleStackPanel Orientation="Horizontal" Height="38" Spacing="2"
Margin="4,6,4,0">
<ikw:SimpleStackPanel Name="BoardImageDrawLine"
MouseDown="Image_MouseDown"
MouseUp="BtnDrawLine_Click" Margin="0,0,0,0"
Height="38" Width="32" Orientation="Vertical">
<Image Source="{DynamicResource GeoIconLine}"
RenderOptions.BitmapScalingMode="HighQuality"
Margin="0,4,0,2" Height="19" Width="19" />
<Label Content="{i18n:I18n Key=Geometry_DrawLine}" FontSize="8" HorizontalAlignment="Center" />
</ikw:SimpleStackPanel>
<ikw:SimpleStackPanel Name="BoardImageDrawDashedLine"
MouseDown="Image_MouseDown"
MouseUp="BtnDrawDashedLine_Click"
Margin="0,0,0,0"
Height="38" Width="32" Orientation="Vertical">
<Image Source="{DynamicResource GeoIconDashedLine}"
RenderOptions.BitmapScalingMode="HighQuality"
Margin="0,4,0,2" Height="19" Width="19" />
<Label Content="{i18n:I18n Key=Geometry_DrawDashedLine}" FontSize="8" HorizontalAlignment="Center" />
</ikw:SimpleStackPanel>
<ikw:SimpleStackPanel Name="BoardImageDrawDotLine"
MouseDown="Image_MouseDown"
MouseUp="BtnDrawDotLine_Click"
Margin="0,0,0,0"
Height="38" Width="32" Orientation="Vertical">
<Image Source="{DynamicResource GeoIconDotLine}"
RenderOptions.BitmapScalingMode="HighQuality"
Margin="0,4,0,2" Height="19" Width="19" />
<Label Content="{i18n:I18n Key=Geometry_DrawDottedLine}" FontSize="8" HorizontalAlignment="Center" />
</ikw:SimpleStackPanel>
<ikw:SimpleStackPanel Name="BoardImageDrawArrow"
MouseDown="Image_MouseDown"
MouseUp="BtnDrawArrow_Click" Margin="0,0,0,0"
Height="38" Width="32" Orientation="Vertical">
<Image Source="{DynamicResource GeoIconArrow}"
RenderOptions.BitmapScalingMode="HighQuality"
Margin="0,4,0,2" Height="19" Width="19" />
<Label Content="{i18n:I18n Key=Geometry_DrawArrow}" FontSize="8" HorizontalAlignment="Center" />
</ikw:SimpleStackPanel>
<ikw:SimpleStackPanel Name="BoardImageDrawParallelLine"
MouseDown="Image_MouseDown"
MouseUp="BtnDrawParallelLine_Click"
Margin="0,0,0,0" Height="38" Width="32"
Orientation="Vertical">
<Image
Source="{DynamicResource GeoIconParallelLine}"
RenderOptions.BitmapScalingMode="HighQuality"
Margin="0,4,0,2" Height="19" Width="19" />
<Label Content="{i18n:I18n Key=Geometry_DrawParallelLines}" FontSize="8" HorizontalAlignment="Center" />
</ikw:SimpleStackPanel>
<ikw:SimpleStackPanel MouseUp="BtnDrawRectangleCenter_Click"
Margin="0,0,0,0" Height="38" Width="32"
Orientation="Vertical">
<Image
Source="{DynamicResource GeoIconRectangleCenter}"
RenderOptions.BitmapScalingMode="HighQuality"
Margin="0,4,0,2" Height="19" Width="19" />
<Label Content="{i18n:I18n Key=Geometry_DrawCenteredSquare}" FontSize="8" HorizontalAlignment="Center" />
</ikw:SimpleStackPanel>
<ikw:SimpleStackPanel MouseUp="BtnDrawCircle_Click" Margin="0,0,0,0"
Height="38" Width="32" Orientation="Vertical">
<Image
Source="{DynamicResource GeoIconCircle}"
RenderOptions.BitmapScalingMode="HighQuality"
Margin="0,4,0,2" Height="19" Width="19" />
<Label Content="{i18n:I18n Key=Geometry_DrawCenteredCircle}" FontSize="8" HorizontalAlignment="Center" />
</ikw:SimpleStackPanel>
<ikw:SimpleStackPanel MouseUp="BtnDrawDashedCircle_Click"
Margin="0,0,0,0" Height="38" Width="32"
Orientation="Vertical">
<Image
Source="{DynamicResource GeoIconDashedCircle}"
RenderOptions.BitmapScalingMode="HighQuality"
Margin="0,4,0,2"
Height="19" Width="19" />
<Label Content="{i18n:I18n Key=Geometry_DrawCenteredDashedCircle}" FontSize="8" HorizontalAlignment="Center" />
</ikw:SimpleStackPanel>
<ikw:SimpleStackPanel MouseUp="BtnDrawCenterEllipse_Click"
Margin="0,0,0,0" Height="38" Width="32"
Orientation="Vertical">
<Image
Source="{DynamicResource GeoIconEllipseCenter}"
RenderOptions.BitmapScalingMode="HighQuality"
Margin="0,4,0,2" Height="19" Width="19" />
<Label Content="{i18n:I18n Key=Geometry_DrawCenteredEllipse}" FontSize="8" HorizontalAlignment="Center" />
</ikw:SimpleStackPanel>
<!--<Image Name="BoardImageDrawLine" Margin="16,12,0,12" MouseDown="Image_MouseDown" MouseUp="BtnDrawLine_Click" Source="{DynamicResource DrawShapeImageSource.Line}"/>-->
<!--<Image Name="BoardImageDrawDashedLine" Margin="0,12,0,12" MouseDown="Image_MouseDown" MouseUp="BtnDrawDashedLine_Click" Source="{DynamicResource DrawShapeImageSource.DashedLine}"/>-->
<!--<Image Name="BoardImageDrawDotLine" Margin="0,12,0,12" MouseDown="Image_MouseDown" MouseUp="BtnDrawDotLine_Click" Source="{DynamicResource DrawShapeImageSource.DotLine}"/>-->
<!--<Image Name="BoardImageDrawArrow" Margin="0,12,0,12" MouseDown="Image_MouseDown" MouseUp="BtnDrawArrow_Click" Source="{DynamicResource DrawShapeImageSource.ArrowLine}"/>-->
<!--<Image Name="BoardImageDrawParallelLine" Margin="0,11.5,16,11.5" MouseDown="Image_MouseDown" MouseUp="BtnDrawParallelLine_Click" Source="{DynamicResource DrawShapeImageSource.ParallelLine}"/>-->
<Image Visibility="Collapsed" Margin="14,9,0,9"
MouseUp="BtnDrawCoordinate1_Click"
Source="{DynamicResource DrawShapeImageSource.Coordinate1}" />
<Image Visibility="Collapsed" Margin="0,12"
MouseUp="BtnDrawCoordinate2_Click"
Source="{DynamicResource DrawShapeImageSource.Coordinate2}" />
<Image Visibility="Collapsed" Margin="0,12"
MouseUp="BtnDrawCoordinate3_Click"
Source="{DynamicResource DrawShapeImageSource.Coordinate3}" />
<Image Visibility="Collapsed" Margin="0,12"
MouseUp="BtnDrawCoordinate4_Click"
Source="{DynamicResource DrawShapeImageSource.Coordinate4}" />
<Image Visibility="Collapsed" Margin="-1,11.5"
MouseUp="BtnDrawCoordinate5_Click"
Source="{DynamicResource DrawShapeImageSource.Coordinate5}" />
</ikw:SimpleStackPanel>
<ikw:SimpleStackPanel Orientation="Horizontal" Height="38" Spacing="2"
Margin="4,0,4,6">
<ikw:SimpleStackPanel MouseUp="BtnDrawCuboid_Click" Margin="0,0,0,0"
Height="38" Width="32" Orientation="Vertical">
<Image Source="{DynamicResource GeoIconCuboid}"
RenderOptions.BitmapScalingMode="HighQuality"
Margin="0,4,0,2" Height="19" Width="19" />
<Label Content="{i18n:I18n Key=Geometry_DrawCuboid}" FontSize="8" HorizontalAlignment="Center" />
</ikw:SimpleStackPanel>
<ikw:SimpleStackPanel MouseUp="BtnDrawRectangle_Click"
Margin="0,0,0,0"
Height="38" Width="32" Orientation="Vertical">
<Image Source="{DynamicResource GeoIconRectangle}"
RenderOptions.BitmapScalingMode="HighQuality"
Margin="0,4,0,2" Height="19" Width="19" />
<Label Content="{i18n:I18n Key=Geometry_DrawSquare}" FontSize="8" HorizontalAlignment="Center" />
</ikw:SimpleStackPanel>
<ikw:SimpleStackPanel MouseUp="BtnDrawCylinder_Click"
Margin="0,0,0,0"
Height="38" Width="32" Orientation="Vertical">
<Image Source="{DynamicResource GeoIconCylinder}"
RenderOptions.BitmapScalingMode="HighQuality"
Margin="0,4,0,2" Height="19" Width="19" />
<Label Content="{i18n:I18n Key=Geometry_DrawCylinder}" FontSize="8" HorizontalAlignment="Center" />
</ikw:SimpleStackPanel>
<ikw:SimpleStackPanel MouseUp="BtnDrawCone_Click" Margin="0,0,0,0"
Height="38" Width="32" Orientation="Vertical">
<Image Source="{DynamicResource GeoIconCone}"
RenderOptions.BitmapScalingMode="HighQuality"
Margin="0,4,0,2" Height="19" Width="19" />
<Label Content="{i18n:I18n Key=Geometry_DrawCone}" FontSize="8" HorizontalAlignment="Center" />
</ikw:SimpleStackPanel>
</ikw:SimpleStackPanel>
<ikw:SimpleStackPanel Visibility="Collapsed" Height="50" Spacing="10"
Orientation="Horizontal">
<Image Margin="16,11,2,11" MouseUp="BtnDrawRectangleCenter_Click"
Source="{DynamicResource DrawShapeImageSource.RectangleCenter}" />
<Image Visibility="Collapsed" Margin="0,10"
MouseUp="BtnDrawEllipse_Click"
Source="{DynamicResource DrawShapeImageSource.Ellipse}" />
<Image Margin="0,10" MouseUp="BtnDrawCircle_Click"
Source="{DynamicResource DrawShapeImageSource.Circle}" />
<Image Margin="0,10" MouseUp="BtnDrawDashedCircle_Click"
Source="{DynamicResource DrawShapeImageSource.DashedCircle}" />
<Image Margin="0,10" MouseUp="BtnDrawCenterEllipse_Click"
Source="{DynamicResource DrawShapeImageSource.EllipseCenter}"
Width="30" />
<Image Margin="0,10"
MouseUp="BtnDrawCenterEllipseWithFocalPoint_Click"
Source="{DynamicResource DrawShapeImageSource.EllipseCenterWithFocalPoint}"
Width="30" />
</ikw:SimpleStackPanel>
<ikw:SimpleStackPanel Visibility="Collapsed" Height="50" Spacing="10"
Orientation="Horizontal">
<Image Margin="16,10,2,10" MouseUp="BtnDrawHyperbola_Click"
Width="26"
Source="{DynamicResource DrawShapeImageSource.Hyperbola}" />
<Image Margin="4,10,2,10"
MouseUp="BtnDrawHyperbolaWithFocalPoint_Click" Width="26"
Source="{DynamicResource DrawShapeImageSource.HyperbolaWithFocalPoint}" />
<Image Margin="2.5,10,2,10" MouseUp="BtnDrawParabola1_Click"
Width="26"
Source="{DynamicResource DrawShapeImageSource.Parabola}" />
<Image Margin="1,10,2,10"
MouseUp="BtnDrawParabolaWithFocalPoint_Click"
Width="26"
Source="{DynamicResource DrawShapeImageSource.ParabolaWithFocalPoint}"
RenderTransformOrigin="0.5,0.5">
<Image.RenderTransform>
<TransformGroup>
<ScaleTransform />
<SkewTransform />
<RotateTransform Angle="90" />
<TranslateTransform />
</TransformGroup>
</Image.RenderTransform>
</Image>
<Image Margin="2,10,2,10" MouseUp="BtnDrawParabola2_Click"
Width="26"
Source="{DynamicResource DrawShapeImageSource.Parabola}"
RenderTransformOrigin="0.5,0.5">
<Image.RenderTransform>
<TransformGroup>
<ScaleTransform />
<SkewTransform />
<RotateTransform Angle="90" />
<TranslateTransform />
</TransformGroup>
</Image.RenderTransform>
</Image>
</ikw:SimpleStackPanel>
<ikw:SimpleStackPanel Visibility="Collapsed" Height="50" Spacing="10"
Orientation="Horizontal">
<Image Margin="15,11,2,11" MouseUp="BtnDrawRectangle_Click"
Source="{DynamicResource DrawShapeImageSource.Rectangle}" />
<Image Margin="6,10,2,10" MouseUp="BtnDrawCylinder_Click"
Source="{DynamicResource DrawShapeImageSource.Cylinder}" />
<Image Margin="8,12.5,0,10" MouseUp="BtnDrawCone_Click"
Source="{DynamicResource DrawShapeImageSource.Cone}" />
<Image Margin="5.5,12.5,2.5,10" MouseUp="BtnDrawCuboid_Click"
Source="{DynamicResource DrawShapeImageSource.Cuboid}" />
<Image Visibility="Collapsed" Margin="0,11.5,2.5,9.5"
MouseUp="BtnDrawCuboid_Click"
Source="{DynamicResource DrawShapeImageSource.Tetrahedron}" />
</ikw:SimpleStackPanel>
</ikw:SimpleStackPanel>
</Border>
</Grid>
<ikw:SimpleStackPanel
Name="SymbolIconUndo"
MouseUp="SymbolIconUndo_MouseUp"
MouseDown="FloatingBarToolBtnMouseDownFeedback_Panel"
MouseLeave="FloatingBarToolBtnMouseLeaveFeedback_Panel"
Background="Transparent" Orientation="Vertical"
HorizontalAlignment="Center" Margin="0,-2"
IsEnabled="{Binding ElementName=BtnUndo, Path=IsEnabled}"
Width="28">
<Image RenderOptions.BitmapScalingMode="HighQuality" Height="17"
Margin="0,3,0,0"
Opacity="{Binding ElementName=BtnUndo, Path=IsEnabled, Converter={StaticResource IsEnabledToOpacityConverter}}">
<Image.Source>
<DrawingImage>
<DrawingImage.Drawing>
<DrawingGroup ClipGeometry="M0,0 V24 H24 V0 H0 Z">
<GeometryDrawing x:Name="UndoIconGeometry" Brush="{DynamicResource IconForeground}"
Geometry="F1 M24,24z M0,0z M10.3344,5.02734L10.3605,8.62849C12.2431,8.87029 14.0305,9.44026 15.7232,10.3384 17.4676,11.2538 18.9187,12.4196 20.0759,13.8359 21.3367,15.3731 22.1398,17.0657 22.4852,18.9138 22.5197,19.1211 22.4938,19.3197 22.4075,19.5097 22.3211,19.6997 22.2003,19.8292 22.0448,19.8983 21.8894,19.9501 21.7423,19.9069 21.6042,19.7687 20.7579,18.8361 19.6268,17.9984 18.2105,17.2557 16.9324,16.5821 15.5591,16.0553 14.091,15.6754 12.7093,15.3126 11.4659,15.1313 10.3605,15.1313L10.3344,18.862C10.3344,19.2938 10.2395,19.6047 10.0495,19.7947 9.8941,19.9501 9.69547,20.0106 9.45367,19.976 9.21187,19.9242 8.99586,19.8119 8.80587,19.6392 8.14955,18.9829 6.90606,17.7739 5.07526,16.0121 3.46899,14.475 2.41544,13.4559 1.91456,12.9551 1.63821,12.6787 1.5,12.3678 1.5,12.0224 1.51727,11.6769 1.67272,11.3574 1.96634,11.0638 4.02168,9.00847 6.3103,6.73724 8.83197,4.25011 9.00468,4.07739 9.20331,3.99967 9.42784,4.01694 9.66965,4.01694 9.87683,4.11194 10.0495,4.30193 10.2395,4.47464 10.3344,4.71645 10.3344,5.02734z" />
</DrawingGroup>
</DrawingImage.Drawing>
</DrawingImage>
</Image.Source>
</Image>
<TextBlock x:Name="UndoToolbarTextBlock" Text="{i18n:I18n Key=Board_Undo}"
Opacity="{Binding ElementName=BtnUndo, Path=IsEnabled, Converter={StaticResource IsEnabledToOpacityConverter}}"
Foreground="{DynamicResource FloatBarForeground}" FontSize="8" Margin="0,1,0,0"
TextAlignment="Center"
Style="{StaticResource AutoFitMainToolbarLabel8}" />
</ikw:SimpleStackPanel>
<ikw:SimpleStackPanel
Name="SymbolIconRedo"
MouseUp="SymbolIconRedo_MouseUp"
MouseDown="FloatingBarToolBtnMouseDownFeedback_Panel"
MouseLeave="FloatingBarToolBtnMouseLeaveFeedback_Panel"
Background="Transparent" Orientation="Vertical"
HorizontalAlignment="Center"
IsEnabled="{Binding ElementName=BtnRedo, Path=IsEnabled}"
Width="28" Margin="0,-2">
<Image RenderOptions.BitmapScalingMode="HighQuality" Height="17"
Margin="0,3,0,0"
Opacity="{Binding ElementName=BtnRedo, Path=IsEnabled, Converter={StaticResource IsEnabledToOpacityConverter}}">
<Image.Source>
<DrawingImage>
<DrawingImage.Drawing>
<DrawingGroup ClipGeometry="M0,0 V24 H24 V0 H0 Z">
<GeometryDrawing x:Name="RedoIconGeometry" Brush="{DynamicResource IconForeground}"
Geometry="F1 M24,24z M0,0z M13.6656,5.02734L13.6395,8.62849C11.7569,8.87029 9.96948,9.44026 8.27685,10.3384 6.5324,11.2538 5.08134,12.4196 3.92413,13.8359 2.6633,15.3731 1.86023,17.0657 1.5148,18.9138 1.48026,19.1211 1.50619,19.3197 1.59255,19.5097 1.6789,19.6997 1.79974,19.8292 1.95518,19.8983 2.11063,19.9501 2.25766,19.9069 2.39583,19.7687 3.24215,18.8361 4.37323,17.9984 5.78951,17.2557 7.06761,16.5821 8.44089,16.0553 9.90899,15.6754 11.2907,15.3126 12.5341,15.1313 13.6395,15.1313L13.6656,18.862C13.6656,19.2938 13.7605,19.6047 13.9505,19.7947 14.1059,19.9501 14.3045,20.0106 14.5463,19.976 14.7881,19.9242 15.0041,19.8119 15.1941,19.6392 15.8505,18.9829 17.0939,17.7739 18.9247,16.0121 20.531,14.475 21.5846,13.4559 22.0854,12.9551 22.3618,12.6787 22.5,12.3678 22.5,12.0224 22.4827,11.6769 22.3273,11.3574 22.0337,11.0638 19.9783,9.00847 17.6897,6.73724 15.168,4.25011 14.9953,4.07739 14.7967,3.99967 14.5722,4.01694 14.3304,4.01694 14.1232,4.11194 13.9505,4.30193 13.7605,4.47464 13.6656,4.71645 13.6656,5.02734z" />
</DrawingGroup>
</DrawingImage.Drawing>
</DrawingImage>
</Image.Source>
</Image>
<TextBlock x:Name="RedoToolbarTextBlock" Text="{i18n:I18n Key=Board_Redo}"
Opacity="{Binding ElementName=BtnRedo, Path=IsEnabled, Converter={StaticResource IsEnabledToOpacityConverter}}"
Foreground="{DynamicResource FloatBarForeground}" FontSize="8" Margin="0,1,0,0"
TextAlignment="Center"
Style="{StaticResource AutoFitMainToolbarLabel8}" />
</ikw:SimpleStackPanel>
<ikw:SimpleStackPanel
Name="CursorWithDelFloatingBarBtn"
MouseDown="FloatingBarToolBtnMouseDownFeedback_Panel"
MouseLeave="FloatingBarToolBtnMouseLeaveFeedback_Panel"
MouseUp="CursorWithDelIcon_Click"
Background="Transparent" Orientation="Vertical"
HorizontalAlignment="Center" Width="28" Margin="0,-2">
<Image RenderOptions.BitmapScalingMode="HighQuality" Width="28" Height="17"
Margin="0,3,0,0">
<Image.Source>
<DrawingImage>
<DrawingImage.Drawing>
<DrawingGroup ClipGeometry="M0,0 V24 H24 V0 H0 Z">
<GeometryDrawing Brush="{DynamicResource IconForeground}"
Geometry="F0 M24,24z M0,0z M11.5007,11.0214C11.5007,10.674,11.7823,10.3923,12.1298,10.3923L14.2967,10.3923 14.2967,9.90299C14.2967,9.41878 14.5325,8.98723 14.8305,8.68924 15.1285,8.39124 15.56,8.15547 16.0442,8.15547L18.281,8.15547C18.7652,8.15547 19.1968,8.39124 19.4948,8.68924 19.7928,8.98723 20.0286,9.41878 20.0286,9.90299L20.0286,10.3923 22.1955,10.3923C22.5429,10.3923 22.8246,10.674 22.8246,11.0214 22.8246,11.3688 22.5429,11.6505 22.1955,11.6505L21.7062,11.6505 21.7062,18.8503C21.7062,19.3345 21.4704,19.766 21.1724,20.064 20.8744,20.362 20.4429,20.5978 19.9587,20.5978L14.3666,20.5978C13.8824,20.5978 13.4508,20.362 13.1528,20.064 12.8549,19.766 12.6191,19.3345 12.6191,18.8503L12.6191,11.6505 12.1298,11.6505C11.7823,11.6505,11.5007,11.3688,11.5007,11.0214z M14.0425,19.1743C13.9211,19.0529,13.8773,18.9253,13.8773,18.8503L13.8773,11.6505 20.448,11.6505 20.448,18.8503C20.448,18.9253 20.4041,19.0529 20.2827,19.1743 20.1613,19.2958 20.0337,19.3396 19.9587,19.3396L14.3666,19.3396C14.2916,19.3396,14.1639,19.2958,14.0425,19.1743z M15.5549,9.90299C15.5549,9.82799 15.5987,9.70034 15.7202,9.57893 15.8416,9.45752 15.9692,9.41368 16.0442,9.41368L18.281,9.41368C18.356,9.41368 18.4837,9.45752 18.6051,9.57893 18.7265,9.70034 18.7703,9.82799 18.7703,9.90299L18.7703,10.3923 15.5549,10.3923 15.5549,9.90299z M18.9101,13.8174C18.9101,13.47 18.6285,13.1883 18.281,13.1883 17.9336,13.1883 17.6519,13.47 17.6519,13.8174L17.6519,17.1727C17.6519,17.5201 17.9336,17.8018 18.281,17.8018 18.6285,17.8018 18.9101,17.5201 18.9101,17.1727L18.9101,13.8174z M16.6733,13.8174C16.6733,13.47 16.3917,13.1883 16.0442,13.1883 15.6968,13.1883 15.4151,13.47 15.4151,13.8174L15.4151,17.1727C15.4151,17.5201 15.6968,17.8018 16.0442,17.8018 16.3917,17.8018 16.6733,17.5201 16.6733,17.1727L16.6733,13.8174z M1.32567,3.55246C1.47265,3.40549,1.69379,3.36174,1.88566,3.44167L11.8342,7.58639C12.0311,7.66845 12.1567,7.86389 12.1495,8.07716 12.1424,8.29043 12.0039,8.47698 11.8018,8.54561L8.25047,9.75183 11.4309,12.9323C11.6313,13.1326 11.6313,13.4574 11.4309,13.6577 11.2306,13.8581 10.9058,13.8581 10.7055,13.6577L7.52503,10.4773 6.31881,14.0286C6.25019,14.2307 6.06364,14.3692 5.85037,14.3763 5.6371,14.3835 5.44166,14.2579 5.3596,14.0609L1.21488,4.11245C1.13494,3.92058,1.1787,3.69944,1.32567,3.55246z" />
</DrawingGroup>
</DrawingImage.Drawing>
</DrawingImage>
</Image.Source>
</Image>
<TextBlock x:Name="ClearAndMouseToolbarTextBlock" Text="{i18n:I18n Key=FloatingBar_ClearAndMouse}" Foreground="{DynamicResource FloatBarForeground}"
FontSize="8" Margin="0,1,0,0" TextAlignment="Center"
Style="{StaticResource AutoFitMainToolbarLabel8}" />
</ikw:SimpleStackPanel>
</ikw:SimpleStackPanel>
<Grid Width="0">
<Grid x:Name="BackgroundPaletteGrid" Margin="-203,-128,83,37">
<!-- 背景面板将在代码中动态添加 -->
</Grid>
<Border Visibility="Visible" ClipToBounds="True" Name="EraserSizePanel"
Margin="-203,-148,83,40" CornerRadius="5" Background="{DynamicResource FloatBarBackground}" Opacity="1"
BorderBrush="#2563eb" BorderThickness="1">
<ikw:SimpleStackPanel Margin="0">
<Border BorderBrush="#1e3a8a" BorderThickness="0,0,0,1"
CornerRadius="6,6,0,0"
Background="#2563eb" Margin="-1,-1,-1,1">
<Canvas Height="24" ClipToBounds="True">
<TextBlock Text="{i18n:I18n Key=FloatingBar_GesturePanelTitle}" Canvas.Left="8" Foreground="White"
Padding="0,5"
FontSize="11" FontWeight="Bold" TextAlignment="Center" />
<Image Margin="100,4,0,0"
Source="/Resources/new-icons/close-white.png"
RenderOptions.BitmapScalingMode="HighQuality"
Height="16"
Width="16" MouseDown="Border_MouseDown"
MouseUp="CloseBordertools_MouseUp" />
</Canvas>
</Border>
<ikw:SimpleStackPanel Orientation="Horizontal" Margin="0,8,0,0" Spacing="-2"
VerticalAlignment="Center"
HorizontalAlignment="Center">
<Label Margin="0,0,0,0" Content="{i18n:I18n Key=Board_Size}" FontWeight="Bold"
Foreground="{DynamicResource FloatBarForeground}" FontSize="10"
VerticalAlignment="Center" />
<Viewbox Margin="8,0,0,0" Height="20" Width="52">
<ComboBox Name="ComboBoxEraserSizeFloatingBar"
FontFamily="Microsoft YaHei UI" SelectedIndex="2"
SelectionChanged="ComboBoxEraserSizeFloatingBar_SelectionChanged">
<ComboBoxItem Content="{i18n:I18n Key=Canvas_EraserSize_VerySmall}" FontFamily="Microsoft YaHei UI" />
<ComboBoxItem Content="{i18n:I18n Key=Canvas_EraserSize_Small}" FontFamily="Microsoft YaHei UI" />
<ComboBoxItem Content="{i18n:I18n Key=Canvas_EraserSize_Medium}" FontFamily="Microsoft YaHei UI" />
<ComboBoxItem Content="{i18n:I18n Key=Canvas_EraserSize_Large}" FontFamily="Microsoft YaHei UI" />
<ComboBoxItem Content="{i18n:I18n Key=Canvas_EraserSize_VeryLarge}" FontFamily="Microsoft YaHei UI" />
</ComboBox>
</Viewbox>
</ikw:SimpleStackPanel>
<TextBlock HorizontalAlignment="Center" Margin="0,12,0,6" Text="{i18n:I18n Key=Board_EraserShape}"
FontWeight="Bold"
Foreground="{DynamicResource FloatBarForeground}"
FontSize="10" VerticalAlignment="Center" />
<ikw:SimpleStackPanel Orientation="Horizontal" HorizontalAlignment="Center"
Margin="0,0,0,0" Spacing="4">
<Border x:Name="CircleEraserTabButton" MouseDown="SwitchToCircleEraser"
Background="{DynamicResource FloatBarButtonBackgroundPointerOverKey}" Height="20" Width="40" CornerRadius="3">
<Canvas>
<ikw:SimpleStackPanel x:Name="CircleEraserTabButtonIndicator"
Visibility="Visible"
Orientation="Horizontal"
Canvas.Left="11" Canvas.Right="11"
Canvas.Bottom="0">
<Border Width="18" Height="2" Background="{DynamicResource FloatBarButtonButtonBackgroundPressedKey}"
CornerRadius="1" />
</ikw:SimpleStackPanel>
<ikw:SimpleStackPanel Orientation="Vertical" Height="20"
Width="40">
<ikw:SimpleStackPanel VerticalAlignment="Center"
Orientation="Horizontal"
HorizontalAlignment="Center" Margin="0,3">
<TextBlock x:Name="CircleEraserTabButtonText"
Foreground="{DynamicResource FloatBarForeground}" FontWeight="Medium"
FontSize="9" TextAlignment="Center"
Text="{i18n:I18n Key=Board_EraserShape_Circle}"
Style="{StaticResource AutoFitFloatBarLabel9}" />
</ikw:SimpleStackPanel>
</ikw:SimpleStackPanel>
</Canvas>
</Border>
<Border x:Name="RectangleEraserTabButton"
MouseDown="SwitchToRectangleEraser" Background="Transparent"
Height="20" Width="40" CornerRadius="3">
<Canvas>
<ikw:SimpleStackPanel Visibility="Collapsed"
x:Name="RectangleEraserTabButtonIndicator"
Orientation="Horizontal" Canvas.Left="11"
Canvas.Right="11" Canvas.Bottom="0">
<Border Width="18" Height="2" Background="{DynamicResource FloatBarButtonButtonBackgroundPressedKey}"
CornerRadius="1" />
</ikw:SimpleStackPanel>
<ikw:SimpleStackPanel Orientation="Vertical" Height="20"
Width="40">
<ikw:SimpleStackPanel VerticalAlignment="Center"
Orientation="Horizontal"
HorizontalAlignment="Center" Margin="0,3">
<TextBlock x:Name="RectangleEraserTabButtonText"
Foreground="{DynamicResource FloatBarForeground}" FontWeight="Medium"
FontSize="9" TextAlignment="Center"
Text="{i18n:I18n Key=Board_EraserShape_Blackboard}"
Style="{StaticResource AutoFitFloatBarLabel9}" />
</ikw:SimpleStackPanel>
</ikw:SimpleStackPanel>
</Canvas>
</Border>
</ikw:SimpleStackPanel>
<Button Click="EraserPanelSymbolIconDelete_MouseUp" Foreground="White"
HorizontalAlignment="Center" Margin="0,6,0,8">
<Button.Resources>
<SolidColorBrush
x:Key="{x:Static ui:ThemeKeys.ButtonBackgroundKey}"
Color="#b91c1c" />
<SolidColorBrush
x:Key="{x:Static ui:ThemeKeys.ButtonBackgroundPointerOverKey}"
Color="#b91c1c" />
<SolidColorBrush
x:Key="{x:Static ui:ThemeKeys.ButtonBackgroundPressedKey}"
Color="#991b1b" />
</Button.Resources>
<Button.Content>
<ikw:SimpleStackPanel Orientation="Horizontal" Spacing="3">
<Image RenderOptions.BitmapScalingMode="HighQuality"
Height="12">
<Image.Source>
<DrawingImage>
<DrawingImage.Drawing>
<DrawingGroup
ClipGeometry="M0,0 V24 H24 V0 H0 Z">
<GeometryDrawing Brush="White"
Geometry="F0 M24,24z M0,0z M10.1573,10.0421C10.7298,10.0421,11.1938,10.5062,11.1938,11.0787L11.1938,16.6067C11.1938,17.1792 10.7298,17.6433 10.1573,17.6433 9.58485,17.6433 9.12079,17.1792 9.12079,16.6067L9.12079,11.0787C9.12079,10.5062,9.58485,10.0421,10.1573,10.0421z M13.8427,10.0421C14.4151,10.0421,14.8792,10.5062,14.8792,11.0787L14.8792,16.6067C14.8792,17.1792 14.4151,17.6433 13.8427,17.6433 13.2702,17.6433 12.8062,17.1792 12.8062,16.6067L12.8062,11.0787C12.8062,10.5062,13.2702,10.0421,13.8427,10.0421z M3.70787,5.43539C3.13541,5.43539 2.67135,5.89946 2.67135,6.47191 2.67135,7.04436 3.13541,7.50843 3.70787,7.50843L4.51405,7.50843 4.51405,19.3708C4.51405,20.1686 4.9025,20.8796 5.39348,21.3706 5.88445,21.8615 6.59548,22.25 7.39326,22.25L16.6067,22.25C17.4045,22.25 18.1155,21.8615 18.6065,21.3706 19.0975,20.8796 19.486,20.1686 19.486,19.3708L19.486,7.50843 20.2921,7.50843C20.8646,7.50843 21.3287,7.04436 21.3287,6.47191 21.3287,5.89946 20.8646,5.43539 20.2921,5.43539L16.7219,5.43539 16.7219,4.62921C16.7219,3.83143 16.3335,3.12041 15.8425,2.62943 15.3515,2.13845 14.6405,1.75 13.8427,1.75L10.1573,1.75C9.35952,1.75 8.6485,2.13845 8.15752,2.62943 7.66654,3.12041 7.27809,3.83143 7.27809,4.62921L7.27809,5.43539 3.70787,5.43539z M6.58708,19.3708C6.58708,19.4944 6.6593,19.7047 6.85933,19.9047 7.05937,20.1047 7.26969,20.177 7.39326,20.177L16.6067,20.177C16.7303,20.177 16.9406,20.1047 17.1407,19.9047 17.3407,19.7047 17.4129,19.4944 17.4129,19.3708L17.4129,7.50843 6.58708,7.50843 6.58708,19.3708z M9.62338,4.09529C9.42334,4.29532,9.35112,4.50565,9.35112,4.62921L9.35112,5.43539 14.6489,5.43539 14.6489,4.62921C14.6489,4.50565 14.5767,4.29532 14.3766,4.09529 14.1766,3.89525 13.9663,3.82303 13.8427,3.82303L10.1573,3.82303C10.0337,3.82303,9.82341,3.89525,9.62338,4.09529z" />
</DrawingGroup>
</DrawingImage.Drawing>
</DrawingImage>
</Image.Source>
</Image>
<TextBlock FontSize="10" VerticalAlignment="Center"
Foreground="White" FontWeight="Bold"
Text="{i18n:I18n Key=Board_ClearInk}" />
</ikw:SimpleStackPanel>
</Button.Content>
</Button>
</ikw:SimpleStackPanel>
</Border>
</Grid>
<ikw:SimpleStackPanel
Orientation="{Binding ElementName=StackPanelFloatingBar, Path=Orientation}">
<Border Margin="2,0,2,0" BorderBrush="#71717a" BorderThickness="1,0,0,0" />
<ikw:SimpleStackPanel
Name="WhiteboardFloatingBarBtn"
MouseDown="FloatingBarToolBtnMouseDownFeedback_Panel"
MouseLeave="FloatingBarToolBtnMouseLeaveFeedback_Panel"
MouseUp="ImageBlackboard_MouseUp" Background="Transparent"
Orientation="Vertical" HorizontalAlignment="Center" Width="28"
Margin="0,-2">
<Image RenderOptions.BitmapScalingMode="HighQuality" Width="28" Height="17"
Margin="0,3,0,0">
<Image.Source>
<DrawingImage>
<DrawingImage.Drawing>
<DrawingGroup ClipGeometry="M0,0 V24 H24 V0 H0 Z">
<GeometryDrawing Brush="{DynamicResource IconForeground}"
Geometry="F0 M24,24z M0,0z M5,5.875C4.70163,5.875 4.41548,5.99353 4.2045,6.2045 3.99353,6.41548 3.875,6.70163 3.875,7L3.875,17C3.875,17.2984 3.99353,17.5845 4.2045,17.7955 4.41548,18.0065 4.70163,18.125 5,18.125L8,18.125C8.48325,18.125 8.875,18.5168 8.875,19 8.875,19.4832 8.48325,19.875 8,19.875L5,19.875C4.2375,19.875 3.50623,19.5721 2.96707,19.0329 2.4279,18.4938 2.125,17.7625 2.125,17L2.125,7C2.125,6.2375 2.4279,5.50624 2.96707,4.96707 3.50624,4.4279 4.2375,4.125 5,4.125L19,4.125C19.7625,4.125 20.4938,4.4279 21.0329,4.96707 21.5721,5.50623 21.875,6.2375 21.875,7L21.875,18C21.875,18.4973 21.6775,18.9742 21.3258,19.3258 20.9742,19.6775 20.4973,19.875 20,19.875 19.5168,19.875 19.125,19.4832 19.125,19 19.125,18.5168 19.5168,18.125 20,18.125 20.0332,18.125 20.0649,18.1118 20.0884,18.0884 20.1118,18.0649 20.125,18.0332 20.125,18L20.125,7C20.125,6.70163 20.0065,6.41548 19.7955,6.2045 19.5845,5.99353 19.2984,5.875 19,5.875L5,5.875z M10.6742,15.6742C11.0258,15.3225,11.5027,15.125,12,15.125L16,15.125C16.4973,15.125 16.9742,15.3225 17.3258,15.6742 17.6775,16.0258 17.875,16.5027 17.875,17L17.875,18C17.875,18.4973 17.6775,18.9742 17.3258,19.3258 16.9742,19.6775 16.4973,19.875 16,19.875L12,19.875C11.5027,19.875 11.0258,19.6775 10.6742,19.3258 10.3225,18.9742 10.125,18.4973 10.125,18L10.125,17C10.125,16.5027,10.3225,16.0258,10.6742,15.6742z" />
</DrawingGroup>
</DrawingImage.Drawing>
</DrawingImage>
</Image.Source>
</Image>
<TextBlock x:Name="WhiteboardToolbarTextBlock" Text="{i18n:I18n Key=FloatingBar_Whiteboard}" Foreground="{DynamicResource FloatBarForeground}"
FontSize="8" Margin="0,1,0,0" TextAlignment="Center"
Style="{StaticResource AutoFitMainToolbarLabel8}" />
</ikw:SimpleStackPanel>
<ikw:SimpleStackPanel
Name="ToolsFloatingBarBtn"
MouseDown="FloatingBarToolBtnMouseDownFeedback_Panel"
MouseLeave="FloatingBarToolBtnMouseLeaveFeedback_Panel"
MouseUp="SymbolIconTools_MouseUp" Background="Transparent"
Orientation="Vertical" HorizontalAlignment="Center" Width="28"
Margin="0,-2">
<Image RenderOptions.BitmapScalingMode="HighQuality" Width="28" Height="17"
Margin="0,3,0,0">
<Image.Source>
<DrawingImage>
<DrawingImage.Drawing>
<DrawingGroup ClipGeometry="M0,0 V24 H24 V0 H0 Z">
<GeometryDrawing Brush="{DynamicResource IconForeground}"
Geometry="F0 M24,24z M0,0z M4.41721,4.29873C4.35178,4.29873,4.29873,4.35178,4.29873,4.41721L4.29873,9.15646C4.29873,9.22189,4.35178,9.27494,4.41721,9.27494L9.15646,9.27494C9.22189,9.27494,9.27494,9.22189,9.27494,9.15646L9.27494,4.41721C9.27494,4.35178,9.22189,4.29873,9.15646,4.29873L4.41721,4.29873z M2.64,4.41721C2.64,3.43569,3.43569,2.64,4.41721,2.64L9.15646,2.64C10.138,2.64,10.9337,3.43569,10.9337,4.41721L10.9337,9.15646C10.9337,10.138,10.138,10.9337,9.15646,10.9337L4.41721,10.9337C3.43569,10.9337,2.64,10.138,2.64,9.15646L2.64,4.41721z M14.8435,4.29873C14.7781,4.29873,14.7251,4.35178,14.7251,4.41721L14.7251,9.15646C14.7251,9.22189,14.7781,9.27494,14.8435,9.27494L19.5828,9.27494C19.6482,9.27494,19.7013,9.22189,19.7013,9.15646L19.7013,4.41721C19.7013,4.35178,19.6482,4.29873,19.5828,4.29873L14.8435,4.29873z M13.0663,4.41721C13.0663,3.43569,13.862,2.64,14.8435,2.64L19.5828,2.64C20.5643,2.64,21.36,3.43569,21.36,4.41721L21.36,9.15646C21.36,10.138,20.5643,10.9337,19.5828,10.9337L14.8435,10.9337C13.862,10.9337,13.0663,10.138,13.0663,9.15646L13.0663,4.41721z M14.8435,14.7251C14.7781,14.7251,14.7251,14.7781,14.7251,14.8435L14.7251,19.5828C14.7251,19.6482,14.7781,19.7013,14.8435,19.7013L19.5828,19.7013C19.6482,19.7013,19.7013,19.6482,19.7013,19.5828L19.7013,14.8435C19.7013,14.7781,19.6482,14.7251,19.5828,14.7251L14.8435,14.7251z M13.0663,14.8435C13.0663,13.862,13.862,13.0663,14.8435,13.0663L19.5828,13.0663C20.5643,13.0663,21.36,13.862,21.36,14.8435L21.36,19.5828C21.36,20.5643,20.5643,21.36,19.5828,21.36L14.8435,21.36C13.862,21.36,13.0663,20.5643,13.0663,19.5828L13.0663,14.8435z M4.41721,14.7251C4.35178,14.7251,4.29873,14.7781,4.29873,14.8435L4.29873,19.5828C4.29873,19.6482,4.35178,19.7013,4.41721,19.7013L9.15646,19.7013C9.22189,19.7013,9.27494,19.6482,9.27494,19.5828L9.27494,14.8435C9.27494,14.7781,9.22189,14.7251,9.15646,14.7251L4.41721,14.7251z M2.64,14.8435C2.64,13.862,3.43569,13.0663,4.41721,13.0663L9.15646,13.0663C10.138,13.0663,10.9337,13.862,10.9337,14.8435L10.9337,19.5828C10.9337,20.5643,10.138,21.36,9.15646,21.36L4.41721,21.36C3.43569,21.36,2.64,20.5643,2.64,19.5828L2.64,14.8435z" />
</DrawingGroup>
</DrawingImage.Drawing>
</DrawingImage>
</Image.Source>
</Image>
<TextBlock x:Name="ToolsToolbarTextBlock" Text="{i18n:I18n Key=Board_Tools}" Foreground="{DynamicResource FloatBarForeground}"
FontSize="8"
Margin="0,1,0,0" TextAlignment="Center"
Style="{StaticResource AutoFitMainToolbarLabel8}" />
</ikw:SimpleStackPanel>
<ikw:SimpleStackPanel
x:Name="Fold_Icon"
MouseDown="FloatingBarToolBtnMouseDownFeedback_Panel"
MouseLeave="FloatingBarToolBtnMouseLeaveFeedback_Panel"
MouseUp="FoldFloatingBar_MouseUp" Background="Transparent"
Orientation="Vertical" HorizontalAlignment="Center" Width="28"
Margin="0,-2">
<Image RenderOptions.BitmapScalingMode="HighQuality" Width="28" Height="17"
Margin="0,3,0,0">
<Image.Source>
<DrawingImage>
<DrawingImage.Drawing>
<DrawingGroup ClipGeometry="M0,0 V24 H24 V0 H0 Z">
<GeometryDrawing Brush="{DynamicResource IconForeground}"
Geometry="F1 M24,24z M0,0z M19.1634,15.0537C18.9999,15.0537 18.8278,15.0021 18.6902,14.8902 18.3632,14.6321 18.3116,14.1589 18.5783,13.832 19.0343,13.2642 19.4387,12.6447 19.7656,11.9909 19.172,10.8208 16.763,6.72556 11.9967,6.72556 11.6612,6.72556 11.3256,6.75137 10.9987,6.78579 10.5943,6.83741 10.2072,6.54489 10.1556,6.13193 10.1039,5.71896 10.3965,5.34041 10.8094,5.28879 11.1966,5.23717 11.5923,5.21136 11.9967,5.21136 18.4407,5.21136 21.1766,11.423 21.297,11.6897 21.383,11.8876 21.3744,12.1113 21.2884,12.3006 20.8754,13.1781 20.3592,14.0041 19.757,14.7612 19.6107,14.9418 19.387,15.0451 19.172,15.0451L19.1634,15.0537z M10.689,15.1483C11.0847,15.3118,11.5063,15.3892,11.9365,15.3892L11.9451,15.4064 12.0053,15.4064C12.4613,15.3978 12.8915,15.2946 13.3044,15.1139 13.4763,15.0387 13.6392,14.9486 13.7931,14.8455L15.4197,16.472 16.533,17.5854 20.0753,21.1277C20.2216,21.2826,20.4195,21.3514,20.6087,21.3514L20.6001,21.36C20.7894,21.36 20.9873,21.2826 21.1335,21.1363 21.4261,20.8438 21.4261,20.362 21.1335,20.0695L3.92668,2.86262C3.63416,2.5615 3.16958,2.57011 2.86846,2.86262 2.56734,3.15514 2.56734,3.62833 2.86846,3.92085L6.21371,7.2661C4.72738,8.44444 3.5311,9.95577 2.71359,11.6725 2.62756,11.8704 2.61896,12.0941 2.70499,12.292 2.81684,12.5587 5.55273,18.7704 12.0053,18.7704L12.0311,18.7704C13.6161,18.7704,15.1606,18.3654,16.533,17.5854L15.4197,16.472C14.3708,16.9906,13.2144,17.2648,12.0311,17.2648L12.0053,17.2648C7.239,17.2648 4.83004,13.1695 4.2364,11.9995 4.96897,10.5725 6.01289,9.32147 7.29011,8.3425L9.15767,10.2101C9.05523,10.3645 8.96629,10.5279 8.89086,10.7003 8.71018,11.1133 8.60694,11.5521 8.60694,11.9995 8.59834,12.4468 8.67577,12.8856 8.84784,13.3072 9.0113,13.7288 9.26081,14.0987 9.57913,14.417 9.89746,14.7354 10.2674,14.9763 10.689,15.1483z" />
</DrawingGroup>
</DrawingImage.Drawing>
</DrawingImage>
</Image.Source>
</Image>
<TextBlock x:Name="HideToolbarTextBlock" Text="{i18n:I18n Key=FloatingBar_Hide}" Foreground="{DynamicResource FloatBarForeground}"
FontSize="8"
Margin="0,1,0,0" TextAlignment="Center"
Style="{StaticResource AutoFitMainToolbarLabel8}" />
</ikw:SimpleStackPanel>
<Grid Width="0">
<Border ClipToBounds="True" Name="BorderTools" Margin="-103,-156,-16,37"
CornerRadius="5" Background="{DynamicResource FloatBarBackground}" Opacity="1" BorderThickness="1"
BorderBrush="#2563eb">
<ikw:SimpleStackPanel Margin="-1,0,0,0">
<Border BorderBrush="#1e3a8a" BorderThickness="0,0,0,1"
CornerRadius="6,6,0,0" Background="#2563eb" Margin="-1,-1,-1,0"
Padding="1,1,1,0">
<ikw:SimpleStackPanel Orientation="Horizontal"
HorizontalAlignment="Stretch">
<TextBlock Text="{i18n:I18n Key=Tools_MoreFeaturesTitle}" Foreground="White" Padding="8,5,44,5"
FontSize="11" FontWeight="Bold"
TextAlignment="Center" />
<Image Margin="0,0,0,0"
Source="/Resources/new-icons/close-white.png"
RenderOptions.BitmapScalingMode="HighQuality"
Height="16"
Width="16" MouseDown="Border_MouseDown"
MouseUp="CloseBordertools_MouseUp" />
</ikw:SimpleStackPanel>
</Border>
<!---->
<ikw:SimpleStackPanel Margin="10,3,10,2" Spacing="-2">
<ikw:SimpleStackPanel.Resources>
<Style TargetType="Label" BasedOn="{StaticResource AutoFitToolPopupLabel8}" />
</ikw:SimpleStackPanel.Resources>
<ikw:SimpleStackPanel Margin="0,0,0,0" Height="40" Spacing="0"
Orientation="Horizontal">
<ikw:SimpleStackPanel MouseDown="Border_MouseDown"
MouseUp="ImageCountdownTimer_MouseUp"
Margin="0,0,0,0" Height="38" Width="32"
Orientation="Vertical">
<Image Margin="0,4,0,2" Height="19" Width="19">
<Image.Source>
<DrawingImage>
<DrawingImage.Drawing>
<DrawingGroup
ClipGeometry="M0,0 V24 H24 V0 H0 Z">
<GeometryDrawing Brush="{DynamicResource IconForeground}"
Geometry="F0 M24,24z M0,0z M12,3C11.7613,3 11.5324,3.09482 11.3636,3.2636 11.1948,3.43239 11.1,3.6613 11.1,3.9L11.1,6.6C11.1,7.09705 11.5029,7.5 12,7.5 12.4971,7.5 12.9,7.09705 12.9,6.6L12.9,4.85646C14.3196,5.0353 15.6613,5.63436 16.7472,6.58675 18.0606,7.73848 18.9104,9.32838 19.1384,11.0602 19.3664,12.792 18.957,14.5477 17.9865,16.0001 17.0162,17.4525 15.5508,18.5026 13.8635,18.9547 12.1762,19.4067 10.3822,19.2301 8.81552,18.4575 7.24888,17.6849 6.01653,16.3691 5.34806,14.7554 4.67961,13.1415 4.62062,11.3397 5.1821,9.68563 5.49617,8.76044 5.99235,7.91676 6.63344,7.2 6.96481,6.8295 6.93309,6.26054 6.5626,5.92917 6.19212,5.59781 5.62315,5.62952 5.29179,6.00001 4.49049,6.8959 3.87021,7.95054 3.47763,9.10704 2.77577,11.1746 2.84951,13.4269 3.68509,15.4441 4.52067,17.4614 6.0611,19.1061 8.0194,20.0718 9.97769,21.0375 12.2203,21.2585 14.3294,20.6933 16.4384,20.1282 18.2701,18.8156 19.4832,17.0001 20.6963,15.1847 21.208,12.9901 20.923,10.8252 20.638,8.66047 19.5758,6.67311 17.9341,5.23344 16.2925,3.79377 14.1835,3 12,3z M9.0364,7.7636C8.68492,7.41213 8.11508,7.41213 7.7636,7.7636 7.41213,8.11508 7.41213,8.68492 7.7636,9.0364L10.2609,11.5338C10.2212,11.6825 10.2,11.8387 10.2,12 10.2,12.9941 11.0059,13.8 12,13.8 12.9941,13.8 13.8,12.9941 13.8,12 13.8,11.0059 12.9941,10.2 12,10.2 11.8387,10.2 11.6825,10.2212 11.5338,10.2609L9.0364,7.7636z" />
</DrawingGroup>
</DrawingImage.Drawing>
</DrawingImage>
</Image.Source>
</Image>
<Label Content="{i18n:I18n Key=Tools_Timer}" FontSize="8"
HorizontalAlignment="Center" />
</ikw:SimpleStackPanel>
<ikw:SimpleStackPanel MouseDown="Border_MouseDown"
MouseUp="SymbolIconRand_MouseUp"
Margin="0,0,0,0" Height="38" Width="32"
Orientation="Vertical">
<Image Margin="0,4,0,2" Height="19" Width="19">
<Image.Source>
<DrawingImage>
<DrawingImage.Drawing>
<DrawingGroup
ClipGeometry="M0,0 V24 H24 V0 H0 Z">
<GeometryDrawing Brush="{DynamicResource IconForeground}"
Geometry="F0 M24,24z M0,0z M15.9475,4.75965C15.7358,5.18305,15.9074,5.69791,16.3308,5.90961L16.9034,6.19589C14.0673,6.82039 11.7039,8.89176 10.7582,11.729 9.8511,14.4502 7.3045,16.2857 4.43608,16.2857L3.85713,16.2857C3.38376,16.2857 3,16.6694 3,17.1428 3,17.6162 3.38376,17.9999 3.85713,17.9999L4.43608,17.9999C8.04237,17.9999 11.2441,15.6923 12.3845,12.271 13.2915,9.54985 15.8381,7.71436 18.7066,7.71436L20.124,7.71436C20.1661,7.71524 20.208,7.71301 20.2494,7.70777 20.4903,7.67729 20.7143,7.54515 20.8554,7.33338 20.9116,7.24952 20.9533,7.15519 20.9771,7.05396 21.001,6.95301 21.0059,6.85024 20.9932,6.75036 20.9627,6.50938 20.8304,6.28523 20.6184,6.14418 20.5838,6.12101 20.5474,6.1003 20.5094,6.08229L17.0974,4.37632C16.674,4.16462,16.1592,4.33624,15.9475,4.75965z M20.8557,16.667C20.9116,16.7507 20.9533,16.8447 20.977,16.9456 21.001,17.0467 21.0059,17.1497 20.9932,17.2498 20.9626,17.4908 20.8303,17.7148 20.6185,17.8558 20.5838,17.8791 20.5474,17.8997 20.5094,17.9177L17.0975,19.6237C16.674,19.8354 16.1592,19.6638 15.9475,19.2404 15.7358,18.817 15.9074,18.3022 16.3308,18.0904L17.0491,17.7313C15.7728,17.4079 14.5941,16.8029 13.5952,15.9737 13.231,15.6713 13.1809,15.1308 13.4833,14.7667 13.7857,14.4025 14.3261,14.3523 14.6903,14.6547 15.9326,15.6862 17.5188,16.2857 19.2067,16.2857L20.1241,16.2857C20.1662,16.2848 20.2081,16.287 20.2495,16.2923 20.4905,16.3228 20.7146,16.455 20.8557,16.667z M3,6.85722C3,6.38384,3.38376,6.00009,3.85713,6.00009L4.36455,6.00009C6.25231,6.00009 8.03834,6.60414 9.50119,7.6588 9.88517,7.93565 9.972,8.47136 9.69519,8.85534 9.41835,9.23934 8.88264,9.32619 8.49866,9.04935 7.32072,8.2001 5.88391,7.71436 4.36455,7.71436L3.85713,7.71436C3.38376,7.71436,3,7.3306,3,6.85722z" />
</DrawingGroup>
</DrawingImage.Drawing>
</DrawingImage>
</Image.Source>
</Image>
<Label Content="{i18n:I18n Key=Tools_RandomDraw}" FontSize="8"
HorizontalAlignment="Center" />
</ikw:SimpleStackPanel>
<ikw:SimpleStackPanel MouseDown="Border_MouseDown"
MouseUp="SymbolIconRandOne_MouseUp"
Margin="0,0,0,0" Height="38" Width="32"
Orientation="Vertical">
<Image Margin="0,4,0,2" Height="19" Width="19">
<Image.Source>
<DrawingImage>
<DrawingImage.Drawing>
<DrawingGroup
ClipGeometry="M0,0 V24 H24 V0 H0 Z">
<GeometryDrawing Brush="{DynamicResource IconForeground}"
Geometry="F0 M24,24z M0,0z M3.9,9.3C4.39706,9.3,4.8,8.89706,4.8,8.4L4.8,4.8 8.4,4.8C8.89705,4.8 9.3,4.39706 9.3,3.9 9.3,3.40295 8.89705,3 8.4,3L3.9,3C3.6613,3 3.43239,3.09482 3.2636,3.2636 3.09482,3.43239 3,3.6613 3,3.9L3,8.4C3,8.89706,3.40295,9.3,3.9,9.3z M3.9,14.7C4.39706,14.7,4.8,15.1029,4.8,15.6L4.8,19.2 8.4,19.2C8.89705,19.2 9.3,19.6029 9.3,20.1 9.3,20.5971 8.89705,21 8.4,21L3.9,21C3.6613,21 3.43239,20.9051 3.2636,20.7364 3.09482,20.5676 3,20.3387 3,20.1L3,15.6C3,15.1029,3.40295,14.7,3.9,14.7z M20.1,9.3C19.6029,9.3,19.2,8.89706,19.2,8.4L19.2,4.8 15.6,4.8C15.1029,4.8 14.7,4.39706 14.7,3.9 14.7,3.40295 15.1029,3 15.6,3L20.1,3C20.3387,3 20.5676,3.09482 20.7364,3.2636 20.9051,3.43239 21,3.6613 21,3.9L21,8.4C21,8.89706,20.5971,9.3,20.1,9.3z M20.1,14.7C19.6029,14.7,19.2,15.1029,19.2,15.6L19.2,19.2 15.6,19.2C15.1029,19.2 14.7,19.6029 14.7,20.1 14.7,20.5971 15.1029,21 15.6,21L20.1,21C20.3387,21 20.5676,20.9051 20.7364,20.7364 20.9051,20.5676 21,20.3387 21,20.1L21,15.6C21,15.1029,20.5971,14.7,20.1,14.7z M8.4,10.2C8.4,8.21177 10.0118,6.6 12,6.6 13.9882,6.6 15.6,8.21177 15.6,10.2 15.6,12.1882 13.9882,13.8 12,13.8 10.0118,13.8 8.4,12.1882 8.4,10.2z M12,8.4C11.0059,8.4 10.2,9.20589 10.2,10.2 10.2,11.1941 11.0059,12 12,12 12.9941,12 13.8,11.1941 13.8,10.2 13.8,9.20589 12.9941,8.4 12,8.4z M7.5,16.5C7.5,16.0029,7.90295,15.6,8.4,15.6L15.6,15.6C16.0971,15.6 16.5,16.0029 16.5,16.5 16.5,16.9971 16.0971,17.4 15.6,17.4L8.4,17.4C7.90295,17.4,7.5,16.9971,7.5,16.5z" />
</DrawingGroup>
</DrawingImage.Drawing>
</DrawingImage>
</Image.Source>
</Image>
<Label Content="{i18n:I18n Key=Tools_SingleDraw}" FontSize="8"
HorizontalAlignment="Center" />
</ikw:SimpleStackPanel>
</ikw:SimpleStackPanel>
<ikw:SimpleStackPanel Margin="0,0,0,0" Height="40" Spacing="0"
Orientation="Horizontal">
<ikw:SimpleStackPanel MouseDown="Border_MouseDown"
MouseUp="SymbolIconSaveStrokes_MouseUp"
Margin="0,0,0,0" Height="38" Width="32"
Orientation="Vertical">
<Image Margin="0,4,0,2" Height="19" Width="19">
<Image.Source>
<DrawingImage>
<DrawingImage.Drawing>
<DrawingGroup
ClipGeometry="M0,0 V24 H24 V0 H0 Z">
<GeometryDrawing Brush="{DynamicResource IconForeground}"
Geometry="F0 M24,24z M0,0z M6,5C5.73478,5 5.48043,5.10536 5.29289,5.29289 5.10536,5.48043 5,5.73478 5,6L5,18C5,18.2652 5.10536,18.5196 5.29289,18.7071 5.48043,18.8946 5.73478,19 6,19L18,19C18.2652,19 18.5196,18.8946 18.7071,18.7071 18.8946,18.5196 19,18.2652 19,18L19,8.41421 15.5858,5 15,5 15,8C15,8.55228,14.5523,9,14,9L8,9C7.44772,9,7,8.55228,7,8L7,5 6,5z M8,3L6,3C5.20435,3 4.44129,3.31607 3.87868,3.87868 3.31607,4.44129 3,5.20435 3,6L3,18C3,18.7956 3.31607,19.5587 3.87868,20.1213 4.44129,20.6839 5.20435,21 6,21L18,21C18.7957,21 19.5587,20.6839 20.1213,20.1213 20.6839,19.5587 21,18.7957 21,18L21,8C21,7.73478,20.8946,7.48043,20.7071,7.29289L16.7071,3.29289C16.5196,3.10536,16.2652,3,16,3L14,3 8,3z M9,5L9,7 13,7 13,5 9,5z M9.87868,11.8787C10.4413,11.3161 11.2043,11 12,11 12.7957,11 13.5587,11.3161 14.1213,11.8787 14.6839,12.4413 15,13.2043 15,14 15,14.7957 14.6839,15.5587 14.1213,16.1213 13.5587,16.6839 12.7957,17 12,17 11.2043,17 10.4413,16.6839 9.87868,16.1213 9.31607,15.5587 9,14.7957 9,14 9,13.2043 9.31607,12.4413 9.87868,11.8787z M12,13C11.7348,13 11.4804,13.1054 11.2929,13.2929 11.1054,13.4804 11,13.7348 11,14 11,14.2652 11.1054,14.5196 11.2929,14.7071 11.4804,14.8946 11.7348,15 12,15 12.2652,15 12.5196,14.8946 12.7071,14.7071 12.8946,14.5196 13,14.2652 13,14 13,13.7348 12.8946,13.4804 12.7071,13.2929 12.5196,13.1054 12.2652,13 12,13z" />
</DrawingGroup>
</DrawingImage.Drawing>
</DrawingImage>
</Image.Source>
</Image>
<Label Content="{i18n:I18n Key=Tools_Save}" FontSize="8"
HorizontalAlignment="Center" />
</ikw:SimpleStackPanel>
<ikw:SimpleStackPanel MouseDown="Border_MouseDown"
MouseUp="SymbolIconOpenStrokes_MouseUp"
Margin="0,0,0,0" Height="38" Width="32"
Orientation="Vertical">
<Image Margin="0,4,0,2" Height="19" Width="19">
<Image.Source>
<DrawingImage>
<DrawingImage.Drawing>
<DrawingGroup
ClipGeometry="M0,0 V24 H24 V0 H0 Z">
<GeometryDrawing Brush="{DynamicResource IconForeground}"
Geometry="F0 M24,24z M0,0z M5,5C4.73478,5 4.48043,5.10536 4.29289,5.29289 4.10536,5.48043 4,5.73478 4,6L4,17C4,17.2652 4.10536,17.5196 4.29289,17.7071 4.32236,17.7366 4.35349,17.764 4.38604,17.7893L6.82062,11.298C6.82065,11.2979 6.8206,11.2981 6.82062,11.298 6.96351,10.9169 7.21932,10.5883 7.55377,10.3564 7.88827,10.1245 8.28558,10.0002 8.69262,10L20,10 20,9C20,8.73478 19.8946,8.48043 19.7071,8.29289 19.5196,8.10536 19.2652,8 19,8L12,8C11.7348,8,11.4804,7.89464,11.2929,7.70711L8.58579,5 5,5z M20.9992,12L8.69338,12 6.44307,18 19.0257,18C19.0258,18 19.0256,18 19.0257,18 19.2583,17.9999 19.4838,17.9187 19.663,17.7705 19.8422,17.6222 19.9641,17.416 20.0077,17.1875L20.9992,12z M22,10.2682C22.1988,10.383 22.3767,10.5315 22.5256,10.7073 22.7133,10.9288 22.8504,11.1885 22.9276,11.4684 23.0048,11.7483 23.0201,12.0416 22.9725,12.328L22.9682,12.3517 21.9723,17.5625C21.8414,18.248 21.4756,18.8665 20.9379,19.3114 20.4002,19.7563 19.7242,19.9998 19.0263,20L5,20C4.20435,20 3.44129,19.6839 2.87868,19.1213 2.31607,18.5587 2,17.7956 2,17L2,6C2,5.20435 2.31607,4.44129 2.87868,3.87868 3.44129,3.31607 4.20435,3 5,3L9,3C9.26522,3,9.51957,3.10536,9.70711,3.29289L12.4142,6 19,6C19.7957,6 20.5587,6.31607 21.1213,6.87868 21.6839,7.44129 22,8.20435 22,9L22,10.2682z" />
</DrawingGroup>
</DrawingImage.Drawing>
</DrawingImage>
</Image.Source>
</Image>
<Label Content="{i18n:I18n Key=Tools_Open}" FontSize="8"
HorizontalAlignment="Center" />
</ikw:SimpleStackPanel>
<ikw:SimpleStackPanel MouseDown="Border_MouseDown"
MouseUp="GridInkReplayButton_MouseUp"
Margin="0,0,0,0" Height="38" Width="32"
Orientation="Vertical">
<Image Margin="0,4,0,2" Height="19" Width="19">
<Image.Source>
<DrawingImage>
<DrawingImage.Drawing>
<DrawingGroup
ClipGeometry="M0,0 V24 H24 V0 H0 Z">
<GeometryDrawing Brush="{DynamicResource IconForeground}"
Geometry="F0 M24,24z M0,0z M11,4.99999C11,4.60761 10.7705,4.25149 10.4132,4.08935 10.0559,3.92722 9.63679,3.98903 9.3415,4.24741L1.3415,11.2474C1.12448,11.4373 1,11.7116 1,12 1,12.2883 1.12448,12.5627 1.3415,12.7526L9.3415,19.7526C9.63679,20.0109 10.0559,20.0728 10.4132,19.9106 10.7705,19.7485 11,19.3924 11,19L11,4.99999z M9,16.7962L3.51859,12 9,7.20375 9,16.7962z M22,4.99999C22,4.60761 21.7705,4.25149 21.4132,4.08935 21.0559,3.92722 20.6368,3.98903 20.3415,4.24741L12.3415,11.2474C12.1245,11.4373 12,11.7116 12,12 12,12.2883 12.1245,12.5627 12.3415,12.7526L20.3415,19.7526C20.6368,20.0109 21.0559,20.0728 21.4132,19.9106 21.7705,19.7485 22,19.3924 22,19L22,4.99999z M20,16.7962L14.5186,12 20,7.20375 20,16.7962z" />
</DrawingGroup>
</DrawingImage.Drawing>
</DrawingImage>
</Image.Source>
</Image>
<Label Content="{i18n:I18n Key=Tools_Replay}" FontSize="8"
HorizontalAlignment="Center" />
</ikw:SimpleStackPanel>
</ikw:SimpleStackPanel>
<ikw:SimpleStackPanel Margin="0,0,0,0" Height="40" Spacing="0"
Orientation="Horizontal">
<ikw:SimpleStackPanel MouseDown="Border_MouseDown"
MouseUp="SymbolIconScreenshot_MouseUp"
Margin="0,0,0,0" Height="38" Width="32"
Orientation="Vertical">
<Image Margin="0,4,0,2" Height="19" Width="19">
<Image.Source>
<DrawingImage>
<DrawingImage.Drawing>
<DrawingGroup
ClipGeometry="M0,0 V24 H24 V0 H0 Z">
<GeometryDrawing Brush="{DynamicResource IconForeground}"
Geometry="F0 M24,24z M0,0z M9,3C8.46957,3 7.96086,3.21071 7.58579,3.58579 7.21071,3.96086 7,4.46957 7,5 7,5.26522 6.89464,5.51957 6.70711,5.70711 6.51957,5.89464 6.26522,6 6,6L5,6C4.20435,6 3.44129,6.31607 2.87868,6.87868 2.31607,7.44129 2,8.20435 2,9L2,18C2,18.7956 2.31607,19.5587 2.87868,20.1213 3.44129,20.6839 4.20435,21 5,21L19,21C19.7957,21 20.5587,20.6839 21.1213,20.1213 21.6839,19.5587 22,18.7957 22,18L22,9C22,8.20435 21.6839,7.44129 21.1213,6.87868 20.5587,6.31607 19.7957,6 19,6L18,6C17.7348,6 17.4804,5.89464 17.2929,5.70711 17.1054,5.51957 17,5.26522 17,5 17,4.46957 16.7893,3.96086 16.4142,3.58579 16.0391,3.21071 15.5304,3 15,3L9,3z M9,5L15,5C15,5.79565 15.3161,6.55871 15.8787,7.12132 16.4413,7.68393 17.2044,8 18,8L19,8C19.2652,8 19.5196,8.10536 19.7071,8.29289 19.8946,8.48043 20,8.73478 20,9L20,18C20,18.2652 19.8946,18.5196 19.7071,18.7071 19.5196,18.8946 19.2652,19 19,19L5,19C4.73478,19 4.48043,18.8946 4.29289,18.7071 4.10536,18.5196 4,18.2652 4,18L4,9C4,8.73478 4.10536,8.48043 4.29289,8.29289 4.48043,8.10536 4.73478,8 5,8L6,8C6.79565,8 7.55871,7.68393 8.12132,7.12132 8.68393,6.55871 9,5.79565 9,5z M12,9C10.9391,9 9.92172,9.42143 9.17157,10.1716 8.42143,10.9217 8,11.9391 8,13 8,14.0609 8.42143,15.0783 9.17157,15.8284 9.92172,16.5786 10.9391,17 12,17 13.0609,17 14.0783,16.5786 14.8284,15.8284 15.5786,15.0783 16,14.0609 16,13 16,11.9391 15.5786,10.9217 14.8284,10.1716 14.0783,9.42143 13.0609,9 12,9z M10.5858,11.5858C10.9609,11.2107 11.4696,11 12,11 12.5304,11 13.0391,11.2107 13.4142,11.5858 13.7893,11.9609 14,12.4696 14,13 14,13.5304 13.7893,14.0391 13.4142,14.4142 13.0391,14.7893 12.5304,15 12,15 11.4696,15 10.9609,14.7893 10.5858,14.4142 10.2107,14.0391 10,13.5304 10,13 10,12.4696 10.2107,11.9609 10.5858,11.5858z" />
</DrawingGroup>
</DrawingImage.Drawing>
</DrawingImage>
</Image.Source>
</Image>
<Label Content="{i18n:I18n Key=Tools_Screenshot}" FontSize="8"
HorizontalAlignment="Center" />
</ikw:SimpleStackPanel>
<ikw:SimpleStackPanel MouseDown="Border_MouseDown"
MouseUp="OperatingGuideWindowIcon_MouseUp"
Margin="0,0,0,0" Height="38" Width="32"
Orientation="Vertical">
<Image Margin="0,4,0,2" Height="19" Width="19">
<Image.Source>
<DrawingImage>
<DrawingImage.Drawing>
<DrawingGroup
ClipGeometry="M0,0 V24 H24 V0 H0 Z">
<GeometryDrawing Brush="{DynamicResource IconForeground}"
Geometry="F0 M24,24z M0,0z M8.17317,2.7612C9.38642,2.25866 10.6868,2 12,2 13.3132,2 14.6136,2.25866 15.8268,2.7612 17.0401,3.26375 18.1425,4.00035 19.0711,4.92893 19.9997,5.85752 20.7362,6.95991 21.2388,8.17317 21.7413,9.38642 22,10.6868 22,12 22,13.3132 21.7413,14.6136 21.2388,15.8268 20.7362,17.0401 19.9997,18.1425 19.0711,19.0711 18.1425,19.9997 17.0401,20.7362 15.8268,21.2388 14.6136,21.7413 13.3132,22 12,22 10.6868,22 9.38642,21.7413 8.17317,21.2388 6.95991,20.7362 5.85752,19.9997 4.92893,19.0711 4.00035,18.1425 3.26375,17.0401 2.7612,15.8268 2.25866,14.6136 2,13.3132 2,12 2,10.6868 2.25866,9.38642 2.7612,8.17317 3.26375,6.95991 4.00035,5.85752 4.92893,4.92893 5.85752,4.00035 6.95991,3.26375 8.17317,2.7612z M12,4C10.9494,4 9.90914,4.20693 8.93853,4.60896 7.96793,5.011 7.08601,5.60028 6.34315,6.34315 5.60028,7.08601 5.011,7.96793 4.60896,8.93853 4.20693,9.90914 4,10.9494 4,12 4,13.0506 4.20693,14.0909 4.60896,15.0615 5.011,16.0321 5.60028,16.914 6.34315,17.6569 7.08601,18.3997 7.96793,18.989 8.93853,19.391 9.90914,19.7931 10.9494,20 12,20 13.0506,20 14.0909,19.7931 15.0615,19.391 16.0321,18.989 16.914,18.3997 17.6569,17.6569 18.3997,16.914 18.989,16.0321 19.391,15.0615 19.7931,14.0909 20,13.0506 20,12 20,10.9494 19.7931,9.90914 19.391,8.93853 18.989,7.96793 18.3997,7.08602 17.6569,6.34315 16.914,5.60028 16.0321,5.011 15.0615,4.60896 14.0909,4.20693 13.0506,4 12,4z M12,16C12.5523,16,13,16.4477,13,17L13,17.01C13,17.5623 12.5523,18.01 12,18.01 11.4477,18.01 11,17.5623 11,17.01L11,17C11,16.4477,11.4477,16,12,16z M12.0813,5.97153C11.5241,5.96998 10.9742,6.09779 10.4748,6.3449 9.97535,6.59201 9.54013,6.95167 9.20334,7.39557 8.86952,7.83555 8.95559,8.46284 9.39557,8.79666 9.83555,9.13047 10.4628,9.04441 10.7967,8.60443 10.9463,8.40714 11.1398,8.24729 11.3617,8.13746 11.5837,8.02764 11.8281,7.97083 12.0758,7.97152 12.3234,7.97221 12.5675,8.03037 12.7888,8.14142 13.0102,8.25248 13.2027,8.4134 13.3513,8.61151 13.4999,8.80963 13.6005,9.03953 13.6451,9.28311 13.6897,9.5267 13.6772,9.77732 13.6086,10.0152 13.5399,10.2532 13.4169,10.4719 13.2493,10.6542 13.084,10.8341 12.8798,10.9736 12.6524,11.0623 12.1479,11.2435 11.7149,11.5821 11.4175,12.0283 11.1169,12.4792 10.9709,13.0156 11.0016,13.5566 11.0329,14.108 11.5052,14.5297 12.0566,14.4984 12.608,14.4671 13.0297,13.9948 12.9984,13.4434 12.9923,13.3352 13.0214,13.2279 13.0816,13.1377 13.1417,13.0475 13.2295,12.9793 13.3317,12.9434 13.3403,12.9404 13.3487,12.9373 13.3572,12.934 13.8776,12.735 14.3448,12.4179 14.7218,12.0077 15.0989,11.5974 15.3756,11.1053 15.5301,10.5699 15.6846,10.0346 15.7128,9.47068 15.6124,8.92261 15.5119,8.37454 15.2856,7.85727 14.9513,7.41151 14.617,6.96576 14.1838,6.60369 13.6857,6.35381 13.1877,6.10393 12.6385,5.97307 12.0813,5.97153z" />
</DrawingGroup>
</DrawingImage.Drawing>
</DrawingImage>
</Image.Source>
</Image>
<Label Content="{i18n:I18n Key=Tools_Manual}" FontSize="8"
HorizontalAlignment="Center" />
</ikw:SimpleStackPanel>
<ikw:SimpleStackPanel MouseDown="Border_MouseDown"
MouseUp="SymbolIconSettings_Click"
Margin="0,0,0,0" Height="38" Width="32"
Orientation="Vertical">
<Image Margin="0,4,0,2" Height="19" Width="19">
<Image.Source>
<DrawingImage>
<DrawingImage.Drawing>
<DrawingGroup
ClipGeometry="M0,0 V24 H24 V0 H0 Z">
<GeometryDrawing Brush="{DynamicResource IconForeground}"
Geometry="F0 M24,24z M0,0z M4.66591,7.13141L11.4017,3.15976C11.5957,3.0552 11.8126,3.00041 12.033,3.00041 12.2534,3.00041 12.4704,3.0552 12.6643,3.15977L19.2182,7.02415C19.2676,7.06721 19.3219,7.10586 19.3806,7.13926 19.5699,7.24687 19.727,7.40296 19.8358,7.59146 19.9447,7.77997 20.0014,7.99407 20,8.21175L20,8.21175 20,8.218 20,15.502C20,15.943 19.7585,16.3548 19.3603,16.5737 19.3424,16.5835 19.3247,16.5939 19.3074,16.6049L12.5874,20.8559C12.4062,20.9506 12.2047,21.0001 12,21.0001 11.7953,21.0001 11.5938,20.9506 11.4126,20.8559L4.69261,16.6049C4.6746,16.5935 4.65624,16.5827 4.63755,16.5725 4.44494,16.4672 4.28416,16.3122 4.172,16.1235 4.05999,15.9351 4.00059,15.72 4,15.5008L4,8.217C4,7.77653 4.24107,7.36544 4.63968,7.14635 4.6485,7.1415 4.65724,7.13652 4.66591,7.13141z M20.4159,5.40859C20.4791,5.44583 20.5369,5.4892 20.589,5.53759 20.9895,5.81003 21.3244,6.16988 21.5678,6.59125 21.8538,7.08656 22.003,7.649 22,8.22093L22,15.502C22,16.6678,21.3677,17.7387,20.353,18.31L13.6266,22.5651C13.6092,22.5761 13.5914,22.5866 13.5733,22.5966 13.0911,22.8613 12.55,23.0001 12,23.0001 11.45,23.0001 10.9089,22.8613 10.4267,22.5966 10.4086,22.5866 10.3908,22.5761 10.3734,22.5651L3.64791,18.3106C3.15439,18.0339 2.74214,17.6322 2.45282,17.1455 2.15755,16.6488 2.00116,16.0818 2,15.504L2,15.502 2,8.217C2,7.04497,2.63892,5.97063,3.6619,5.40163L10.4001,1.42859C10.4084,1.4237 10.4167,1.41894 10.4252,1.41429 10.9176,1.1428 11.4707,1.00041 12.033,1.00041 12.5953,1.00041 13.1484,1.1428 13.6408,1.41429 13.6493,1.41894 13.6576,1.4237 13.6659,1.42859L20.4159,5.40859z M12,8C10.9391,8 9.92172,8.42143 9.17157,9.17157 8.42143,9.92172 8,10.9391 8,12 8,13.0609 8.42143,14.0783 9.17157,14.8284 9.92172,15.5786 10.9391,16 12,16 13.0609,16 14.0783,15.5786 14.8284,14.8284 15.5786,14.0783 16,13.0609 16,12 16,10.9391 15.5786,9.92172 14.8284,9.17157 14.0783,8.42143 13.0609,8 12,8z M10.5858,10.5858C10.9609,10.2107 11.4696,10 12,10 12.5304,10 13.0391,10.2107 13.4142,10.5858 13.7893,10.9609 14,11.4696 14,12 14,12.5304 13.7893,13.0391 13.4142,13.4142 13.0391,13.7893 12.5304,14 12,14 11.4696,14 10.9609,13.7893 10.5858,13.4142 10.2107,13.0391 10,12.5304 10,12 10,11.4696 10.2107,10.9609 10.5858,10.5858z" />
</DrawingGroup>
</DrawingImage.Drawing>
</DrawingImage>
</Image.Source>
</Image>
<Label Content="{i18n:I18n Key=Tools_Settings}" FontSize="8"
HorizontalAlignment="Center" />
</ikw:SimpleStackPanel>
</ikw:SimpleStackPanel>
</ikw:SimpleStackPanel>
</ikw:SimpleStackPanel>
</Border>
</Grid>
</ikw:SimpleStackPanel>
</ikw:SimpleStackPanel>
</Grid>
</Border>
<Border Margin="2,0,0,0" x:Name="EnableTwoFingerGestureBorder" Visibility="Visible" Width="36"
Height="36" CornerRadius="5" Background="{DynamicResource FloatBarBackground}" BorderBrush="{DynamicResource FloatBarBorderBrush}"
BorderThickness="1">
<ikw:SimpleStackPanel
MouseUp="TwoFingerGestureBorder_MouseUp" Background="Transparent"
Orientation="Vertical" HorizontalAlignment="Center" Width="36" Margin="0">
<Image x:Name="EnableTwoFingerGestureBtn" Source="{DynamicResource GestureIcon}"
RenderOptions.BitmapScalingMode="HighQuality" Width="28" Height="18"
Margin="0,3,0,0" />
<TextBlock x:Name="gestureiconText" Text="{i18n:I18n Key=FloatingBar_GestureButton}" Foreground="{DynamicResource FloatBarForeground}" FontSize="8"
Margin="0,0,0,0"
TextAlignment="Center" />
</ikw:SimpleStackPanel>
</Border>
<Grid Width="0">
<Border ClipToBounds="True" Name="TwoFingerGestureBorder" Margin="-86,-111,-33,40"
CornerRadius="5"
Background="{DynamicResource FloatBarBackground}" Opacity="1" BorderBrush="#2563eb"
BorderThickness="1">
<ikw:SimpleStackPanel Margin="0">
<Border BorderBrush="#1e3a8a" BorderThickness="0,0,0,1" CornerRadius="6,6,0,0"
Background="#2563eb" Margin="-1,-1,-1,1">
<Canvas Height="24" ClipToBounds="True">
<TextBlock Text="{i18n:I18n Key=FloatingBar_GesturePanelTitle}" Canvas.Left="8" Foreground="White" Padding="0,5"
FontSize="11" FontWeight="Bold" TextAlignment="Center" />
<Image Margin="98,5,0,0"
Source="/Resources/new-icons/close-white.png"
RenderOptions.BitmapScalingMode="HighQuality"
Height="16"
Width="16" MouseDown="Border_MouseDown"
MouseUp="CloseBordertools_MouseUp" />
</Canvas>
</Border>
<ikw:SimpleStackPanel Orientation="Horizontal" Spacing="2" VerticalAlignment="Center"
HorizontalAlignment="Center" Margin="0,3,0,0">
<Image Source="{DynamicResource MultiTouchIcon}"
RenderOptions.BitmapScalingMode="HighQuality" Height="16" Width="16" />
<Label Content="{i18n:I18n Key=FloatingBar_Gesture_MultiTouchWriting}" FontSize="8"
VerticalAlignment="Center" Width="56"
Style="{StaticResource AutoFitGestureOptionLabel10}" />
<Viewbox Width="36" Height="18" Margin="2,0,0,0">
<ui:ToggleSwitch MinWidth="0" Margin="0,-6,0,-6"
Name="ToggleSwitchEnableMultiTouchMode"
FontFamily="Microsoft YaHei UI" IsOn="False" OnContent=""
OffContent=""
Toggled="ToggleSwitchEnableMultiTouchMode_Toggled"
RenderTransformOrigin="0.5,0.5">
<ui:ToggleSwitch.RenderTransform>
<TransformGroup>
<ScaleTransform />
<SkewTransform />
<RotateTransform />
<TranslateTransform X="8" />
</TransformGroup>
</ui:ToggleSwitch.RenderTransform>
</ui:ToggleSwitch>
</Viewbox>
</ikw:SimpleStackPanel>
<ikw:SimpleStackPanel Opacity="1" x:Name="TwoFingerGestureSimpleStackPanel"
Orientation="Horizontal" Spacing="2" VerticalAlignment="Center"
HorizontalAlignment="Center">
<Image Source="{DynamicResource HandMoveIcon}"
RenderOptions.BitmapScalingMode="HighQuality" Height="16" Width="16" />
<Label Content="{i18n:I18n Key=FloatingBar_Gesture_TwoFingerMove}" FontSize="8"
VerticalAlignment="Center" Width="56"
Style="{StaticResource AutoFitGestureOptionLabel10}" />
<Viewbox Width="36" Height="18" Margin="2,0,0,0">
<ui:ToggleSwitch MinWidth="0" Margin="0,-6,0,-6"
Name="ToggleSwitchEnableTwoFingerTranslate"
FontFamily="Microsoft YaHei UI" IsOn="False" OnContent=""
OffContent=""
Toggled="ToggleSwitchEnableTwoFingerTranslate_Toggled"
RenderTransformOrigin="0.5,0.5">
<ui:ToggleSwitch.RenderTransform>
<TransformGroup>
<ScaleTransform />
<SkewTransform />
<RotateTransform />
<TranslateTransform X="8" />
</TransformGroup>
</ui:ToggleSwitch.RenderTransform>
</ui:ToggleSwitch>
</Viewbox>
</ikw:SimpleStackPanel>
<ikw:SimpleStackPanel
Opacity="{Binding ElementName=TwoFingerGestureSimpleStackPanel, Path=Opacity}"
Orientation="Horizontal" Spacing="2" VerticalAlignment="Center"
HorizontalAlignment="Center">
<Image Source="{DynamicResource ZoomIcon}"
RenderOptions.BitmapScalingMode="HighQuality" Height="16" Width="16" />
<Label Content="{i18n:I18n Key=FloatingBar_Gesture_TwoFingerZoom}" FontSize="8"
VerticalAlignment="Center" Width="56"
Style="{StaticResource AutoFitGestureOptionLabel10}" />
<Viewbox Width="36" Height="18" Margin="2,0,0,0">
<ui:ToggleSwitch MinWidth="0" Margin="0,-6,0,-6"
FontFamily="Microsoft YaHei UI"
IsOn="False" OnContent="" OffContent=""
Name="ToggleSwitchEnableTwoFingerZoom"
Toggled="ToggleSwitchEnableTwoFingerZoom_Toggled"
RenderTransformOrigin="0.5,0.5">
<ui:ToggleSwitch.RenderTransform>
<TransformGroup>
<ScaleTransform />
<SkewTransform />
<RotateTransform />
<TranslateTransform X="8" />
</TransformGroup>
</ui:ToggleSwitch.RenderTransform>
</ui:ToggleSwitch>
</Viewbox>
</ikw:SimpleStackPanel>
<ikw:SimpleStackPanel
Opacity="{Binding ElementName=TwoFingerGestureSimpleStackPanel, Path=Opacity}"
Orientation="Horizontal" Spacing="2" VerticalAlignment="Center"
HorizontalAlignment="Center">
<Image Source="{DynamicResource RotateIcon}"
RenderOptions.BitmapScalingMode="HighQuality" Height="16" Width="16" />
<Label Content="{i18n:I18n Key=FloatingBar_Gesture_TwoFingerRotate}" FontSize="8"
VerticalAlignment="Center" Width="56"
Style="{StaticResource AutoFitGestureOptionLabel10}" />
<Viewbox Width="36" Height="18" Margin="2,0,0,0">
<ui:ToggleSwitch MinWidth="0" Margin="0,-6,0,-6"
FontFamily="Microsoft YaHei UI"
IsOn="False" OnContent="" OffContent=""
Name="ToggleSwitchEnableTwoFingerRotation"
Toggled="ToggleSwitchEnableTwoFingerRotation_Toggled"
RenderTransformOrigin="0.5,0.5">
<ui:ToggleSwitch.RenderTransform>
<TransformGroup>
<ScaleTransform />
<SkewTransform />
<RotateTransform />
<TranslateTransform X="8" />
</TransformGroup>
</ui:ToggleSwitch.RenderTransform>
</ui:ToggleSwitch>
</Viewbox>
</ikw:SimpleStackPanel>
</ikw:SimpleStackPanel>
</Border>
</Grid>
<!--Visibility="{Binding ElementName=BtnPPTSlideShowEnd, Path=Visibility}">-->
<Border x:Name="BorderFloatingBarExitPPTBtn" Margin="2,0,0,0" Width="34" Height="36"
MouseDown="Border_MouseDown" MouseUp="ImagePPTControlEnd_MouseUp"
Background="{DynamicResource FloatBarBackground}" CornerRadius="4" BorderThickness="1"
BorderBrush="{DynamicResource FloatBarBorderBrush}"
Visibility="{Binding ElementName=BtnPPTSlideShowEnd, Path=Visibility}">
<ikw:SimpleStackPanel Background="Transparent" Orientation="Vertical"
HorizontalAlignment="Center"
Width="28" Margin="0,0">
<Image Source="{DynamicResource QuickPanelEndSlideshowIcon}"
RenderOptions.BitmapScalingMode="HighQuality" Width="28" Height="17"
Margin="0,3,0,0" />
<TextBlock Text="退出" Foreground="{DynamicResource FloatBarForeground}" FontSize="8" Margin="0,1,0,0"
TextAlignment="Center" />
</ikw:SimpleStackPanel>
</Border>
</ikw:SimpleStackPanel>
</Viewbox>
</Grid>
<Grid Name="GridForFloatingBarDraging" Background="#01000000" Visibility="Collapsed"
MouseMove="SymbolIconEmoji_MouseMove" MouseUp="SymbolIconEmoji_MouseUp" />
<Grid>
<InkCanvas Name="InkCanvasForInkReplay" MouseDown="InkCanvasForInkReplay_MouseDown" Visibility="Collapsed"
EditingMode="None" Background="Transparent" />
<Border Name="BorderInkReplayToolBox" Width="386" Height="48" HorizontalAlignment="Center"
Visibility="Collapsed"
VerticalAlignment="Bottom" Margin="0,0,0,16" Background="{DynamicResource FloatBarBackground}" CornerRadius="5"
BorderBrush="#a1a1aa" BorderThickness="1">
<ikw:SimpleStackPanel Orientation="Horizontal">
<Border CornerRadius="5,0,0,5" Margin="-1" Padding="12" Background="#b91c1c">
<ikw:SimpleStackPanel Orientation="Horizontal">
<Image Width="24" Height="24">
<Image.Source>
<DrawingImage>
<DrawingImage.Drawing>
<DrawingGroup ClipGeometry="M0,0 V24 H24 V0 H0 Z">
<GeometryDrawing Brush="White"
Geometry="F0 M24,24z M0,0z M10.4679,3.29578C12.1914,3.08179 13.9385,3.41707 15.4604,4.25385 16.9822,5.09064 18.2013,6.38627 18.9439,7.95624 19.6865,9.5262 19.9148,11.2905 19.5963,12.9977 19.4919,13.5577 19.8611,14.0964 20.4211,14.2009 20.9811,14.3053 21.5198,13.936 21.6243,13.376 22.0224,11.2419 21.737,9.03662 20.8087,7.07416 19.8804,5.1117 18.3566,3.49216 16.4543,2.44618 14.552,1.4002 12.3681,0.981105 10.2138,1.24858 8.05937,1.51606 6.0443,2.45648 4.45553,3.9359 2.86675,5.41533 1.78526,7.35833 1.36509,9.4882 0.944914,11.6181 1.20747,13.8262 2.11537,15.7982 3.02327,17.7701 4.53022,19.4054 6.42161,20.471 8.31301,21.5366 10.4924,21.9783 12.6494,21.7331 13.2155,21.6688 13.6221,21.1578 13.5578,20.5918 13.4935,20.0258 12.9825,19.6191 12.4165,19.6834 10.6908,19.8795 8.94733,19.5262 7.43421,18.6737 5.9211,17.8212 4.71554,16.513 3.98922,14.9355 3.2629,13.3579 3.05285,11.5914 3.38899,9.88747 3.72513,8.18357 4.59032,6.62917 5.86134,5.44563 7.13237,4.26209 8.74442,3.50976 10.4679,3.29578z M11.484,5.29524C12.0536,5.29524,12.5154,5.75704,12.5154,6.32669L12.5154,11.0567 14.2762,12.8175C14.679,13.2203 14.679,13.8734 14.2762,14.2762 13.8734,14.679 13.2203,14.679 12.8175,14.2762L10.7546,12.2133C10.5612,12.0199,10.4525,11.7575,10.4525,11.484L10.4525,6.32669C10.4525,5.75704,10.9143,5.29524,11.484,5.29524z M17.1719,14.7253C16.8533,14.5341 16.4564,14.5291 16.133,14.7122 15.8097,14.8953 15.6098,15.2382 15.6098,15.6098L15.6098,21.7985C15.6098,22.1701 15.8097,22.513 16.133,22.6961 16.4564,22.8792 16.8533,22.8742 17.1719,22.683L22.3292,19.5886C22.6399,19.4022 22.83,19.0665 22.83,18.7042 22.83,18.3418 22.6399,18.0061 22.3292,17.8197L17.1719,14.7253z" />
</DrawingGroup>
</DrawingImage.Drawing>
</DrawingImage>
</Image.Source>
</Image>
</ikw:SimpleStackPanel>
</Border>
<StackPanel Width="128" Orientation="Vertical" VerticalAlignment="Center" Margin="8,0,0,0">
<TextBlock Name="InkReplayPanelStatusText" FontSize="17" FontWeight="Bold" Foreground="#b91c1c"
Text="正在重播墨迹..." VerticalAlignment="Center" />
<TextBlock FontSize="12" Foreground="#b91c1c" Text="双击屏幕退出播放" VerticalAlignment="Center" />
</StackPanel>
<ikw:SimpleStackPanel Orientation="Horizontal" Margin="9,0,0,0" Spacing="6">
<Border Name="InkReplayPlayPauseBorder" MouseDown="InkReplayPlayPauseBorder_OnMouseDown"
MouseUp="InkReplayPlayPauseBorder_OnMouseUp" CornerRadius="16" Height="32" Width="32">
<Grid>
<Image Name="InkReplayPlayButtonImage" Visibility="Collapsed" Width="18" Height="18"
Margin="2,0,0,0">
<Image.Source>
<DrawingImage>
<DrawingImage.Drawing>
<DrawingGroup ClipGeometry="M0,0 V16 H16 V0 H0 Z">
<GeometryDrawing Brush="#FFF2FCF3"
Geometry="F1 M16,16z M0,0z M13.5,7.13397C14.1667,7.51888,14.1667,8.48112,13.5,8.86602L4.5,14.0622C3.83333,14.4471,3,13.966,3,13.1962L3,2.80385C3,2.03405,3.83333,1.55292,4.5,1.93782L13.5,7.13397z">
<GeometryDrawing.Pen>
<Pen Brush="#FF208A3C" Thickness="1" StartLineCap="Flat"
EndLineCap="Flat" LineJoin="Miter" />
</GeometryDrawing.Pen>
</GeometryDrawing>
</DrawingGroup>
</DrawingImage.Drawing>
</DrawingImage>
</Image.Source>
</Image>
<Image Name="InkReplayPauseButtonImage" Width="18" Height="18">
<Image.Source>
<DrawingImage>
<DrawingImage.Drawing>
<DrawingGroup ClipGeometry="M0,0 V16 H16 V0 H0 Z">
<GeometryDrawing Brush="#FFEBECF0">
<GeometryDrawing.Pen>
<Pen Brush="#FF6C707E" Thickness="1" StartLineCap="Flat"
EndLineCap="Flat" LineJoin="Miter" />
</GeometryDrawing.Pen>
<GeometryDrawing.Geometry>
<RectangleGeometry RadiusX="0.5" RadiusY="0.5"
Rect="3.5,2.5,3,11" />
</GeometryDrawing.Geometry>
</GeometryDrawing>
<GeometryDrawing Brush="#FFEBECF0">
<GeometryDrawing.Pen>
<Pen Brush="#FF6C707E" Thickness="1" StartLineCap="Flat"
EndLineCap="Flat" LineJoin="Miter" />
</GeometryDrawing.Pen>
<GeometryDrawing.Geometry>
<RectangleGeometry RadiusX="0.5" RadiusY="0.5"
Rect="9.5,2.5,3,11" />
</GeometryDrawing.Geometry>
</GeometryDrawing>
</DrawingGroup>
</DrawingImage.Drawing>
</DrawingImage>
</Image.Source>
</Image>
</Grid>
</Border>
<Border Name="InkReplayStopButtonBorder" MouseDown="InkReplayStopButtonBorder_OnMouseDown"
MouseUp="InkReplayStopButtonBorder_OnMouseUp" CornerRadius="16" Height="32" Width="32">
<Image Width="18" Height="18">
<Image.Source>
<DrawingImage>
<DrawingImage.Drawing>
<DrawingGroup ClipGeometry="M0,0 V16 H16 V0 H0 Z">
<GeometryDrawing Brush="#FFFFF7F7">
<GeometryDrawing.Pen>
<Pen Brush="#FFDB3B4B" Thickness="1" StartLineCap="Flat"
EndLineCap="Flat" LineJoin="Miter" />
</GeometryDrawing.Pen>
<GeometryDrawing.Geometry>
<RectangleGeometry RadiusX="1.5" RadiusY="1.5"
Rect="2.5,2.5,11,11" />
</GeometryDrawing.Geometry>
</GeometryDrawing>
</DrawingGroup>
</DrawingImage.Drawing>
</DrawingImage>
</Image.Source>
</Image>
</Border>
<Border Name="InkReplayReplayButtonBorder" MouseDown="InkReplayReplayButtonBorder_OnMouseDown"
MouseUp="InkReplayReplayButtonBorder_OnMouseUp" CornerRadius="16" Height="32"
Width="32">
<Image Width="22" Height="22" Margin="-1,-1,0,0">
<Image.Source>
<DrawingImage>
<DrawingImage.Drawing>
<DrawingGroup ClipGeometry="M0,0 V16 H16 V0 H0 Z">
<GeometryDrawing Brush="#FF208A3C"
Geometry="F0 M16,16z M0,0z M9,9.50215C9,8.32441,10.2951,7.60608,11.2942,8.22967L15.2962,10.7275C16.2372,11.3149,16.2372,12.6851,15.2962,13.2725L11.2942,15.7703C10.2951,16.3939,9,15.6756,9,14.4978L9,9.50215z M10.7647,9.07799C10.4317,8.87013,10,9.10957,10,9.50215L10,14.4978C10,14.8904,10.4317,15.1298,10.7647,14.922L14.7667,12.4241C15.0804,12.2284,15.0804,11.7716,14.7667,11.5758L10.7647,9.07799z" />
<GeometryDrawing Brush="#FFF2FCF3"
Geometry="F1 M16,16z M0,0z M10,9.50217C10,9.10959,10.4317,8.87015,10.7647,9.07801L14.7667,11.5758C15.0804,11.7716,15.0804,12.2284,14.7667,12.4242L10.7647,14.922C10.4317,15.1299,10,14.8904,10,14.4978L10,9.50217z" />
<GeometryDrawing Brush="#FF6C707E"
Geometry="F1 M16,16z M0,0z M14,1.5C14,1.22386 13.7761,1 13.5,1 13.2239,1 13,1.22386 13,1.5L13,4.68235C11.9256,3.06631 10.0877,2 8,2 4.68629,2 2,4.68629 2,8 2,11.3137 4.68629,14 8,14L8,13C5.23858,13 3,10.7614 3,8 3,5.23858 5.23858,3 8,3 9.63527,3 11.0878,3.78495 12.0005,5L9.5,5C9.22386,5 9,5.22386 9,5.5 9,5.77614 9.22386,6 9.5,6L14,6 14,1.5z" />
</DrawingGroup>
</DrawingImage.Drawing>
</DrawingImage>
</Image.Source>
</Image>
</Border>
<Border Name="InkReplaySpeedButtonBorder" MouseDown="InkReplaySpeedButtonBorder_OnMouseDown"
MouseUp="InkReplaySpeedButtonBorder_OnMouseUp" CornerRadius="16" Height="32" Width="32">
<Image Width="22" Height="22" Margin="-1,-1,-1,0">
<Image.Source>
<DrawingImage>
<DrawingImage.Drawing>
<DrawingGroup ClipGeometry="M0,0 V16 H16 V0 H0 Z">
<GeometryDrawing Brush="#FF208A3C"
Geometry="F0 M16,16z M0,0z M9,9.50215C9,8.32441,10.2951,7.60608,11.2942,8.22967L15.2962,10.7275C16.2372,11.3149,16.2372,12.6851,15.2962,13.2725L11.2942,15.7703C10.2951,16.3939,9,15.6756,9,14.4978L9,9.50215z M10.7647,9.07799C10.4317,8.87013,10,9.10957,10,9.50215L10,14.4978C10,14.8904,10.4317,15.1298,10.7647,14.922L14.7667,12.4241C15.0804,12.2284,15.0804,11.7716,14.7667,11.5758L10.7647,9.07799z" />
<GeometryDrawing Brush="#FFF2FCF3"
Geometry="F1 M16,16z M0,0z M10,9.50217C10,9.10959,10.4317,8.87015,10.7647,9.07801L14.7667,11.5758C15.0804,11.7716,15.0804,12.2284,14.7667,12.4242L10.7647,14.922C10.4317,15.1299,10,14.8904,10,14.4978L10,9.50217z" />
<GeometryDrawing Brush="#FF6C707E"
Geometry="F1 M16,16z M0,0z M1.5,9C1.5,5.41015 4.41015,2.5 8,2.5 11.5899,2.5 14.5,5.41015 14.5,9 14.5,9.01716 14.4999,9.03444 14.4997,9.05183L15.4651,9.65439C15.4879,9.42788 15.5,9.20815 15.5,9 15.5,4.85786 12.1421,1.5 8,1.5 3.85786,1.5 0.5,4.85786 0.5,9 0.5,10.1604 0.877241,11.6805 1.36637,12.7304 1.44463,12.8984 1.61594,13 1.80126,13L8,13 8,12 2.13917,12C1.76974,11.0874,1.5,9.89088,1.5,9z" />
<GeometryDrawing Brush="#FF6C707E"
Geometry="F1 M16,16z M0,0z M8,10.6L8,9.6C7.55826,9.59989 7.2002,9.24176 7.2002,8.8 7.2002,8.35817 7.55837,8 8.0002,8 8.15213,8 8.29417,8.04235 8.41515,8.11589 8.60651,7.82993 8.85445,7.58935 9.13847,7.40554 8.97934,7.27549 8.79754,7.17214 8.5999,7.10232L8.5999,3.99999C8.5999,3.66862 8.33127,3.39999 7.9999,3.39999 7.66853,3.39999 7.3999,3.66862 7.3999,3.99999L7.3999,7.10253C6.70094,7.34971 6.2002,8.01638 6.2002,8.8 6.2002,9.79405 7.00598,10.5999 8,10.6z" />
</DrawingGroup>
</DrawingImage.Drawing>
</DrawingImage>
</Image.Source>
</Image>
</Border>
<StackPanel Orientation="Horizontal" VerticalAlignment="Center">
<TextBlock Name="InkReplaySpeedTextBlock" Margin="4,0,0,0" FontSize="13"
Foreground="{DynamicResource FloatBarForeground}" Text="1.0x" VerticalAlignment="Center">
</TextBlock>
</StackPanel>
</ikw:SimpleStackPanel>
</ikw:SimpleStackPanel>
</Border>
</Grid>
<!--// 侧边栏 //-->
<Viewbox x:Name="LeftSidePanel" MouseUp="LeftUnFoldButtonDisplayQuickPanel_MouseUp" Visibility="Visible"
Height="50" Width="32" Margin="-60,0,0,-150" HorizontalAlignment="Left" VerticalAlignment="Center">
<ikw:SimpleStackPanel>
<Border Background="#9918181b" Opacity="1" CornerRadius="0,25,25,0" Height="50" Width="32">
<Image x:Name="LeftUnFoldBtnImgChevron" Margin="10,0,0,0"
Source="{DynamicResource QuickPanelUnfoldChevronIcon}"
RenderOptions.BitmapScalingMode="HighQuality" Height="14" Width="14" />
</Border>
</ikw:SimpleStackPanel>
</Viewbox>
<Viewbox Width="50" Visibility="Collapsed" Name="LeftUnFoldButtonQuickPanel" Margin="-1,0,0,-150"
HorizontalAlignment="Left" VerticalAlignment="Center">
<Border ClipToBounds="True" Visibility="Visible" CornerRadius="0,6,6,0" Background="{DynamicResource FloatBarBackground}" Opacity="1"
BorderThickness="1" BorderBrush="{DynamicResource FloatBarBorderBrush}" Width="32">
<ikw:SimpleStackPanel Orientation="Vertical" Spacing="0" Margin="0,5">
<ikw:SimpleStackPanel
MouseUp="SymbolIconRandOne_MouseUp"
Background="Transparent" Orientation="Vertical" HorizontalAlignment="Center"
Width="32" Margin="0">
<Image Source="{DynamicResource QuickPanelPersonMoneyIcon}"
RenderOptions.BitmapScalingMode="HighQuality" Height="17" Margin="0,3,0,0" />
<TextBlock Text="{i18n:I18n Key=QuickPanel_SingleDraw}" Foreground="{DynamicResource FloatBarForeground}" FontSize="8" Margin="0,2,0,3" TextAlignment="Center" />
</ikw:SimpleStackPanel>
<ikw:SimpleStackPanel
MouseUp="SymbolIconRand_MouseUp"
Background="Transparent" Orientation="Vertical" HorizontalAlignment="Center"
Width="32" Margin="0">
<Image Source="{DynamicResource QuickPanelPeopleMoneyIcon}"
RenderOptions.BitmapScalingMode="HighQuality" Height="17" Margin="0,3,0,0" />
<TextBlock Text="{i18n:I18n Key=QuickPanel_RandomDraw}" Foreground="{DynamicResource FloatBarForeground}" FontSize="8" Margin="0,2,0,3" TextAlignment="Center" />
</ikw:SimpleStackPanel>
<ikw:SimpleStackPanel
MouseUp="ImageCountdownTimer_MouseUp" Background="Transparent"
Orientation="Vertical" HorizontalAlignment="Center" Width="32" Margin="0">
<Image Source="{DynamicResource QuickPanelTimerIcon}"
RenderOptions.BitmapScalingMode="HighQuality" Height="17" Margin="0,3,0,0" />
<TextBlock Text="{i18n:I18n Key=QuickPanel_Timer}" Foreground="{DynamicResource FloatBarForeground}" FontSize="8" Margin="0,2,0,3" TextAlignment="Center" />
</ikw:SimpleStackPanel>
<ikw:SimpleStackPanel
MouseUp="ImageBlackboard_MouseUp"
Background="Transparent" Orientation="Vertical" HorizontalAlignment="Center"
Width="32" Margin="0">
<Image Source="{DynamicResource QuickPanelBlackboardIcon}"
RenderOptions.BitmapScalingMode="HighQuality" Height="17" Margin="0,3,0,0" />
<TextBlock Text="{i18n:I18n Key=QuickPanel_Whiteboard}" Foreground="{DynamicResource FloatBarForeground}" FontSize="8" Margin="0,2,0,3" TextAlignment="Center" />
</ikw:SimpleStackPanel>
<ikw:SimpleStackPanel
x:Name="BtnExitPptFromSidebarLeft"
MouseUp="ExitPPTSlideShow_MouseUp"
Background="Transparent" Orientation="Vertical" HorizontalAlignment="Center"
Width="32" Margin="0" Visibility="Collapsed">
<Image Source="{DynamicResource QuickPanelEndSlideshowIcon}"
RenderOptions.BitmapScalingMode="HighQuality" Height="17" Margin="0,3,0,0" />
<TextBlock Text="{i18n:I18n Key=QuickPanel_ExitShow}" Foreground="{DynamicResource FloatBarForeground}" FontSize="7" Margin="0,2,0,3" TextAlignment="Center" />
</ikw:SimpleStackPanel>
<ikw:SimpleStackPanel
MouseUp="UnFoldFloatingBar_MouseUp"
Background="Transparent" Orientation="Vertical" HorizontalAlignment="Center"
Width="32" Margin="0">
<Image Source="{DynamicResource QuickPanelEyeIcon}" RenderOptions.BitmapScalingMode="HighQuality"
Height="17" Margin="0,3,0,0" />
<TextBlock Text="{i18n:I18n Key=QuickPanel_Show}" Foreground="{DynamicResource FloatBarForeground}" FontSize="8" Margin="0,2,0,3" TextAlignment="Center" />
</ikw:SimpleStackPanel>
<ikw:SimpleStackPanel
MouseUp="HideQuickPanel_MouseUp"
Background="Transparent" Orientation="Vertical" HorizontalAlignment="Center"
Width="32" Margin="0">
<Image Source="{DynamicResource QuickPanelChevronLeftIcon}"
RenderOptions.BitmapScalingMode="HighQuality" Height="17" Margin="0,3,0,3" />
</ikw:SimpleStackPanel>
</ikw:SimpleStackPanel>
</Border>
</Viewbox>
<Viewbox x:Name="RightSidePanel" MouseUp="RightUnFoldButtonDisplayQuickPanel_MouseUp"
Visibility="{Binding ElementName=LeftSidePanel, Path=Visibility}" Height="50" Width="32"
Margin="0,0,-60,-150" HorizontalAlignment="Right" VerticalAlignment="Center">
<ikw:SimpleStackPanel>
<Border Background="#9918181b" Opacity="1" CornerRadius="25,0,0,25" Height="50" Width="32">
<Image Margin="0,0,10,0" x:Name="RightUnFoldBtnImgChevron"
Source="{DynamicResource QuickPanelUnfoldChevronIcon}"
RenderOptions.BitmapScalingMode="HighQuality" Height="14" Width="14"
RenderTransformOrigin="0.5,0.5">
<Image.RenderTransform>
<TransformGroup>
<RotateTransform Angle="180" />
</TransformGroup>
</Image.RenderTransform>
</Image>
</Border>
</ikw:SimpleStackPanel>
</Viewbox>
<Viewbox Width="50" Visibility="Collapsed" Name="RightUnFoldButtonQuickPanel" Margin="0,0,-1,-150"
HorizontalAlignment="Right" VerticalAlignment="Center">
<Border ClipToBounds="True" Visibility="Visible" CornerRadius="6,0,0,6" Background="{DynamicResource FloatBarBackground}" Opacity="1"
BorderThickness="1" BorderBrush="{DynamicResource FloatBarBorderBrush}" Width="32">
<ikw:SimpleStackPanel Orientation="Vertical" Spacing="0" Margin="0,5">
<ikw:SimpleStackPanel
MouseUp="SymbolIconRandOne_MouseUp"
Background="Transparent" Orientation="Vertical" HorizontalAlignment="Center"
Width="32" Margin="0">
<Image Source="{DynamicResource QuickPanelPersonMoneyIcon}"
RenderOptions.BitmapScalingMode="HighQuality" Height="17" Margin="0,3,0,0" />
<TextBlock Text="{i18n:I18n Key=QuickPanel_SingleDraw}" Foreground="{DynamicResource FloatBarForeground}" FontSize="8" Margin="0,2,0,3" TextAlignment="Center" />
</ikw:SimpleStackPanel>
<ikw:SimpleStackPanel
MouseUp="SymbolIconRand_MouseUp"
Background="Transparent" Orientation="Vertical" HorizontalAlignment="Center"
Width="32" Margin="0">
<Image Source="{DynamicResource QuickPanelPeopleMoneyIcon}"
RenderOptions.BitmapScalingMode="HighQuality" Height="17" Margin="0,3,0,0" />
<TextBlock Text="{i18n:I18n Key=QuickPanel_RandomDraw}" Foreground="{DynamicResource FloatBarForeground}" FontSize="8" Margin="0,2,0,3" TextAlignment="Center" />
</ikw:SimpleStackPanel>
<ikw:SimpleStackPanel
MouseUp="ImageCountdownTimer_MouseUp" Background="Transparent"
Orientation="Vertical" HorizontalAlignment="Center" Width="32" Margin="0">
<Image Source="{DynamicResource QuickPanelTimerIcon}"
RenderOptions.BitmapScalingMode="HighQuality" Height="17" Margin="0,3,0,0" />
<TextBlock Text="{i18n:I18n Key=QuickPanel_Timer}" Foreground="{DynamicResource FloatBarForeground}" FontSize="8" Margin="0,2,0,3" TextAlignment="Center" />
</ikw:SimpleStackPanel>
<ikw:SimpleStackPanel
MouseUp="ImageBlackboard_MouseUp"
Background="Transparent" Orientation="Vertical" HorizontalAlignment="Center"
Width="32" Margin="0">
<Image Source="{DynamicResource QuickPanelBlackboardIcon}"
RenderOptions.BitmapScalingMode="HighQuality" Height="17" Margin="0,3,0,0" />
<TextBlock Text="{i18n:I18n Key=QuickPanel_Whiteboard}" Foreground="{DynamicResource FloatBarForeground}" FontSize="8" Margin="0,2,0,3" TextAlignment="Center" />
</ikw:SimpleStackPanel>
<ikw:SimpleStackPanel
x:Name="BtnExitPptFromSidebarRight"
MouseUp="ExitPPTSlideShow_MouseUp"
Background="Transparent" Orientation="Vertical" HorizontalAlignment="Center"
Width="32" Margin="0" Visibility="Collapsed">
<Image Source="{DynamicResource QuickPanelEndSlideshowIcon}"
RenderOptions.BitmapScalingMode="HighQuality" Height="17" Margin="0,3,0,0" />
<TextBlock Text="{i18n:I18n Key=QuickPanel_ExitShow}" Foreground="{DynamicResource FloatBarForeground}" FontSize="7" Margin="0,2,0,3" TextAlignment="Center" />
</ikw:SimpleStackPanel>
<ikw:SimpleStackPanel
MouseUp="UnFoldFloatingBar_MouseUp"
Background="Transparent" Orientation="Vertical" HorizontalAlignment="Center"
Width="32" Margin="0">
<Image Source="{DynamicResource QuickPanelEyeIcon}" RenderOptions.BitmapScalingMode="HighQuality"
Height="17" Margin="0,3,0,0" />
<TextBlock Text="{i18n:I18n Key=QuickPanel_Show}" Foreground="{DynamicResource FloatBarForeground}" FontSize="8" Margin="0,2,0,3" TextAlignment="Center" />
</ikw:SimpleStackPanel>
<ikw:SimpleStackPanel
MouseUp="HideQuickPanel_MouseUp"
Background="Transparent" Orientation="Vertical" HorizontalAlignment="Center"
Width="32" Margin="0">
<Image Source="{DynamicResource QuickPanelChevronLeftIcon}"
RenderOptions.BitmapScalingMode="HighQuality" Height="17" Margin="0,3,0,3"
RenderTransformOrigin="0.5,0.5">
<Image.RenderTransform>
<TransformGroup>
<ScaleTransform />
<SkewTransform />
<RotateTransform Angle="180" />
<TranslateTransform />
</TransformGroup>
</Image.RenderTransform>
</Image>
</ikw:SimpleStackPanel>
</ikw:SimpleStackPanel>
</Border>
</Viewbox>
<!-- 视频展台侧栏 -->
<Border
x:Name="VideoPresenterSidebar"
Width="350"
HorizontalAlignment="Left"
VerticalAlignment="Stretch"
Background="{DynamicResource FloatBarBackground}"
BorderBrush="{DynamicResource FloatBarBorderBrush}"
BorderThickness="0,0,1,0"
Visibility="Collapsed"
Panel.ZIndex="996">
<Grid>
<Grid.RowDefinitions>
<RowDefinition Height="50" />
<RowDefinition Height="Auto" />
<RowDefinition Height="*" />
<RowDefinition Height="Auto" />
<RowDefinition Height="110" />
</Grid.RowDefinitions>
<!-- 顶部标题栏 -->
<Grid Grid.Row="0" Height="50">
<Grid.ColumnDefinitions>
<ColumnDefinition Width="*" />
<ColumnDefinition Width="50" />
</Grid.ColumnDefinitions>
<TextBlock
Grid.Column="0"
Margin="15,0,0,0"
HorizontalAlignment="Left"
VerticalAlignment="Center"
FontSize="16"
FontWeight="Bold"
Foreground="{DynamicResource FloatBarForeground}"
Text="{i18n:I18n Key=Booth_Title}" />
<Button
Grid.Column="1"
Width="50"
Height="50"
Padding="0"
BorderThickness="0"
Background="Transparent"
Click="BtnCloseVideoPresenter_Click">
<Path
Stroke="{DynamicResource IconForeground}"
StrokeThickness="2"
StrokeStartLineCap="Round"
StrokeEndLineCap="Round"
Width="16"
Height="16"
HorizontalAlignment="Center"
VerticalAlignment="Center"
Stretch="Uniform"
Data="M4.5 4.5L11.5 11.5M11.5 4.5L4.5 11.5" />
</Button>
</Grid>
<!-- 预览区域 -->
<Border Grid.Row="1" Margin="10,10,10,2" Padding="10" CornerRadius="6" Background="#1f2328">
<Image x:Name="VideoPresenterPreviewImage" Stretch="Uniform" Height="180" />
</Border>
<!-- 照片显示区域 -->
<Border Grid.Row="2" Margin="10,2,10,2" Padding="10" CornerRadius="6" Background="{DynamicResource FloatBarBackground}">
<StackPanel>
<TextBlock
Margin="0,0,0,8"
HorizontalAlignment="Left"
FontSize="12"
FontWeight="SemiBold"
Foreground="{DynamicResource FloatBarForeground}"
Text="{i18n:I18n Key=Booth_CapturedPhotos}" />
<ScrollViewer
x:Name="CapturedPhotosScrollViewer"
MaxHeight="280"
VerticalScrollBarVisibility="Auto"
PanningMode="VerticalFirst">
<StackPanel x:Name="CapturedPhotosStackPanel" Margin="0,0,0,5" />
</ScrollViewer>
</StackPanel>
</Border>
<!-- 设备选择区域 -->
<Border Grid.Row="3" Margin="10,2,10,5" Padding="10" CornerRadius="6" Background="{DynamicResource FloatBarBackground}">
<StackPanel>
<TextBlock
Margin="0,0,0,8"
HorizontalAlignment="Left"
FontSize="12"
FontWeight="SemiBold"
Foreground="{DynamicResource FloatBarForeground}"
Text="{i18n:I18n Key=Booth_CameraDevices}" />
<ScrollViewer
x:Name="CameraDevicesScrollViewer"
MaxHeight="120"
VerticalScrollBarVisibility="Auto"
PanningMode="VerticalFirst">
<StackPanel x:Name="CameraDevicesStackPanel" />
</ScrollViewer>
</StackPanel>
</Border>
<!-- 底部按钮区域 -->
<Grid Grid.Row="4" Margin="0,0,0,6">
<Grid.RowDefinitions>
<RowDefinition Height="Auto" />
<RowDefinition Height="Auto" />
</Grid.RowDefinitions>
<StackPanel Grid.Row="0" Orientation="Horizontal" HorizontalAlignment="Center" Margin="10,4,10,2">
<ToggleButton
x:Name="BtnToggleVideoPresenterLiveOnCanvas"
Width="70"
Height="40"
Margin="2,0"
Background="{DynamicResource FloatBarBackground}"
BorderBrush="{DynamicResource FloatBarBorderBrush}"
BorderThickness="1"
Checked="BtnToggleVideoPresenterLiveOnCanvas_Checked"
Unchecked="BtnToggleVideoPresenterLiveOnCanvas_Unchecked">
<TextBlock FontSize="12" FontWeight="SemiBold" Foreground="{DynamicResource FloatBarForeground}" Text="{i18n:I18n Key=Booth_Present}" />
</ToggleButton>
<ToggleButton
x:Name="ToggleBtnPhotoCorrection"
Width="70"
Height="40"
Margin="2,0"
Background="{DynamicResource FloatBarBackground}"
BorderBrush="{DynamicResource FloatBarBorderBrush}"
BorderThickness="1"
Checked="ToggleBtnPhotoCorrection_Checked"
Unchecked="ToggleBtnPhotoCorrection_Unchecked">
<TextBlock FontSize="12" FontWeight="SemiBold" Foreground="{DynamicResource FloatBarForeground}" Text="{i18n:I18n Key=Booth_Correction}" />
</ToggleButton>
<Button
x:Name="BtnCapturePhoto"
Width="70"
Height="40"
Margin="2,0"
Background="{DynamicResource FloatBarBackground}"
BorderBrush="{DynamicResource FloatBarBorderBrush}"
BorderThickness="1"
Click="BtnCapturePhoto_Click">
<TextBlock FontSize="12" FontWeight="SemiBold" Foreground="{DynamicResource FloatBarForeground}" Text="{i18n:I18n Key=Booth_Capture}" />
</Button>
<Button
x:Name="BtnRotateImage"
Width="70"
Height="40"
Margin="2,0"
Background="{DynamicResource FloatBarBackground}"
BorderBrush="{DynamicResource FloatBarBorderBrush}"
BorderThickness="1"
Click="BtnRotateImage_Click">
<TextBlock FontSize="12" FontWeight="SemiBold" Foreground="{DynamicResource FloatBarForeground}" Text="{i18n:I18n Key=Booth_Rotate}" />
</Button>
</StackPanel>
<!-- 分辨率 Tab -->
<Grid Grid.Row="1" HorizontalAlignment="Center" Margin="10,6,10,4">
<Border Background="{DynamicResource FloatBarBackground}"
CornerRadius="8" BorderThickness="1" BorderBrush="#616161"
Width="282" Height="40" ToolTip="{x:Static props:Strings.Booth_Resolution_Tooltip}">
<Grid>
<Border x:Name="BoothResolutionTabIndicator"
Background="#66CCFF"
CornerRadius="6"
Width="70" Height="38"
HorizontalAlignment="Left" VerticalAlignment="Center"
Margin="0,0,0,0"/>
<Grid>
<Button x:Name="BtnBoothResolution720" Width="70" Height="40" Background="Transparent" BorderThickness="0"
Click="BoothResolutionTab_Click" Tag="1280,720" Cursor="Hand" HorizontalAlignment="Left">
<TextBlock Text="720p" FontSize="12" FontWeight="SemiBold" Foreground="{DynamicResource FloatBarForeground}" Opacity="0.7"/>
</Button>
<Button x:Name="BtnBoothResolution1080" Width="70" Height="40" Background="Transparent" BorderThickness="0"
Click="BoothResolutionTab_Click" Tag="1920,1080" Cursor="Hand" HorizontalAlignment="Left" Margin="70,0,0,0">
<TextBlock x:Name="TbBoothResolution1080" Text="1080p" FontSize="12" FontWeight="Bold" Foreground="White"/>
</Button>
<Button x:Name="BtnBoothResolution2K" Width="70" Height="40" Background="Transparent" BorderThickness="0"
Click="BoothResolutionTab_Click" Tag="2560,1440" Cursor="Hand" HorizontalAlignment="Left" Margin="140,0,0,0">
<TextBlock Text="2K" FontSize="12" FontWeight="SemiBold" Foreground="{DynamicResource FloatBarForeground}" Opacity="0.7"/>
</Button>
<Button x:Name="BtnBoothResolution4K" Width="70" Height="40" Background="Transparent" BorderThickness="0"
Click="BoothResolutionTab_Click" Tag="3840,2160" Cursor="Hand" HorizontalAlignment="Left" Margin="210,0,0,0">
<TextBlock Text="4K" FontSize="12" FontWeight="SemiBold" Foreground="{DynamicResource FloatBarForeground}" Opacity="0.7"/>
</Button>
</Grid>
</Grid>
</Border>
</Grid>
</Grid>
</Grid>
</Border>
<Border x:Name="TimerContainer"
Visibility="Collapsed"
Panel.ZIndex="998"
HorizontalAlignment="Center"
VerticalAlignment="Center"
Width="900"
Height="500">
<Windows:TimerControl x:Name="TimerControl"/>
</Border>
<Border x:Name="MinimizedTimerContainer"
Visibility="Collapsed"
Panel.ZIndex="997"
HorizontalAlignment="Left"
VerticalAlignment="Top"
Margin="20,20,0,0"
Width="600"
Height="200">
<Windows:MinimizedTimerControl x:Name="MinimizedTimerControl"/>
</Border>
<Border x:Name="PPTTimeCapsuleContainer"
Visibility="Collapsed"
Panel.ZIndex="999"
HorizontalAlignment="Right"
VerticalAlignment="Top"
Margin="0,20,20,0">
<Windows:PPTTimeCapsule x:Name="PPTTimeCapsule"/>
</Border>
<Border x:Name="PPTQuickPanelContainer"
Visibility="Collapsed"
Panel.ZIndex="999"
HorizontalAlignment="Right"
VerticalAlignment="Top"
Margin="0,50,0,0">
<Windows:PPTQuickPanel x:Name="PPTQuickPanel"/>
</Border>
</Grid>
</Window>