<UserControl xmlns:props="clr-namespace:Ink_Canvas.Properties" x:Class="Ink_Canvas.Controls.BoothPopupContent"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
             xmlns:ikw="http://schemas.inkore.net/lib/ui/wpf"
             xmlns:ui="http://schemas.inkore.net/lib/ui/wpf/modern"
             xmlns:controls="clr-namespace:Ink_Canvas.Controls;assembly=InkCanvas.Controls"
             mc:Ignorable="d"
             d:DesignWidth="320" d:DesignHeight="200">
    <Grid>
        <controls:PopupShellContent x:Name="Shell" Title="{x:Static props:BoothStrings.Title}" d:Visibility="Collapsed" />
        <ContentControl x:Name="InnerContentHost" Visibility="Collapsed" d:Visibility="Visible">
            <ikw:SimpleStackPanel Margin="10" Spacing="8" HorizontalAlignment="Stretch">
                <!-- 摄像头设备 -->
                <ikw:SimpleStackPanel Orientation="Vertical" Spacing="3">
                    <TextBlock Text="{x:Static props:BoothStrings.CameraDevices}"
                               Foreground="{DynamicResource FloatingBarForegroundBrush}"
                               FontSize="13" FontWeight="SemiBold" />
                    <ComboBox x:Name="CameraDevicesComboBoxCtrl"
                              MinWidth="260" />
                </ikw:SimpleStackPanel>

                <!-- 分辨率 -->
                <ikw:SimpleStackPanel Orientation="Vertical" Spacing="3">
                    <TextBlock Text="{x:Static props:BoothStrings.Resolution_Tooltip}"
                               Foreground="{DynamicResource FloatingBarForegroundBrush}"
                               FontSize="13" FontWeight="SemiBold" />
                    <ComboBox x:Name="BoothResolutionComboBoxCtrl"
                              MinWidth="260"
                              ToolTip="{x:Static props:BoothStrings.Resolution_Tooltip}" />
                </ikw:SimpleStackPanel>

                <!-- 4 个操作按钮：矫正 / 拍照 / 旋转 / 关闭 -->
                <ikw:SimpleStackPanel Orientation="Horizontal" Spacing="6" HorizontalAlignment="Center">
                    <ToggleButton x:Name="PhotoCorrectionToggleCtrl"
                                  Padding="10,4"
                                  MinWidth="64">
                        <TextBlock Text="{x:Static props:BoothStrings.Correction}" />
                    </ToggleButton>
                    <Button x:Name="CapturePhotoButtonCtrl"
                            Padding="10,4"
                            MinWidth="64">
                        <TextBlock Text="{x:Static props:BoothStrings.Capture}" />
                    </Button>
                    <Button x:Name="RotateImageButtonCtrl"
                            Padding="10,4"
                            MinWidth="64">
                        <TextBlock Text="{x:Static props:BoothStrings.Rotate}" />
                    </Button>
                    <Button x:Name="ExitVideoPresenterButtonCtrl"
                            Padding="10,4"
                            MinWidth="64">
                        <TextBlock Text="{x:Static props:BoothStrings.Close}" />
                    </Button>
                </ikw:SimpleStackPanel>
            </ikw:SimpleStackPanel>
        </ContentControl>
    </Grid>
</UserControl>
