<Window x:Class="Ink_Canvas.OperatingGuideWindow"
        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"
        mc:Ignorable="d"
        Title="InkCanvasForClass Community 使用指南"
        Height="600"
        Width="520"
        MinHeight="400"
        MinWidth="400"
        WindowStartupLocation="CenterScreen"
        Topmost="True"
        ResizeMode="CanResize"
        FontFamily="Microsoft YaHei UI"
        ui:ThemeManager.IsThemeAware="True"
        ui:TitleBar.ExtendViewIntoTitleBar="True"
        ui:WindowHelper.SystemBackdropType="None"
        ui:WindowHelper.UseModernWindowStyle="True"
        ui:TitleBar.Height="48">
    <Grid>
        <Grid.RowDefinitions>
            <RowDefinition Height="Auto" />
            <RowDefinition Height="*" />
        </Grid.RowDefinitions>

        <!-- 自定义标题栏（与 OOBE / 隐私说明等 Fluent 窗口一致） -->
        <Border x:Name="Border_TitleBarRoot"
                Height="{Binding RelativeSource={RelativeSource Mode=FindAncestor, AncestorType=Window}, Path=(ui:TitleBar.Height)}">
            <Grid>
                <Grid.ColumnDefinitions>
                    <ColumnDefinition />
                    <ColumnDefinition Width="Auto" />
                    <ColumnDefinition Width="Auto" />
                </Grid.ColumnDefinitions>

                <TextBlock Text="{Binding RelativeSource={RelativeSource Mode=FindAncestor, AncestorType=Window}, Path=Title}"
                           VerticalAlignment="Center"
                           Margin="12,0,0,0"
                           FontSize="12"
                           FontWeight="SemiBold" />

                <Rectangle Grid.Column="2"
                           Width="{Binding RelativeSource={RelativeSource Mode=FindAncestor, AncestorType=Window}, Path=(ui:TitleBar.SystemOverlayRightInset)}" />

                <ikw:SimpleStackPanel x:Name="StackPanel_RightButtons"
                                      Grid.Column="1"
                                      Orientation="Horizontal"
                                      Spacing="5" />
            </Grid>
        </Border>

        <Grid Grid.Row="1" Background="{DynamicResource SettingsPageBackground}">
            <ScrollViewer Padding="0"
                          VerticalScrollBarVisibility="Auto"
                          PanningMode="VerticalOnly"
                          ManipulationBoundaryFeedback="SCManipulationBoundaryFeedback">
                <ikw:SimpleStackPanel Margin="24,20,24,28" Spacing="4">
                    <ikw:SimpleStackPanel Margin="0,0,0,12"
                                          Orientation="Horizontal"
                                          HorizontalAlignment="Left"
                                          Spacing="12">
                        <Image Height="32"
                               Width="32"
                               Source="{DynamicResource OperatingGuideWindowKeyboardIcon}"
                               RenderOptions.BitmapScalingMode="HighQuality" />
                        <TextBlock FontSize="20"
                                   FontWeight="SemiBold"
                                   Text="软件快捷键"
                                   TextWrapping="Wrap"
                                   VerticalAlignment="Center"
                                   Foreground="{DynamicResource SettingsPageForeground}" />
                    </ikw:SimpleStackPanel>

                    <ikw:SimpleStackPanel Margin="0,0,0,8"
                                          MinHeight="28"
                                          Orientation="Horizontal"
                                          HorizontalAlignment="Left">
                        <TextBlock FontSize="14"
                                   Text=" Ctrl + Z  ——  撤销"
                                   TextWrapping="Wrap"
                                   VerticalAlignment="Center"
                                   Foreground="{DynamicResource SettingsPageForeground}" />
                    </ikw:SimpleStackPanel>
                    <ikw:SimpleStackPanel Margin="0,0,0,8"
                                          MinHeight="28"
                                          Orientation="Horizontal"
                                          HorizontalAlignment="Left">
                        <TextBlock FontSize="14"
                                   Text=" Ctrl + Y  ——  重做"
                                   TextWrapping="Wrap"
                                   VerticalAlignment="Center"
                                   Foreground="{DynamicResource SettingsPageForeground}" />
                    </ikw:SimpleStackPanel>
                    <ikw:SimpleStackPanel Margin="0,0,0,8"
                                          MinHeight="28"
                                          Orientation="Horizontal"
                                          HorizontalAlignment="Left">
                        <TextBlock FontSize="14"
                                   Text=" Ctrl + E  ——  清屏"
                                   TextWrapping="Wrap"
                                   VerticalAlignment="Center"
                                   Foreground="{DynamicResource SettingsPageForeground}" />
                    </ikw:SimpleStackPanel>
                    <ikw:SimpleStackPanel Margin="0,0,0,8"
                                          MinHeight="28"
                                          Orientation="Horizontal"
                                          HorizontalAlignment="Left">
                        <TextBlock FontSize="14"
                                   Text=" Alt  + V  ——  显示/隐藏笑脸右侧工具栏（Visibility）"
                                   TextWrapping="Wrap"
                                   VerticalAlignment="Center"
                                   Foreground="{DynamicResource SettingsPageForeground}" />
                    </ikw:SimpleStackPanel>
                    <ikw:SimpleStackPanel Margin="0,0,0,8"
                                          MinHeight="28"
                                          Orientation="Horizontal"
                                          HorizontalAlignment="Left">
                        <TextBlock FontSize="14"
                                   Text=" Alt  + C  ——  截屏（Capture）"
                                   TextWrapping="Wrap"
                                   VerticalAlignment="Center"
                                   Foreground="{DynamicResource SettingsPageForeground}" />
                    </ikw:SimpleStackPanel>
                    <ikw:SimpleStackPanel Margin="0,0,0,8"
                                          MinHeight="28"
                                          Orientation="Horizontal"
                                          HorizontalAlignment="Left">
                        <TextBlock FontSize="14"
                                   Text=" Alt  + S  ——  切换至选择模式（Select）"
                                   TextWrapping="Wrap"
                                   VerticalAlignment="Center"
                                   Foreground="{DynamicResource SettingsPageForeground}" />
                    </ikw:SimpleStackPanel>
                    <ikw:SimpleStackPanel Margin="0,0,0,8"
                                          MinHeight="28"
                                          Orientation="Horizontal"
                                          HorizontalAlignment="Left">
                        <TextBlock FontSize="14"
                                   Text=" Alt  + D  ——  切换至批注模式 / 墨迹颜色选择器（Draw）"
                                   TextWrapping="Wrap"
                                   VerticalAlignment="Center"
                                   Foreground="{DynamicResource SettingsPageForeground}" />
                    </ikw:SimpleStackPanel>
                    <ikw:SimpleStackPanel Margin="0,0,0,8"
                                          MinHeight="28"
                                          Orientation="Horizontal"
                                          HorizontalAlignment="Left">
                        <TextBlock FontSize="14"
                                   Text=" Alt  + Q  ——  退出批注模式（Quit）"
                                   TextWrapping="Wrap"
                                   VerticalAlignment="Center"
                                   Foreground="{DynamicResource SettingsPageForeground}" />
                    </ikw:SimpleStackPanel>
                    <ikw:SimpleStackPanel Margin="0,0,0,8"
                                          MinHeight="28"
                                          Orientation="Horizontal"
                                          HorizontalAlignment="Left">
                        <TextBlock FontSize="14"
                                   Text=" Alt  + B  ——  切换/退出画板模式（Board）"
                                   TextWrapping="Wrap"
                                   VerticalAlignment="Center"
                                   Foreground="{DynamicResource SettingsPageForeground}" />
                    </ikw:SimpleStackPanel>
                    <ikw:SimpleStackPanel Margin="0,0,0,8"
                                          MinHeight="28"
                                          Orientation="Horizontal"
                                          HorizontalAlignment="Left">
                        <TextBlock FontSize="14"
                                   Text=" Alt  + E  ——  切换至面积擦/墨迹擦功能（Eraser）"
                                   TextWrapping="Wrap"
                                   VerticalAlignment="Center"
                                   Foreground="{DynamicResource SettingsPageForeground}" />
                    </ikw:SimpleStackPanel>
                    <ikw:SimpleStackPanel Margin="0,0,0,8"
                                          MinHeight="28"
                                          Orientation="Horizontal"
                                          HorizontalAlignment="Left">
                        <TextBlock FontSize="14"
                                   Text=" Alt  + L  ——  切换至单次直线绘制功能（Line）"
                                   TextWrapping="Wrap"
                                   VerticalAlignment="Center"
                                   Foreground="{DynamicResource SettingsPageForeground}" />
                    </ikw:SimpleStackPanel>
                    <ikw:SimpleStackPanel MinHeight="28"
                                          Orientation="Horizontal"
                                          HorizontalAlignment="Left">
                        <TextBlock FontSize="14"
                                   Text="Shift + Esc  ——  退出 PPT 放映"
                                   TextWrapping="Wrap"
                                   VerticalAlignment="Center"
                                   Foreground="{DynamicResource SettingsPageForeground}" />
                    </ikw:SimpleStackPanel>
                </ikw:SimpleStackPanel>
            </ScrollViewer>
        </Grid>
    </Grid>
</Window>
